]> rtime.felk.cvut.cz Git - linux-imx.git/blob - arch/arm/boot/dts/at91sam9260.dtsi
Merge branches 'from-henrik', 'hidraw', 'logitech', 'picolcd', 'ps3', 'uclogic',...
[linux-imx.git] / arch / arm / boot / dts / at91sam9260.dtsi
1 /*
2  * at91sam9260.dtsi - Device Tree Include file for AT91SAM9260 family SoC
3  *
4  *  Copyright (C) 2011 Atmel,
5  *                2011 Nicolas Ferre <nicolas.ferre@atmel.com>,
6  *                2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
7  *
8  * Licensed under GPLv2 or later.
9  */
10
11 /include/ "skeleton.dtsi"
12
13 / {
14         model = "Atmel AT91SAM9260 family SoC";
15         compatible = "atmel,at91sam9260";
16         interrupt-parent = <&aic>;
17
18         aliases {
19                 serial0 = &dbgu;
20                 serial1 = &usart0;
21                 serial2 = &usart1;
22                 serial3 = &usart2;
23                 serial4 = &usart3;
24                 serial5 = &usart4;
25                 serial6 = &usart5;
26                 gpio0 = &pioA;
27                 gpio1 = &pioB;
28                 gpio2 = &pioC;
29                 tcb0 = &tcb0;
30                 tcb1 = &tcb1;
31         };
32         cpus {
33                 cpu@0 {
34                         compatible = "arm,arm926ejs";
35                 };
36         };
37
38         memory {
39                 reg = <0x20000000 0x04000000>;
40         };
41
42         ahb {
43                 compatible = "simple-bus";
44                 #address-cells = <1>;
45                 #size-cells = <1>;
46                 ranges;
47
48                 apb {
49                         compatible = "simple-bus";
50                         #address-cells = <1>;
51                         #size-cells = <1>;
52                         ranges;
53
54                         aic: interrupt-controller@fffff000 {
55                                 #interrupt-cells = <3>;
56                                 compatible = "atmel,at91rm9200-aic";
57                                 interrupt-controller;
58                                 reg = <0xfffff000 0x200>;
59                                 atmel,external-irqs = <29 30 31>;
60                         };
61
62                         ramc0: ramc@ffffea00 {
63                                 compatible = "atmel,at91sam9260-sdramc";
64                                 reg = <0xffffea00 0x200>;
65                         };
66
67                         pmc: pmc@fffffc00 {
68                                 compatible = "atmel,at91rm9200-pmc";
69                                 reg = <0xfffffc00 0x100>;
70                         };
71
72                         rstc@fffffd00 {
73                                 compatible = "atmel,at91sam9260-rstc";
74                                 reg = <0xfffffd00 0x10>;
75                         };
76
77                         shdwc@fffffd10 {
78                                 compatible = "atmel,at91sam9260-shdwc";
79                                 reg = <0xfffffd10 0x10>;
80                         };
81
82                         pit: timer@fffffd30 {
83                                 compatible = "atmel,at91sam9260-pit";
84                                 reg = <0xfffffd30 0xf>;
85                                 interrupts = <1 4 7>;
86                         };
87
88                         tcb0: timer@fffa0000 {
89                                 compatible = "atmel,at91rm9200-tcb";
90                                 reg = <0xfffa0000 0x100>;
91                                 interrupts = <17 4 0 18 4 0 19 4 0>;
92                         };
93
94                         tcb1: timer@fffdc000 {
95                                 compatible = "atmel,at91rm9200-tcb";
96                                 reg = <0xfffdc000 0x100>;
97                                 interrupts = <26 4 0 27 4 0 28 4 0>;
98                         };
99
100                         pioA: gpio@fffff400 {
101                                 compatible = "atmel,at91rm9200-gpio";
102                                 reg = <0xfffff400 0x100>;
103                                 interrupts = <2 4 1>;
104                                 #gpio-cells = <2>;
105                                 gpio-controller;
106                                 interrupt-controller;
107                                 #interrupt-cells = <2>;
108                         };
109
110                         pioB: gpio@fffff600 {
111                                 compatible = "atmel,at91rm9200-gpio";
112                                 reg = <0xfffff600 0x100>;
113                                 interrupts = <3 4 1>;
114                                 #gpio-cells = <2>;
115                                 gpio-controller;
116                                 interrupt-controller;
117                                 #interrupt-cells = <2>;
118                         };
119
120                         pioC: gpio@fffff800 {
121                                 compatible = "atmel,at91rm9200-gpio";
122                                 reg = <0xfffff800 0x100>;
123                                 interrupts = <4 4 1>;
124                                 #gpio-cells = <2>;
125                                 gpio-controller;
126                                 interrupt-controller;
127                                 #interrupt-cells = <2>;
128                         };
129
130                         dbgu: serial@fffff200 {
131                                 compatible = "atmel,at91sam9260-usart";
132                                 reg = <0xfffff200 0x200>;
133                                 interrupts = <1 4 7>;
134                                 status = "disabled";
135                         };
136
137                         usart0: serial@fffb0000 {
138                                 compatible = "atmel,at91sam9260-usart";
139                                 reg = <0xfffb0000 0x200>;
140                                 interrupts = <6 4 5>;
141                                 atmel,use-dma-rx;
142                                 atmel,use-dma-tx;
143                                 status = "disabled";
144                         };
145
146                         usart1: serial@fffb4000 {
147                                 compatible = "atmel,at91sam9260-usart";
148                                 reg = <0xfffb4000 0x200>;
149                                 interrupts = <7 4 5>;
150                                 atmel,use-dma-rx;
151                                 atmel,use-dma-tx;
152                                 status = "disabled";
153                         };
154
155                         usart2: serial@fffb8000 {
156                                 compatible = "atmel,at91sam9260-usart";
157                                 reg = <0xfffb8000 0x200>;
158                                 interrupts = <8 4 5>;
159                                 atmel,use-dma-rx;
160                                 atmel,use-dma-tx;
161                                 status = "disabled";
162                         };
163
164                         usart3: serial@fffd0000 {
165                                 compatible = "atmel,at91sam9260-usart";
166                                 reg = <0xfffd0000 0x200>;
167                                 interrupts = <23 4 5>;
168                                 atmel,use-dma-rx;
169                                 atmel,use-dma-tx;
170                                 status = "disabled";
171                         };
172
173                         usart4: serial@fffd4000 {
174                                 compatible = "atmel,at91sam9260-usart";
175                                 reg = <0xfffd4000 0x200>;
176                                 interrupts = <24 4 5>;
177                                 atmel,use-dma-rx;
178                                 atmel,use-dma-tx;
179                                 status = "disabled";
180                         };
181
182                         usart5: serial@fffd8000 {
183                                 compatible = "atmel,at91sam9260-usart";
184                                 reg = <0xfffd8000 0x200>;
185                                 interrupts = <25 4 5>;
186                                 atmel,use-dma-rx;
187                                 atmel,use-dma-tx;
188                                 status = "disabled";
189                         };
190
191                         macb0: ethernet@fffc4000 {
192                                 compatible = "cdns,at32ap7000-macb", "cdns,macb";
193                                 reg = <0xfffc4000 0x100>;
194                                 interrupts = <21 4 3>;
195                                 status = "disabled";
196                         };
197
198                         usb1: gadget@fffa4000 {
199                                 compatible = "atmel,at91rm9200-udc";
200                                 reg = <0xfffa4000 0x4000>;
201                                 interrupts = <10 4 2>;
202                                 status = "disabled";
203                         };
204
205                         adc0: adc@fffe0000 {
206                                 compatible = "atmel,at91sam9260-adc";
207                                 reg = <0xfffe0000 0x100>;
208                                 interrupts = <5 4 0>;
209                                 atmel,adc-use-external-triggers;
210                                 atmel,adc-channels-used = <0xf>;
211                                 atmel,adc-vref = <3300>;
212                                 atmel,adc-num-channels = <4>;
213                                 atmel,adc-startup-time = <15>;
214                                 atmel,adc-channel-base = <0x30>;
215                                 atmel,adc-drdy-mask = <0x10000>;
216                                 atmel,adc-status-register = <0x1c>;
217                                 atmel,adc-trigger-register = <0x04>;
218
219                                 trigger@0 {
220                                         trigger-name = "timer-counter-0";
221                                         trigger-value = <0x1>;
222                                 };
223                                 trigger@1 {
224                                         trigger-name = "timer-counter-1";
225                                         trigger-value = <0x3>;
226                                 };
227
228                                 trigger@2 {
229                                         trigger-name = "timer-counter-2";
230                                         trigger-value = <0x5>;
231                                 };
232
233                                 trigger@3 {
234                                         trigger-name = "external";
235                                         trigger-value = <0x13>;
236                                         trigger-external;
237                                 };
238                         };
239                 };
240
241                 nand0: nand@40000000 {
242                         compatible = "atmel,at91rm9200-nand";
243                         #address-cells = <1>;
244                         #size-cells = <1>;
245                         reg = <0x40000000 0x10000000
246                                0xffffe800 0x200
247                               >;
248                         atmel,nand-addr-offset = <21>;
249                         atmel,nand-cmd-offset = <22>;
250                         gpios = <&pioC 13 0
251                                  &pioC 14 0
252                                  0
253                                 >;
254                         status = "disabled";
255                 };
256
257                 usb0: ohci@00500000 {
258                         compatible = "atmel,at91rm9200-ohci", "usb-ohci";
259                         reg = <0x00500000 0x100000>;
260                         interrupts = <20 4 2>;
261                         status = "disabled";
262                 };
263         };
264
265         i2c@0 {
266                 compatible = "i2c-gpio";
267                 gpios = <&pioA 23 0 /* sda */
268                          &pioA 24 0 /* scl */
269                         >;
270                 i2c-gpio,sda-open-drain;
271                 i2c-gpio,scl-open-drain;
272                 i2c-gpio,delay-us = <2>;        /* ~100 kHz */
273                 #address-cells = <1>;
274                 #size-cells = <0>;
275                 status = "disabled";
276         };
277 };