]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/usb_a9263.dts
KARO: cleanup after merge of Freescale 3.10.17 stuff
[karo-tx-linux.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 GPIO_ACTIVE_HIGH>;
47                                 status = "okay";
48                         };
49
50                         spi0: spi@fffa4000 {
51                                 cs-gpios = <&pioB 15 GPIO_ACTIVE_HIGH>;
52                                 status = "okay";
53                                 mtd_dataflash@0 {
54                                         compatible = "atmel,at45", "atmel,dataflash";
55                                         reg = <0>;
56                                         spi-max-frequency = <15000000>;
57                                 };
58                         };
59
60                         shdwc@fffffd10 {
61                                 atmel,wakeup-counter = <10>;
62                                 atmel,wakeup-rtt-timer;
63                         };
64                 };
65
66                 nand0: nand@40000000 {
67                         nand-bus-width = <8>;
68                         nand-ecc-mode = "soft";
69                         nand-on-flash-bbt;
70                         status = "okay";
71
72                         at91bootstrap@0 {
73                                 label = "at91bootstrap";
74                                 reg = <0x0 0x20000>;
75                         };
76
77                         barebox@20000 {
78                                 label = "barebox";
79                                 reg = <0x20000 0x40000>;
80                         };
81
82                         bareboxenv@60000 {
83                                 label = "bareboxenv";
84                                 reg = <0x60000 0x20000>;
85                         };
86
87                         bareboxenv2@80000 {
88                                 label = "bareboxenv2";
89                                 reg = <0x80000 0x20000>;
90                         };
91
92                         oftree@80000 {
93                                 label = "oftree";
94                                 reg = <0xa0000 0x20000>;
95                         };
96
97                         kernel@a0000 {
98                                 label = "kernel";
99                                 reg = <0xc0000 0x400000>;
100                         };
101
102                         rootfs@4a0000 {
103                                 label = "rootfs";
104                                 reg = <0x4c0000 0x7800000>;
105                         };
106
107                         data@7ca0000 {
108                                 label = "data";
109                                 reg = <0x7cc0000 0x8340000>;
110                         };
111                 };
112
113                 usb0: ohci@00a00000 {
114                         num-ports = <2>;
115                         status = "okay";
116                 };
117         };
118
119         leds {
120                 compatible = "gpio-leds";
121
122                 user_led {
123                         label = "user_led";
124                         gpios = <&pioB 21 GPIO_ACTIVE_HIGH>;
125                         linux,default-trigger = "heartbeat";
126                 };
127         };
128
129         gpio_keys {
130                 compatible = "gpio-keys";
131                 #address-cells = <1>;
132                 #size-cells = <0>;
133
134                 user_pb {
135                         label = "user_pb";
136                         gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
137                         linux,code = <28>;
138                         gpio-key,wakeup;
139                 };
140         };
141
142         i2c@0 {
143                 status = "okay";
144         };
145 };