blob: 932a669156af81674a4d2ffc12f3b6e729d4b731 [file] [log] [blame]
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +02001/*
2 * at91sam9g45.dtsi - Device Tree Include file for AT91SAM9G45 family SoC
3 * applies to AT91SAM9G45, AT91SAM9M10,
4 * AT91SAM9G46, AT91SAM9M11 SoC
5 *
6 * Copyright (C) 2011 Atmel,
7 * 2011 Nicolas Ferre <nicolas.ferre@atmel.com>
8 *
9 * Licensed under GPLv2 or later.
10 */
11
Jean-Christophe PLAGNIOL-VILLARD6db64d22013-05-15 01:21:50 +080012#include "skeleton.dtsi"
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +020013#include <dt-bindings/dma/at91.h>
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +080014#include <dt-bindings/pinctrl/at91.h>
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +080015#include <dt-bindings/interrupt-controller/irq.h>
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +080016#include <dt-bindings/gpio/gpio.h>
Alexandre Belloni6f368c32014-06-11 22:39:06 +020017#include <dt-bindings/clock/at91.h>
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020018
19/ {
20 model = "Atmel AT91SAM9G45 family SoC";
21 compatible = "atmel,at91sam9g45";
22 interrupt-parent = <&aic>;
23
24 aliases {
25 serial0 = &dbgu;
26 serial1 = &usart0;
27 serial2 = &usart1;
28 serial3 = &usart2;
29 serial4 = &usart3;
Nicolas Ferre21f81872012-02-11 15:41:40 +010030 gpio0 = &pioA;
31 gpio1 = &pioB;
32 gpio2 = &pioC;
33 gpio3 = &pioD;
34 gpio4 = &pioE;
Nicolas Ferre3a61a5d2012-01-19 10:13:40 +010035 tcb0 = &tcb0;
36 tcb1 = &tcb1;
Ludovic Desroches05dcd362012-09-12 08:42:16 +020037 i2c0 = &i2c0;
38 i2c1 = &i2c1;
Bo Shen099343c2012-11-07 11:41:41 +080039 ssc0 = &ssc0;
40 ssc1 = &ssc1;
Bo Shenf3ab0522013-12-19 11:59:17 +080041 pwm0 = &pwm0;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020042 };
43 cpus {
Lorenzo Pieralisie757a6e2013-04-18 18:31:35 +010044 #address-cells = <0>;
45 #size-cells = <0>;
46
47 cpu {
48 compatible = "arm,arm926ej-s";
49 device_type = "cpu";
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020050 };
51 };
52
Ludovic Desrochesdcce6ce2012-04-02 20:44:20 +020053 memory {
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020054 reg = <0x70000000 0x10000000>;
55 };
56
Alexandre Belloni6f368c32014-06-11 22:39:06 +020057 clocks {
58 slow_xtal: slow_xtal {
59 compatible = "fixed-clock";
60 #clock-cells = <0>;
61 clock-frequency = <0>;
62 };
63
64 main_xtal: main_xtal {
65 compatible = "fixed-clock";
66 #clock-cells = <0>;
67 clock-frequency = <0>;
68 };
69
70 adc_op_clk: adc_op_clk{
71 compatible = "fixed-clock";
72 #clock-cells = <0>;
73 clock-frequency = <300000>;
74 };
75 };
76
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020077 ahb {
78 compatible = "simple-bus";
79 #address-cells = <1>;
80 #size-cells = <1>;
81 ranges;
82
83 apb {
84 compatible = "simple-bus";
85 #address-cells = <1>;
86 #size-cells = <1>;
87 ranges;
88
89 aic: interrupt-controller@fffff000 {
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020090 #interrupt-cells = <3>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020091 compatible = "atmel,at91rm9200-aic";
92 interrupt-controller;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020093 reg = <0xfffff000 0x200>;
Jean-Christophe PLAGNIOL-VILLARDc6573942012-04-09 19:36:36 +080094 atmel,external-irqs = <31>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020095 };
96
Jean-Christophe PLAGNIOL-VILLARDa7776ec2012-03-02 20:54:37 +080097 ramc0: ramc@ffffe400 {
98 compatible = "atmel,at91sam9g45-ddramc";
99 reg = <0xffffe400 0x200
100 0xffffe600 0x200>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200101 clocks = <&ddrck>;
102 clock-names = "ddrck";
Jean-Christophe PLAGNIOL-VILLARDa7776ec2012-03-02 20:54:37 +0800103 };
104
Jean-Christophe PLAGNIOL-VILLARDeb5e76f2012-03-02 20:44:23 +0800105 pmc: pmc@fffffc00 {
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200106 compatible = "atmel,at91sam9g45-pmc";
Jean-Christophe PLAGNIOL-VILLARDeb5e76f2012-03-02 20:44:23 +0800107 reg = <0xfffffc00 0x100>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200108 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
109 interrupt-controller;
110 #address-cells = <1>;
111 #size-cells = <0>;
112 #interrupt-cells = <1>;
113
114 main_osc: main_osc {
115 compatible = "atmel,at91rm9200-clk-main-osc";
116 #clock-cells = <0>;
117 interrupts-extended = <&pmc AT91_PMC_MOSCS>;
118 clocks = <&main_xtal>;
119 };
120
121 main: mainck {
122 compatible = "atmel,at91rm9200-clk-main";
123 #clock-cells = <0>;
124 clocks = <&main_osc>;
125 };
126
127 plla: pllack {
128 compatible = "atmel,at91rm9200-clk-pll";
129 #clock-cells = <0>;
130 interrupts-extended = <&pmc AT91_PMC_LOCKA>;
131 clocks = <&main>;
132 reg = <0>;
133 atmel,clk-input-range = <2000000 32000000>;
134 #atmel,pll-clk-output-range-cells = <4>;
135 atmel,pll-clk-output-ranges = <745000000 800000000 0 0
136 695000000 750000000 1 0
137 645000000 700000000 2 0
138 595000000 650000000 3 0
139 545000000 600000000 0 1
140 495000000 555000000 1 1
141 445000000 500000000 2 1
142 400000000 450000000 3 1>;
143 };
144
145 plladiv: plladivck {
146 compatible = "atmel,at91sam9x5-clk-plldiv";
147 #clock-cells = <0>;
148 clocks = <&plla>;
149 };
150
151 utmi: utmick {
152 compatible = "atmel,at91sam9x5-clk-utmi";
153 #clock-cells = <0>;
154 interrupts-extended = <&pmc AT91_PMC_LOCKU>;
155 clocks = <&main>;
156 };
157
158 mck: masterck {
159 compatible = "atmel,at91rm9200-clk-master";
160 #clock-cells = <0>;
161 interrupts-extended = <&pmc AT91_PMC_MCKRDY>;
162 clocks = <&slow_xtal>, <&main>, <&plladiv>, <&utmi>;
163 atmel,clk-output-range = <0 133333333>;
164 atmel,clk-divisors = <1 2 4 3>;
165 };
166
167 usb: usbck {
168 compatible = "atmel,at91sam9x5-clk-usb";
169 #clock-cells = <0>;
170 clocks = <&plladiv>, <&utmi>;
171 };
172
173 prog: progck {
174 compatible = "atmel,at91sam9g45-clk-programmable";
175 #address-cells = <1>;
176 #size-cells = <0>;
177 interrupt-parent = <&pmc>;
178 clocks = <&slow_xtal>, <&main>, <&plladiv>, <&utmi>, <&mck>;
179
180 prog0: prog0 {
181 #clock-cells = <0>;
182 reg = <0>;
183 interrupts = <AT91_PMC_PCKRDY(0)>;
184 };
185
186 prog1: prog1 {
187 #clock-cells = <0>;
188 reg = <1>;
189 interrupts = <AT91_PMC_PCKRDY(1)>;
190 };
191 };
192
193 systemck {
194 compatible = "atmel,at91rm9200-clk-system";
195 #address-cells = <1>;
196 #size-cells = <0>;
197
198 ddrck: ddrck {
199 #clock-cells = <0>;
200 reg = <2>;
201 clocks = <&mck>;
202 };
203
204 uhpck: uhpck {
205 #clock-cells = <0>;
206 reg = <6>;
207 clocks = <&usb>;
208 };
209
210 pck0: pck0 {
211 #clock-cells = <0>;
212 reg = <8>;
213 clocks = <&prog0>;
214 };
215
216 pck1: pck1 {
217 #clock-cells = <0>;
218 reg = <9>;
219 clocks = <&prog1>;
220 };
221 };
222
223 periphck {
224 compatible = "atmel,at91rm9200-clk-peripheral";
225 #address-cells = <1>;
226 #size-cells = <0>;
227 clocks = <&mck>;
228
229 pioA_clk: pioA_clk {
230 #clock-cells = <0>;
231 reg = <2>;
232 };
233
234 pioB_clk: pioB_clk {
235 #clock-cells = <0>;
236 reg = <3>;
237 };
238
239 pioC_clk: pioC_clk {
240 #clock-cells = <0>;
241 reg = <4>;
242 };
243
244 pioDE_clk: pioDE_clk {
245 #clock-cells = <0>;
246 reg = <5>;
247 };
248
249 trng_clk: trng_clk {
250 #clock-cells = <0>;
251 reg = <6>;
252 };
253
254 usart0_clk: usart0_clk {
255 #clock-cells = <0>;
256 reg = <7>;
257 };
258
259 usart1_clk: usart1_clk {
260 #clock-cells = <0>;
261 reg = <8>;
262 };
263
264 usart2_clk: usart2_clk {
265 #clock-cells = <0>;
266 reg = <9>;
267 };
268
269 usart3_clk: usart3_clk {
270 #clock-cells = <0>;
271 reg = <10>;
272 };
273
274 mci0_clk: mci0_clk {
275 #clock-cells = <0>;
276 reg = <11>;
277 };
278
279 twi0_clk: twi0_clk {
280 #clock-cells = <0>;
281 reg = <12>;
282 };
283
284 twi1_clk: twi1_clk {
285 #clock-cells = <0>;
286 reg = <13>;
287 };
288
289 spi0_clk: spi0_clk {
290 #clock-cells = <0>;
291 reg = <14>;
292 };
293
294 spi1_clk: spi1_clk {
295 #clock-cells = <0>;
296 reg = <15>;
297 };
298
299 ssc0_clk: ssc0_clk {
300 #clock-cells = <0>;
301 reg = <16>;
302 };
303
304 ssc1_clk: ssc1_clk {
305 #clock-cells = <0>;
306 reg = <17>;
307 };
308
309 tcb0_clk: tcb0_clk {
310 #clock-cells = <0>;
311 reg = <18>;
312 };
313
314 pwm_clk: pwm_clk {
315 #clock-cells = <0>;
316 reg = <19>;
317 };
318
319 adc_clk: adc_clk {
320 #clock-cells = <0>;
321 reg = <20>;
322 };
323
324 dma0_clk: dma0_clk {
325 #clock-cells = <0>;
326 reg = <21>;
327 };
328
329 uhphs_clk: uhphs_clk {
330 #clock-cells = <0>;
331 reg = <22>;
332 };
333
334 lcd_clk: lcd_clk {
335 #clock-cells = <0>;
336 reg = <23>;
337 };
338
339 ac97_clk: ac97_clk {
340 #clock-cells = <0>;
341 reg = <24>;
342 };
343
344 macb0_clk: macb0_clk {
345 #clock-cells = <0>;
346 reg = <25>;
347 };
348
349 isi_clk: isi_clk {
350 #clock-cells = <0>;
351 reg = <26>;
352 };
353
354 udphs_clk: udphs_clk {
355 #clock-cells = <0>;
356 reg = <27>;
357 };
358
359 aestdessha_clk: aestdessha_clk {
360 #clock-cells = <0>;
361 reg = <28>;
362 };
363
364 mci1_clk: mci1_clk {
365 #clock-cells = <0>;
366 reg = <29>;
367 };
368
369 vdec_clk: vdec_clk {
370 #clock-cells = <0>;
371 reg = <30>;
372 };
373 };
Jean-Christophe PLAGNIOL-VILLARDeb5e76f2012-03-02 20:44:23 +0800374 };
375
Jean-Christophe PLAGNIOL-VILLARDc8082d32012-03-03 03:16:27 +0800376 rstc@fffffd00 {
377 compatible = "atmel,at91sam9g45-rstc";
378 reg = <0xfffffd00 0x10>;
379 };
380
Jean-Christophe PLAGNIOL-VILLARD23fa6482012-02-27 11:19:34 +0100381 pit: timer@fffffd30 {
382 compatible = "atmel,at91sam9260-pit";
383 reg = <0xfffffd30 0xf>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800384 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200385 clocks = <&mck>;
Jean-Christophe PLAGNIOL-VILLARD23fa6482012-02-27 11:19:34 +0100386 };
387
Nicolas Ferre3a61a5d2012-01-19 10:13:40 +0100388
Jean-Christophe PLAGNIOL-VILLARD82015c42012-03-02 21:01:00 +0800389 shdwc@fffffd10 {
390 compatible = "atmel,at91sam9rl-shdwc";
391 reg = <0xfffffd10 0x10>;
392 };
393
Nicolas Ferre3a61a5d2012-01-19 10:13:40 +0100394 tcb0: timer@fff7c000 {
395 compatible = "atmel,at91rm9200-tcb";
396 reg = <0xfff7c000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800397 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 0>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200398 clocks = <&tcb0_clk>, <&tcb0_clk>, <&tcb0_clk>;
399 clock-names = "t0_clk", "t1_clk", "t2_clk";
Nicolas Ferre3a61a5d2012-01-19 10:13:40 +0100400 };
401
402 tcb1: timer@fffd4000 {
403 compatible = "atmel,at91rm9200-tcb";
404 reg = <0xfffd4000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800405 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 0>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200406 clocks = <&tcb0_clk>, <&tcb0_clk>, <&tcb0_clk>;
407 clock-names = "t0_clk", "t1_clk", "t2_clk";
Nicolas Ferre3a61a5d2012-01-19 10:13:40 +0100408 };
409
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200410 dma: dma-controller@ffffec00 {
411 compatible = "atmel,at91sam9g45-dma";
412 reg = <0xffffec00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800413 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desroches980ce7d2013-04-16 15:03:06 +0200414 #dma-cells = <2>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200415 clocks = <&dma0_clk>;
416 clock-names = "dma_clk";
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200417 };
418
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800419 pinctrl@fffff200 {
420 #address-cells = <1>;
421 #size-cells = <1>;
422 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
423 ranges = <0xfffff200 0xfffff200 0xa00>;
Nicolas Ferre21f81872012-02-11 15:41:40 +0100424
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800425 atmel,mux-mask = <
426 /* A B */
427 0xffffffff 0xffc003ff /* pioA */
428 0xffffffff 0x800f8f00 /* pioB */
429 0xffffffff 0x00000e00 /* pioC */
430 0xffffffff 0xff0c1381 /* pioD */
431 0xffffffff 0x81ffff81 /* pioE */
432 >;
433
434 /* shared pinctrl settings */
Alexandre Belloni72e6cac2014-03-19 00:15:39 +0100435 adc0 {
436 pinctrl_adc0_adtrg: adc0_adtrg {
437 atmel,pins = <AT91_PIOD 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
438 };
439 pinctrl_adc0_ad0: adc0_ad0 {
440 atmel,pins = <AT91_PIOD 20 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
441 };
442 pinctrl_adc0_ad1: adc0_ad1 {
443 atmel,pins = <AT91_PIOD 21 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
444 };
445 pinctrl_adc0_ad2: adc0_ad2 {
446 atmel,pins = <AT91_PIOD 22 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
447 };
448 pinctrl_adc0_ad3: adc0_ad3 {
449 atmel,pins = <AT91_PIOD 23 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
450 };
451 pinctrl_adc0_ad4: adc0_ad4 {
452 atmel,pins = <AT91_PIOD 24 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
453 };
454 pinctrl_adc0_ad5: adc0_ad5 {
455 atmel,pins = <AT91_PIOD 25 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
456 };
457 pinctrl_adc0_ad6: adc0_ad6 {
458 atmel,pins = <AT91_PIOD 26 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
459 };
460 pinctrl_adc0_ad7: adc0_ad7 {
461 atmel,pins = <AT91_PIOD 27 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
462 };
463 };
464
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800465 dbgu {
466 pinctrl_dbgu: dbgu-0 {
467 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800468 <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB12 periph A */
469 AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB13 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800470 };
471 };
472
Ludovic Desrochescd127e12013-11-22 14:49:53 +0100473 i2c0 {
474 pinctrl_i2c0: i2c0-0 {
475 atmel,pins =
476 <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA21 periph A TWCK0 */
477 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA20 periph A TWD0 */
478 };
479 };
480
481 i2c1 {
482 pinctrl_i2c1: i2c1-0 {
483 atmel,pins =
484 <AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB11 periph A TWCK1 */
485 AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB10 periph A TWD1 */
486 };
487 };
488
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800489 usart0 {
490 pinctrl_usart0: usart0-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800491 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800492 <AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB19 periph A with pullup */
493 AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB18 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800494 };
495
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800496 pinctrl_usart0_rts: usart0_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800497 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800498 <AT91_PIOB 17 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB17 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800499 };
500
501 pinctrl_usart0_cts: usart0_cts-0 {
502 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800503 <AT91_PIOB 15 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB15 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800504 };
505 };
506
507 uart1 {
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800508 pinctrl_usart1: usart1-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800509 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800510 <AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB4 periph A with pullup */
511 AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB5 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800512 };
513
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800514 pinctrl_usart1_rts: usart1_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800515 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800516 <AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD16 periph A */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800517 };
518
519 pinctrl_usart1_cts: usart1_cts-0 {
520 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800521 <AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD17 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800522 };
523 };
524
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800525 usart2 {
526 pinctrl_usart2: usart2-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800527 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800528 <AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB6 periph A with pullup */
529 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB7 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800530 };
531
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800532 pinctrl_usart2_rts: usart2_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800533 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800534 <AT91_PIOC 9 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC9 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800535 };
536
537 pinctrl_usart2_cts: usart2_cts-0 {
538 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800539 <AT91_PIOC 11 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC11 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800540 };
541 };
542
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800543 usart3 {
544 pinctrl_usart3: usart3-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800545 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800546 <AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB9 periph A with pullup */
547 AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB8 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800548 };
549
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800550 pinctrl_usart3_rts: usart3_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800551 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800552 <AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA23 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800553 };
554
555 pinctrl_usart3_cts: usart3_cts-0 {
556 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800557 <AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA24 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800558 };
559 };
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800560
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800561 nand {
562 pinctrl_nand: nand-0 {
563 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800564 <AT91_PIOC 8 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PC8 gpio RDY pin pull_up*/
565 AT91_PIOC 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PC14 gpio enable pin pull_up */
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800566 };
567 };
568
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800569 macb {
570 pinctrl_macb_rmii: macb_rmii-0 {
571 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800572 <AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA10 periph A */
573 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A */
574 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A */
575 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA13 periph A */
576 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA14 periph A */
577 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA15 periph A */
578 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA16 periph A */
579 AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA17 periph A */
580 AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA18 periph A */
581 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA19 periph A */
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800582 };
583
584 pinctrl_macb_rmii_mii: macb_rmii_mii-0 {
585 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800586 <AT91_PIOA 6 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA6 periph B */
587 AT91_PIOA 7 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA7 periph B */
588 AT91_PIOA 8 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA8 periph B */
589 AT91_PIOA 9 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA9 periph B */
590 AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA27 periph B */
591 AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA28 periph B */
592 AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA29 periph B */
593 AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA30 periph B */
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800594 };
595 };
596
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800597 mmc0 {
598 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
599 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800600 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA0 periph A */
601 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA1 periph A with pullup */
602 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA2 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800603 };
604
605 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
606 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800607 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA3 periph A with pullup */
608 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA4 periph A with pullup */
609 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA5 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800610 };
611
612 pinctrl_mmc0_slot0_dat4_7: mmc0_slot0_dat4_7-0 {
613 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800614 <AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA6 periph A with pullup */
615 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */
616 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA8 periph A with pullup */
617 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA9 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800618 };
619 };
620
621 mmc1 {
622 pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
623 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800624 <AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA31 periph A */
625 AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA22 periph A with pullup */
626 AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA23 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800627 };
628
629 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
630 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800631 <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA24 periph A with pullup */
632 AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA25 periph A with pullup */
633 AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA26 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800634 };
635
636 pinctrl_mmc1_slot0_dat4_7: mmc1_slot0_dat4_7-0 {
637 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800638 <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA27 periph A with pullup */
639 AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA28 periph A with pullup */
640 AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA29 periph A with pullup */
641 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA30 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800642 };
643 };
644
Bo Shen544ae6b2013-01-11 15:08:30 +0100645 ssc0 {
646 pinctrl_ssc0_tx: ssc0_tx-0 {
647 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800648 <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD0 periph A */
649 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD1 periph A */
650 AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD2 periph A */
Bo Shen544ae6b2013-01-11 15:08:30 +0100651 };
652
653 pinctrl_ssc0_rx: ssc0_rx-0 {
654 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800655 <AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD3 periph A */
656 AT91_PIOD 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD4 periph A */
657 AT91_PIOD 5 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD5 periph A */
Bo Shen544ae6b2013-01-11 15:08:30 +0100658 };
659 };
660
661 ssc1 {
662 pinctrl_ssc1_tx: ssc1_tx-0 {
663 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800664 <AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD10 periph A */
665 AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD11 periph A */
666 AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD12 periph A */
Bo Shen544ae6b2013-01-11 15:08:30 +0100667 };
668
669 pinctrl_ssc1_rx: ssc1_rx-0 {
670 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800671 <AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD13 periph A */
672 AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD14 periph A */
673 AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD15 periph A */
Bo Shen544ae6b2013-01-11 15:08:30 +0100674 };
675 };
676
Wenyou Yanga68b7282013-04-03 14:03:52 +0800677 spi0 {
678 pinctrl_spi0: spi0-0 {
679 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800680 <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB0 periph A SPI0_MISO pin */
681 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB1 periph A SPI0_MOSI pin */
682 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB2 periph A SPI0_SPCK pin */
Wenyou Yanga68b7282013-04-03 14:03:52 +0800683 };
684 };
685
686 spi1 {
687 pinctrl_spi1: spi1-0 {
688 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800689 <AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB14 periph A SPI1_MISO pin */
690 AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB15 periph A SPI1_MOSI pin */
691 AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB16 periph A SPI1_SPCK pin */
Wenyou Yanga68b7282013-04-03 14:03:52 +0800692 };
693 };
694
Boris BREZILLON028633c2013-05-24 10:05:56 +0000695 tcb0 {
696 pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
697 atmel,pins = <AT91_PIOD 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
698 };
699
700 pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
701 atmel,pins = <AT91_PIOD 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
702 };
703
704 pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
705 atmel,pins = <AT91_PIOC 10 AT91_PERIPH_B AT91_PINCTRL_NONE>;
706 };
707
708 pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
709 atmel,pins = <AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE>;
710 };
711
712 pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
713 atmel,pins = <AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
714 };
715
716 pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
717 atmel,pins = <AT91_PIOD 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;
718 };
719
720 pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
721 atmel,pins = <AT91_PIOD 30 AT91_PERIPH_A AT91_PINCTRL_NONE>;
722 };
723
724 pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
725 atmel,pins = <AT91_PIOD 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
726 };
727
728 pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
729 atmel,pins = <AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE>;
730 };
731 };
732
733 tcb1 {
734 pinctrl_tcb1_tclk0: tcb1_tclk0-0 {
735 atmel,pins = <AT91_PIOA 0 AT91_PERIPH_B AT91_PINCTRL_NONE>;
736 };
737
738 pinctrl_tcb1_tclk1: tcb1_tclk1-0 {
739 atmel,pins = <AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_NONE>;
740 };
741
742 pinctrl_tcb1_tclk2: tcb1_tclk2-0 {
743 atmel,pins = <AT91_PIOD 9 AT91_PERIPH_B AT91_PINCTRL_NONE>;
744 };
745
746 pinctrl_tcb1_tioa0: tcb1_tioa0-0 {
747 atmel,pins = <AT91_PIOA 1 AT91_PERIPH_B AT91_PINCTRL_NONE>;
748 };
749
750 pinctrl_tcb1_tioa1: tcb1_tioa1-0 {
751 atmel,pins = <AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_NONE>;
752 };
753
754 pinctrl_tcb1_tioa2: tcb1_tioa2-0 {
755 atmel,pins = <AT91_PIOD 7 AT91_PERIPH_B AT91_PINCTRL_NONE>;
756 };
757
758 pinctrl_tcb1_tiob0: tcb1_tiob0-0 {
759 atmel,pins = <AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_NONE>;
760 };
761
762 pinctrl_tcb1_tiob1: tcb1_tiob1-0 {
763 atmel,pins = <AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_NONE>;
764 };
765
766 pinctrl_tcb1_tiob2: tcb1_tiob2-0 {
767 atmel,pins = <AT91_PIOD 8 AT91_PERIPH_B AT91_PINCTRL_NONE>;
768 };
769 };
770
Jean-Christophe PLAGNIOL-VILLARDddee65b2013-03-29 02:10:47 +0800771 fb {
772 pinctrl_fb: fb-0 {
773 atmel,pins =
774 <AT91_PIOE 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE0 periph A */
775 AT91_PIOE 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE2 periph A */
776 AT91_PIOE 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE3 periph A */
777 AT91_PIOE 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE4 periph A */
778 AT91_PIOE 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE5 periph A */
779 AT91_PIOE 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE6 periph A */
780 AT91_PIOE 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE7 periph A */
781 AT91_PIOE 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE8 periph A */
782 AT91_PIOE 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE9 periph A */
783 AT91_PIOE 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE10 periph A */
784 AT91_PIOE 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE11 periph A */
785 AT91_PIOE 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE12 periph A */
786 AT91_PIOE 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE13 periph A */
787 AT91_PIOE 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE14 periph A */
788 AT91_PIOE 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE15 periph A */
789 AT91_PIOE 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE16 periph A */
790 AT91_PIOE 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE17 periph A */
791 AT91_PIOE 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE18 periph A */
792 AT91_PIOE 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE19 periph A */
793 AT91_PIOE 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE20 periph A */
794 AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE21 periph A */
795 AT91_PIOE 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE22 periph A */
796 AT91_PIOE 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE23 periph A */
797 AT91_PIOE 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE24 periph A */
798 AT91_PIOE 25 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE25 periph A */
799 AT91_PIOE 26 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE26 periph A */
800 AT91_PIOE 27 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE27 periph A */
801 AT91_PIOE 28 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE28 periph A */
802 AT91_PIOE 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE29 periph A */
803 AT91_PIOE 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PE30 periph A */
804 };
805 };
806
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800807 pioA: gpio@fffff200 {
808 compatible = "atmel,at91rm9200-gpio";
809 reg = <0xfffff200 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800810 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800811 #gpio-cells = <2>;
812 gpio-controller;
813 interrupt-controller;
814 #interrupt-cells = <2>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200815 clocks = <&pioA_clk>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800816 };
Nicolas Ferre21f81872012-02-11 15:41:40 +0100817
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800818 pioB: gpio@fffff400 {
819 compatible = "atmel,at91rm9200-gpio";
820 reg = <0xfffff400 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800821 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800822 #gpio-cells = <2>;
823 gpio-controller;
824 interrupt-controller;
825 #interrupt-cells = <2>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200826 clocks = <&pioB_clk>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800827 };
Nicolas Ferre21f81872012-02-11 15:41:40 +0100828
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800829 pioC: gpio@fffff600 {
830 compatible = "atmel,at91rm9200-gpio";
831 reg = <0xfffff600 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800832 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800833 #gpio-cells = <2>;
834 gpio-controller;
835 interrupt-controller;
836 #interrupt-cells = <2>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200837 clocks = <&pioC_clk>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800838 };
Nicolas Ferre21f81872012-02-11 15:41:40 +0100839
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800840 pioD: gpio@fffff800 {
841 compatible = "atmel,at91rm9200-gpio";
842 reg = <0xfffff800 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800843 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800844 #gpio-cells = <2>;
845 gpio-controller;
846 interrupt-controller;
847 #interrupt-cells = <2>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200848 clocks = <&pioDE_clk>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800849 };
850
851 pioE: gpio@fffffa00 {
852 compatible = "atmel,at91rm9200-gpio";
853 reg = <0xfffffa00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800854 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800855 #gpio-cells = <2>;
856 gpio-controller;
857 interrupt-controller;
858 #interrupt-cells = <2>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200859 clocks = <&pioDE_clk>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800860 };
Nicolas Ferre21f81872012-02-11 15:41:40 +0100861 };
862
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200863 dbgu: serial@ffffee00 {
864 compatible = "atmel,at91sam9260-usart";
865 reg = <0xffffee00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800866 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800867 pinctrl-names = "default";
868 pinctrl-0 = <&pinctrl_dbgu>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200869 clocks = <&mck>;
870 clock-names = "usart";
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200871 status = "disabled";
872 };
873
874 usart0: serial@fff8c000 {
875 compatible = "atmel,at91sam9260-usart";
876 reg = <0xfff8c000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800877 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200878 atmel,use-dma-rx;
879 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800880 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800881 pinctrl-0 = <&pinctrl_usart0>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200882 clocks = <&usart0_clk>;
883 clock-names = "usart";
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200884 status = "disabled";
885 };
886
887 usart1: serial@fff90000 {
888 compatible = "atmel,at91sam9260-usart";
889 reg = <0xfff90000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800890 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200891 atmel,use-dma-rx;
892 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800893 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800894 pinctrl-0 = <&pinctrl_usart1>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200895 clocks = <&usart1_clk>;
896 clock-names = "usart";
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200897 status = "disabled";
898 };
899
900 usart2: serial@fff94000 {
901 compatible = "atmel,at91sam9260-usart";
902 reg = <0xfff94000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800903 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 5>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200904 atmel,use-dma-rx;
905 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800906 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800907 pinctrl-0 = <&pinctrl_usart2>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200908 clocks = <&usart2_clk>;
909 clock-names = "usart";
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200910 status = "disabled";
911 };
912
913 usart3: serial@fff98000 {
914 compatible = "atmel,at91sam9260-usart";
915 reg = <0xfff98000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800916 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 5>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200917 atmel,use-dma-rx;
918 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800919 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800920 pinctrl-0 = <&pinctrl_usart3>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200921 clocks = <&usart3_clk>;
922 clock-names = "usart";
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200923 status = "disabled";
924 };
Nicolas Ferre0d4f99d2011-12-05 18:03:05 +0100925
926 macb0: ethernet@fffbc000 {
927 compatible = "cdns,at32ap7000-macb", "cdns,macb";
928 reg = <0xfffbc000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800929 interrupts = <25 IRQ_TYPE_LEVEL_HIGH 3>;
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800930 pinctrl-names = "default";
931 pinctrl-0 = <&pinctrl_macb_rmii>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200932 clocks = <&macb0_clk>, <&macb0_clk>;
933 clock-names = "hclk", "pclk";
Nicolas Ferre0d4f99d2011-12-05 18:03:05 +0100934 status = "disabled";
935 };
Maxime Ripard93b298b2012-05-11 15:35:38 +0200936
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200937 i2c0: i2c@fff84000 {
938 compatible = "atmel,at91sam9g10-i2c";
939 reg = <0xfff84000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800940 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desrochescd127e12013-11-22 14:49:53 +0100941 pinctrl-names = "default";
942 pinctrl-0 = <&pinctrl_i2c0>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200943 #address-cells = <1>;
944 #size-cells = <0>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200945 clocks = <&twi0_clk>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200946 status = "disabled";
947 };
948
949 i2c1: i2c@fff88000 {
950 compatible = "atmel,at91sam9g10-i2c";
951 reg = <0xfff88000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800952 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desrochescd127e12013-11-22 14:49:53 +0100953 pinctrl-names = "default";
954 pinctrl-0 = <&pinctrl_i2c1>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200955 #address-cells = <1>;
956 #size-cells = <0>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200957 clocks = <&twi1_clk>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200958 status = "disabled";
959 };
960
Bo Shen099343c2012-11-07 11:41:41 +0800961 ssc0: ssc@fff9c000 {
962 compatible = "atmel,at91sam9g45-ssc";
963 reg = <0xfff9c000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800964 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
Bo Shen544ae6b2013-01-11 15:08:30 +0100965 pinctrl-names = "default";
966 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200967 clocks = <&ssc0_clk>;
968 clock-names = "pclk";
Bo Shen315656b2012-12-13 10:05:07 +0800969 status = "disabled";
Bo Shen099343c2012-11-07 11:41:41 +0800970 };
971
972 ssc1: ssc@fffa0000 {
973 compatible = "atmel,at91sam9g45-ssc";
974 reg = <0xfffa0000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800975 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>;
Bo Shen544ae6b2013-01-11 15:08:30 +0100976 pinctrl-names = "default";
977 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200978 clocks = <&ssc1_clk>;
979 clock-names = "pclk";
Bo Shen315656b2012-12-13 10:05:07 +0800980 status = "disabled";
Bo Shen099343c2012-11-07 11:41:41 +0800981 };
982
Maxime Ripard93b298b2012-05-11 15:35:38 +0200983 adc0: adc@fffb0000 {
Alexandre Bellonie1abeb72014-03-10 20:17:22 +0100984 #address-cells = <1>;
985 #size-cells = <0>;
Alexandre Belloni72e6cac2014-03-19 00:15:39 +0100986 compatible = "atmel,at91sam9g45-adc";
Maxime Ripard93b298b2012-05-11 15:35:38 +0200987 reg = <0xfffb0000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800988 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +0200989 clocks = <&adc_clk>, <&adc_op_clk>;
990 clock-names = "adc_clk", "adc_op_clk";
Maxime Ripard93b298b2012-05-11 15:35:38 +0200991 atmel,adc-channels-used = <0xff>;
992 atmel,adc-vref = <3300>;
Maxime Ripard93b298b2012-05-11 15:35:38 +0200993 atmel,adc-startup-time = <40>;
Ludovic Desroches4b50da62013-03-29 10:13:19 +0100994 atmel,adc-res = <8 10>;
995 atmel,adc-res-names = "lowres", "highres";
996 atmel,adc-use-res = "highres";
Maxime Ripard93b298b2012-05-11 15:35:38 +0200997
998 trigger@0 {
Alexandre Bellonie1abeb72014-03-10 20:17:22 +0100999 reg = <0>;
Maxime Ripard93b298b2012-05-11 15:35:38 +02001000 trigger-name = "external-rising";
1001 trigger-value = <0x1>;
1002 trigger-external;
1003 };
1004 trigger@1 {
Alexandre Bellonie1abeb72014-03-10 20:17:22 +01001005 reg = <1>;
Maxime Ripard93b298b2012-05-11 15:35:38 +02001006 trigger-name = "external-falling";
1007 trigger-value = <0x2>;
1008 trigger-external;
1009 };
1010
1011 trigger@2 {
Alexandre Bellonie1abeb72014-03-10 20:17:22 +01001012 reg = <2>;
Maxime Ripard93b298b2012-05-11 15:35:38 +02001013 trigger-name = "external-any";
1014 trigger-value = <0x3>;
1015 trigger-external;
1016 };
1017
1018 trigger@3 {
Alexandre Bellonie1abeb72014-03-10 20:17:22 +01001019 reg = <3>;
Maxime Ripard93b298b2012-05-11 15:35:38 +02001020 trigger-name = "continuous";
1021 trigger-value = <0x6>;
1022 };
1023 };
Ludovic Desroches98731372012-11-19 12:23:36 +01001024
Bo Shenf3ab0522013-12-19 11:59:17 +08001025 pwm0: pwm@fffb8000 {
1026 compatible = "atmel,at91sam9rl-pwm";
1027 reg = <0xfffb8000 0x300>;
1028 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 4>;
1029 #pwm-cells = <3>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +02001030 clocks = <&pwm_clk>;
Bo Shenf3ab0522013-12-19 11:59:17 +08001031 status = "disabled";
1032 };
1033
Ludovic Desroches98731372012-11-19 12:23:36 +01001034 mmc0: mmc@fff80000 {
1035 compatible = "atmel,hsmci";
1036 reg = <0xfff80000 0x600>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001037 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desroches0645b932013-11-22 14:49:52 +01001038 pinctrl-names = "default";
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +02001039 dmas = <&dma 1 AT91_DMA_CFG_PER_ID(0)>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +02001040 dma-names = "rxtx";
Ludovic Desroches98731372012-11-19 12:23:36 +01001041 #address-cells = <1>;
1042 #size-cells = <0>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +02001043 clocks = <&mci0_clk>;
1044 clock-names = "mci_clk";
Ludovic Desroches98731372012-11-19 12:23:36 +01001045 status = "disabled";
1046 };
1047
1048 mmc1: mmc@fffd0000 {
1049 compatible = "atmel,hsmci";
1050 reg = <0xfffd0000 0x600>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001051 interrupts = <29 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desroches0645b932013-11-22 14:49:52 +01001052 pinctrl-names = "default";
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +02001053 dmas = <&dma 1 AT91_DMA_CFG_PER_ID(13)>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +02001054 dma-names = "rxtx";
Ludovic Desroches98731372012-11-19 12:23:36 +01001055 #address-cells = <1>;
1056 #size-cells = <0>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +02001057 clocks = <&mci1_clk>;
1058 clock-names = "mci_clk";
Ludovic Desroches98731372012-11-19 12:23:36 +01001059 status = "disabled";
1060 };
Linus Torvaldsdb5b0ae2012-12-13 10:39:26 -08001061
Fabio Porcedda7492e7c2012-11-12 09:37:26 +01001062 watchdog@fffffd40 {
1063 compatible = "atmel,at91sam9260-wdt";
1064 reg = <0xfffffd40 0x10>;
Boris BREZILLONfe46aa62013-10-04 09:24:14 +02001065 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1066 atmel,watchdog-type = "hardware";
1067 atmel,reset-type = "all";
1068 atmel,dbg-halt;
1069 atmel,idle-halt;
Fabio Porcedda7492e7c2012-11-12 09:37:26 +01001070 status = "disabled";
1071 };
Richard Genoudd50f88a2013-04-03 14:02:18 +08001072
1073 spi0: spi@fffa4000 {
1074 #address-cells = <1>;
1075 #size-cells = <0>;
1076 compatible = "atmel,at91rm9200-spi";
1077 reg = <0xfffa4000 0x200>;
1078 interrupts = <14 4 3>;
Wenyou Yanga68b7282013-04-03 14:03:52 +08001079 pinctrl-names = "default";
1080 pinctrl-0 = <&pinctrl_spi0>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +02001081 clocks = <&spi0_clk>;
1082 clock-names = "spi_clk";
Richard Genoudd50f88a2013-04-03 14:02:18 +08001083 status = "disabled";
1084 };
1085
1086 spi1: spi@fffa8000 {
1087 #address-cells = <1>;
1088 #size-cells = <0>;
1089 compatible = "atmel,at91rm9200-spi";
1090 reg = <0xfffa8000 0x200>;
1091 interrupts = <15 4 3>;
Wenyou Yanga68b7282013-04-03 14:03:52 +08001092 pinctrl-names = "default";
1093 pinctrl-0 = <&pinctrl_spi1>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +02001094 clocks = <&spi1_clk>;
1095 clock-names = "spi_clk";
Richard Genoudd50f88a2013-04-03 14:02:18 +08001096 status = "disabled";
1097 };
Jean-Christophe PLAGNIOL-VILLARD3cba4982013-05-03 20:56:01 +08001098
1099 usb2: gadget@fff78000 {
1100 #address-cells = <1>;
1101 #size-cells = <0>;
1102 compatible = "atmel,at91sam9rl-udc";
1103 reg = <0x00600000 0x80000
1104 0xfff78000 0x400>;
1105 interrupts = <27 IRQ_TYPE_LEVEL_HIGH 0>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +02001106 clocks = <&udphs_clk>, <&utmi>;
1107 clock-names = "pclk", "hclk";
Jean-Christophe PLAGNIOL-VILLARD3cba4982013-05-03 20:56:01 +08001108 status = "disabled";
1109
1110 ep0 {
1111 reg = <0>;
1112 atmel,fifo-size = <64>;
1113 atmel,nb-banks = <1>;
1114 };
1115
1116 ep1 {
1117 reg = <1>;
1118 atmel,fifo-size = <1024>;
1119 atmel,nb-banks = <2>;
1120 atmel,can-dma;
1121 atmel,can-isoc;
1122 };
1123
1124 ep2 {
1125 reg = <2>;
1126 atmel,fifo-size = <1024>;
1127 atmel,nb-banks = <2>;
1128 atmel,can-dma;
1129 atmel,can-isoc;
1130 };
1131
1132 ep3 {
1133 reg = <3>;
1134 atmel,fifo-size = <1024>;
1135 atmel,nb-banks = <3>;
1136 atmel,can-dma;
1137 };
1138
1139 ep4 {
1140 reg = <4>;
1141 atmel,fifo-size = <1024>;
1142 atmel,nb-banks = <3>;
1143 atmel,can-dma;
1144 };
1145
1146 ep5 {
1147 reg = <5>;
1148 atmel,fifo-size = <1024>;
1149 atmel,nb-banks = <3>;
1150 atmel,can-dma;
1151 atmel,can-isoc;
1152 };
1153
1154 ep6 {
1155 reg = <6>;
1156 atmel,fifo-size = <1024>;
1157 atmel,nb-banks = <3>;
1158 atmel,can-dma;
1159 atmel,can-isoc;
1160 };
1161 };
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +02001162 };
Jean-Christophe PLAGNIOL-VILLARDd6a01662012-01-26 02:11:06 +08001163
Jean-Christophe PLAGNIOL-VILLARDddee65b2013-03-29 02:10:47 +08001164 fb0: fb@0x00500000 {
1165 compatible = "atmel,at91sam9g45-lcdc";
1166 reg = <0x00500000 0x1000>;
1167 interrupts = <23 IRQ_TYPE_LEVEL_HIGH 3>;
1168 pinctrl-names = "default";
1169 pinctrl-0 = <&pinctrl_fb>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +02001170 clocks = <&lcd_clk>, <&lcd_clk>;
1171 clock-names = "hclk", "lcdc_clk";
Jean-Christophe PLAGNIOL-VILLARDddee65b2013-03-29 02:10:47 +08001172 status = "disabled";
1173 };
1174
Jean-Christophe PLAGNIOL-VILLARDd6a01662012-01-26 02:11:06 +08001175 nand0: nand@40000000 {
1176 compatible = "atmel,at91rm9200-nand";
1177 #address-cells = <1>;
1178 #size-cells = <1>;
1179 reg = <0x40000000 0x10000000
1180 0xffffe200 0x200
1181 >;
1182 atmel,nand-addr-offset = <21>;
1183 atmel,nand-cmd-offset = <22>;
Nicolas Ferree8b2da62013-07-01 17:05:18 +02001184 atmel,nand-has-dma;
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +08001185 pinctrl-names = "default";
1186 pinctrl-0 = <&pinctrl_nand>;
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +08001187 gpios = <&pioC 8 GPIO_ACTIVE_HIGH
1188 &pioC 14 GPIO_ACTIVE_HIGH
Jean-Christophe PLAGNIOL-VILLARDd6a01662012-01-26 02:11:06 +08001189 0
1190 >;
1191 status = "disabled";
1192 };
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +08001193
1194 usb0: ohci@00700000 {
1195 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
1196 reg = <0x00700000 0x100000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001197 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +02001198 //TODO
1199 clocks = <&usb>, <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
1200 clock-names = "usb_clk", "ohci_clk", "hclk", "uhpck";
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +08001201 status = "disabled";
1202 };
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +08001203
1204 usb1: ehci@00800000 {
1205 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
1206 reg = <0x00800000 0x100000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001207 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
Alexandre Belloni6f368c32014-06-11 22:39:06 +02001208 //TODO
1209 clocks = <&usb>, <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
1210 clock-names = "usb_clk", "ehci_clk", "hclk", "uhpck";
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +08001211 status = "disabled";
1212 };
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +02001213 };
Jean-Christophe PLAGNIOL-VILLARD8f24bda2012-02-05 18:32:37 +08001214
1215 i2c@0 {
1216 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +08001217 gpios = <&pioA 20 GPIO_ACTIVE_HIGH /* sda */
1218 &pioA 21 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD8f24bda2012-02-05 18:32:37 +08001219 >;
1220 i2c-gpio,sda-open-drain;
1221 i2c-gpio,scl-open-drain;
1222 i2c-gpio,delay-us = <5>; /* ~100 kHz */
1223 #address-cells = <1>;
1224 #size-cells = <0>;
1225 status = "disabled";
1226 };
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +02001227};