1262569Simp/*
2262569Simp * tny_a9260_common.dtsi - Device Tree file for Caloa TNY A926x board
3262569Simp *
4262569Simp * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
5262569Simp *
6262569Simp * Licensed under GPLv2.
7262569Simp */
8262569Simp
9262569Simp/ {
10262569Simp	chosen {
11262569Simp		bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock6 rw rootfstype=ubifs";
12262569Simp	};
13262569Simp
14262569Simp	memory {
15262569Simp		reg = <0x20000000 0x4000000>;
16262569Simp	};
17262569Simp
18262569Simp	clocks {
19262569Simp		#address-cells = <1>;
20262569Simp		#size-cells = <1>;
21262569Simp		ranges;
22262569Simp
23262569Simp		main_clock: clock@0 {
24262569Simp			compatible = "atmel,osc", "fixed-clock";
25262569Simp			clock-frequency = <12000000>;
26262569Simp		};
27270864Simp
28270864Simp		slow_xtal {
29270864Simp			clock-frequency = <32768>;
30270864Simp		};
31270864Simp
32270864Simp		main_xtal {
33270864Simp			clock-frequency = <12000000>;
34270864Simp		};
35262569Simp	};
36262569Simp
37262569Simp	ahb {
38262569Simp		apb {
39262569Simp			dbgu: serial@fffff200 {
40262569Simp				status = "okay";
41262569Simp			};
42262569Simp		};
43262569Simp
44262569Simp		nand0: nand@40000000 {
45262569Simp			nand-bus-width = <8>;
46262569Simp			nand-ecc-mode = "soft";
47262569Simp			nand-on-flash-bbt;
48262569Simp			status = "okay";
49262569Simp
50262569Simp			at91bootstrap@0 {
51262569Simp				label = "at91bootstrap";
52262569Simp				reg = <0x0 0x20000>;
53262569Simp			};
54262569Simp
55262569Simp			barebox@20000 {
56262569Simp				label = "barebox";
57262569Simp				reg = <0x20000 0x40000>;
58262569Simp			};
59262569Simp
60262569Simp			bareboxenv@60000 {
61262569Simp				label = "bareboxenv";
62262569Simp				reg = <0x60000 0x20000>;
63262569Simp			};
64262569Simp
65262569Simp			bareboxenv2@80000 {
66262569Simp				label = "bareboxenv2";
67262569Simp				reg = <0x80000 0x20000>;
68262569Simp			};
69262569Simp
70262569Simp			oftree@80000 {
71262569Simp				label = "oftree";
72262569Simp				reg = <0xa0000 0x20000>;
73262569Simp			};
74262569Simp
75262569Simp			kernel@a0000 {
76262569Simp				label = "kernel";
77262569Simp				reg = <0xc0000 0x400000>;
78262569Simp			};
79262569Simp
80262569Simp			rootfs@4a0000 {
81262569Simp				label = "rootfs";
82262569Simp				reg = <0x4c0000 0x7800000>;
83262569Simp			};
84262569Simp
85262569Simp			data@7ca0000 {
86262569Simp				label = "data";
87262569Simp				reg = <0x7cc0000 0x8340000>;
88262569Simp			};
89262569Simp		};
90262569Simp	};
91262569Simp};
92