blob: f6cb7a80a2f55abdf23214fc3d5b58ec89b8dc80 [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 {
Alexandre Belloni0506b292015-03-16 21:04:06 +010095 compatible = "atmel,at91rm9200-sdramc", "syscon";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +000096 reg = <0xffffff00 0x100>;
97 };
98
99 pmc: pmc@fffffc00 {
Alexandre Belloni620f5032015-10-12 16:28:38 +0200100 compatible = "atmel,at91rm9200-pmc", "syscon";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000101 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 {
Alexandre Bellonib5958092015-03-12 13:07:25 +0100359 compatible = "atmel,at91rm9200-st", "syscon", "simple-mfd";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000360 reg = <0xfffffd00 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800361 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Alexandre Belloni07e15f22015-07-29 14:09:52 +0200362 clocks = <&slow_xtal>;
Alexandre Bellonib5958092015-03-12 13:07:25 +0100363
364 watchdog {
365 compatible = "atmel,at91rm9200-wdt";
366 };
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000367 };
368
Alexandre Bellonie39f00e2015-01-13 19:12:22 +0100369 rtc: rtc@fffffe00 {
370 compatible = "atmel,at91rm9200-rtc";
371 reg = <0xfffffe00 0x40>;
372 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Alexandre Belloni07e15f22015-07-29 14:09:52 +0200373 clocks = <&slow_xtal>;
Alexandre Bellonie39f00e2015-01-13 19:12:22 +0100374 status = "disabled";
375 };
376
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000377 tcb0: timer@fffa0000 {
378 compatible = "atmel,at91rm9200-tcb";
379 reg = <0xfffa0000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800380 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0
381 18 IRQ_TYPE_LEVEL_HIGH 0
382 19 IRQ_TYPE_LEVEL_HIGH 0>;
Alexandre Belloni07e15f22015-07-29 14:09:52 +0200383 clocks = <&tc0_clk>, <&tc1_clk>, <&tc2_clk>, <&slow_xtal>;
384 clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000385 };
386
387 tcb1: timer@fffa4000 {
388 compatible = "atmel,at91rm9200-tcb";
389 reg = <0xfffa4000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800390 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0
391 21 IRQ_TYPE_LEVEL_HIGH 0
392 22 IRQ_TYPE_LEVEL_HIGH 0>;
Alexandre Belloni07e15f22015-07-29 14:09:52 +0200393 clocks = <&tc3_clk>, <&tc4_clk>, <&tc5_clk>, <&slow_xtal>;
394 clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000395 };
396
Joachim Eastwood2d252102013-02-08 02:25:54 +0100397 i2c0: i2c@fffb8000 {
398 compatible = "atmel,at91rm9200-i2c";
399 reg = <0xfffb8000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800400 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 6>;
Joachim Eastwood2d252102013-02-08 02:25:54 +0100401 pinctrl-names = "default";
402 pinctrl-0 = <&pinctrl_twi>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200403 clocks = <&twi0_clk>;
Joachim Eastwood2d252102013-02-08 02:25:54 +0100404 #address-cells = <1>;
405 #size-cells = <0>;
406 status = "disabled";
407 };
408
Joachim Eastwood4e4c9632012-12-04 19:10:57 +0100409 mmc0: mmc@fffb4000 {
410 compatible = "atmel,hsmci";
411 reg = <0xfffb4000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800412 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 0>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200413 clocks = <&mci0_clk>;
414 clock-names = "mci_clk";
Joachim Eastwood4e4c9632012-12-04 19:10:57 +0100415 #address-cells = <1>;
416 #size-cells = <0>;
Jean-Christophe PLAGNIOL-VILLARD90a69f12013-06-17 14:38:30 +0200417 pinctrl-names = "default";
Joachim Eastwood4e4c9632012-12-04 19:10:57 +0100418 status = "disabled";
419 };
420
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100421 ssc0: ssc@fffd0000 {
422 compatible = "atmel,at91rm9200-ssc";
423 reg = <0xfffd0000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800424 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>;
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100425 pinctrl-names = "default";
426 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200427 clocks = <&ssc0_clk>;
428 clock-names = "pclk";
Michael Opdenacker0db090d2015-10-13 13:24:24 +0200429 status = "disabled";
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100430 };
431
432 ssc1: ssc@fffd4000 {
433 compatible = "atmel,at91rm9200-ssc";
434 reg = <0xfffd4000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800435 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100436 pinctrl-names = "default";
437 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200438 clocks = <&ssc1_clk>;
439 clock-names = "pclk";
Michael Opdenacker0db090d2015-10-13 13:24:24 +0200440 status = "disabled";
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100441 };
442
443 ssc2: ssc@fffd8000 {
444 compatible = "atmel,at91rm9200-ssc";
445 reg = <0xfffd8000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800446 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100447 pinctrl-names = "default";
448 pinctrl-0 = <&pinctrl_ssc2_tx &pinctrl_ssc2_rx>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200449 clocks = <&ssc2_clk>;
450 clock-names = "pclk";
Michael Opdenacker0db090d2015-10-13 13:24:24 +0200451 status = "disabled";
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100452 };
453
Joachim Eastwoodce3b2632012-12-04 19:10:59 +0100454 macb0: ethernet@fffbc000 {
455 compatible = "cdns,at91rm9200-emac", "cdns,emac";
456 reg = <0xfffbc000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800457 interrupts = <24 IRQ_TYPE_LEVEL_HIGH 3>;
Joachim Eastwoodce3b2632012-12-04 19:10:59 +0100458 phy-mode = "rmii";
459 pinctrl-names = "default";
460 pinctrl-0 = <&pinctrl_macb_rmii>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200461 clocks = <&macb0_clk>;
462 clock-names = "ether_clk";
Joachim Eastwoodce3b2632012-12-04 19:10:59 +0100463 status = "disabled";
464 };
465
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000466 pinctrl@fffff400 {
467 #address-cells = <1>;
468 #size-cells = <1>;
469 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
470 ranges = <0xfffff400 0xfffff400 0x800>;
471
472 atmel,mux-mask = <
473 /* A B */
474 0xffffffff 0xffffffff /* pioA */
475 0xffffffff 0x083fffff /* pioB */
476 0xffff3fff 0x00000000 /* pioC */
477 0x03ff87ff 0x0fffff80 /* pioD */
478 >;
479
480 /* shared pinctrl settings */
481 dbgu {
482 pinctrl_dbgu: dbgu-0 {
483 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800484 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA30 periph A */
485 AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA31 periph with pullup */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000486 };
487 };
488
489 uart0 {
490 pinctrl_uart0: uart0-0 {
491 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800492 <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA17 periph A */
493 AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA18 periph A */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000494 };
495
Nicolas Ferre5cffba22013-11-05 16:40:09 +0100496 pinctrl_uart0_cts: uart0_cts-0 {
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000497 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800498 <AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA20 periph A */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000499 };
500
Nicolas Ferre5cffba22013-11-05 16:40:09 +0100501 pinctrl_uart0_rts: uart0_rts-0 {
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000502 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800503 <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA21 periph A */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000504 };
505 };
506
507 uart1 {
508 pinctrl_uart1: uart1-0 {
509 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800510 <AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB20 periph A with pullup */
511 AT91_PIOB 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB21 periph A */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000512 };
513
514 pinctrl_uart1_rts: uart1_rts-0 {
515 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800516 <AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB24 periph A */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000517 };
518
519 pinctrl_uart1_cts: uart1_cts-0 {
520 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800521 <AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB26 periph A */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000522 };
523
524 pinctrl_uart1_dtr_dsr: uart1_dtr_dsr-0 {
525 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800526 <AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB19 periph A */
527 AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB25 periph A */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000528 };
529
530 pinctrl_uart1_dcd: uart1_dcd-0 {
531 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800532 <AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB23 periph A */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000533 };
534
535 pinctrl_uart1_ri: uart1_ri-0 {
536 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800537 <AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB18 periph A */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000538 };
539 };
540
541 uart2 {
542 pinctrl_uart2: uart2-0 {
543 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800544 <AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA22 periph A */
545 AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA23 periph A with pullup */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000546 };
547
548 pinctrl_uart2_rts: uart2_rts-0 {
549 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800550 <AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA30 periph B */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000551 };
552
553 pinctrl_uart2_cts: uart2_cts-0 {
554 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800555 <AT91_PIOA 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA31 periph B */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000556 };
557 };
558
559 uart3 {
560 pinctrl_uart3: uart3-0 {
561 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800562 <AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA5 periph B with pullup */
563 AT91_PIOA 6 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA6 periph B */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000564 };
565
566 pinctrl_uart3_rts: uart3_rts-0 {
567 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800568 <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB0 periph B */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000569 };
570
571 pinctrl_uart3_cts: uart3_cts-0 {
572 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800573 <AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB1 periph B */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000574 };
575 };
576
577 nand {
578 pinctrl_nand: nand-0 {
579 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800580 <AT91_PIOC 2 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PC2 gpio RDY pin pull_up */
581 AT91_PIOB 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PB1 gpio CD pin pull_up */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000582 };
583 };
584
Joachim Eastwoodce3b2632012-12-04 19:10:59 +0100585 macb {
586 pinctrl_macb_rmii: macb_rmii-0 {
587 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800588 <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA7 periph A */
589 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA8 periph A */
590 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA9 periph A */
591 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA10 periph A */
592 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A */
593 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A */
594 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA13 periph A */
595 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA14 periph A */
596 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA15 periph A */
597 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA16 periph A */
Joachim Eastwoodce3b2632012-12-04 19:10:59 +0100598 };
599
600 pinctrl_macb_rmii_mii: macb_rmii_mii-0 {
601 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800602 <AT91_PIOB 12 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB12 periph B */
603 AT91_PIOB 13 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB13 periph B */
604 AT91_PIOB 14 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB14 periph B */
605 AT91_PIOB 15 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB15 periph B */
606 AT91_PIOB 16 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB16 periph B */
607 AT91_PIOB 17 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB17 periph B */
608 AT91_PIOB 18 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB18 periph B */
609 AT91_PIOB 19 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB19 periph B */
Joachim Eastwoodce3b2632012-12-04 19:10:59 +0100610 };
611 };
612
Joachim Eastwood4e4c9632012-12-04 19:10:57 +0100613 mmc0 {
614 pinctrl_mmc0_clk: mmc0_clk-0 {
615 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800616 <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA27 periph A */
Joachim Eastwood4e4c9632012-12-04 19:10:57 +0100617 };
618
619 pinctrl_mmc0_slot0_cmd_dat0: mmc0_slot0_cmd_dat0-0 {
620 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800621 <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA28 periph A with pullup */
622 AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA29 periph A with pullup */
Joachim Eastwood4e4c9632012-12-04 19:10:57 +0100623 };
624
625 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
626 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800627 <AT91_PIOB 3 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PB3 periph B with pullup */
628 AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PB4 periph B with pullup */
629 AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PB5 periph B with pullup */
Joachim Eastwood4e4c9632012-12-04 19:10:57 +0100630 };
631
632 pinctrl_mmc0_slot1_cmd_dat0: mmc0_slot1_cmd_dat0-0 {
633 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800634 <AT91_PIOA 8 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA8 periph B with pullup */
635 AT91_PIOA 9 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA9 periph B with pullup */
Joachim Eastwood4e4c9632012-12-04 19:10:57 +0100636 };
637
638 pinctrl_mmc0_slot1_dat1_3: mmc0_slot1_dat1_3-0 {
639 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800640 <AT91_PIOA 10 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA10 periph B with pullup */
641 AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA11 periph B with pullup */
642 AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA12 periph B with pullup */
Joachim Eastwood4e4c9632012-12-04 19:10:57 +0100643 };
644 };
645
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100646 ssc0 {
647 pinctrl_ssc0_tx: ssc0_tx-0 {
648 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800649 <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB0 periph A */
650 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB1 periph A */
651 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB2 periph A */
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100652 };
653
654 pinctrl_ssc0_rx: ssc0_rx-0 {
655 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800656 <AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB3 periph A */
657 AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB4 periph A */
658 AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB5 periph A */
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100659 };
660 };
661
662 ssc1 {
663 pinctrl_ssc1_tx: ssc1_tx-0 {
664 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800665 <AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB6 periph A */
666 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB7 periph A */
667 AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB8 periph A */
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100668 };
669
670 pinctrl_ssc1_rx: ssc1_rx-0 {
671 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800672 <AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB9 periph A */
673 AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB10 periph A */
674 AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB11 periph A */
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100675 };
676 };
677
678 ssc2 {
679 pinctrl_ssc2_tx: ssc2_tx-0 {
680 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800681 <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB12 periph A */
682 AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB13 periph A */
683 AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB14 periph A */
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100684 };
685
686 pinctrl_ssc2_rx: ssc2_rx-0 {
687 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800688 <AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB15 periph A */
689 AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB16 periph A */
690 AT91_PIOB 17 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB17 periph A */
Joachim Eastwood883a07f2012-12-04 19:10:58 +0100691 };
692 };
693
Joachim Eastwood2d252102013-02-08 02:25:54 +0100694 twi {
695 pinctrl_twi: twi-0 {
696 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800697 <AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_MULTI_DRIVE /* PA25 periph A with multi drive */
698 AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_MULTI_DRIVE>; /* PA26 periph A with multi drive */
Joachim Eastwood2d252102013-02-08 02:25:54 +0100699 };
Joachim Eastwood83960c82013-02-08 02:25:55 +0100700
701 pinctrl_twi_gpio: twi_gpio-0 {
702 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800703 <AT91_PIOA 25 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PA25 GPIO with multi drive */
704 AT91_PIOA 26 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PA26 GPIO with multi drive */
Joachim Eastwood83960c82013-02-08 02:25:55 +0100705 };
Joachim Eastwood2d252102013-02-08 02:25:54 +0100706 };
707
Boris BREZILLON028633c2013-05-24 10:05:56 +0000708 tcb0 {
709 pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
710 atmel,pins = <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE>;
711 };
712
713 pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
714 atmel,pins = <AT91_PIOA 14 AT91_PERIPH_B AT91_PINCTRL_NONE>;
715 };
716
717 pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
718 atmel,pins = <AT91_PIOA 15 AT91_PERIPH_B AT91_PINCTRL_NONE>;
719 };
720
721 pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
722 atmel,pins = <AT91_PIOA 17 AT91_PERIPH_B AT91_PINCTRL_NONE>;
723 };
724
725 pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
726 atmel,pins = <AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_NONE>;
727 };
728
729 pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
730 atmel,pins = <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE>;
731 };
732
733 pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
734 atmel,pins = <AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_NONE>;
735 };
736
737 pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
738 atmel,pins = <AT91_PIOA 20 AT91_PERIPH_B AT91_PINCTRL_NONE>;
739 };
740
741 pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
742 atmel,pins = <AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE>;
743 };
744 };
745
746 tcb1 {
747 pinctrl_tcb1_tclk0: tcb1_tclk0-0 {
748 atmel,pins = <AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE>;
749 };
750
751 pinctrl_tcb1_tclk1: tcb1_tclk1-0 {
752 atmel,pins = <AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE>;
753 };
754
755 pinctrl_tcb1_tclk2: tcb1_tclk2-0 {
756 atmel,pins = <AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>;
757 };
758
759 pinctrl_tcb1_tioa0: tcb1_tioa0-0 {
760 atmel,pins = <AT91_PIOB 6 AT91_PERIPH_B AT91_PINCTRL_NONE>;
761 };
762
763 pinctrl_tcb1_tioa1: tcb1_tioa1-0 {
764 atmel,pins = <AT91_PIOB 8 AT91_PERIPH_B AT91_PINCTRL_NONE>;
765 };
766
767 pinctrl_tcb1_tioa2: tcb1_tioa2-0 {
768 atmel,pins = <AT91_PIOB 10 AT91_PERIPH_B AT91_PINCTRL_NONE>;
769 };
770
771 pinctrl_tcb1_tiob0: tcb1_tiob0-0 {
772 atmel,pins = <AT91_PIOB 7 AT91_PERIPH_B AT91_PINCTRL_NONE>;
773 };
774
775 pinctrl_tcb1_tiob1: tcb1_tiob1-0 {
776 atmel,pins = <AT91_PIOB 9 AT91_PERIPH_B AT91_PINCTRL_NONE>;
777 };
778
779 pinctrl_tcb1_tiob2: tcb1_tiob2-0 {
780 atmel,pins = <AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>;
781 };
782 };
783
Jean-Christophe PLAGNIOL-VILLARD32a86872013-06-17 14:38:27 +0200784 spi0 {
785 pinctrl_spi0: spi0-0 {
786 atmel,pins =
787 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA0 periph A SPI0_MISO pin */
788 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA1 periph A SPI0_MOSI pin */
789 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA2 periph A SPI0_SPCK pin */
790 };
791 };
792
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000793 pioA: gpio@fffff400 {
794 compatible = "atmel,at91rm9200-gpio";
795 reg = <0xfffff400 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800796 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000797 #gpio-cells = <2>;
798 gpio-controller;
799 interrupt-controller;
800 #interrupt-cells = <2>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200801 clocks = <&pioA_clk>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000802 };
803
804 pioB: gpio@fffff600 {
805 compatible = "atmel,at91rm9200-gpio";
806 reg = <0xfffff600 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800807 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000808 #gpio-cells = <2>;
809 gpio-controller;
810 interrupt-controller;
811 #interrupt-cells = <2>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200812 clocks = <&pioB_clk>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000813 };
814
815 pioC: gpio@fffff800 {
816 compatible = "atmel,at91rm9200-gpio";
817 reg = <0xfffff800 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800818 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000819 #gpio-cells = <2>;
820 gpio-controller;
821 interrupt-controller;
822 #interrupt-cells = <2>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200823 clocks = <&pioC_clk>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000824 };
825
826 pioD: gpio@fffffa00 {
827 compatible = "atmel,at91rm9200-gpio";
828 reg = <0xfffffa00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800829 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000830 #gpio-cells = <2>;
831 gpio-controller;
832 interrupt-controller;
833 #interrupt-cells = <2>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200834 clocks = <&pioD_clk>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000835 };
836 };
837
838 dbgu: serial@fffff200 {
Alexandre Belloni8c07f662015-03-12 15:54:26 +0100839 compatible = "atmel,at91rm9200-dbgu", "atmel,at91rm9200-usart";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000840 reg = <0xfffff200 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800841 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000842 pinctrl-names = "default";
843 pinctrl-0 = <&pinctrl_dbgu>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200844 clocks = <&mck>;
845 clock-names = "usart";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000846 status = "disabled";
847 };
848
849 usart0: serial@fffc0000 {
850 compatible = "atmel,at91rm9200-usart";
851 reg = <0xfffc0000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800852 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000853 atmel,use-dma-rx;
854 atmel,use-dma-tx;
855 pinctrl-names = "default";
856 pinctrl-0 = <&pinctrl_uart0>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200857 clocks = <&usart0_clk>;
858 clock-names = "usart";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000859 status = "disabled";
860 };
861
862 usart1: serial@fffc4000 {
863 compatible = "atmel,at91rm9200-usart";
864 reg = <0xfffc4000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800865 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000866 atmel,use-dma-rx;
867 atmel,use-dma-tx;
868 pinctrl-names = "default";
869 pinctrl-0 = <&pinctrl_uart1>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200870 clocks = <&usart1_clk>;
871 clock-names = "usart";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000872 status = "disabled";
873 };
874
875 usart2: serial@fffc8000 {
876 compatible = "atmel,at91rm9200-usart";
877 reg = <0xfffc8000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800878 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000879 atmel,use-dma-rx;
880 atmel,use-dma-tx;
881 pinctrl-names = "default";
882 pinctrl-0 = <&pinctrl_uart2>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200883 clocks = <&usart2_clk>;
884 clock-names = "usart";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000885 status = "disabled";
886 };
887
888 usart3: serial@fffcc000 {
889 compatible = "atmel,at91rm9200-usart";
890 reg = <0xfffcc000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800891 interrupts = <23 IRQ_TYPE_LEVEL_HIGH 5>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000892 atmel,use-dma-rx;
893 atmel,use-dma-tx;
894 pinctrl-names = "default";
895 pinctrl-0 = <&pinctrl_uart3>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200896 clocks = <&usart3_clk>;
897 clock-names = "usart";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000898 status = "disabled";
899 };
900
901 usb1: gadget@fffb0000 {
902 compatible = "atmel,at91rm9200-udc";
903 reg = <0xfffb0000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800904 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 2>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200905 clocks = <&udc_clk>, <&udpck>;
906 clock-names = "pclk", "hclk";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000907 status = "disabled";
908 };
Jean-Christophe PLAGNIOL-VILLARD32a86872013-06-17 14:38:27 +0200909
910 spi0: spi@fffe0000 {
911 #address-cells = <1>;
912 #size-cells = <0>;
913 compatible = "atmel,at91rm9200-spi";
914 reg = <0xfffe0000 0x200>;
915 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
916 pinctrl-names = "default";
917 pinctrl-0 = <&pinctrl_spi0>;
Alexandre Belloni68580012014-05-03 00:46:36 +0200918 clocks = <&spi0_clk>;
919 clock-names = "spi_clk";
Jean-Christophe PLAGNIOL-VILLARD32a86872013-06-17 14:38:27 +0200920 status = "disabled";
921 };
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000922 };
923
924 nand0: nand@40000000 {
925 compatible = "atmel,at91rm9200-nand";
926 #address-cells = <1>;
927 #size-cells = <1>;
928 reg = <0x40000000 0x10000000>;
929 atmel,nand-addr-offset = <21>;
930 atmel,nand-cmd-offset = <22>;
931 pinctrl-names = "default";
932 pinctrl-0 = <&pinctrl_nand>;
933 nand-ecc-mode = "soft";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800934 gpios = <&pioC 2 GPIO_ACTIVE_HIGH
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000935 0
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800936 &pioB 1 GPIO_ACTIVE_HIGH
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000937 >;
938 status = "disabled";
939 };
940
941 usb0: ohci@00300000 {
942 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
943 reg = <0x00300000 0x100000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800944 interrupts = <23 IRQ_TYPE_LEVEL_HIGH 2>;
Boris Brezillonf8073702015-03-17 17:15:50 +0100945 clocks = <&ohci_clk>, <&ohci_clk>, <&uhpck>;
946 clock-names = "ohci_clk", "hclk", "uhpck";
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000947 status = "disabled";
948 };
949 };
950
951 i2c@0 {
952 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800953 gpios = <&pioA 25 GPIO_ACTIVE_HIGH /* sda */
954 &pioA 26 GPIO_ACTIVE_HIGH /* scl */
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000955 >;
956 i2c-gpio,sda-open-drain;
957 i2c-gpio,scl-open-drain;
958 i2c-gpio,delay-us = <2>; /* ~100 kHz */
Joachim Eastwood83960c82013-02-08 02:25:55 +0100959 pinctrl-names = "default";
960 pinctrl-0 = <&pinctrl_twi_gpio>;
Joachim Eastwoodfe975cf2012-10-28 18:31:10 +0000961 #address-cells = <1>;
962 #size-cells = <0>;
963 status = "disabled";
964 };
965};