blob: db9f3a02f2fa749b2fe36f7efd7cca795cdeb4a1 [file] [log] [blame]
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +08001/*
2 * at91sam9263.dtsi - Device Tree Include file for AT91SAM9263 family SoC
3 *
4 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
5 *
6 * Licensed under GPLv2 only.
7 */
8
Jean-Christophe PLAGNIOL-VILLARD6db64d22013-05-15 01:21:50 +08009#include "skeleton.dtsi"
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +080010#include <dt-bindings/pinctrl/at91.h>
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +080011#include <dt-bindings/interrupt-controller/irq.h>
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +080012#include <dt-bindings/gpio/gpio.h>
Alexandre Bellonic2375822014-06-23 06:03:37 +020013#include <dt-bindings/clock/at91.h>
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080014
15/ {
16 model = "Atmel AT91SAM9263 family SoC";
17 compatible = "atmel,at91sam9263";
18 interrupt-parent = <&aic>;
19
20 aliases {
21 serial0 = &dbgu;
22 serial1 = &usart0;
23 serial2 = &usart1;
24 serial3 = &usart2;
25 gpio0 = &pioA;
26 gpio1 = &pioB;
27 gpio2 = &pioC;
28 gpio3 = &pioD;
29 gpio4 = &pioE;
30 tcb0 = &tcb0;
Ludovic Desroches05dcd362012-09-12 08:42:16 +020031 i2c0 = &i2c0;
Bo Shen099343c2012-11-07 11:41:41 +080032 ssc0 = &ssc0;
33 ssc1 = &ssc1;
Bo Shenf3ab0522013-12-19 11:59:17 +080034 pwm0 = &pwm0;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080035 };
Alexandre Bellonic2375822014-06-23 06:03:37 +020036
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080037 cpus {
Lorenzo Pieralisie757a6e2013-04-18 18:31:35 +010038 #address-cells = <0>;
39 #size-cells = <0>;
40
41 cpu {
42 compatible = "arm,arm926ej-s";
43 device_type = "cpu";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080044 };
45 };
46
47 memory {
48 reg = <0x20000000 0x08000000>;
49 };
50
Alexandre Bellonic2375822014-06-23 06:03:37 +020051 clocks {
52 main_xtal: main_xtal {
53 compatible = "fixed-clock";
54 #clock-cells = <0>;
55 clock-frequency = <0>;
56 };
57
58 slow_xtal: slow_xtal {
59 compatible = "fixed-clock";
60 #clock-cells = <0>;
61 clock-frequency = <0>;
62 };
63 };
64
Alexandre Bellonif04660e2015-01-13 19:12:24 +010065 sram0: sram@00300000 {
66 compatible = "mmio-sram";
67 reg = <0x00300000 0x14000>;
68 };
69
70 sram1: sram@00500000 {
71 compatible = "mmio-sram";
Alexander Stein940e7662015-02-25 09:35:04 +010072 reg = <0x00500000 0x4000>;
Alexandre Bellonif04660e2015-01-13 19:12:24 +010073 };
74
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080075 ahb {
76 compatible = "simple-bus";
77 #address-cells = <1>;
78 #size-cells = <1>;
79 ranges;
80
81 apb {
82 compatible = "simple-bus";
83 #address-cells = <1>;
84 #size-cells = <1>;
85 ranges;
86
87 aic: interrupt-controller@fffff000 {
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020088 #interrupt-cells = <3>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080089 compatible = "atmel,at91rm9200-aic";
90 interrupt-controller;
91 reg = <0xfffff000 0x200>;
Jean-Christophe PLAGNIOL-VILLARDc6573942012-04-09 19:36:36 +080092 atmel,external-irqs = <30 31>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080093 };
94
95 pmc: pmc@fffffc00 {
Alexandre Belloni620f5032015-10-12 16:28:38 +020096 compatible = "atmel,at91rm9200-pmc", "syscon";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080097 reg = <0xfffffc00 0x100>;
Alexandre Bellonic2375822014-06-23 06:03:37 +020098 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
99 interrupt-controller;
100 #address-cells = <1>;
101 #size-cells = <0>;
102 #interrupt-cells = <1>;
103
104 main_osc: main_osc {
105 compatible = "atmel,at91rm9200-clk-main-osc";
106 #clock-cells = <0>;
107 interrupts-extended = <&pmc AT91_PMC_MOSCS>;
108 clocks = <&main_xtal>;
109 };
110
111 main: mainck {
112 compatible = "atmel,at91rm9200-clk-main";
113 #clock-cells = <0>;
114 clocks = <&main_osc>;
115 };
116
117 plla: pllack {
118 compatible = "atmel,at91rm9200-clk-pll";
119 #clock-cells = <0>;
120 interrupts-extended = <&pmc AT91_PMC_LOCKA>;
121 clocks = <&main>;
122 reg = <0>;
123 atmel,clk-input-range = <1000000 32000000>;
124 #atmel,pll-clk-output-range-cells = <4>;
125 atmel,pll-clk-output-ranges = <80000000 200000000 0 1>,
126 <190000000 240000000 2 1>;
127 };
128
129 pllb: pllbck {
130 compatible = "atmel,at91rm9200-clk-pll";
131 #clock-cells = <0>;
132 interrupts-extended = <&pmc AT91_PMC_LOCKB>;
133 clocks = <&main>;
134 reg = <1>;
Boris Brezillon106c67a2014-10-10 15:50:21 +0200135 atmel,clk-input-range = <1000000 32000000>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200136 #atmel,pll-clk-output-range-cells = <4>;
Boris Brezillon106c67a2014-10-10 15:50:21 +0200137 atmel,pll-clk-output-ranges = <80000000 200000000 0 1>,
138 <190000000 240000000 2 1>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200139 };
140
141 mck: masterck {
142 compatible = "atmel,at91rm9200-clk-master";
143 #clock-cells = <0>;
144 interrupts-extended = <&pmc AT91_PMC_MCKRDY>;
145 clocks = <&slow_xtal>, <&main>, <&plla>, <&pllb>;
146 atmel,clk-output-range = <0 120000000>;
147 atmel,clk-divisors = <1 2 4 0>;
148 };
149
150 usb: usbck {
151 compatible = "atmel,at91rm9200-clk-usb";
152 #clock-cells = <0>;
153 atmel,clk-divisors = <1 2 4 0>;
154 clocks = <&pllb>;
155 };
156
157 prog: progck {
158 compatible = "atmel,at91rm9200-clk-programmable";
159 #address-cells = <1>;
160 #size-cells = <0>;
161 interrupt-parent = <&pmc>;
162 clocks = <&slow_xtal>, <&main>, <&plla>, <&pllb>;
163
164 prog0: prog0 {
165 #clock-cells = <0>;
166 reg = <0>;
167 interrupts = <AT91_PMC_PCKRDY(0)>;
168 };
169
170 prog1: prog1 {
171 #clock-cells = <0>;
172 reg = <1>;
173 interrupts = <AT91_PMC_PCKRDY(1)>;
174 };
175
176 prog2: prog2 {
177 #clock-cells = <0>;
178 reg = <2>;
179 interrupts = <AT91_PMC_PCKRDY(2)>;
180 };
181
182 prog3: prog3 {
183 #clock-cells = <0>;
184 reg = <3>;
185 interrupts = <AT91_PMC_PCKRDY(3)>;
186 };
187 };
188
189 systemck {
190 compatible = "atmel,at91rm9200-clk-system";
191 #address-cells = <1>;
192 #size-cells = <0>;
193
194 uhpck: uhpck {
195 #clock-cells = <0>;
196 reg = <6>;
197 clocks = <&usb>;
198 };
199
200 udpck: udpck {
201 #clock-cells = <0>;
202 reg = <7>;
203 clocks = <&usb>;
204 };
205
206 pck0: pck0 {
207 #clock-cells = <0>;
208 reg = <8>;
209 clocks = <&prog0>;
210 };
211
212 pck1: pck1 {
213 #clock-cells = <0>;
214 reg = <9>;
215 clocks = <&prog1>;
216 };
217
218 pck2: pck2 {
219 #clock-cells = <0>;
220 reg = <10>;
221 clocks = <&prog2>;
222 };
223
224 pck3: pck3 {
225 #clock-cells = <0>;
226 reg = <11>;
227 clocks = <&prog3>;
228 };
229 };
230
231 periphck {
232 compatible = "atmel,at91rm9200-clk-peripheral";
233 #address-cells = <1>;
234 #size-cells = <0>;
235 clocks = <&mck>;
236
237 pioA_clk: pioA_clk {
238 #clock-cells = <0>;
239 reg = <2>;
240 };
241
242 pioB_clk: pioB_clk {
243 #clock-cells = <0>;
244 reg = <3>;
245 };
246
247 pioCDE_clk: pioCDE_clk {
248 #clock-cells = <0>;
249 reg = <4>;
250 };
251
252 usart0_clk: usart0_clk {
253 #clock-cells = <0>;
254 reg = <7>;
255 };
256
257 usart1_clk: usart1_clk {
258 #clock-cells = <0>;
259 reg = <8>;
260 };
261
262 usart2_clk: usart2_clk {
263 #clock-cells = <0>;
264 reg = <9>;
265 };
266
267 mci0_clk: mci0_clk {
268 #clock-cells = <0>;
269 reg = <10>;
270 };
271
272 mci1_clk: mci1_clk {
273 #clock-cells = <0>;
274 reg = <11>;
275 };
276
277 can_clk: can_clk {
278 #clock-cells = <0>;
279 reg = <12>;
280 };
281
282 twi0_clk: twi0_clk {
283 #clock-cells = <0>;
284 reg = <13>;
285 };
286
287 spi0_clk: spi0_clk {
288 #clock-cells = <0>;
289 reg = <14>;
290 };
291
292 spi1_clk: spi1_clk {
293 #clock-cells = <0>;
294 reg = <15>;
295 };
296
297 ssc0_clk: ssc0_clk {
298 #clock-cells = <0>;
299 reg = <16>;
300 };
301
302 ssc1_clk: ssc1_clk {
303 #clock-cells = <0>;
304 reg = <17>;
305 };
306
Alexander Stein226b7b62014-12-05 15:16:55 +0100307 ac97_clk: ac97_clk {
Alexandre Bellonic2375822014-06-23 06:03:37 +0200308 #clock-cells = <0>;
309 reg = <18>;
310 };
311
312 tcb_clk: tcb_clk {
313 #clock-cells = <0>;
314 reg = <19>;
315 };
316
317 pwm_clk: pwm_clk {
318 #clock-cells = <0>;
319 reg = <20>;
320 };
321
322 macb0_clk: macb0_clk {
323 #clock-cells = <0>;
324 reg = <21>;
325 };
326
327 g2de_clk: g2de_clk {
328 #clock-cells = <0>;
329 reg = <23>;
330 };
331
332 udc_clk: udc_clk {
333 #clock-cells = <0>;
334 reg = <24>;
335 };
336
337 isi_clk: isi_clk {
338 #clock-cells = <0>;
339 reg = <25>;
340 };
341
342 lcd_clk: lcd_clk {
343 #clock-cells = <0>;
344 reg = <26>;
345 };
346
347 dma_clk: dma_clk {
348 #clock-cells = <0>;
349 reg = <27>;
350 };
351
352 ohci_clk: ohci_clk {
353 #clock-cells = <0>;
354 reg = <29>;
355 };
356 };
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800357 };
358
Maxime Ripard1e165a72014-07-03 12:01:29 +0200359 ramc0: ramc@ffffe200 {
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800360 compatible = "atmel,at91sam9260-sdramc";
Maxime Ripard1e165a72014-07-03 12:01:29 +0200361 reg = <0xffffe200 0x200>;
362 };
363
Boris Brezillond9c41bf2017-05-30 11:20:52 +0200364 smc0: smc@ffffe400 {
365 compatible = "atmel,at91sam9260-smc", "syscon";
366 reg = <0xffffe400 0x200>;
367 };
368
Maxime Ripard1e165a72014-07-03 12:01:29 +0200369 ramc1: ramc@ffffe800 {
370 compatible = "atmel,at91sam9260-sdramc";
371 reg = <0xffffe800 0x200>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800372 };
373
Boris Brezillond9c41bf2017-05-30 11:20:52 +0200374 smc1: smc@ffffea00 {
375 compatible = "atmel,at91sam9260-smc", "syscon";
376 reg = <0xffffea00 0x200>;
377 };
378
379 matrix: matrix@ffffec00 {
380 compatible = "atmel,at91sam9263-matrix", "syscon";
381 reg = <0xffffec00 0x200>;
382 };
383
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800384 pit: timer@fffffd30 {
385 compatible = "atmel,at91sam9260-pit";
386 reg = <0xfffffd30 0xf>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800387 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200388 clocks = <&mck>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800389 };
390
391 tcb0: timer@fff7c000 {
392 compatible = "atmel,at91rm9200-tcb";
393 reg = <0xfff7c000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800394 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 0>;
Alexandre Belloni53b0b372015-07-29 14:10:03 +0200395 clocks = <&tcb_clk>, <&slow_xtal>;
396 clock-names = "t0_clk", "slow_clk";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800397 };
398
399 rstc@fffffd00 {
400 compatible = "atmel,at91sam9260-rstc";
401 reg = <0xfffffd00 0x10>;
Alexandre Belloni53b0b372015-07-29 14:10:03 +0200402 clocks = <&slow_xtal>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800403 };
404
405 shdwc@fffffd10 {
406 compatible = "atmel,at91sam9260-shdwc";
407 reg = <0xfffffd10 0x10>;
Alexandre Belloni53b0b372015-07-29 14:10:03 +0200408 clocks = <&slow_xtal>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800409 };
410
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800411 pinctrl@fffff200 {
412 #address-cells = <1>;
413 #size-cells = <1>;
414 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
415 ranges = <0xfffff200 0xfffff200 0xa00>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800416
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800417 atmel,mux-mask = <
418 /* A B */
419 0xfffffffb 0xffffe07f /* pioA */
420 0x0007ffff 0x39072fff /* pioB */
421 0xffffffff 0x3ffffff8 /* pioC */
422 0xfffffbff 0xffffffff /* pioD */
423 0xffe00fff 0xfbfcff00 /* pioE */
424 >;
425
426 /* shared pinctrl settings */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800427 dbgu {
428 pinctrl_dbgu: dbgu-0 {
429 atmel,pins =
Sylvain Rochet138c2b22016-10-16 18:21:45 +0200430 <AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
431 AT91_PIOC 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800432 };
433 };
434
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800435 usart0 {
436 pinctrl_usart0: usart0-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800437 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800438 <AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA26 periph A with pullup */
439 AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA27 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800440 };
441
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800442 pinctrl_usart0_rts: usart0_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800443 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800444 <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA28 periph A */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800445 };
446
447 pinctrl_usart0_cts: usart0_cts-0 {
448 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800449 <AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA29 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800450 };
451 };
452
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800453 usart1 {
454 pinctrl_usart1: usart1-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800455 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800456 <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD0 periph A with pullup */
457 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD1 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800458 };
459
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800460 pinctrl_usart1_rts: usart1_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800461 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800462 <AT91_PIOD 7 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD7 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800463 };
464
465 pinctrl_usart1_cts: usart1_cts-0 {
466 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800467 <AT91_PIOD 8 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD8 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800468 };
469 };
470
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800471 usart2 {
472 pinctrl_usart2: usart2-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800473 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800474 <AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD2 periph A with pullup */
475 AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD3 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800476 };
477
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800478 pinctrl_usart2_rts: usart2_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800479 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800480 <AT91_PIOD 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD5 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800481 };
482
483 pinctrl_usart2_cts: usart2_cts-0 {
484 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800485 <AT91_PIOD 6 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD6 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800486 };
487 };
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800488
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800489 nand {
490 pinctrl_nand: nand-0 {
491 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800492 <AT91_PIOA 22 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PA22 gpio RDY pin pull_up*/
493 AT91_PIOD 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PD15 gpio enable pin pull_up */
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800494 };
495 };
496
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800497 macb {
498 pinctrl_macb_rmii: macb_rmii-0 {
499 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800500 <AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC25 periph B */
501 AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE21 periph A */
502 AT91_PIOE 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE23 periph A */
503 AT91_PIOE 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE24 periph A */
504 AT91_PIOE 25 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE25 periph A */
505 AT91_PIOE 26 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE26 periph A */
506 AT91_PIOE 27 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE27 periph A */
507 AT91_PIOE 28 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE28 periph A */
508 AT91_PIOE 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE29 periph A */
509 AT91_PIOE 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PE30 periph A */
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800510 };
511
512 pinctrl_macb_rmii_mii: macb_rmii_mii-0 {
513 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800514 <AT91_PIOC 20 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC20 periph B */
515 AT91_PIOC 21 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC21 periph B */
516 AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC22 periph B */
517 AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC23 periph B */
518 AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC24 periph B */
519 AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC25 periph B */
520 AT91_PIOC 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC27 periph B */
521 AT91_PIOE 22 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PE22 periph B */
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800522 };
523 };
524
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800525 mmc0 {
526 pinctrl_mmc0_clk: mmc0_clk-0 {
527 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800528 <AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA12 periph A */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800529 };
530
531 pinctrl_mmc0_slot0_cmd_dat0: mmc0_slot0_cmd_dat0-0 {
532 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800533 <AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA1 periph A with pullup */
534 AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA0 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800535 };
536
537 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
538 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800539 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA3 periph A with pullup */
540 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA4 periph A with pullup */
541 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA5 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800542 };
543
544 pinctrl_mmc0_slot1_cmd_dat0: mmc0_slot1_cmd_dat0-0 {
545 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800546 <AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 periph A with pullup */
547 AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA17 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800548 };
549
550 pinctrl_mmc0_slot1_dat1_3: mmc0_slot1_dat1_3-0 {
551 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800552 <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA18 periph A with pullup */
553 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA19 periph A with pullup */
554 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA20 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800555 };
556 };
557
558 mmc1 {
559 pinctrl_mmc1_clk: mmc1_clk-0 {
560 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800561 <AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA6 periph A */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800562 };
563
564 pinctrl_mmc1_slot0_cmd_dat0: mmc1_slot0_cmd_dat0-0 {
565 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800566 <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */
567 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA8 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800568 };
569
570 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
571 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800572 <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA9 periph A with pullup */
573 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA10 periph A with pullup */
574 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA11 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800575 };
576
577 pinctrl_mmc1_slot1_cmd_dat0: mmc1_slot1_cmd_dat0-0 {
578 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800579 <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA21 periph A with pullup */
580 AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA22 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800581 };
582
583 pinctrl_mmc1_slot1_dat1_3: mmc1_slot1_dat1_3-0 {
584 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800585 <AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA23 periph A with pullup */
586 AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA24 periph A with pullup */
587 AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA25 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800588 };
589 };
590
Bo Shen544ae6b2013-01-11 15:08:30 +0100591 ssc0 {
592 pinctrl_ssc0_tx: ssc0_tx-0 {
593 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800594 <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB0 periph B */
595 AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB1 periph B */
596 AT91_PIOB 2 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB2 periph B */
Bo Shen544ae6b2013-01-11 15:08:30 +0100597 };
598
599 pinctrl_ssc0_rx: ssc0_rx-0 {
600 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800601 <AT91_PIOB 3 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB3 periph B */
602 AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB4 periph B */
603 AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB5 periph B */
Bo Shen544ae6b2013-01-11 15:08:30 +0100604 };
605 };
606
607 ssc1 {
608 pinctrl_ssc1_tx: ssc1_tx-0 {
609 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800610 <AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB6 periph A */
611 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB7 periph A */
612 AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB8 periph A */
Bo Shen544ae6b2013-01-11 15:08:30 +0100613 };
614
615 pinctrl_ssc1_rx: ssc1_rx-0 {
616 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800617 <AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB9 periph A */
618 AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB10 periph A */
619 AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB11 periph A */
Bo Shen544ae6b2013-01-11 15:08:30 +0100620 };
621 };
622
Wenyou Yanga68b7282013-04-03 14:03:52 +0800623 spi0 {
624 pinctrl_spi0: spi0-0 {
625 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800626 <AT91_PIOA 0 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA0 periph B SPI0_MISO pin */
627 AT91_PIOA 1 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA1 periph B SPI0_MOSI pin */
628 AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA2 periph B SPI0_SPCK pin */
Wenyou Yanga68b7282013-04-03 14:03:52 +0800629 };
630 };
631
632 spi1 {
633 pinctrl_spi1: spi1-0 {
634 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800635 <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB12 periph A SPI1_MISO pin */
636 AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB13 periph A SPI1_MOSI pin */
637 AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB14 periph A SPI1_SPCK pin */
Wenyou Yanga68b7282013-04-03 14:03:52 +0800638 };
639 };
640
Boris BREZILLON028633c2013-05-24 10:05:56 +0000641 tcb0 {
642 pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
643 atmel,pins = <AT91_PIOB 28 AT91_PERIPH_B AT91_PINCTRL_NONE>;
644 };
645
646 pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
647 atmel,pins = <AT91_PIOC 28 AT91_PERIPH_B AT91_PINCTRL_NONE>;
648 };
649
650 pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
651 atmel,pins = <AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE>;
652 };
653
654 pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
655 atmel,pins = <AT91_PIOE 18 AT91_PERIPH_B AT91_PINCTRL_NONE>;
656 };
657
658 pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
659 atmel,pins = <AT91_PIOE 8 AT91_PERIPH_B AT91_PINCTRL_NONE>;
660 };
661
662 pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
663 atmel,pins = <AT91_PIOB 17 AT91_PERIPH_B AT91_PINCTRL_NONE>;
664 };
665
666 pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
667 atmel,pins = <AT91_PIOE 19 AT91_PERIPH_B AT91_PINCTRL_NONE>;
668 };
669
670 pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
671 atmel,pins = <AT91_PIOE 9 AT91_PERIPH_B AT91_PINCTRL_NONE>;
672 };
673
674 pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
675 atmel,pins = <AT91_PIOB 18 AT91_PERIPH_B AT91_PINCTRL_NONE>;
676 };
677 };
678
Jean-Christophe PLAGNIOL-VILLARDf8a0d792013-03-29 04:50:46 +0800679 fb {
680 pinctrl_fb: fb-0 {
681 atmel,pins =
682 <AT91_PIOC 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC1 periph A */
683 AT91_PIOC 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC2 periph A */
684 AT91_PIOC 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC3 periph A */
685 AT91_PIOB 9 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB9 periph B */
686 AT91_PIOC 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC6 periph A */
687 AT91_PIOC 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC7 periph A */
688 AT91_PIOC 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC8 periph A */
689 AT91_PIOC 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC9 periph A */
690 AT91_PIOC 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC10 periph A */
691 AT91_PIOC 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC11 periph A */
692 AT91_PIOC 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC14 periph A */
693 AT91_PIOC 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC15 periph A */
694 AT91_PIOC 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC16 periph A */
695 AT91_PIOC 12 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC12 periph B */
696 AT91_PIOC 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC18 periph A */
697 AT91_PIOC 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC19 periph A */
698 AT91_PIOC 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC22 periph A */
699 AT91_PIOC 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC23 periph A */
700 AT91_PIOC 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC24 periph A */
701 AT91_PIOC 17 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC17 periph B */
702 AT91_PIOC 26 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC26 periph A */
703 AT91_PIOC 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PC27 periph A */
704 };
705 };
706
Alexander Stein2667c6a2014-10-06 14:40:07 +0200707 can {
708 pinctrl_can_rx_tx: can_rx_tx {
709 atmel,pins =
710 <AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* CANRX, conflicts with IRQ0 */
711 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* CANTX, conflicts with PCK0 */
712 };
713 };
714
Alexander Steinc7f85be2014-12-29 13:08:41 +0100715 ac97 {
716 pinctrl_ac97: ac97-0 {
717 atmel,pins =
718 <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB12 periph A AC97FS pin */
719 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB13 periph A AC97CK pin */
720 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB14 periph A AC97TX pin */
721 AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB14 periph A AC97RX pin */
722 };
723 };
724
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800725 pioA: gpio@fffff200 {
726 compatible = "atmel,at91rm9200-gpio";
727 reg = <0xfffff200 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800728 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800729 #gpio-cells = <2>;
730 gpio-controller;
731 interrupt-controller;
732 #interrupt-cells = <2>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200733 clocks = <&pioA_clk>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800734 };
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800735
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800736 pioB: gpio@fffff400 {
737 compatible = "atmel,at91rm9200-gpio";
738 reg = <0xfffff400 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800739 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800740 #gpio-cells = <2>;
741 gpio-controller;
742 interrupt-controller;
743 #interrupt-cells = <2>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200744 clocks = <&pioB_clk>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800745 };
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800746
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800747 pioC: gpio@fffff600 {
748 compatible = "atmel,at91rm9200-gpio";
749 reg = <0xfffff600 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800750 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800751 #gpio-cells = <2>;
752 gpio-controller;
753 interrupt-controller;
754 #interrupt-cells = <2>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200755 clocks = <&pioCDE_clk>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800756 };
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800757
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800758 pioD: gpio@fffff800 {
759 compatible = "atmel,at91rm9200-gpio";
760 reg = <0xfffff800 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800761 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800762 #gpio-cells = <2>;
763 gpio-controller;
764 interrupt-controller;
765 #interrupt-cells = <2>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200766 clocks = <&pioCDE_clk>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800767 };
768
769 pioE: gpio@fffffa00 {
770 compatible = "atmel,at91rm9200-gpio";
771 reg = <0xfffffa00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800772 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800773 #gpio-cells = <2>;
774 gpio-controller;
775 interrupt-controller;
776 #interrupt-cells = <2>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200777 clocks = <&pioCDE_clk>;
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800778 };
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800779 };
780
781 dbgu: serial@ffffee00 {
Alexandre Belloni8c07f662015-03-12 15:54:26 +0100782 compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800783 reg = <0xffffee00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800784 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800785 pinctrl-names = "default";
786 pinctrl-0 = <&pinctrl_dbgu>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200787 clocks = <&mck>;
788 clock-names = "usart";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800789 status = "disabled";
790 };
791
792 usart0: serial@fff8c000 {
793 compatible = "atmel,at91sam9260-usart";
794 reg = <0xfff8c000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800795 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800796 atmel,use-dma-rx;
797 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800798 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800799 pinctrl-0 = <&pinctrl_usart0>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200800 clocks = <&usart0_clk>;
801 clock-names = "usart";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800802 status = "disabled";
803 };
804
805 usart1: serial@fff90000 {
806 compatible = "atmel,at91sam9260-usart";
807 reg = <0xfff90000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800808 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800809 atmel,use-dma-rx;
810 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800811 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800812 pinctrl-0 = <&pinctrl_usart1>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200813 clocks = <&usart1_clk>;
814 clock-names = "usart";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800815 status = "disabled";
816 };
817
818 usart2: serial@fff94000 {
819 compatible = "atmel,at91sam9260-usart";
820 reg = <0xfff94000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800821 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 5>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800822 atmel,use-dma-rx;
823 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800824 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800825 pinctrl-0 = <&pinctrl_usart2>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200826 clocks = <&usart2_clk>;
827 clock-names = "usart";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800828 status = "disabled";
829 };
830
Bo Shen099343c2012-11-07 11:41:41 +0800831 ssc0: ssc@fff98000 {
832 compatible = "atmel,at91rm9200-ssc";
833 reg = <0xfff98000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800834 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
Bo Shen544ae6b2013-01-11 15:08:30 +0100835 pinctrl-names = "default";
836 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200837 clocks = <&ssc0_clk>;
838 clock-names = "pclk";
Bo Shen315656b2012-12-13 10:05:07 +0800839 status = "disabled";
Bo Shen099343c2012-11-07 11:41:41 +0800840 };
841
842 ssc1: ssc@fff9c000 {
843 compatible = "atmel,at91rm9200-ssc";
844 reg = <0xfff9c000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800845 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>;
Bo Shen544ae6b2013-01-11 15:08:30 +0100846 pinctrl-names = "default";
847 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200848 clocks = <&ssc1_clk>;
849 clock-names = "pclk";
Bo Shen315656b2012-12-13 10:05:07 +0800850 status = "disabled";
Bo Shen099343c2012-11-07 11:41:41 +0800851 };
852
Alexander Steinc7f85be2014-12-29 13:08:41 +0100853 ac97: sound@fffa0000 {
854 compatible = "atmel,at91sam9263-ac97c";
855 reg = <0xfffa0000 0x4000>;
856 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 5>;
857 pinctrl-names = "default";
858 pinctrl-0 = <&pinctrl_ac97>;
859 clocks = <&ac97_clk>;
860 clock-names = "ac97_clk";
861 status = "disabled";
862 };
863
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800864 macb0: ethernet@fffbc000 {
Boris BREZILLON9c348d42015-03-07 07:23:29 +0100865 compatible = "cdns,at91sam9260-macb", "cdns,macb";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800866 reg = <0xfffbc000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800867 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 3>;
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800868 pinctrl-names = "default";
869 pinctrl-0 = <&pinctrl_macb_rmii>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200870 clocks = <&macb0_clk>, <&macb0_clk>;
871 clock-names = "hclk", "pclk";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800872 status = "disabled";
873 };
874
875 usb1: gadget@fff78000 {
Boris Brezillon70a9bea2014-12-03 12:32:10 +0100876 compatible = "atmel,at91sam9263-udc";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800877 reg = <0xfff78000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800878 interrupts = <24 IRQ_TYPE_LEVEL_HIGH 2>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200879 clocks = <&udc_clk>, <&udpck>;
880 clock-names = "pclk", "hclk";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800881 status = "disabled";
882 };
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200883
884 i2c0: i2c@fff88000 {
Jean-Jacques Hiblot821003b2014-01-15 11:24:46 +0100885 compatible = "atmel,at91sam9260-i2c";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200886 reg = <0xfff88000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800887 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200888 #address-cells = <1>;
889 #size-cells = <0>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200890 clocks = <&twi0_clk>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200891 status = "disabled";
892 };
Ludovic Desroches98731372012-11-19 12:23:36 +0100893
894 mmc0: mmc@fff80000 {
895 compatible = "atmel,hsmci";
896 reg = <0xfff80000 0x600>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800897 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 0>;
Andreas Henrikssonb65e0fb2014-09-23 17:12:52 +0200898 pinctrl-names = "default";
Ludovic Desroches98731372012-11-19 12:23:36 +0100899 #address-cells = <1>;
900 #size-cells = <0>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200901 clocks = <&mci0_clk>;
902 clock-names = "mci_clk";
Ludovic Desroches98731372012-11-19 12:23:36 +0100903 status = "disabled";
904 };
905
906 mmc1: mmc@fff84000 {
907 compatible = "atmel,hsmci";
908 reg = <0xfff84000 0x600>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800909 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 0>;
Andreas Henrikssonb65e0fb2014-09-23 17:12:52 +0200910 pinctrl-names = "default";
Ludovic Desroches98731372012-11-19 12:23:36 +0100911 #address-cells = <1>;
912 #size-cells = <0>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200913 clocks = <&mci1_clk>;
914 clock-names = "mci_clk";
Ludovic Desroches98731372012-11-19 12:23:36 +0100915 status = "disabled";
916 };
Linus Torvaldsdb5b0ae2012-12-13 10:39:26 -0800917
Fabio Porcedda7492e7c2012-11-12 09:37:26 +0100918 watchdog@fffffd40 {
919 compatible = "atmel,at91sam9260-wdt";
920 reg = <0xfffffd40 0x10>;
Boris BREZILLONfe46aa62013-10-04 09:24:14 +0200921 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Alexandre Belloni53b0b372015-07-29 14:10:03 +0200922 clocks = <&slow_xtal>;
Boris BREZILLONfe46aa62013-10-04 09:24:14 +0200923 atmel,watchdog-type = "hardware";
924 atmel,reset-type = "all";
925 atmel,dbg-halt;
Fabio Porcedda7492e7c2012-11-12 09:37:26 +0100926 status = "disabled";
927 };
Richard Genoudd50f88a2013-04-03 14:02:18 +0800928
929 spi0: spi@fffa4000 {
930 #address-cells = <1>;
931 #size-cells = <0>;
932 compatible = "atmel,at91rm9200-spi";
933 reg = <0xfffa4000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800934 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>;
Wenyou Yanga68b7282013-04-03 14:03:52 +0800935 pinctrl-names = "default";
936 pinctrl-0 = <&pinctrl_spi0>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200937 clocks = <&spi0_clk>;
938 clock-names = "spi_clk";
Richard Genoudd50f88a2013-04-03 14:02:18 +0800939 status = "disabled";
940 };
941
942 spi1: spi@fffa8000 {
943 #address-cells = <1>;
944 #size-cells = <0>;
945 compatible = "atmel,at91rm9200-spi";
946 reg = <0xfffa8000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800947 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 3>;
Wenyou Yanga68b7282013-04-03 14:03:52 +0800948 pinctrl-names = "default";
949 pinctrl-0 = <&pinctrl_spi1>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200950 clocks = <&spi1_clk>;
951 clock-names = "spi_clk";
Richard Genoudd50f88a2013-04-03 14:02:18 +0800952 status = "disabled";
953 };
Bo Shenf3ab0522013-12-19 11:59:17 +0800954
955 pwm0: pwm@fffb8000 {
956 compatible = "atmel,at91sam9rl-pwm";
957 reg = <0xfffb8000 0x300>;
958 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 4>;
959 #pwm-cells = <3>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200960 clocks = <&pwm_clk>;
961 clock-names = "pwm_clk";
Bo Shenf3ab0522013-12-19 11:59:17 +0800962 status = "disabled";
963 };
Alexander Stein2667c6a2014-10-06 14:40:07 +0200964
965 can: can@fffac000 {
966 compatible = "atmel,at91sam9263-can";
967 reg = <0xfffac000 0x300>;
968 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 3>;
969 pinctrl-names = "default";
970 pinctrl-0 = <&pinctrl_can_rx_tx>;
971 clocks = <&can_clk>;
972 clock-names = "can_clk";
Boris Brezillon9b5a0672014-11-14 11:08:49 +0100973 };
974
975 rtc@fffffd20 {
976 compatible = "atmel,at91sam9260-rtt";
977 reg = <0xfffffd20 0x10>;
978 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
979 clocks = <&slow_xtal>;
980 status = "disabled";
981 };
982
983 rtc@fffffd50 {
984 compatible = "atmel,at91sam9260-rtt";
985 reg = <0xfffffd50 0x10>;
986 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
987 clocks = <&slow_xtal>;
Alexander Stein2667c6a2014-10-06 14:40:07 +0200988 status = "disabled";
989 };
Boris Brezillon1ff3bec2014-11-14 11:08:50 +0100990
991 gpbr: syscon@fffffd60 {
992 compatible = "atmel,at91sam9260-gpbr", "syscon";
993 reg = <0xfffffd60 0x50>;
994 status = "disabled";
995 };
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800996 };
997
Jean-Christophe PLAGNIOL-VILLARDf8a0d792013-03-29 04:50:46 +0800998 fb0: fb@0x00700000 {
999 compatible = "atmel,at91sam9263-lcdc";
1000 reg = <0x00700000 0x1000>;
1001 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 3>;
1002 pinctrl-names = "default";
1003 pinctrl-0 = <&pinctrl_fb>;
Alexander Stein55eb9c32014-12-05 14:31:39 +01001004 clocks = <&lcd_clk>, <&lcd_clk>;
1005 clock-names = "lcdc_clk", "hclk";
Jean-Christophe PLAGNIOL-VILLARDf8a0d792013-03-29 04:50:46 +08001006 status = "disabled";
1007 };
1008
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +08001009 nand0: nand@40000000 {
1010 compatible = "atmel,at91rm9200-nand";
1011 #address-cells = <1>;
1012 #size-cells = <1>;
1013 reg = <0x40000000 0x10000000
1014 0xffffe000 0x200
1015 >;
1016 atmel,nand-addr-offset = <21>;
1017 atmel,nand-cmd-offset = <22>;
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +08001018 pinctrl-names = "default";
1019 pinctrl-0 = <&pinctrl_nand>;
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +08001020 gpios = <&pioA 22 GPIO_ACTIVE_HIGH
1021 &pioD 15 GPIO_ACTIVE_HIGH
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +08001022 0
1023 >;
1024 status = "disabled";
1025 };
1026
1027 usb0: ohci@00a00000 {
1028 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
1029 reg = <0x00a00000 0x100000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001030 interrupts = <29 IRQ_TYPE_LEVEL_HIGH 2>;
Boris Brezillonf8073702015-03-17 17:15:50 +01001031 clocks = <&ohci_clk>, <&ohci_clk>, <&uhpck>;
1032 clock-names = "ohci_clk", "hclk", "uhpck";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +08001033 status = "disabled";
1034 };
Boris Brezillond9c41bf2017-05-30 11:20:52 +02001035
1036 ebi0: ebi@10000000 {
1037 compatible = "atmel,at91sam9263-ebi0";
1038 #address-cells = <2>;
1039 #size-cells = <1>;
1040 atmel,smc = <&smc0>;
1041 atmel,matrix = <&matrix>;
1042 reg = <0x10000000 0x80000000>;
1043 ranges = <0x0 0x0 0x10000000 0x10000000
1044 0x1 0x0 0x20000000 0x10000000
1045 0x2 0x0 0x30000000 0x10000000
1046 0x3 0x0 0x40000000 0x10000000
1047 0x4 0x0 0x50000000 0x10000000
1048 0x5 0x0 0x60000000 0x10000000>;
1049 clocks = <&mck>;
1050 status = "disabled";
1051
1052 nand_controller0: nand-controller {
1053 compatible = "atmel,at91sam9260-nand-controller";
1054 #address-cells = <2>;
1055 #size-cells = <1>;
1056 ranges;
1057 status = "disabled";
1058 };
1059 };
1060
1061 ebi1: ebi@70000000 {
1062 compatible = "atmel,at91sam9263-ebi1";
1063 #address-cells = <2>;
1064 #size-cells = <1>;
1065 atmel,smc = <&smc1>;
1066 atmel,matrix = <&matrix>;
1067 reg = <0x80000000 0x20000000>;
1068 ranges = <0x0 0x0 0x80000000 0x10000000
1069 0x1 0x0 0x90000000 0x10000000>;
1070 clocks = <&mck>;
1071 status = "disabled";
1072
1073 nand_controller1: nand-controller {
1074 compatible = "atmel,at91sam9260-nand-controller";
1075 #address-cells = <2>;
1076 #size-cells = <1>;
1077 ranges;
1078 status = "disabled";
1079 };
1080 };
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +08001081 };
1082
Alexandre Bellonie152e3f2016-07-14 16:58:11 +02001083 i2c-gpio-0 {
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +08001084 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +08001085 gpios = <&pioB 4 GPIO_ACTIVE_HIGH /* sda */
1086 &pioB 5 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +08001087 >;
1088 i2c-gpio,sda-open-drain;
1089 i2c-gpio,scl-open-drain;
1090 i2c-gpio,delay-us = <2>; /* ~100 kHz */
1091 #address-cells = <1>;
1092 #size-cells = <0>;
1093 status = "disabled";
1094 };
1095};