blob: f66bae925705aef7beebb4a3fd38b810d6cd722b [file] [log] [blame]
Nicolas Ferre467f1cf2012-01-26 11:59:20 +01001/*
2 * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC
3 * applies to AT91SAM9G15, AT91SAM9G25, AT91SAM9G35,
4 * AT91SAM9X25, AT91SAM9X35 SoC
5 *
6 * Copyright (C) 2012 Atmel,
7 * 2012 Nicolas Ferre <nicolas.ferre@atmel.com>
8 *
9 * Licensed under GPLv2 or later.
10 */
11
Jean-Christophe PLAGNIOL-VILLARD6db64d22013-05-15 01:21:50 +080012#include "skeleton.dtsi"
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +020013#include <dt-bindings/dma/at91.h>
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +080014#include <dt-bindings/pinctrl/at91.h>
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +080015#include <dt-bindings/interrupt-controller/irq.h>
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +080016#include <dt-bindings/gpio/gpio.h>
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +020017#include <dt-bindings/clock/at91.h>
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010018
19/ {
20 model = "Atmel AT91SAM9x5 family SoC";
21 compatible = "atmel,at91sam9x5";
22 interrupt-parent = <&aic>;
23
24 aliases {
25 serial0 = &dbgu;
26 serial1 = &usart0;
27 serial2 = &usart1;
28 serial3 = &usart2;
29 gpio0 = &pioA;
30 gpio1 = &pioB;
31 gpio2 = &pioC;
32 gpio3 = &pioD;
33 tcb0 = &tcb0;
34 tcb1 = &tcb1;
Ludovic Desroches05dcd362012-09-12 08:42:16 +020035 i2c0 = &i2c0;
36 i2c1 = &i2c1;
37 i2c2 = &i2c2;
Bo Shen099343c2012-11-07 11:41:41 +080038 ssc0 = &ssc0;
Bo Shenf3ab0522013-12-19 11:59:17 +080039 pwm0 = &pwm0;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010040 };
41 cpus {
Lorenzo Pieralisie757a6e2013-04-18 18:31:35 +010042 #address-cells = <0>;
43 #size-cells = <0>;
44
45 cpu {
46 compatible = "arm,arm926ej-s";
47 device_type = "cpu";
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010048 };
49 };
50
Ludovic Desrochesdcce6ce2012-04-02 20:44:20 +020051 memory {
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010052 reg = <0x20000000 0x10000000>;
53 };
54
Alexandre Belloni12dde442014-06-17 15:30:19 +020055 clocks {
56 slow_xtal: slow_xtal {
57 compatible = "fixed-clock";
58 #clock-cells = <0>;
59 clock-frequency = <0>;
60 };
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +020061
Alexandre Belloni12dde442014-06-17 15:30:19 +020062 main_xtal: main_xtal {
63 compatible = "fixed-clock";
64 #clock-cells = <0>;
65 clock-frequency = <0>;
66 };
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +020067
Alexandre Belloni12dde442014-06-17 15:30:19 +020068 adc_op_clk: adc_op_clk{
69 compatible = "fixed-clock";
70 #clock-cells = <0>;
Josh Wu7c08d8c2013-07-12 18:17:00 +080071 clock-frequency = <1000000>;
Alexandre Belloni12dde442014-06-17 15:30:19 +020072 };
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +020073 };
74
Alexandre Bellonif04660e2015-01-13 19:12:24 +010075 sram: sram@00300000 {
76 compatible = "mmio-sram";
77 reg = <0x00300000 0x8000>;
78 };
79
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010080 ahb {
81 compatible = "simple-bus";
82 #address-cells = <1>;
83 #size-cells = <1>;
84 ranges;
85
86 apb {
87 compatible = "simple-bus";
88 #address-cells = <1>;
89 #size-cells = <1>;
90 ranges;
91
92 aic: interrupt-controller@fffff000 {
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020093 #interrupt-cells = <3>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010094 compatible = "atmel,at91rm9200-aic";
95 interrupt-controller;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010096 reg = <0xfffff000 0x200>;
Jean-Christophe PLAGNIOL-VILLARDc6573942012-04-09 19:36:36 +080097 atmel,external-irqs = <31>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010098 };
99
Jean-Christophe PLAGNIOL-VILLARDa7776ec2012-03-02 20:54:37 +0800100 ramc0: ramc@ffffe800 {
101 compatible = "atmel,at91sam9g45-ddramc";
102 reg = <0xffffe800 0x200>;
Alexandre Belloni7e948342014-07-08 18:21:15 +0200103 clocks = <&ddrck>;
104 clock-names = "ddrck";
Jean-Christophe PLAGNIOL-VILLARDa7776ec2012-03-02 20:54:37 +0800105 };
106
Jean-Christophe PLAGNIOL-VILLARDeb5e76f2012-03-02 20:44:23 +0800107 pmc: pmc@fffffc00 {
Alexandre Belloni620f5032015-10-12 16:28:38 +0200108 compatible = "atmel,at91sam9x5-pmc", "syscon";
Boris Brezillonaab0a4c2016-05-11 11:00:02 +0200109 reg = <0xfffffc00 0x200>;
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +0200110 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
111 interrupt-controller;
112 #address-cells = <1>;
113 #size-cells = <0>;
114 #interrupt-cells = <1>;
115
116 main_rc_osc: main_rc_osc {
117 compatible = "atmel,at91sam9x5-clk-main-rc-osc";
118 #clock-cells = <0>;
119 interrupts-extended = <&pmc AT91_PMC_MOSCRCS>;
120 clock-frequency = <12000000>;
121 clock-accuracy = <50000000>;
122 };
123
124 main_osc: main_osc {
125 compatible = "atmel,at91rm9200-clk-main-osc";
126 #clock-cells = <0>;
127 interrupts-extended = <&pmc AT91_PMC_MOSCS>;
128 clocks = <&main_xtal>;
129 };
130
131 main: mainck {
132 compatible = "atmel,at91sam9x5-clk-main";
133 #clock-cells = <0>;
134 interrupts-extended = <&pmc AT91_PMC_MOSCSELS>;
135 clocks = <&main_rc_osc>, <&main_osc>;
136 };
137
138 plla: pllack {
139 compatible = "atmel,at91rm9200-clk-pll";
140 #clock-cells = <0>;
141 interrupts-extended = <&pmc AT91_PMC_LOCKA>;
142 clocks = <&main>;
143 reg = <0>;
144 atmel,clk-input-range = <2000000 32000000>;
145 #atmel,pll-clk-output-range-cells = <4>;
146 atmel,pll-clk-output-ranges = <745000000 800000000 0 0
147 695000000 750000000 1 0
148 645000000 700000000 2 0
149 595000000 650000000 3 0
150 545000000 600000000 0 1
151 495000000 555000000 1 1
Alexandre Bellonib6616f12014-06-13 13:25:34 +0200152 445000000 500000000 2 1
153 400000000 450000000 3 1>;
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +0200154 };
155
156 plladiv: plladivck {
157 compatible = "atmel,at91sam9x5-clk-plldiv";
158 #clock-cells = <0>;
159 clocks = <&plla>;
160 };
161
162 utmi: utmick {
163 compatible = "atmel,at91sam9x5-clk-utmi";
164 #clock-cells = <0>;
165 interrupts-extended = <&pmc AT91_PMC_LOCKU>;
166 clocks = <&main>;
167 };
168
169 mck: masterck {
170 compatible = "atmel,at91sam9x5-clk-master";
171 #clock-cells = <0>;
172 interrupts-extended = <&pmc AT91_PMC_MCKRDY>;
173 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>;
174 atmel,clk-output-range = <0 133333333>;
175 atmel,clk-divisors = <1 2 4 3>;
176 atmel,master-clk-have-div3-pres;
177 };
178
179 usb: usbck {
180 compatible = "atmel,at91sam9x5-clk-usb";
181 #clock-cells = <0>;
182 clocks = <&plladiv>, <&utmi>;
183 };
184
185 prog: progck {
186 compatible = "atmel,at91sam9x5-clk-programmable";
187 #address-cells = <1>;
188 #size-cells = <0>;
189 interrupt-parent = <&pmc>;
190 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>;
191
192 prog0: prog0 {
193 #clock-cells = <0>;
194 reg = <0>;
195 interrupts = <AT91_PMC_PCKRDY(0)>;
196 };
197
198 prog1: prog1 {
199 #clock-cells = <0>;
200 reg = <1>;
201 interrupts = <AT91_PMC_PCKRDY(1)>;
202 };
203 };
204
205 smd: smdclk {
206 compatible = "atmel,at91sam9x5-clk-smd";
207 #clock-cells = <0>;
208 clocks = <&plladiv>, <&utmi>;
209 };
210
211 systemck {
212 compatible = "atmel,at91rm9200-clk-system";
213 #address-cells = <1>;
214 #size-cells = <0>;
215
216 ddrck: ddrck {
217 #clock-cells = <0>;
218 reg = <2>;
219 clocks = <&mck>;
220 };
221
222 smdck: smdck {
223 #clock-cells = <0>;
224 reg = <4>;
225 clocks = <&smd>;
226 };
227
228 uhpck: uhpck {
229 #clock-cells = <0>;
230 reg = <6>;
231 clocks = <&usb>;
232 };
233
234 udpck: udpck {
235 #clock-cells = <0>;
236 reg = <7>;
237 clocks = <&usb>;
238 };
239
240 pck0: pck0 {
241 #clock-cells = <0>;
242 reg = <8>;
243 clocks = <&prog0>;
244 };
245
246 pck1: pck1 {
247 #clock-cells = <0>;
248 reg = <9>;
249 clocks = <&prog1>;
250 };
251 };
252
253 periphck {
254 compatible = "atmel,at91sam9x5-clk-peripheral";
255 #address-cells = <1>;
256 #size-cells = <0>;
257 clocks = <&mck>;
258
259 pioAB_clk: pioAB_clk {
260 #clock-cells = <0>;
261 reg = <2>;
262 };
263
264 pioCD_clk: pioCD_clk {
265 #clock-cells = <0>;
266 reg = <3>;
267 };
268
269 smd_clk: smd_clk {
270 #clock-cells = <0>;
271 reg = <4>;
272 };
273
274 usart0_clk: usart0_clk {
275 #clock-cells = <0>;
276 reg = <5>;
277 };
278
279 usart1_clk: usart1_clk {
280 #clock-cells = <0>;
281 reg = <6>;
282 };
283
284 usart2_clk: usart2_clk {
285 #clock-cells = <0>;
286 reg = <7>;
287 };
288
289 twi0_clk: twi0_clk {
290 reg = <9>;
291 #clock-cells = <0>;
292 };
293
294 twi1_clk: twi1_clk {
295 #clock-cells = <0>;
296 reg = <10>;
297 };
298
299 twi2_clk: twi2_clk {
300 #clock-cells = <0>;
301 reg = <11>;
302 };
303
304 mci0_clk: mci0_clk {
305 #clock-cells = <0>;
306 reg = <12>;
307 };
308
309 spi0_clk: spi0_clk {
310 #clock-cells = <0>;
311 reg = <13>;
312 };
313
314 spi1_clk: spi1_clk {
315 #clock-cells = <0>;
316 reg = <14>;
317 };
318
319 uart0_clk: uart0_clk {
320 #clock-cells = <0>;
321 reg = <15>;
322 };
323
324 uart1_clk: uart1_clk {
325 #clock-cells = <0>;
326 reg = <16>;
327 };
328
329 tcb0_clk: tcb0_clk {
330 #clock-cells = <0>;
331 reg = <17>;
332 };
333
334 pwm_clk: pwm_clk {
335 #clock-cells = <0>;
336 reg = <18>;
337 };
338
339 adc_clk: adc_clk {
340 #clock-cells = <0>;
341 reg = <19>;
342 };
343
344 dma0_clk: dma0_clk {
345 #clock-cells = <0>;
346 reg = <20>;
347 };
348
349 dma1_clk: dma1_clk {
350 #clock-cells = <0>;
351 reg = <21>;
352 };
353
354 uhphs_clk: uhphs_clk {
355 #clock-cells = <0>;
356 reg = <22>;
357 };
358
359 udphs_clk: udphs_clk {
360 #clock-cells = <0>;
361 reg = <23>;
362 };
363
364 mci1_clk: mci1_clk {
365 #clock-cells = <0>;
366 reg = <26>;
367 };
368
369 ssc0_clk: ssc0_clk {
370 #clock-cells = <0>;
371 reg = <28>;
372 };
373 };
Jean-Christophe PLAGNIOL-VILLARDeb5e76f2012-03-02 20:44:23 +0800374 };
375
Jean-Christophe PLAGNIOL-VILLARDc8082d32012-03-03 03:16:27 +0800376 rstc@fffffe00 {
377 compatible = "atmel,at91sam9g45-rstc";
378 reg = <0xfffffe00 0x10>;
Alexandre Belloni39c64912015-07-29 14:10:06 +0200379 clocks = <&clk32k>;
Jean-Christophe PLAGNIOL-VILLARDc8082d32012-03-03 03:16:27 +0800380 };
381
Jean-Christophe PLAGNIOL-VILLARD82015c42012-03-02 21:01:00 +0800382 shdwc@fffffe10 {
383 compatible = "atmel,at91sam9x5-shdwc";
384 reg = <0xfffffe10 0x10>;
Alexandre Belloni39c64912015-07-29 14:10:06 +0200385 clocks = <&clk32k>;
Jean-Christophe PLAGNIOL-VILLARD82015c42012-03-02 21:01:00 +0800386 };
387
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100388 pit: timer@fffffe30 {
389 compatible = "atmel,at91sam9260-pit";
390 reg = <0xfffffe30 0xf>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800391 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +0200392 clocks = <&mck>;
393 };
394
395 sckc@fffffe50 {
396 compatible = "atmel,at91sam9x5-sckc";
397 reg = <0xfffffe50 0x4>;
398
399 slow_osc: slow_osc {
400 compatible = "atmel,at91sam9x5-clk-slow-osc";
401 #clock-cells = <0>;
402 clocks = <&slow_xtal>;
403 };
404
405 slow_rc_osc: slow_rc_osc {
406 compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
407 #clock-cells = <0>;
408 clock-frequency = <32768>;
409 clock-accuracy = <50000000>;
410 };
411
412 clk32k: slck {
413 compatible = "atmel,at91sam9x5-clk-slow";
414 #clock-cells = <0>;
415 clocks = <&slow_rc_osc>, <&slow_osc>;
416 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100417 };
418
419 tcb0: timer@f8008000 {
420 compatible = "atmel,at91sam9x5-tcb";
421 reg = <0xf8008000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800422 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
Alexandre Belloni39c64912015-07-29 14:10:06 +0200423 clocks = <&tcb0_clk>, <&clk32k>;
424 clock-names = "t0_clk", "slow_clk";
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100425 };
426
427 tcb1: timer@f800c000 {
428 compatible = "atmel,at91sam9x5-tcb";
429 reg = <0xf800c000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800430 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
Alexandre Belloni39c64912015-07-29 14:10:06 +0200431 clocks = <&tcb0_clk>, <&clk32k>;
432 clock-names = "t0_clk", "slow_clk";
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100433 };
434
435 dma0: dma-controller@ffffec00 {
436 compatible = "atmel,at91sam9g45-dma";
437 reg = <0xffffec00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800438 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desroches980ce7d2013-04-16 15:03:06 +0200439 #dma-cells = <2>;
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +0200440 clocks = <&dma0_clk>;
441 clock-names = "dma_clk";
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100442 };
443
444 dma1: dma-controller@ffffee00 {
445 compatible = "atmel,at91sam9g45-dma";
446 reg = <0xffffee00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800447 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desroches980ce7d2013-04-16 15:03:06 +0200448 #dma-cells = <2>;
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +0200449 clocks = <&dma1_clk>;
450 clock-names = "dma_clk";
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100451 };
452
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800453 pinctrl@fffff400 {
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800454 #address-cells = <1>;
455 #size-cells = <1>;
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800456 compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800457 ranges = <0xfffff400 0xfffff400 0x800>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100458
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800459 /* shared pinctrl settings */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800460 dbgu {
461 pinctrl_dbgu: dbgu-0 {
462 atmel,pins =
Sylvain Rochet138c2b22016-10-16 18:21:45 +0200463 <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
464 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800465 };
466 };
467
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800468 usart0 {
469 pinctrl_usart0: usart0-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800470 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800471 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA0 periph A with pullup */
472 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA1 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800473 };
474
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800475 pinctrl_usart0_rts: usart0_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800476 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800477 <AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA2 periph A */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800478 };
479
480 pinctrl_usart0_cts: usart0_cts-0 {
481 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800482 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA3 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800483 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000484
485 pinctrl_usart0_sck: usart0_sck-0 {
486 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800487 <AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA4 periph A */
Richard Genoud1bab02e2013-01-18 16:42:28 +0000488 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800489 };
490
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800491 usart1 {
492 pinctrl_usart1: usart1-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800493 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800494 <AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA5 periph A with pullup */
495 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA6 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800496 };
497
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800498 pinctrl_usart1_rts: usart1_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800499 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800500 <AT91_PIOC 27 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC27 periph C */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800501 };
502
503 pinctrl_usart1_cts: usart1_cts-0 {
504 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800505 <AT91_PIOC 28 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC28 periph C */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800506 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000507
508 pinctrl_usart1_sck: usart1_sck-0 {
509 atmel,pins =
Nicolas Ferre441cf982015-05-20 14:31:49 +0200510 <AT91_PIOC 29 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC29 periph C */
Richard Genoud1bab02e2013-01-18 16:42:28 +0000511 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800512 };
513
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800514 usart2 {
515 pinctrl_usart2: usart2-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800516 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800517 <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */
518 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA8 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800519 };
520
Jiri Prchaldf923c12013-09-19 14:28:39 +0200521 pinctrl_usart2_rts: usart2_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800522 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800523 <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB0 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800524 };
525
Jiri Prchaldf923c12013-09-19 14:28:39 +0200526 pinctrl_usart2_cts: usart2_cts-0 {
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800527 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800528 <AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB1 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800529 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000530
531 pinctrl_usart2_sck: usart2_sck-0 {
532 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800533 <AT91_PIOB 2 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB2 periph B */
Richard Genoud1bab02e2013-01-18 16:42:28 +0000534 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800535 };
536
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800537 uart0 {
538 pinctrl_uart0: uart0-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800539 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800540 <AT91_PIOC 8 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC8 periph C */
541 AT91_PIOC 9 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC9 periph C with pullup */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800542 };
543 };
544
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800545 uart1 {
546 pinctrl_uart1: uart1-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800547 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800548 <AT91_PIOC 16 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC16 periph C */
549 AT91_PIOC 17 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC17 periph C with pullup */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800550 };
551 };
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800552
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800553 nand {
554 pinctrl_nand: nand-0 {
555 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800556 <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD0 periph A Read Enable */
557 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD1 periph A Write Enable */
558 AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD2 periph A Address Latch Enable */
559 AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD3 periph A Command Latch Enable */
560 AT91_PIOD 4 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD4 gpio Chip Enable pin pull_up */
561 AT91_PIOD 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD5 gpio RDY/BUSY pin pull_up */
562 AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD6 periph A Data bit 0 */
563 AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD7 periph A Data bit 1 */
564 AT91_PIOD 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD8 periph A Data bit 2 */
565 AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD9 periph A Data bit 3 */
566 AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD10 periph A Data bit 4 */
567 AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD11 periph A Data bit 5 */
568 AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD12 periph A Data bit 6 */
569 AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD13 periph A Data bit 7 */
Richard Genoud7f064722013-03-11 15:12:40 +0100570 };
571
572 pinctrl_nand_16bits: nand_16bits-0 {
573 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800574 <AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD14 periph A Data bit 8 */
575 AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD15 periph A Data bit 9 */
576 AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD16 periph A Data bit 10 */
577 AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD17 periph A Data bit 11 */
578 AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD18 periph A Data bit 12 */
579 AT91_PIOD 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD19 periph A Data bit 13 */
580 AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD20 periph A Data bit 14 */
581 AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD21 periph A Data bit 15 */
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800582 };
583 };
584
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800585 mmc0 {
586 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
587 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800588 <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA17 periph A */
589 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 periph A with pullup */
590 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA15 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800591 };
592
593 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
594 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800595 <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA18 periph A with pullup */
596 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA19 periph A with pullup */
597 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA20 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800598 };
599 };
600
601 mmc1 {
602 pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
603 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800604 <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA13 periph B */
605 AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA12 periph B with pullup */
606 AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA11 periph B with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800607 };
608
609 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
610 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800611 <AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA2 periph B with pullup */
612 AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA3 periph B with pullup */
613 AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA4 periph B with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800614 };
615 };
616
Bo Shen544ae6b2013-01-11 15:08:30 +0100617 ssc0 {
618 pinctrl_ssc0_tx: ssc0_tx-0 {
619 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800620 <AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA24 periph B */
621 AT91_PIOA 25 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA25 periph B */
622 AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA26 periph B */
Bo Shen544ae6b2013-01-11 15:08:30 +0100623 };
624
625 pinctrl_ssc0_rx: ssc0_rx-0 {
626 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800627 <AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA27 periph B */
628 AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA28 periph B */
629 AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA29 periph B */
Bo Shen544ae6b2013-01-11 15:08:30 +0100630 };
631 };
632
Wenyou Yanga68b7282013-04-03 14:03:52 +0800633 spi0 {
634 pinctrl_spi0: spi0-0 {
635 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800636 <AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A SPI0_MISO pin */
637 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A SPI0_MOSI pin */
638 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA13 periph A SPI0_SPCK pin */
Wenyou Yanga68b7282013-04-03 14:03:52 +0800639 };
640 };
641
642 spi1 {
643 pinctrl_spi1: spi1-0 {
644 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800645 <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA21 periph B SPI1_MISO pin */
646 AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA22 periph B SPI1_MOSI pin */
647 AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA23 periph B SPI1_SPCK pin */
Wenyou Yanga68b7282013-04-03 14:03:52 +0800648 };
649 };
650
Richard Genoude9a72ee2013-03-12 17:54:45 +0100651 i2c0 {
652 pinctrl_i2c0: i2c0-0 {
653 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800654 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA30 periph A I2C0 data */
655 AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA31 periph A I2C0 clock */
Richard Genoude9a72ee2013-03-12 17:54:45 +0100656 };
657 };
658
659 i2c1 {
660 pinctrl_i2c1: i2c1-0 {
661 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800662 <AT91_PIOC 0 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC0 periph C I2C1 data */
663 AT91_PIOC 1 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC1 periph C I2C1 clock */
Richard Genoude9a72ee2013-03-12 17:54:45 +0100664 };
665 };
666
667 i2c2 {
668 pinctrl_i2c2: i2c2-0 {
669 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800670 <AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB4 periph B I2C2 data */
671 AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB5 periph B I2C2 clock */
Richard Genoude9a72ee2013-03-12 17:54:45 +0100672 };
673 };
674
Richard Genoud463c9c72013-03-12 17:54:46 +0100675 i2c_gpio0 {
676 pinctrl_i2c_gpio0: i2c_gpio0-0 {
677 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800678 <AT91_PIOA 30 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PA30 gpio multidrive I2C0 data */
679 AT91_PIOA 31 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PA31 gpio multidrive I2C0 clock */
Richard Genoud463c9c72013-03-12 17:54:46 +0100680 };
681 };
682
683 i2c_gpio1 {
684 pinctrl_i2c_gpio1: i2c_gpio1-0 {
685 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800686 <AT91_PIOC 0 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PC0 gpio multidrive I2C1 data */
687 AT91_PIOC 1 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PC1 gpio multidrive I2C1 clock */
Richard Genoud463c9c72013-03-12 17:54:46 +0100688 };
689 };
690
691 i2c_gpio2 {
692 pinctrl_i2c_gpio2: i2c_gpio2-0 {
693 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800694 <AT91_PIOB 4 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PB4 gpio multidrive I2C2 data */
695 AT91_PIOB 5 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PB5 gpio multidrive I2C2 clock */
Richard Genoud463c9c72013-03-12 17:54:46 +0100696 };
697 };
698
Gaël PORTAYb76b7c22015-05-04 17:59:06 +0200699 pwm0 {
700 pinctrl_pwm0_pwm0_0: pwm0_pwm0-0 {
701 atmel,pins =
702 <AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>;
703 };
704 pinctrl_pwm0_pwm0_1: pwm0_pwm0-1 {
705 atmel,pins =
706 <AT91_PIOC 10 AT91_PERIPH_C AT91_PINCTRL_NONE>;
707 };
708 pinctrl_pwm0_pwm0_2: pwm0_pwm0-2 {
709 atmel,pins =
710 <AT91_PIOC 18 AT91_PERIPH_C AT91_PINCTRL_NONE>;
711 };
712
713 pinctrl_pwm0_pwm1_0: pwm0_pwm1-0 {
714 atmel,pins =
715 <AT91_PIOB 12 AT91_PERIPH_B AT91_PINCTRL_NONE>;
716 };
717 pinctrl_pwm0_pwm1_1: pwm0_pwm1-1 {
718 atmel,pins =
719 <AT91_PIOC 11 AT91_PERIPH_C AT91_PINCTRL_NONE>;
720 };
721 pinctrl_pwm0_pwm1_2: pwm0_pwm1-2 {
722 atmel,pins =
723 <AT91_PIOC 19 AT91_PERIPH_C AT91_PINCTRL_NONE>;
724 };
725
726 pinctrl_pwm0_pwm2_0: pwm0_pwm2-0 {
727 atmel,pins =
728 <AT91_PIOB 13 AT91_PERIPH_B AT91_PINCTRL_NONE>;
729 };
730 pinctrl_pwm0_pwm2_1: pwm0_pwm2-1 {
731 atmel,pins =
732 <AT91_PIOC 20 AT91_PERIPH_C AT91_PINCTRL_NONE>;
733 };
734
735 pinctrl_pwm0_pwm3_0: pwm0_pwm3-0 {
736 atmel,pins =
737 <AT91_PIOB 14 AT91_PERIPH_B AT91_PINCTRL_NONE>;
738 };
739 pinctrl_pwm0_pwm3_1: pwm0_pwm3-1 {
740 atmel,pins =
741 <AT91_PIOC 21 AT91_PERIPH_C AT91_PINCTRL_NONE>;
742 };
743 };
744
Boris BREZILLON028633c2013-05-24 10:05:56 +0000745 tcb0 {
746 pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
747 atmel,pins = <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_NONE>;
748 };
749
750 pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
751 atmel,pins = <AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_NONE>;
752 };
753
754 pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
755 atmel,pins = <AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_NONE>;
756 };
757
758 pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
759 atmel,pins = <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
760 };
761
762 pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
763 atmel,pins = <AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;
764 };
765
766 pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
767 atmel,pins = <AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
768 };
769
770 pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
771 atmel,pins = <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;
772 };
773
774 pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
775 atmel,pins = <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
776 };
777
778 pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
779 atmel,pins = <AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
780 };
781 };
782
783 tcb1 {
784 pinctrl_tcb1_tclk0: tcb1_tclk0-0 {
785 atmel,pins = <AT91_PIOC 4 AT91_PERIPH_C AT91_PINCTRL_NONE>;
786 };
787
788 pinctrl_tcb1_tclk1: tcb1_tclk1-0 {
789 atmel,pins = <AT91_PIOC 7 AT91_PERIPH_C AT91_PINCTRL_NONE>;
790 };
791
792 pinctrl_tcb1_tclk2: tcb1_tclk2-0 {
793 atmel,pins = <AT91_PIOC 14 AT91_PERIPH_C AT91_PINCTRL_NONE>;
794 };
795
796 pinctrl_tcb1_tioa0: tcb1_tioa0-0 {
797 atmel,pins = <AT91_PIOC 2 AT91_PERIPH_C AT91_PINCTRL_NONE>;
798 };
799
800 pinctrl_tcb1_tioa1: tcb1_tioa1-0 {
801 atmel,pins = <AT91_PIOC 5 AT91_PERIPH_C AT91_PINCTRL_NONE>;
802 };
803
804 pinctrl_tcb1_tioa2: tcb1_tioa2-0 {
805 atmel,pins = <AT91_PIOC 12 AT91_PERIPH_C AT91_PINCTRL_NONE>;
806 };
807
808 pinctrl_tcb1_tiob0: tcb1_tiob0-0 {
809 atmel,pins = <AT91_PIOC 3 AT91_PERIPH_C AT91_PINCTRL_NONE>;
810 };
811
812 pinctrl_tcb1_tiob1: tcb1_tiob1-0 {
813 atmel,pins = <AT91_PIOC 6 AT91_PERIPH_C AT91_PINCTRL_NONE>;
814 };
815
816 pinctrl_tcb1_tiob2: tcb1_tiob2-0 {
817 atmel,pins = <AT91_PIOC 13 AT91_PERIPH_C AT91_PINCTRL_NONE>;
818 };
819 };
820
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800821 pioA: gpio@fffff400 {
822 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
823 reg = <0xfffff400 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800824 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800825 #gpio-cells = <2>;
826 gpio-controller;
827 interrupt-controller;
828 #interrupt-cells = <2>;
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +0200829 clocks = <&pioAB_clk>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800830 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100831
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800832 pioB: gpio@fffff600 {
833 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
834 reg = <0xfffff600 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800835 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800836 #gpio-cells = <2>;
837 gpio-controller;
Jean-Christophe PLAGNIOL-VILLARDfc33ff42012-07-14 15:26:08 +0800838 #gpio-lines = <19>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800839 interrupt-controller;
840 #interrupt-cells = <2>;
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +0200841 clocks = <&pioAB_clk>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800842 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100843
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800844 pioC: gpio@fffff800 {
845 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
846 reg = <0xfffff800 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800847 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800848 #gpio-cells = <2>;
849 gpio-controller;
850 interrupt-controller;
851 #interrupt-cells = <2>;
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +0200852 clocks = <&pioCD_clk>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800853 };
854
855 pioD: gpio@fffffa00 {
856 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
857 reg = <0xfffffa00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800858 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800859 #gpio-cells = <2>;
860 gpio-controller;
Jean-Christophe PLAGNIOL-VILLARDfc33ff42012-07-14 15:26:08 +0800861 #gpio-lines = <22>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800862 interrupt-controller;
863 #interrupt-cells = <2>;
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +0200864 clocks = <&pioCD_clk>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800865 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100866 };
867
Bo Shen544ae6b2013-01-11 15:08:30 +0100868 ssc0: ssc@f0010000 {
869 compatible = "atmel,at91sam9g45-ssc";
870 reg = <0xf0010000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800871 interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>;
Richard Genoud7da49ad2013-08-12 14:30:59 +0200872 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(13)>,
873 <&dma0 1 AT91_DMA_CFG_PER_ID(14)>;
874 dma-names = "tx", "rx";
Bo Shen544ae6b2013-01-11 15:08:30 +0100875 pinctrl-names = "default";
876 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +0200877 clocks = <&ssc0_clk>;
878 clock-names = "pclk";
Bo Shen544ae6b2013-01-11 15:08:30 +0100879 status = "disabled";
880 };
881
Ludovic Desroches98731372012-11-19 12:23:36 +0100882 mmc0: mmc@f0008000 {
883 compatible = "atmel,hsmci";
884 reg = <0xf0008000 0x600>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800885 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200886 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(0)>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200887 dma-names = "rxtx";
Nicolas Ferree7cca252013-09-19 15:22:57 +0200888 pinctrl-names = "default";
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +0200889 clocks = <&mci0_clk>;
890 clock-names = "mci_clk";
Ludovic Desroches98731372012-11-19 12:23:36 +0100891 #address-cells = <1>;
892 #size-cells = <0>;
893 status = "disabled";
894 };
895
896 mmc1: mmc@f000c000 {
897 compatible = "atmel,hsmci";
898 reg = <0xf000c000 0x600>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800899 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200900 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(0)>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200901 dma-names = "rxtx";
Nicolas Ferree7cca252013-09-19 15:22:57 +0200902 pinctrl-names = "default";
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +0200903 clocks = <&mci1_clk>;
904 clock-names = "mci_clk";
Ludovic Desroches98731372012-11-19 12:23:36 +0100905 #address-cells = <1>;
906 #size-cells = <0>;
907 status = "disabled";
908 };
909
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100910 dbgu: serial@fffff200 {
Alexandre Belloni8c07f662015-03-12 15:54:26 +0100911 compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100912 reg = <0xfffff200 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800913 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800914 pinctrl-names = "default";
915 pinctrl-0 = <&pinctrl_dbgu>;
Jiri Prchaldd4f25a3e2014-10-13 11:02:16 +0200916 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(8)>,
917 <&dma1 1 (AT91_DMA_CFG_PER_ID(9) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
918 dma-names = "tx", "rx";
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +0200919 clocks = <&mck>;
920 clock-names = "usart";
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100921 status = "disabled";
922 };
923
924 usart0: serial@f801c000 {
925 compatible = "atmel,at91sam9260-usart";
926 reg = <0xf801c000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800927 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 5>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800928 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800929 pinctrl-0 = <&pinctrl_usart0>;
Jiri Prchaldd4f25a3e2014-10-13 11:02:16 +0200930 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(3)>,
931 <&dma0 1 (AT91_DMA_CFG_PER_ID(4) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
932 dma-names = "tx", "rx";
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +0200933 clocks = <&usart0_clk>;
934 clock-names = "usart";
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100935 status = "disabled";
936 };
937
938 usart1: serial@f8020000 {
939 compatible = "atmel,at91sam9260-usart";
940 reg = <0xf8020000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800941 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800942 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800943 pinctrl-0 = <&pinctrl_usart1>;
Jiri Prchaldd4f25a3e2014-10-13 11:02:16 +0200944 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(5)>,
945 <&dma0 1 (AT91_DMA_CFG_PER_ID(6) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
946 dma-names = "tx", "rx";
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +0200947 clocks = <&usart1_clk>;
948 clock-names = "usart";
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100949 status = "disabled";
950 };
951
952 usart2: serial@f8024000 {
953 compatible = "atmel,at91sam9260-usart";
954 reg = <0xf8024000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800955 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800956 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800957 pinctrl-0 = <&pinctrl_usart2>;
Jiri Prchaldd4f25a3e2014-10-13 11:02:16 +0200958 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(12)>,
959 <&dma1 1 (AT91_DMA_CFG_PER_ID(13) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
960 dma-names = "tx", "rx";
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +0200961 clocks = <&usart2_clk>;
962 clock-names = "usart";
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100963 status = "disabled";
964 };
965
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200966 i2c0: i2c@f8010000 {
967 compatible = "atmel,at91sam9x5-i2c";
968 reg = <0xf8010000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800969 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200970 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(7)>,
971 <&dma0 1 AT91_DMA_CFG_PER_ID(8)>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200972 dma-names = "tx", "rx";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200973 #address-cells = <1>;
974 #size-cells = <0>;
Richard Genoude9a72ee2013-03-12 17:54:45 +0100975 pinctrl-names = "default";
976 pinctrl-0 = <&pinctrl_i2c0>;
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +0200977 clocks = <&twi0_clk>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200978 status = "disabled";
979 };
980
981 i2c1: i2c@f8014000 {
982 compatible = "atmel,at91sam9x5-i2c";
983 reg = <0xf8014000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800984 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200985 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(5)>,
986 <&dma1 1 AT91_DMA_CFG_PER_ID(6)>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200987 dma-names = "tx", "rx";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200988 #address-cells = <1>;
989 #size-cells = <0>;
Richard Genoude9a72ee2013-03-12 17:54:45 +0100990 pinctrl-names = "default";
991 pinctrl-0 = <&pinctrl_i2c1>;
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +0200992 clocks = <&twi1_clk>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200993 status = "disabled";
994 };
995
996 i2c2: i2c@f8018000 {
997 compatible = "atmel,at91sam9x5-i2c";
998 reg = <0xf8018000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800999 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +02001000 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(9)>,
1001 <&dma0 1 AT91_DMA_CFG_PER_ID(10)>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +02001002 dma-names = "tx", "rx";
Ludovic Desroches05dcd362012-09-12 08:42:16 +02001003 #address-cells = <1>;
1004 #size-cells = <0>;
Richard Genoude9a72ee2013-03-12 17:54:45 +01001005 pinctrl-names = "default";
1006 pinctrl-0 = <&pinctrl_i2c2>;
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +02001007 clocks = <&twi2_clk>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +02001008 status = "disabled";
1009 };
1010
Nicolas Ferre06723db2013-04-18 10:52:45 +02001011 uart0: serial@f8040000 {
1012 compatible = "atmel,at91sam9260-usart";
1013 reg = <0xf8040000 0x200>;
1014 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
1015 pinctrl-names = "default";
1016 pinctrl-0 = <&pinctrl_uart0>;
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +02001017 clocks = <&uart0_clk>;
1018 clock-names = "usart";
Nicolas Ferre06723db2013-04-18 10:52:45 +02001019 status = "disabled";
1020 };
1021
1022 uart1: serial@f8044000 {
1023 compatible = "atmel,at91sam9260-usart";
1024 reg = <0xf8044000 0x200>;
1025 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
1026 pinctrl-names = "default";
1027 pinctrl-0 = <&pinctrl_uart1>;
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +02001028 clocks = <&uart1_clk>;
1029 clock-names = "usart";
Nicolas Ferre06723db2013-04-18 10:52:45 +02001030 status = "disabled";
1031 };
1032
Maxime Ripardd029f372012-05-11 15:35:39 +02001033 adc0: adc@f804c000 {
Alexandre Bellonice1e8d32014-03-10 20:17:23 +01001034 #address-cells = <1>;
1035 #size-cells = <0>;
Alexandre Belloni74d90de2014-07-22 16:07:47 +02001036 compatible = "atmel,at91sam9x5-adc";
Maxime Ripardd029f372012-05-11 15:35:39 +02001037 reg = <0xf804c000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001038 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 0>;
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +02001039 clocks = <&adc_clk>,
1040 <&adc_op_clk>;
1041 clock-names = "adc_clk", "adc_op_clk";
Alexandre Bellonice1e8d32014-03-10 20:17:23 +01001042 atmel,adc-use-external-triggers;
Maxime Ripardd029f372012-05-11 15:35:39 +02001043 atmel,adc-channels-used = <0xffff>;
1044 atmel,adc-vref = <3300>;
Maxime Ripardd029f372012-05-11 15:35:39 +02001045 atmel,adc-startup-time = <40>;
Josh Wu7c08d8c2013-07-12 18:17:00 +08001046 atmel,adc-sample-hold-time = <11>;
Ludovic Desroches4b50da62013-03-29 10:13:19 +01001047 atmel,adc-res = <8 10>;
1048 atmel,adc-res-names = "lowres", "highres";
1049 atmel,adc-use-res = "highres";
Maxime Ripardd029f372012-05-11 15:35:39 +02001050
Alexandre Bellonic94afa12016-07-12 22:16:38 +02001051 trigger0 {
Maxime Ripardd029f372012-05-11 15:35:39 +02001052 trigger-name = "external-rising";
1053 trigger-value = <0x1>;
1054 trigger-external;
1055 };
1056
Alexandre Bellonic94afa12016-07-12 22:16:38 +02001057 trigger1 {
Maxime Ripardd029f372012-05-11 15:35:39 +02001058 trigger-name = "external-falling";
1059 trigger-value = <0x2>;
1060 trigger-external;
1061 };
1062
Alexandre Bellonic94afa12016-07-12 22:16:38 +02001063 trigger2 {
Maxime Ripardd029f372012-05-11 15:35:39 +02001064 trigger-name = "external-any";
1065 trigger-value = <0x3>;
1066 trigger-external;
1067 };
1068
Alexandre Bellonic94afa12016-07-12 22:16:38 +02001069 trigger3 {
Maxime Ripardd029f372012-05-11 15:35:39 +02001070 trigger-name = "continuous";
1071 trigger-value = <0x6>;
1072 };
1073 };
Richard Genoudd50f88a2013-04-03 14:02:18 +08001074
1075 spi0: spi@f0000000 {
1076 #address-cells = <1>;
1077 #size-cells = <0>;
1078 compatible = "atmel,at91rm9200-spi";
1079 reg = <0xf0000000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001080 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
Richard Genoud6b2a9992013-05-31 17:02:00 +02001081 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(1)>,
1082 <&dma0 1 AT91_DMA_CFG_PER_ID(2)>;
1083 dma-names = "tx", "rx";
Wenyou Yanga68b7282013-04-03 14:03:52 +08001084 pinctrl-names = "default";
1085 pinctrl-0 = <&pinctrl_spi0>;
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +02001086 clocks = <&spi0_clk>;
1087 clock-names = "spi_clk";
Richard Genoudd50f88a2013-04-03 14:02:18 +08001088 status = "disabled";
1089 };
1090
1091 spi1: spi@f0004000 {
1092 #address-cells = <1>;
1093 #size-cells = <0>;
1094 compatible = "atmel,at91rm9200-spi";
1095 reg = <0xf0004000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001096 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>;
Richard Genoud6b2a9992013-05-31 17:02:00 +02001097 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(1)>,
1098 <&dma1 1 AT91_DMA_CFG_PER_ID(2)>;
1099 dma-names = "tx", "rx";
Wenyou Yanga68b7282013-04-03 14:03:52 +08001100 pinctrl-names = "default";
1101 pinctrl-0 = <&pinctrl_spi1>;
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +02001102 clocks = <&spi1_clk>;
1103 clock-names = "spi_clk";
Richard Genoudd50f88a2013-04-03 14:02:18 +08001104 status = "disabled";
1105 };
Linus Torvaldsdfab34a2013-05-02 09:28:03 -07001106
Jean-Christophe PLAGNIOL-VILLARDaecca652013-05-03 20:49:51 +08001107 usb2: gadget@f803c000 {
1108 #address-cells = <1>;
1109 #size-cells = <0>;
Boris Brezillon65401652015-06-17 10:59:05 +02001110 compatible = "atmel,at91sam9g45-udc";
Jean-Christophe PLAGNIOL-VILLARDaecca652013-05-03 20:49:51 +08001111 reg = <0x00500000 0x80000
1112 0xf803c000 0x400>;
1113 interrupts = <23 IRQ_TYPE_LEVEL_HIGH 0>;
Nicolas Ferre3440ef12015-03-09 16:51:13 +01001114 clocks = <&utmi>, <&udphs_clk>;
Bo Shen363d4dd2014-07-11 18:34:56 +02001115 clock-names = "hclk", "pclk";
Jean-Christophe PLAGNIOL-VILLARDaecca652013-05-03 20:49:51 +08001116 status = "disabled";
1117
Alexandre Bellonic32b5bc2016-07-12 22:45:59 +02001118 ep@0 {
Jean-Christophe PLAGNIOL-VILLARDaecca652013-05-03 20:49:51 +08001119 reg = <0>;
1120 atmel,fifo-size = <64>;
1121 atmel,nb-banks = <1>;
1122 };
1123
Alexandre Bellonic32b5bc2016-07-12 22:45:59 +02001124 ep@1 {
Jean-Christophe PLAGNIOL-VILLARDaecca652013-05-03 20:49:51 +08001125 reg = <1>;
1126 atmel,fifo-size = <1024>;
1127 atmel,nb-banks = <2>;
1128 atmel,can-dma;
1129 atmel,can-isoc;
1130 };
1131
Alexandre Bellonic32b5bc2016-07-12 22:45:59 +02001132 ep@2 {
Jean-Christophe PLAGNIOL-VILLARDaecca652013-05-03 20:49:51 +08001133 reg = <2>;
1134 atmel,fifo-size = <1024>;
1135 atmel,nb-banks = <2>;
1136 atmel,can-dma;
1137 atmel,can-isoc;
1138 };
1139
Alexandre Bellonic32b5bc2016-07-12 22:45:59 +02001140 ep@3 {
Jean-Christophe PLAGNIOL-VILLARDaecca652013-05-03 20:49:51 +08001141 reg = <3>;
1142 atmel,fifo-size = <1024>;
1143 atmel,nb-banks = <3>;
1144 atmel,can-dma;
1145 };
1146
Alexandre Bellonic32b5bc2016-07-12 22:45:59 +02001147 ep@4 {
Jean-Christophe PLAGNIOL-VILLARDaecca652013-05-03 20:49:51 +08001148 reg = <4>;
1149 atmel,fifo-size = <1024>;
1150 atmel,nb-banks = <3>;
1151 atmel,can-dma;
1152 };
1153
Alexandre Bellonic32b5bc2016-07-12 22:45:59 +02001154 ep@5 {
Jean-Christophe PLAGNIOL-VILLARDaecca652013-05-03 20:49:51 +08001155 reg = <5>;
1156 atmel,fifo-size = <1024>;
1157 atmel,nb-banks = <3>;
1158 atmel,can-dma;
1159 atmel,can-isoc;
1160 };
1161
Alexandre Bellonic32b5bc2016-07-12 22:45:59 +02001162 ep@6 {
Jean-Christophe PLAGNIOL-VILLARDaecca652013-05-03 20:49:51 +08001163 reg = <6>;
1164 atmel,fifo-size = <1024>;
1165 atmel,nb-banks = <3>;
1166 atmel,can-dma;
1167 atmel,can-isoc;
1168 };
1169 };
1170
Wenyou Yang136d3552013-05-31 11:10:02 +08001171 watchdog@fffffe40 {
1172 compatible = "atmel,at91sam9260-wdt";
1173 reg = <0xfffffe40 0x10>;
Boris BREZILLONfe46aa62013-10-04 09:24:14 +02001174 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Alexandre Belloni39c64912015-07-29 14:10:06 +02001175 clocks = <&clk32k>;
Boris BREZILLONfe46aa62013-10-04 09:24:14 +02001176 atmel,watchdog-type = "hardware";
1177 atmel,reset-type = "all";
1178 atmel,dbg-halt;
Wenyou Yang136d3552013-05-31 11:10:02 +08001179 status = "disabled";
1180 };
1181
Nicolas Ferreb909c6c2013-03-22 10:16:56 +01001182 rtc@fffffeb0 {
Nicolas Ferre23fb05c2013-04-18 10:13:21 +02001183 compatible = "atmel,at91sam9x5-rtc";
Nicolas Ferreb909c6c2013-03-22 10:16:56 +01001184 reg = <0xfffffeb0 0x40>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001185 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Alexandre Belloni39c64912015-07-29 14:10:06 +02001186 clocks = <&clk32k>;
Nicolas Ferreb909c6c2013-03-22 10:16:56 +01001187 status = "disabled";
1188 };
Bo Shenf3ab0522013-12-19 11:59:17 +08001189
1190 pwm0: pwm@f8034000 {
1191 compatible = "atmel,at91sam9rl-pwm";
1192 reg = <0xf8034000 0x300>;
1193 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 4>;
Boris BREZILLONe0d69e12014-07-17 21:03:58 +02001194 clocks = <&pwm_clk>;
Bo Shenf3ab0522013-12-19 11:59:17 +08001195 #pwm-cells = <3>;
1196 status = "disabled";
1197 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +01001198 };
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +08001199
1200 nand0: nand@40000000 {
1201 compatible = "atmel,at91rm9200-nand";
1202 #address-cells = <1>;
1203 #size-cells = <1>;
1204 reg = <0x40000000 0x10000000
Josh Wu5314bc22013-01-23 20:47:09 +08001205 0xffffe000 0x600 /* PMECC Registers */
1206 0xffffe600 0x200 /* PMECC Error Location Registers */
1207 0x00108000 0x18000 /* PMECC looup table in ROM code */
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +08001208 >;
Josh Wu5314bc22013-01-23 20:47:09 +08001209 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +08001210 atmel,nand-addr-offset = <21>;
1211 atmel,nand-cmd-offset = <22>;
Nicolas Ferree8b2da62013-07-01 17:05:18 +02001212 atmel,nand-has-dma;
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +08001213 pinctrl-names = "default";
1214 pinctrl-0 = <&pinctrl_nand>;
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +08001215 gpios = <&pioD 5 GPIO_ACTIVE_HIGH
1216 &pioD 4 GPIO_ACTIVE_HIGH
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +08001217 0
1218 >;
1219 status = "disabled";
1220 };
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +08001221
1222 usb0: ohci@00600000 {
1223 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
1224 reg = <0x00600000 0x100000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001225 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
Boris Brezillonf8073702015-03-17 17:15:50 +01001226 clocks = <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
1227 clock-names = "ohci_clk", "hclk", "uhpck";
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +08001228 status = "disabled";
1229 };
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +08001230
1231 usb1: ehci@00700000 {
1232 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
1233 reg = <0x00700000 0x100000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001234 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
Boris Brezillon855868a2015-03-17 17:15:49 +01001235 clocks = <&utmi>, <&uhphs_clk>;
1236 clock-names = "usb_clk", "ehci_clk";
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +08001237 status = "disabled";
1238 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +01001239 };
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +08001240
Alexandre Bellonie152e3f2016-07-14 16:58:11 +02001241 i2c-gpio-0 {
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +08001242 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +08001243 gpios = <&pioA 30 GPIO_ACTIVE_HIGH /* sda */
1244 &pioA 31 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +08001245 >;
1246 i2c-gpio,sda-open-drain;
1247 i2c-gpio,scl-open-drain;
1248 i2c-gpio,delay-us = <2>; /* ~100 kHz */
1249 #address-cells = <1>;
1250 #size-cells = <0>;
Richard Genoud463c9c72013-03-12 17:54:46 +01001251 pinctrl-names = "default";
1252 pinctrl-0 = <&pinctrl_i2c_gpio0>;
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +08001253 status = "disabled";
1254 };
1255
Alexandre Bellonie152e3f2016-07-14 16:58:11 +02001256 i2c-gpio-1 {
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +08001257 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +08001258 gpios = <&pioC 0 GPIO_ACTIVE_HIGH /* sda */
1259 &pioC 1 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +08001260 >;
1261 i2c-gpio,sda-open-drain;
1262 i2c-gpio,scl-open-drain;
1263 i2c-gpio,delay-us = <2>; /* ~100 kHz */
1264 #address-cells = <1>;
1265 #size-cells = <0>;
Richard Genoud463c9c72013-03-12 17:54:46 +01001266 pinctrl-names = "default";
1267 pinctrl-0 = <&pinctrl_i2c_gpio1>;
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +08001268 status = "disabled";
1269 };
1270
Alexandre Bellonie152e3f2016-07-14 16:58:11 +02001271 i2c-gpio-2 {
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +08001272 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +08001273 gpios = <&pioB 4 GPIO_ACTIVE_HIGH /* sda */
1274 &pioB 5 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +08001275 >;
1276 i2c-gpio,sda-open-drain;
1277 i2c-gpio,scl-open-drain;
1278 i2c-gpio,delay-us = <2>; /* ~100 kHz */
1279 #address-cells = <1>;
1280 #size-cells = <0>;
Richard Genoud463c9c72013-03-12 17:54:46 +01001281 pinctrl-names = "default";
1282 pinctrl-0 = <&pinctrl_i2c_gpio2>;
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +08001283 status = "disabled";
1284 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +01001285};