blob: 21c2b504f977d16088ce290386ba73ddb4333b6b [file] [log] [blame]
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +00001/*
2 * at91rm9200.dtsi - Device Tree Include file for AT91RM9200 family SoC
3 *
4 * Copyright (C) 2011 Atmel,
5 * 2011 Nicolas Ferre <nicolas.ferre@atmel.com>,
6 * 2012 Joachim Eastwood <manabian@gmail.com>
7 *
8 * Based on at91sam9260.dtsi
9 *
10 * Licensed under GPLv2 or later.
11 */
12
Jean-Christophe PLAGNIOL-VILLARD6db64d22013-05-15 01:21:50 +080013#include "skeleton.dtsi"
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 Belloni68580012014-05-03 00:46:36 +020017#include <dt-bindings/clock/at91.h>
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +000018
19/ {
20 model = "Atmel AT91RM9200 family SoC";
21 compatible = "atmel,at91rm9200";
22 interrupt-parent = <&aic>;
23
24 aliases {
25 serial0 = &dbgu;
26 serial1 = &usart0;
27 serial2 = &usart1;
28 serial3 = &usart2;
29 serial4 = &usart3;
30 gpio0 = &pioA;
31 gpio1 = &pioB;
32 gpio2 = &pioC;
33 gpio3 = &pioD;
34 tcb0 = &tcb0;
35 tcb1 = &tcb1;
Joachim Eastwood2d252102013-02-08 02:25:54 +010036 i2c0 = &i2c0;
Joachim Eastwood883a07f2012-12-04 19:10:58 +010037 ssc0 = &ssc0;
38 ssc1 = &ssc1;
39 ssc2 = &ssc2;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +000040 };
41 cpus {
Lorenzo Pieralisie757a6e2013-04-18 18:31:35 +010042 #address-cells = <0>;
43 #size-cells = <0>;
44
45 cpu {
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +000046 compatible = "arm,arm920t";
Lorenzo Pieralisie757a6e2013-04-18 18:31:35 +010047 device_type = "cpu";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +000048 };
49 };
50
51 memory {
52 reg = <0x20000000 0x04000000>;
53 };
54
Alexandre Belloni68580012014-05-03 00:46:36 +020055 clocks {
56 slow_xtal: slow_xtal {
57 compatible = "fixed-clock";
58 #clock-cells = <0>;
59 clock-frequency = <0>;
60 };
61
62 main_xtal: main_xtal {
63 compatible = "fixed-clock";
64 #clock-cells = <0>;
65 clock-frequency = <0>;
66 };
67 };
68
Alexandre Bellonif04660e2015-01-13 19:12:24 +010069 sram: sram@00200000 {
70 compatible = "mmio-sram";
71 reg = <0x00200000 0x4000>;
72 };
73
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +000074 ahb {
75 compatible = "simple-bus";
76 #address-cells = <1>;
77 #size-cells = <1>;
78 ranges;
79
80 apb {
81 compatible = "simple-bus";
82 #address-cells = <1>;
83 #size-cells = <1>;
84 ranges;
85
86 aic: interrupt-controller@fffff000 {
87 #interrupt-cells = <3>;
88 compatible = "atmel,at91rm9200-aic";
89 interrupt-controller;
90 reg = <0xfffff000 0x200>;
91 atmel,external-irqs = <25 26 27 28 29 30 31>;
92 };
93
94 ramc0: ramc@ffffff00 {
95 compatible = "atmel,at91rm9200-sdramc";
96 reg = <0xffffff00 0x100>;
97 };
98
99 pmc: pmc@fffffc00 {
100 compatible = "atmel,at91rm9200-pmc";
101 reg = <0xfffffc00 0x100>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200102 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
103 interrupt-controller;
104 #address-cells = <1>;
105 #size-cells = <0>;
106 #interrupt-cells = <1>;
107
108 main_osc: main_osc {
109 compatible = "atmel,at91rm9200-clk-main-osc";
110 #clock-cells = <0>;
111 interrupts-extended = <&pmc AT91_PMC_MOSCS>;
112 clocks = <&main_xtal>;
113 };
114
115 main: mainck {
116 compatible = "atmel,at91rm9200-clk-main";
117 #clock-cells = <0>;
118 clocks = <&main_osc>;
119 };
120
121 plla: pllack {
122 compatible = "atmel,at91rm9200-clk-pll";
123 #clock-cells = <0>;
124 interrupts-extended = <&pmc AT91_PMC_LOCKA>;
125 clocks = <&main>;
126 reg = <0>;
127 atmel,clk-input-range = <1000000 32000000>;
128 #atmel,pll-clk-output-range-cells = <3>;
129 atmel,pll-clk-output-ranges = <80000000 160000000 0>,
130 <150000000 180000000 2>;
131 };
132
133 pllb: pllbck {
134 compatible = "atmel,at91rm9200-clk-pll";
135 #clock-cells = <0>;
136 interrupts-extended = <&pmc AT91_PMC_LOCKB>;
137 clocks = <&main>;
138 reg = <1>;
139 atmel,clk-input-range = <1000000 32000000>;
140 #atmel,pll-clk-output-range-cells = <3>;
141 atmel,pll-clk-output-ranges = <80000000 160000000 0>,
142 <150000000 180000000 2>;
143 };
144
145 mck: masterck {
146 compatible = "atmel,at91rm9200-clk-master";
147 #clock-cells = <0>;
148 interrupts-extended = <&pmc AT91_PMC_MCKRDY>;
149 clocks = <&slow_xtal>, <&main>, <&plla>, <&pllb>;
150 atmel,clk-output-range = <0 80000000>;
151 atmel,clk-divisors = <1 2 3 4>;
152 };
153
154 usb: usbck {
155 compatible = "atmel,at91rm9200-clk-usb";
156 #clock-cells = <0>;
Alexandre Belloniea4fc622014-09-05 16:45:12 +0200157 atmel,clk-divisors = <1 2 0 0>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200158 clocks = <&pllb>;
159 };
160
161 prog: progck {
162 compatible = "atmel,at91rm9200-clk-programmable";
163 #address-cells = <1>;
164 #size-cells = <0>;
165 interrupt-parent = <&pmc>;
166 clocks = <&slow_xtal>, <&main>, <&plla>, <&pllb>;
167
168 prog0: prog0 {
169 #clock-cells = <0>;
170 reg = <0>;
171 interrupts = <AT91_PMC_PCKRDY(0)>;
172 };
173
174 prog1: prog1 {
175 #clock-cells = <0>;
176 reg = <1>;
177 interrupts = <AT91_PMC_PCKRDY(1)>;
178 };
179
180 prog2: prog2 {
181 #clock-cells = <0>;
182 reg = <2>;
183 interrupts = <AT91_PMC_PCKRDY(2)>;
184 };
185
186 prog3: prog3 {
187 #clock-cells = <0>;
188 reg = <3>;
189 interrupts = <AT91_PMC_PCKRDY(3)>;
190 };
191 };
192
193 systemck {
194 compatible = "atmel,at91rm9200-clk-system";
195 #address-cells = <1>;
196 #size-cells = <0>;
197
198 udpck: udpck {
199 #clock-cells = <0>;
200 reg = <2>;
201 clocks = <&usb>;
202 };
203
204 uhpck: uhpck {
205 #clock-cells = <0>;
206 reg = <4>;
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 pck2: pck2 {
223 #clock-cells = <0>;
224 reg = <10>;
225 clocks = <&prog2>;
226 };
227
228 pck3: pck3 {
229 #clock-cells = <0>;
230 reg = <11>;
231 clocks = <&prog3>;
232 };
233 };
234
235 periphck {
236 compatible = "atmel,at91rm9200-clk-peripheral";
237 #address-cells = <1>;
238 #size-cells = <0>;
239 clocks = <&mck>;
240
241 pioA_clk: pioA_clk {
242 #clock-cells = <0>;
243 reg = <2>;
244 };
245
246 pioB_clk: pioB_clk {
247 #clock-cells = <0>;
248 reg = <3>;
249 };
250
251 pioC_clk: pioC_clk {
252 #clock-cells = <0>;
253 reg = <4>;
254 };
255
256 pioD_clk: pioD_clk {
257 #clock-cells = <0>;
258 reg = <5>;
259 };
260
261 usart0_clk: usart0_clk {
262 #clock-cells = <0>;
263 reg = <6>;
264 };
265
266 usart1_clk: usart1_clk {
267 #clock-cells = <0>;
268 reg = <7>;
269 };
270
271 usart2_clk: usart2_clk {
272 #clock-cells = <0>;
273 reg = <8>;
274 };
275
276 usart3_clk: usart3_clk {
277 #clock-cells = <0>;
278 reg = <9>;
279 };
280
281 mci0_clk: mci0_clk {
282 #clock-cells = <0>;
283 reg = <10>;
284 };
285
286 udc_clk: udc_clk {
287 #clock-cells = <0>;
288 reg = <11>;
289 };
290
291 twi0_clk: twi0_clk {
292 reg = <12>;
293 #clock-cells = <0>;
294 };
295
296 spi0_clk: spi0_clk {
297 #clock-cells = <0>;
298 reg = <13>;
299 };
300
301 ssc0_clk: ssc0_clk {
302 #clock-cells = <0>;
303 reg = <14>;
304 };
305
306 ssc1_clk: ssc1_clk {
307 #clock-cells = <0>;
308 reg = <15>;
309 };
310
311 ssc2_clk: ssc2_clk {
312 #clock-cells = <0>;
313 reg = <16>;
314 };
315
316 tc0_clk: tc0_clk {
317 #clock-cells = <0>;
318 reg = <17>;
319 };
320
321 tc1_clk: tc1_clk {
322 #clock-cells = <0>;
323 reg = <18>;
324 };
325
326 tc2_clk: tc2_clk {
327 #clock-cells = <0>;
328 reg = <19>;
329 };
330
331 tc3_clk: tc3_clk {
332 #clock-cells = <0>;
333 reg = <20>;
334 };
335
336 tc4_clk: tc4_clk {
337 #clock-cells = <0>;
338 reg = <21>;
339 };
340
341 tc5_clk: tc5_clk {
342 #clock-cells = <0>;
343 reg = <22>;
344 };
345
346 ohci_clk: ohci_clk {
347 #clock-cells = <0>;
348 reg = <23>;
349 };
350
351 macb0_clk: macb0_clk {
352 #clock-cells = <0>;
353 reg = <24>;
354 };
355 };
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000356 };
357
358 st: timer@fffffd00 {
359 compatible = "atmel,at91rm9200-st";
360 reg = <0xfffffd00 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800361 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000362 };
363
Alexandre Bellonie39f00e2015-01-13 19:12:22 +0100364 rtc: rtc@fffffe00 {
365 compatible = "atmel,at91rm9200-rtc";
366 reg = <0xfffffe00 0x40>;
367 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
368 status = "disabled";
369 };
370
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000371 tcb0: timer@fffa0000 {
372 compatible = "atmel,at91rm9200-tcb";
373 reg = <0xfffa0000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800374 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0
375 18 IRQ_TYPE_LEVEL_HIGH 0
376 19 IRQ_TYPE_LEVEL_HIGH 0>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200377 clocks = <&tc0_clk>, <&tc1_clk>, <&tc2_clk>;
378 clock-names = "t0_clk", "t1_clk", "t2_clk";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000379 };
380
381 tcb1: timer@fffa4000 {
382 compatible = "atmel,at91rm9200-tcb";
383 reg = <0xfffa4000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800384 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0
385 21 IRQ_TYPE_LEVEL_HIGH 0
386 22 IRQ_TYPE_LEVEL_HIGH 0>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200387 clocks = <&tc3_clk>, <&tc4_clk>, <&tc5_clk>;
388 clock-names = "t0_clk", "t1_clk", "t2_clk";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000389 };
390
Joachim Eastwood2d252102013-02-08 02:25:54 +0100391 i2c0: i2c@fffb8000 {
392 compatible = "atmel,at91rm9200-i2c";
393 reg = <0xfffb8000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800394 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 6>;
Joachim Eastwood2d252102013-02-08 02:25:54 +0100395 pinctrl-names = "default";
396 pinctrl-0 = <&pinctrl_twi>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200397 clocks = <&twi0_clk>;
Joachim Eastwood2d252102013-02-08 02:25:54 +0100398 #address-cells = <1>;
399 #size-cells = <0>;
400 status = "disabled";
401 };
402
Joachim Eastwood4e4c9632012-12-04 19:10:57 +0100403 mmc0: mmc@fffb4000 {
404 compatible = "atmel,hsmci";
405 reg = <0xfffb4000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800406 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 0>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200407 clocks = <&mci0_clk>;
408 clock-names = "mci_clk";
Joachim Eastwood4e4c9632012-12-04 19:10:57 +0100409 #address-cells = <1>;
410 #size-cells = <0>;
Jean-Christophe PLAGNIOL-VILLARD90a69f12013-06-17 14:38:30 +0200411 pinctrl-names = "default";
Joachim Eastwood4e4c9632012-12-04 19:10:57 +0100412 status = "disabled";
413 };
414
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100415 ssc0: ssc@fffd0000 {
416 compatible = "atmel,at91rm9200-ssc";
417 reg = <0xfffd0000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800418 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>;
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100419 pinctrl-names = "default";
420 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200421 clocks = <&ssc0_clk>;
422 clock-names = "pclk";
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100423 status = "disable";
424 };
425
426 ssc1: ssc@fffd4000 {
427 compatible = "atmel,at91rm9200-ssc";
428 reg = <0xfffd4000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800429 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100430 pinctrl-names = "default";
431 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200432 clocks = <&ssc1_clk>;
433 clock-names = "pclk";
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100434 status = "disable";
435 };
436
437 ssc2: ssc@fffd8000 {
438 compatible = "atmel,at91rm9200-ssc";
439 reg = <0xfffd8000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800440 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100441 pinctrl-names = "default";
442 pinctrl-0 = <&pinctrl_ssc2_tx &pinctrl_ssc2_rx>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200443 clocks = <&ssc2_clk>;
444 clock-names = "pclk";
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100445 status = "disable";
446 };
447
Joachim Eastwoodce3b2632012-12-04 19:10:59 +0100448 macb0: ethernet@fffbc000 {
449 compatible = "cdns,at91rm9200-emac", "cdns,emac";
450 reg = <0xfffbc000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800451 interrupts = <24 IRQ_TYPE_LEVEL_HIGH 3>;
Joachim Eastwoodce3b2632012-12-04 19:10:59 +0100452 phy-mode = "rmii";
453 pinctrl-names = "default";
454 pinctrl-0 = <&pinctrl_macb_rmii>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200455 clocks = <&macb0_clk>;
456 clock-names = "ether_clk";
Joachim Eastwoodce3b2632012-12-04 19:10:59 +0100457 status = "disabled";
458 };
459
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000460 pinctrl@fffff400 {
461 #address-cells = <1>;
462 #size-cells = <1>;
463 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
464 ranges = <0xfffff400 0xfffff400 0x800>;
465
466 atmel,mux-mask = <
467 /* A B */
468 0xffffffff 0xffffffff /* pioA */
469 0xffffffff 0x083fffff /* pioB */
470 0xffff3fff 0x00000000 /* pioC */
471 0x03ff87ff 0x0fffff80 /* pioD */
472 >;
473
474 /* shared pinctrl settings */
475 dbgu {
476 pinctrl_dbgu: dbgu-0 {
477 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800478 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA30 periph A */
479 AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA31 periph with pullup */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000480 };
481 };
482
483 uart0 {
484 pinctrl_uart0: uart0-0 {
485 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800486 <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA17 periph A */
487 AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA18 periph A */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000488 };
489
Nicolas Ferre5cffba22013-11-05 16:40:09 +0100490 pinctrl_uart0_cts: uart0_cts-0 {
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000491 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800492 <AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA20 periph A */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000493 };
494
Nicolas Ferre5cffba22013-11-05 16:40:09 +0100495 pinctrl_uart0_rts: uart0_rts-0 {
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000496 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800497 <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA21 periph A */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000498 };
499 };
500
501 uart1 {
502 pinctrl_uart1: uart1-0 {
503 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800504 <AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB20 periph A with pullup */
505 AT91_PIOB 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB21 periph A */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000506 };
507
508 pinctrl_uart1_rts: uart1_rts-0 {
509 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800510 <AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB24 periph A */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000511 };
512
513 pinctrl_uart1_cts: uart1_cts-0 {
514 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800515 <AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB26 periph A */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000516 };
517
518 pinctrl_uart1_dtr_dsr: uart1_dtr_dsr-0 {
519 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800520 <AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB19 periph A */
521 AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB25 periph A */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000522 };
523
524 pinctrl_uart1_dcd: uart1_dcd-0 {
525 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800526 <AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB23 periph A */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000527 };
528
529 pinctrl_uart1_ri: uart1_ri-0 {
530 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800531 <AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB18 periph A */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000532 };
533 };
534
535 uart2 {
536 pinctrl_uart2: uart2-0 {
537 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800538 <AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA22 periph A */
539 AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA23 periph A with pullup */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000540 };
541
542 pinctrl_uart2_rts: uart2_rts-0 {
543 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800544 <AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA30 periph B */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000545 };
546
547 pinctrl_uart2_cts: uart2_cts-0 {
548 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800549 <AT91_PIOA 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA31 periph B */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000550 };
551 };
552
553 uart3 {
554 pinctrl_uart3: uart3-0 {
555 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800556 <AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA5 periph B with pullup */
557 AT91_PIOA 6 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA6 periph B */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000558 };
559
560 pinctrl_uart3_rts: uart3_rts-0 {
561 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800562 <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB0 periph B */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000563 };
564
565 pinctrl_uart3_cts: uart3_cts-0 {
566 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800567 <AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB1 periph B */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000568 };
569 };
570
571 nand {
572 pinctrl_nand: nand-0 {
573 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800574 <AT91_PIOC 2 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PC2 gpio RDY pin pull_up */
575 AT91_PIOB 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PB1 gpio CD pin pull_up */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000576 };
577 };
578
Joachim Eastwoodce3b2632012-12-04 19:10:59 +0100579 macb {
580 pinctrl_macb_rmii: macb_rmii-0 {
581 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800582 <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA7 periph A */
583 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA8 periph A */
584 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA9 periph A */
585 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA10 periph A */
586 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A */
587 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A */
588 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA13 periph A */
589 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA14 periph A */
590 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA15 periph A */
591 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA16 periph A */
Joachim Eastwoodce3b2632012-12-04 19:10:59 +0100592 };
593
594 pinctrl_macb_rmii_mii: macb_rmii_mii-0 {
595 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800596 <AT91_PIOB 12 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB12 periph B */
597 AT91_PIOB 13 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB13 periph B */
598 AT91_PIOB 14 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB14 periph B */
599 AT91_PIOB 15 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB15 periph B */
600 AT91_PIOB 16 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB16 periph B */
601 AT91_PIOB 17 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB17 periph B */
602 AT91_PIOB 18 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB18 periph B */
603 AT91_PIOB 19 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB19 periph B */
Joachim Eastwoodce3b2632012-12-04 19:10:59 +0100604 };
605 };
606
Joachim Eastwood4e4c9632012-12-04 19:10:57 +0100607 mmc0 {
608 pinctrl_mmc0_clk: mmc0_clk-0 {
609 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800610 <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA27 periph A */
Joachim Eastwood4e4c9632012-12-04 19:10:57 +0100611 };
612
613 pinctrl_mmc0_slot0_cmd_dat0: mmc0_slot0_cmd_dat0-0 {
614 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800615 <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA28 periph A with pullup */
616 AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA29 periph A with pullup */
Joachim Eastwood4e4c9632012-12-04 19:10:57 +0100617 };
618
619 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
620 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800621 <AT91_PIOB 3 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PB3 periph B with pullup */
622 AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PB4 periph B with pullup */
623 AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PB5 periph B with pullup */
Joachim Eastwood4e4c9632012-12-04 19:10:57 +0100624 };
625
626 pinctrl_mmc0_slot1_cmd_dat0: mmc0_slot1_cmd_dat0-0 {
627 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800628 <AT91_PIOA 8 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA8 periph B with pullup */
629 AT91_PIOA 9 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA9 periph B with pullup */
Joachim Eastwood4e4c9632012-12-04 19:10:57 +0100630 };
631
632 pinctrl_mmc0_slot1_dat1_3: mmc0_slot1_dat1_3-0 {
633 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800634 <AT91_PIOA 10 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA10 periph B with pullup */
635 AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA11 periph B with pullup */
636 AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA12 periph B with pullup */
Joachim Eastwood4e4c9632012-12-04 19:10:57 +0100637 };
638 };
639
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100640 ssc0 {
641 pinctrl_ssc0_tx: ssc0_tx-0 {
642 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800643 <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB0 periph A */
644 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB1 periph A */
645 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB2 periph A */
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100646 };
647
648 pinctrl_ssc0_rx: ssc0_rx-0 {
649 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800650 <AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB3 periph A */
651 AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB4 periph A */
652 AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB5 periph A */
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100653 };
654 };
655
656 ssc1 {
657 pinctrl_ssc1_tx: ssc1_tx-0 {
658 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800659 <AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB6 periph A */
660 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB7 periph A */
661 AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB8 periph A */
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100662 };
663
664 pinctrl_ssc1_rx: ssc1_rx-0 {
665 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800666 <AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB9 periph A */
667 AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB10 periph A */
668 AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB11 periph A */
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100669 };
670 };
671
672 ssc2 {
673 pinctrl_ssc2_tx: ssc2_tx-0 {
674 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800675 <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB12 periph A */
676 AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB13 periph A */
677 AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB14 periph A */
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100678 };
679
680 pinctrl_ssc2_rx: ssc2_rx-0 {
681 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800682 <AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB15 periph A */
683 AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB16 periph A */
684 AT91_PIOB 17 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB17 periph A */
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100685 };
686 };
687
Joachim Eastwood2d252102013-02-08 02:25:54 +0100688 twi {
689 pinctrl_twi: twi-0 {
690 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800691 <AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_MULTI_DRIVE /* PA25 periph A with multi drive */
692 AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_MULTI_DRIVE>; /* PA26 periph A with multi drive */
Joachim Eastwood2d252102013-02-08 02:25:54 +0100693 };
Joachim Eastwood83960c82013-02-08 02:25:55 +0100694
695 pinctrl_twi_gpio: twi_gpio-0 {
696 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800697 <AT91_PIOA 25 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PA25 GPIO with multi drive */
698 AT91_PIOA 26 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PA26 GPIO with multi drive */
Joachim Eastwood83960c82013-02-08 02:25:55 +0100699 };
Joachim Eastwood2d252102013-02-08 02:25:54 +0100700 };
701
Boris BREZILLON028633c2013-05-24 10:05:56 +0000702 tcb0 {
703 pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
704 atmel,pins = <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE>;
705 };
706
707 pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
708 atmel,pins = <AT91_PIOA 14 AT91_PERIPH_B AT91_PINCTRL_NONE>;
709 };
710
711 pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
712 atmel,pins = <AT91_PIOA 15 AT91_PERIPH_B AT91_PINCTRL_NONE>;
713 };
714
715 pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
716 atmel,pins = <AT91_PIOA 17 AT91_PERIPH_B AT91_PINCTRL_NONE>;
717 };
718
719 pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
720 atmel,pins = <AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_NONE>;
721 };
722
723 pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
724 atmel,pins = <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE>;
725 };
726
727 pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
728 atmel,pins = <AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_NONE>;
729 };
730
731 pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
732 atmel,pins = <AT91_PIOA 20 AT91_PERIPH_B AT91_PINCTRL_NONE>;
733 };
734
735 pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
736 atmel,pins = <AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE>;
737 };
738 };
739
740 tcb1 {
741 pinctrl_tcb1_tclk0: tcb1_tclk0-0 {
742 atmel,pins = <AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE>;
743 };
744
745 pinctrl_tcb1_tclk1: tcb1_tclk1-0 {
746 atmel,pins = <AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE>;
747 };
748
749 pinctrl_tcb1_tclk2: tcb1_tclk2-0 {
750 atmel,pins = <AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>;
751 };
752
753 pinctrl_tcb1_tioa0: tcb1_tioa0-0 {
754 atmel,pins = <AT91_PIOB 6 AT91_PERIPH_B AT91_PINCTRL_NONE>;
755 };
756
757 pinctrl_tcb1_tioa1: tcb1_tioa1-0 {
758 atmel,pins = <AT91_PIOB 8 AT91_PERIPH_B AT91_PINCTRL_NONE>;
759 };
760
761 pinctrl_tcb1_tioa2: tcb1_tioa2-0 {
762 atmel,pins = <AT91_PIOB 10 AT91_PERIPH_B AT91_PINCTRL_NONE>;
763 };
764
765 pinctrl_tcb1_tiob0: tcb1_tiob0-0 {
766 atmel,pins = <AT91_PIOB 7 AT91_PERIPH_B AT91_PINCTRL_NONE>;
767 };
768
769 pinctrl_tcb1_tiob1: tcb1_tiob1-0 {
770 atmel,pins = <AT91_PIOB 9 AT91_PERIPH_B AT91_PINCTRL_NONE>;
771 };
772
773 pinctrl_tcb1_tiob2: tcb1_tiob2-0 {
774 atmel,pins = <AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>;
775 };
776 };
777
Jean-Christophe PLAGNIOL-VILLARD32a86872013-06-17 14:38:27 +0200778 spi0 {
779 pinctrl_spi0: spi0-0 {
780 atmel,pins =
781 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA0 periph A SPI0_MISO pin */
782 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA1 periph A SPI0_MOSI pin */
783 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA2 periph A SPI0_SPCK pin */
784 };
785 };
786
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000787 pioA: gpio@fffff400 {
788 compatible = "atmel,at91rm9200-gpio";
789 reg = <0xfffff400 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800790 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000791 #gpio-cells = <2>;
792 gpio-controller;
793 interrupt-controller;
794 #interrupt-cells = <2>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200795 clocks = <&pioA_clk>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000796 };
797
798 pioB: gpio@fffff600 {
799 compatible = "atmel,at91rm9200-gpio";
800 reg = <0xfffff600 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800801 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000802 #gpio-cells = <2>;
803 gpio-controller;
804 interrupt-controller;
805 #interrupt-cells = <2>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200806 clocks = <&pioB_clk>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000807 };
808
809 pioC: gpio@fffff800 {
810 compatible = "atmel,at91rm9200-gpio";
811 reg = <0xfffff800 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800812 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000813 #gpio-cells = <2>;
814 gpio-controller;
815 interrupt-controller;
816 #interrupt-cells = <2>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200817 clocks = <&pioC_clk>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000818 };
819
820 pioD: gpio@fffffa00 {
821 compatible = "atmel,at91rm9200-gpio";
822 reg = <0xfffffa00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800823 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000824 #gpio-cells = <2>;
825 gpio-controller;
826 interrupt-controller;
827 #interrupt-cells = <2>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200828 clocks = <&pioD_clk>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000829 };
830 };
831
832 dbgu: serial@fffff200 {
833 compatible = "atmel,at91rm9200-usart";
834 reg = <0xfffff200 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800835 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000836 pinctrl-names = "default";
837 pinctrl-0 = <&pinctrl_dbgu>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200838 clocks = <&mck>;
839 clock-names = "usart";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000840 status = "disabled";
841 };
842
843 usart0: serial@fffc0000 {
844 compatible = "atmel,at91rm9200-usart";
845 reg = <0xfffc0000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800846 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000847 atmel,use-dma-rx;
848 atmel,use-dma-tx;
849 pinctrl-names = "default";
850 pinctrl-0 = <&pinctrl_uart0>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200851 clocks = <&usart0_clk>;
852 clock-names = "usart";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000853 status = "disabled";
854 };
855
856 usart1: serial@fffc4000 {
857 compatible = "atmel,at91rm9200-usart";
858 reg = <0xfffc4000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800859 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000860 atmel,use-dma-rx;
861 atmel,use-dma-tx;
862 pinctrl-names = "default";
863 pinctrl-0 = <&pinctrl_uart1>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200864 clocks = <&usart1_clk>;
865 clock-names = "usart";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000866 status = "disabled";
867 };
868
869 usart2: serial@fffc8000 {
870 compatible = "atmel,at91rm9200-usart";
871 reg = <0xfffc8000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800872 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000873 atmel,use-dma-rx;
874 atmel,use-dma-tx;
875 pinctrl-names = "default";
876 pinctrl-0 = <&pinctrl_uart2>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200877 clocks = <&usart2_clk>;
878 clock-names = "usart";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000879 status = "disabled";
880 };
881
882 usart3: serial@fffcc000 {
883 compatible = "atmel,at91rm9200-usart";
884 reg = <0xfffcc000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800885 interrupts = <23 IRQ_TYPE_LEVEL_HIGH 5>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000886 atmel,use-dma-rx;
887 atmel,use-dma-tx;
888 pinctrl-names = "default";
889 pinctrl-0 = <&pinctrl_uart3>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200890 clocks = <&usart3_clk>;
891 clock-names = "usart";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000892 status = "disabled";
893 };
894
895 usb1: gadget@fffb0000 {
896 compatible = "atmel,at91rm9200-udc";
897 reg = <0xfffb0000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800898 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 2>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200899 clocks = <&udc_clk>, <&udpck>;
900 clock-names = "pclk", "hclk";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000901 status = "disabled";
902 };
Jean-Christophe PLAGNIOL-VILLARD32a86872013-06-17 14:38:27 +0200903
904 spi0: spi@fffe0000 {
905 #address-cells = <1>;
906 #size-cells = <0>;
907 compatible = "atmel,at91rm9200-spi";
908 reg = <0xfffe0000 0x200>;
909 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
910 pinctrl-names = "default";
911 pinctrl-0 = <&pinctrl_spi0>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200912 clocks = <&spi0_clk>;
913 clock-names = "spi_clk";
Jean-Christophe PLAGNIOL-VILLARD32a86872013-06-17 14:38:27 +0200914 status = "disabled";
915 };
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000916 };
917
918 nand0: nand@40000000 {
919 compatible = "atmel,at91rm9200-nand";
920 #address-cells = <1>;
921 #size-cells = <1>;
922 reg = <0x40000000 0x10000000>;
923 atmel,nand-addr-offset = <21>;
924 atmel,nand-cmd-offset = <22>;
925 pinctrl-names = "default";
926 pinctrl-0 = <&pinctrl_nand>;
927 nand-ecc-mode = "soft";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800928 gpios = <&pioC 2 GPIO_ACTIVE_HIGH
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000929 0
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800930 &pioB 1 GPIO_ACTIVE_HIGH
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000931 >;
932 status = "disabled";
933 };
934
935 usb0: ohci@00300000 {
936 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
937 reg = <0x00300000 0x100000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800938 interrupts = <23 IRQ_TYPE_LEVEL_HIGH 2>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200939 clocks = <&usb>, <&ohci_clk>, <&ohci_clk>, <&uhpck>;
940 clock-names = "usb_clk", "ohci_clk", "hclk", "uhpck";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000941 status = "disabled";
942 };
943 };
944
945 i2c@0 {
946 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800947 gpios = <&pioA 25 GPIO_ACTIVE_HIGH /* sda */
948 &pioA 26 GPIO_ACTIVE_HIGH /* scl */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000949 >;
950 i2c-gpio,sda-open-drain;
951 i2c-gpio,scl-open-drain;
952 i2c-gpio,delay-us = <2>; /* ~100 kHz */
Joachim Eastwood83960c82013-02-08 02:25:55 +0100953 pinctrl-names = "default";
954 pinctrl-0 = <&pinctrl_twi_gpio>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000955 #address-cells = <1>;
956 #size-cells = <0>;
957 status = "disabled";
958 };
959};