1262569Simp/*
2262569Simp * usb_a9263.dts - Device Tree file for Caloa USB A9293 board
3262569Simp *
4262569Simp *  Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
5262569Simp *
6262569Simp * Licensed under GPLv2 only
7262569Simp */
8262569Simp/dts-v1/;
9262569Simp#include "at91sam9263.dtsi"
10262569Simp
11262569Simp/ {
12262569Simp	model = "Calao TNY A9263";
13262569Simp	compatible = "atmel,tny-a9263", "atmel,at91sam9263", "atmel,at91sam9";
14262569Simp
15262569Simp	chosen {
16262569Simp		bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs";
17262569Simp	};
18262569Simp
19262569Simp	memory {
20262569Simp		reg = <0x20000000 0x4000000>;
21262569Simp	};
22262569Simp
23262569Simp	clocks {
24262569Simp		#address-cells = <1>;
25262569Simp		#size-cells = <1>;
26262569Simp		ranges;
27262569Simp
28262569Simp		main_clock: clock@0 {
29262569Simp			compatible = "atmel,osc", "fixed-clock";
30262569Simp			clock-frequency = <12000000>;
31262569Simp		};
32270864Simp
33270864Simp		slow_xtal {
34270864Simp			clock-frequency = <32768>;
35270864Simp		};
36270864Simp
37270864Simp		main_xtal {
38270864Simp			clock-frequency = <12000000>;
39270864Simp		};
40262569Simp	};
41262569Simp
42262569Simp	ahb {
43262569Simp		apb {
44262569Simp			dbgu: serial@ffffee00 {
45262569Simp				status = "okay";
46262569Simp			};
47262569Simp
48262569Simp			usb1: gadget@fff78000 {
49262569Simp				atmel,vbus-gpio = <&pioB 11 GPIO_ACTIVE_HIGH>;
50262569Simp				status = "okay";
51262569Simp			};
52262569Simp		};
53262569Simp
54262569Simp		nand0: nand@40000000 {
55262569Simp			nand-bus-width = <8>;
56262569Simp			nand-ecc-mode = "soft";
57262569Simp			nand-on-flash-bbt;
58262569Simp			status = "okay";
59262569Simp
60262569Simp			at91bootstrap@0 {
61262569Simp				label = "at91bootstrap";
62262569Simp				reg = <0x0 0x20000>;
63262569Simp			};
64262569Simp
65262569Simp			barebox@20000 {
66262569Simp				label = "barebox";
67262569Simp				reg = <0x20000 0x40000>;
68262569Simp			};
69262569Simp
70262569Simp			bareboxenv@60000 {
71262569Simp				label = "bareboxenv";
72262569Simp				reg = <0x60000 0x20000>;
73262569Simp			};
74262569Simp
75262569Simp			bareboxenv2@80000 {
76262569Simp				label = "bareboxenv2";
77262569Simp				reg = <0x80000 0x20000>;
78262569Simp			};
79262569Simp
80262569Simp			oftree@80000 {
81262569Simp				label = "oftree";
82262569Simp				reg = <0xa0000 0x20000>;
83262569Simp			};
84262569Simp
85262569Simp			kernel@a0000 {
86262569Simp				label = "kernel";
87262569Simp				reg = <0xc0000 0x400000>;
88262569Simp			};
89262569Simp
90262569Simp			rootfs@4a0000 {
91262569Simp				label = "rootfs";
92262569Simp				reg = <0x4c0000 0x7800000>;
93262569Simp			};
94262569Simp
95262569Simp			data@7ca0000 {
96262569Simp				label = "data";
97262569Simp				reg = <0x7cc0000 0x8340000>;
98262569Simp			};
99262569Simp		};
100262569Simp	};
101262569Simp
102262569Simp	i2c@0 {
103262569Simp		status = "okay";
104262569Simp	};
105262569Simp};
106