ARM: at91: dt: use #include for all device trees
[linux-2.6.git] / arch / arm / boot / dts / usb_a9263.dts
blob82e204aae6b9e26f209b2fb88fbcae9e34e47577
1 /*
2  * usb_a9263.dts - Device Tree file for Caloa USB A9293 board
3  *
4  *  Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
5  *
6  * Licensed under GPLv2 only
7  */
8 /dts-v1/;
9 #include "at91sam9263.dtsi"
11 / {
12         model = "Calao USB A9263";
13         compatible = "atmel,usb-a9263", "atmel,at91sam9263", "atmel,at91sam9";
15         chosen {
16                 bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs";
17         };
19         memory {
20                 reg = <0x20000000 0x4000000>;
21         };
23         clocks {
24                 #address-cells = <1>;
25                 #size-cells = <1>;
26                 ranges;
28                 main_clock: clock@0 {
29                         compatible = "atmel,osc", "fixed-clock";
30                         clock-frequency = <12000000>;
31                 };
32         };
34         ahb {
35                 apb {
36                         dbgu: serial@ffffee00 {
37                                 status = "okay";
38                         };
40                         macb0: ethernet@fffbc000 {
41                                 phy-mode = "rmii";
42                                 status = "okay";
43                         };
45                         usb1: gadget@fff78000 {
46                                 atmel,vbus-gpio = <&pioB 11 0>;
47                                 status = "okay";
48                         };
50                 };
52                 nand0: nand@40000000 {
53                         nand-bus-width = <8>;
54                         nand-ecc-mode = "soft";
55                         nand-on-flash-bbt;
56                         status = "okay";
58                         at91bootstrap@0 {
59                                 label = "at91bootstrap";
60                                 reg = <0x0 0x20000>;
61                         };
63                         barebox@20000 {
64                                 label = "barebox";
65                                 reg = <0x20000 0x40000>;
66                         };
68                         bareboxenv@60000 {
69                                 label = "bareboxenv";
70                                 reg = <0x60000 0x20000>;
71                         };
73                         bareboxenv2@80000 {
74                                 label = "bareboxenv2";
75                                 reg = <0x80000 0x20000>;
76                         };
78                         oftree@80000 {
79                                 label = "oftree";
80                                 reg = <0xa0000 0x20000>;
81                         };
83                         kernel@a0000 {
84                                 label = "kernel";
85                                 reg = <0xc0000 0x400000>;
86                         };
88                         rootfs@4a0000 {
89                                 label = "rootfs";
90                                 reg = <0x4c0000 0x7800000>;
91                         };
93                         data@7ca0000 {
94                                 label = "data";
95                                 reg = <0x7cc0000 0x8340000>;
96                         };
97                 };
99                 usb0: ohci@00a00000 {
100                         num-ports = <2>;
101                         status = "okay";
102                 };
103         };
105         leds {
106                 compatible = "gpio-leds";
108                 user_led {
109                         label = "user_led";
110                         gpios = <&pioB 21 0>;
111                         linux,default-trigger = "heartbeat";
112                 };
113         };
115         gpio_keys {
116                 compatible = "gpio-keys";
117                 #address-cells = <1>;
118                 #size-cells = <0>;
120                 user_pb {
121                         label = "user_pb";
122                         gpios = <&pioB 10 1>;
123                         linux,code = <28>;
124                         gpio-key,wakeup;
125                 };
126         };
128         i2c@0 {
129                 status = "okay";
130         };