Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / usb_a9263.dts
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"
10
11 / {
12         model = "Calao USB A9263";
13         compatible = "atmel,usb-a9263", "atmel,at91sam9263", "atmel,at91sam9";
14
15         chosen {
16                 bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs";
17         };
18
19         memory {
20                 reg = <0x20000000 0x4000000>;
21         };
22
23         clocks {
24                 #address-cells = <1>;
25                 #size-cells = <1>;
26                 ranges;
27
28                 main_clock: clock@0 {
29                         compatible = "atmel,osc", "fixed-clock";
30                         clock-frequency = <12000000>;
31                 };
32         };
33
34         ahb {
35                 apb {
36                         dbgu: serial@ffffee00 {
37                                 status = "okay";
38                         };
39
40                         macb0: ethernet@fffbc000 {
41                                 phy-mode = "rmii";
42                                 status = "okay";
43                         };
44
45                         usb1: gadget@fff78000 {
46                                 atmel,vbus-gpio = <&pioB 11 0>;
47                                 status = "okay";
48                         };
49
50                 };
51
52                 nand0: nand@40000000 {
53                         nand-bus-width = <8>;
54                         nand-ecc-mode = "soft";
55                         nand-on-flash-bbt;
56                         status = "okay";
57
58                         at91bootstrap@0 {
59                                 label = "at91bootstrap";
60                                 reg = <0x0 0x20000>;
61                         };
62
63                         barebox@20000 {
64                                 label = "barebox";
65                                 reg = <0x20000 0x40000>;
66                         };
67
68                         bareboxenv@60000 {
69                                 label = "bareboxenv";
70                                 reg = <0x60000 0x20000>;
71                         };
72
73                         bareboxenv2@80000 {
74                                 label = "bareboxenv2";
75                                 reg = <0x80000 0x20000>;
76                         };
77
78                         oftree@80000 {
79                                 label = "oftree";
80                                 reg = <0xa0000 0x20000>;
81                         };
82
83                         kernel@a0000 {
84                                 label = "kernel";
85                                 reg = <0xc0000 0x400000>;
86                         };
87
88                         rootfs@4a0000 {
89                                 label = "rootfs";
90                                 reg = <0x4c0000 0x7800000>;
91                         };
92
93                         data@7ca0000 {
94                                 label = "data";
95                                 reg = <0x7cc0000 0x8340000>;
96                         };
97                 };
98
99                 usb0: ohci@00a00000 {
100                         num-ports = <2>;
101                         status = "okay";
102                 };
103         };
104
105         leds {
106                 compatible = "gpio-leds";
107
108                 user_led {
109                         label = "user_led";
110                         gpios = <&pioB 21 0>;
111                         linux,default-trigger = "heartbeat";
112                 };
113         };
114
115         gpio_keys {
116                 compatible = "gpio-keys";
117                 #address-cells = <1>;
118                 #size-cells = <0>;
119
120                 user_pb {
121                         label = "user_pb";
122                         gpios = <&pioB 10 1>;
123                         linux,code = <28>;
124                         gpio-key,wakeup;
125                 };
126         };
127
128         i2c@0 {
129                 status = "okay";
130         };
131 };