]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/at91sam9g45.dtsi
Merge tag 'renesas-fixes4-for-v4.13' of https://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / arch / arm / boot / dts / at91sam9g45.dtsi
1 /*
2  * at91sam9g45.dtsi - Device Tree Include file for AT91SAM9G45 family SoC
3  *                    applies to AT91SAM9G45, AT91SAM9M10,
4  *                    AT91SAM9G46, AT91SAM9M11 SoC
5  *
6  *  Copyright (C) 2011 Atmel,
7  *                2011 Nicolas Ferre <nicolas.ferre@atmel.com>
8  *
9  * Licensed under GPLv2 or later.
10  */
11
12 #include "skeleton.dtsi"
13 #include <dt-bindings/dma/at91.h>
14 #include <dt-bindings/pinctrl/at91.h>
15 #include <dt-bindings/interrupt-controller/irq.h>
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/clock/at91.h>
18
19 / {
20         model = "Atmel AT91SAM9G45 family SoC";
21         compatible = "atmel,at91sam9g45";
22         interrupt-parent = <&aic>;
23
24         aliases {
25                 serial0 = &dbgu;
26                 serial1 = &usart0;
27                 serial2 = &usart1;
28                 serial3 = &usart2;
29                 serial4 = &usart3;
30                 gpio0 = &pioA;
31                 gpio1 = &pioB;
32                 gpio2 = &pioC;
33                 gpio3 = &pioD;
34                 gpio4 = &pioE;
35                 tcb0 = &tcb0;
36                 tcb1 = &tcb1;
37                 i2c0 = &i2c0;
38                 i2c1 = &i2c1;
39                 ssc0 = &ssc0;
40                 ssc1 = &ssc1;
41                 pwm0 = &pwm0;
42         };
43         cpus {
44                 #address-cells = <0>;
45                 #size-cells = <0>;
46
47                 cpu {
48                         compatible = "arm,arm926ej-s";
49                         device_type = "cpu";
50                 };
51         };
52
53         memory {
54                 reg = <0x70000000 0x10000000>;
55         };
56
57         clocks {
58                 slow_xtal: slow_xtal {
59                         compatible = "fixed-clock";
60                         #clock-cells = <0>;
61                         clock-frequency = <0>;
62                 };
63
64                 main_xtal: main_xtal {
65                         compatible = "fixed-clock";
66                         #clock-cells = <0>;
67                         clock-frequency = <0>;
68                 };
69
70                 adc_op_clk: adc_op_clk{
71                         compatible = "fixed-clock";
72                         #clock-cells = <0>;
73                         clock-frequency = <300000>;
74                 };
75         };
76
77         sram: sram@00300000 {
78                 compatible = "mmio-sram";
79                 reg = <0x00300000 0x10000>;
80         };
81
82         ahb {
83                 compatible = "simple-bus";
84                 #address-cells = <1>;
85                 #size-cells = <1>;
86                 ranges;
87
88                 apb {
89                         compatible = "simple-bus";
90                         #address-cells = <1>;
91                         #size-cells = <1>;
92                         ranges;
93
94                         aic: interrupt-controller@fffff000 {
95                                 #interrupt-cells = <3>;
96                                 compatible = "atmel,at91rm9200-aic";
97                                 interrupt-controller;
98                                 reg = <0xfffff000 0x200>;
99                                 atmel,external-irqs = <31>;
100                         };
101
102                         ramc0: ramc@ffffe400 {
103                                 compatible = "atmel,at91sam9g45-ddramc";
104                                 reg = <0xffffe400 0x200>;
105                                 clocks = <&ddrck>;
106                                 clock-names = "ddrck";
107                         };
108
109                         ramc1: ramc@ffffe600 {
110                                 compatible = "atmel,at91sam9g45-ddramc";
111                                 reg = <0xffffe600 0x200>;
112                                 clocks = <&ddrck>;
113                                 clock-names = "ddrck";
114                         };
115
116                         smc: smc@ffffe800 {
117                                 compatible = "atmel,at91sam9260-smc", "syscon";
118                                 reg = <0xffffe800 0x200>;
119                         };
120
121                         matrix: matrix@ffffea00 {
122                                 compatible = "atmel,at91sam9g45-matrix", "syscon";
123                                 reg = <0xffffea00 0x200>;
124                         };
125
126                         pmc: pmc@fffffc00 {
127                                 compatible = "atmel,at91sam9g45-pmc", "syscon";
128                                 reg = <0xfffffc00 0x100>;
129                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
130                                 interrupt-controller;
131                                 #address-cells = <1>;
132                                 #size-cells = <0>;
133                                 #interrupt-cells = <1>;
134
135                                 main_osc: main_osc {
136                                         compatible = "atmel,at91rm9200-clk-main-osc";
137                                         #clock-cells = <0>;
138                                         interrupts-extended = <&pmc AT91_PMC_MOSCS>;
139                                         clocks = <&main_xtal>;
140                                 };
141
142                                 main: mainck {
143                                         compatible = "atmel,at91rm9200-clk-main";
144                                         #clock-cells = <0>;
145                                         clocks = <&main_osc>;
146                                 };
147
148                                 plla: pllack {
149                                         compatible = "atmel,at91rm9200-clk-pll";
150                                         #clock-cells = <0>;
151                                         interrupts-extended = <&pmc AT91_PMC_LOCKA>;
152                                         clocks = <&main>;
153                                         reg = <0>;
154                                         atmel,clk-input-range = <2000000 32000000>;
155                                         #atmel,pll-clk-output-range-cells = <4>;
156                                         atmel,pll-clk-output-ranges = <745000000 800000000 0 0
157                                                                        695000000 750000000 1 0
158                                                                        645000000 700000000 2 0
159                                                                        595000000 650000000 3 0
160                                                                        545000000 600000000 0 1
161                                                                        495000000 555000000 1 1
162                                                                        445000000 500000000 2 1
163                                                                        400000000 450000000 3 1>;
164                                 };
165
166                                 plladiv: plladivck {
167                                         compatible = "atmel,at91sam9x5-clk-plldiv";
168                                         #clock-cells = <0>;
169                                         clocks = <&plla>;
170                                 };
171
172                                 utmi: utmick {
173                                         compatible = "atmel,at91sam9x5-clk-utmi";
174                                         #clock-cells = <0>;
175                                         interrupts-extended = <&pmc AT91_PMC_LOCKU>;
176                                         clocks = <&main>;
177                                 };
178
179                                 mck: masterck {
180                                         compatible = "atmel,at91rm9200-clk-master";
181                                         #clock-cells = <0>;
182                                         interrupts-extended = <&pmc AT91_PMC_MCKRDY>;
183                                         clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>;
184                                         atmel,clk-output-range = <0 133333333>;
185                                         atmel,clk-divisors = <1 2 4 3>;
186                                 };
187
188                                 usb: usbck {
189                                         compatible = "atmel,at91sam9x5-clk-usb";
190                                         #clock-cells = <0>;
191                                         clocks = <&plladiv>, <&utmi>;
192                                 };
193
194                                 prog: progck {
195                                         compatible = "atmel,at91sam9g45-clk-programmable";
196                                         #address-cells = <1>;
197                                         #size-cells = <0>;
198                                         interrupt-parent = <&pmc>;
199                                         clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>;
200
201                                         prog0: prog0 {
202                                                 #clock-cells = <0>;
203                                                 reg = <0>;
204                                                 interrupts = <AT91_PMC_PCKRDY(0)>;
205                                         };
206
207                                         prog1: prog1 {
208                                                 #clock-cells = <0>;
209                                                 reg = <1>;
210                                                 interrupts = <AT91_PMC_PCKRDY(1)>;
211                                         };
212                                 };
213
214                                 systemck {
215                                         compatible = "atmel,at91rm9200-clk-system";
216                                         #address-cells = <1>;
217                                         #size-cells = <0>;
218
219                                         ddrck: ddrck {
220                                                 #clock-cells = <0>;
221                                                 reg = <2>;
222                                                 clocks = <&mck>;
223                                         };
224
225                                         uhpck: uhpck {
226                                                 #clock-cells = <0>;
227                                                 reg = <6>;
228                                                 clocks = <&usb>;
229                                         };
230
231                                         pck0: pck0 {
232                                                 #clock-cells = <0>;
233                                                 reg = <8>;
234                                                 clocks = <&prog0>;
235                                         };
236
237                                         pck1: pck1 {
238                                                 #clock-cells = <0>;
239                                                 reg = <9>;
240                                                 clocks = <&prog1>;
241                                         };
242                                 };
243
244                                 periphck {
245                                         compatible = "atmel,at91rm9200-clk-peripheral";
246                                         #address-cells = <1>;
247                                         #size-cells = <0>;
248                                         clocks = <&mck>;
249
250                                         pioA_clk: pioA_clk {
251                                                 #clock-cells = <0>;
252                                                 reg = <2>;
253                                         };
254
255                                         pioB_clk: pioB_clk {
256                                                 #clock-cells = <0>;
257                                                 reg = <3>;
258                                         };
259
260                                         pioC_clk: pioC_clk {
261                                                 #clock-cells = <0>;
262                                                 reg = <4>;
263                                         };
264
265                                         pioDE_clk: pioDE_clk {
266                                                 #clock-cells = <0>;
267                                                 reg = <5>;
268                                         };
269
270                                         trng_clk: trng_clk {
271                                                 #clock-cells = <0>;
272                                                 reg = <6>;
273                                         };
274
275                                         usart0_clk: usart0_clk {
276                                                 #clock-cells = <0>;
277                                                 reg = <7>;
278                                         };
279
280                                         usart1_clk: usart1_clk {
281                                                 #clock-cells = <0>;
282                                                 reg = <8>;
283                                         };
284
285                                         usart2_clk: usart2_clk {
286                                                 #clock-cells = <0>;
287                                                 reg = <9>;
288                                         };
289
290                                         usart3_clk: usart3_clk {
291                                                 #clock-cells = <0>;
292                                                 reg = <10>;
293                                         };
294
295                                         mci0_clk: mci0_clk {
296                                                 #clock-cells = <0>;
297                                                 reg = <11>;
298                                         };
299
300                                         twi0_clk: twi0_clk {
301                                                 #clock-cells = <0>;
302                                                 reg = <12>;
303                                         };
304
305                                         twi1_clk: twi1_clk {
306                                                 #clock-cells = <0>;
307                                                 reg = <13>;
308                                         };
309
310                                         spi0_clk: spi0_clk {
311                                                 #clock-cells = <0>;
312                                                 reg = <14>;
313                                         };
314
315                                         spi1_clk: spi1_clk {
316                                                 #clock-cells = <0>;
317                                                 reg = <15>;
318                                         };
319
320                                         ssc0_clk: ssc0_clk {
321                                                 #clock-cells = <0>;
322                                                 reg = <16>;
323                                         };
324
325                                         ssc1_clk: ssc1_clk {
326                                                 #clock-cells = <0>;
327                                                 reg = <17>;
328                                         };
329
330                                         tcb0_clk: tcb0_clk {
331                                                 #clock-cells = <0>;
332                                                 reg = <18>;
333                                         };
334
335                                         pwm_clk: pwm_clk {
336                                                 #clock-cells = <0>;
337                                                 reg = <19>;
338                                         };
339
340                                         adc_clk: adc_clk {
341                                                 #clock-cells = <0>;
342                                                 reg = <20>;
343                                         };
344
345                                         dma0_clk: dma0_clk {
346                                                 #clock-cells = <0>;
347                                                 reg = <21>;
348                                         };
349
350                                         uhphs_clk: uhphs_clk {
351                                                 #clock-cells = <0>;
352                                                 reg = <22>;
353                                         };
354
355                                         lcd_clk: lcd_clk {
356                                                 #clock-cells = <0>;
357                                                 reg = <23>;
358                                         };
359
360                                         ac97_clk: ac97_clk {
361                                                 #clock-cells = <0>;
362                                                 reg = <24>;
363                                         };
364
365                                         macb0_clk: macb0_clk {
366                                                 #clock-cells = <0>;
367                                                 reg = <25>;
368                                         };
369
370                                         isi_clk: isi_clk {
371                                                 #clock-cells = <0>;
372                                                 reg = <26>;
373                                         };
374
375                                         udphs_clk: udphs_clk {
376                                                 #clock-cells = <0>;
377                                                 reg = <27>;
378                                         };
379
380                                         aestdessha_clk: aestdessha_clk {
381                                                 #clock-cells = <0>;
382                                                 reg = <28>;
383                                         };
384
385                                         mci1_clk: mci1_clk {
386                                                 #clock-cells = <0>;
387                                                 reg = <29>;
388                                         };
389
390                                         vdec_clk: vdec_clk {
391                                                 #clock-cells = <0>;
392                                                 reg = <30>;
393                                         };
394                                 };
395                         };
396
397                         rstc@fffffd00 {
398                                 compatible = "atmel,at91sam9g45-rstc";
399                                 reg = <0xfffffd00 0x10>;
400                                 clocks = <&clk32k>;
401                         };
402
403                         pit: timer@fffffd30 {
404                                 compatible = "atmel,at91sam9260-pit";
405                                 reg = <0xfffffd30 0xf>;
406                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
407                                 clocks = <&mck>;
408                         };
409
410
411                         shdwc@fffffd10 {
412                                 compatible = "atmel,at91sam9rl-shdwc";
413                                 reg = <0xfffffd10 0x10>;
414                                 clocks = <&clk32k>;
415                         };
416
417                         tcb0: timer@fff7c000 {
418                                 compatible = "atmel,at91rm9200-tcb";
419                                 reg = <0xfff7c000 0x100>;
420                                 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 0>;
421                                 clocks = <&tcb0_clk>, <&tcb0_clk>, <&tcb0_clk>, <&clk32k>;
422                                 clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk";
423                         };
424
425                         tcb1: timer@fffd4000 {
426                                 compatible = "atmel,at91rm9200-tcb";
427                                 reg = <0xfffd4000 0x100>;
428                                 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 0>;
429                                 clocks = <&tcb0_clk>, <&tcb0_clk>, <&tcb0_clk>, <&clk32k>;
430                                 clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk";
431                         };
432
433                         dma: dma-controller@ffffec00 {
434                                 compatible = "atmel,at91sam9g45-dma";
435                                 reg = <0xffffec00 0x200>;
436                                 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
437                                 #dma-cells = <2>;
438                                 clocks = <&dma0_clk>;
439                                 clock-names = "dma_clk";
440                         };
441
442                         pinctrl@fffff200 {
443                                 #address-cells = <1>;
444                                 #size-cells = <1>;
445                                 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
446                                 ranges = <0xfffff200 0xfffff200 0xa00>;
447
448                                 atmel,mux-mask = <
449                                       /*    A         B     */
450                                        0xffffffff 0xffc003ff  /* pioA */
451                                        0xffffffff 0x800f8f00  /* pioB */
452                                        0xffffffff 0x00000e00  /* pioC */
453                                        0xffffffff 0xff0c1381  /* pioD */
454                                        0xffffffff 0x81ffff81  /* pioE */
455                                       >;
456
457                                 /* shared pinctrl settings */
458                                 adc0 {
459                                         pinctrl_adc0_adtrg: adc0_adtrg {
460                                                 atmel,pins = <AT91_PIOD 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
461                                         };
462                                         pinctrl_adc0_ad0: adc0_ad0 {
463                                                 atmel,pins = <AT91_PIOD 20 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
464                                         };
465                                         pinctrl_adc0_ad1: adc0_ad1 {
466                                                 atmel,pins = <AT91_PIOD 21 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
467                                         };
468                                         pinctrl_adc0_ad2: adc0_ad2 {
469                                                 atmel,pins = <AT91_PIOD 22 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
470                                         };
471                                         pinctrl_adc0_ad3: adc0_ad3 {
472                                                 atmel,pins = <AT91_PIOD 23 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
473                                         };
474                                         pinctrl_adc0_ad4: adc0_ad4 {
475                                                 atmel,pins = <AT91_PIOD 24 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
476                                         };
477                                         pinctrl_adc0_ad5: adc0_ad5 {
478                                                 atmel,pins = <AT91_PIOD 25 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
479                                         };
480                                         pinctrl_adc0_ad6: adc0_ad6 {
481                                                 atmel,pins = <AT91_PIOD 26 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
482                                         };
483                                         pinctrl_adc0_ad7: adc0_ad7 {
484                                                 atmel,pins = <AT91_PIOD 27 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
485                                         };
486                                 };
487
488                                 dbgu {
489                                         pinctrl_dbgu: dbgu-0 {
490                                                 atmel,pins =
491                                                         <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
492                                                          AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE>;
493                                         };
494                                 };
495
496                                 i2c0 {
497                                         pinctrl_i2c0: i2c0-0 {
498                                                 atmel,pins =
499                                                         <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PA21 periph A TWCK0 */
500                                                          AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA20 periph A TWD0 */
501                                         };
502                                 };
503
504                                 i2c1 {
505                                         pinctrl_i2c1: i2c1-0 {
506                                                 atmel,pins =
507                                                         <AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PB11 periph A TWCK1 */
508                                                          AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB10 periph A TWD1 */
509                                         };
510                                 };
511
512                                 isi {
513                                         pinctrl_isi_data_0_7: isi-0-data-0-7 {
514                                                 atmel,pins =
515                                                         <AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* D0 */
516                                                         AT91_PIOB 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* D1 */
517                                                         AT91_PIOB 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* D2 */
518                                                         AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* D3 */
519                                                         AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* D4 */
520                                                         AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE /* D5 */
521                                                         AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE /* D6 */
522                                                         AT91_PIOB 27 AT91_PERIPH_A AT91_PINCTRL_NONE /* D7 */
523                                                         AT91_PIOB 28 AT91_PERIPH_A AT91_PINCTRL_NONE /* PCK */
524                                                         AT91_PIOB 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* VSYNC */
525                                                         AT91_PIOB 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* HSYNC */
526                                         };
527
528                                         pinctrl_isi_data_8_9: isi-0-data-8-9 {
529                                                 atmel,pins =
530                                                         <AT91_PIOB 8 AT91_PERIPH_B AT91_PINCTRL_NONE /* D8 */
531                                                         AT91_PIOB 9 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* D9 */
532                                         };
533
534                                         pinctrl_isi_data_10_11: isi-0-data-10-11 {
535                                                 atmel,pins =
536                                                         <AT91_PIOB 10 AT91_PERIPH_B AT91_PINCTRL_NONE /* D10 */
537                                                         AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* D11 */
538                                         };
539                                 };
540
541                                 usart0 {
542                                         pinctrl_usart0: usart0-0 {
543                                                 atmel,pins =
544                                                         <AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP        /* PB19 periph A with pullup */
545                                                          AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB18 periph A */
546                                         };
547
548                                         pinctrl_usart0_rts: usart0_rts-0 {
549                                                 atmel,pins =
550                                                         <AT91_PIOB 17 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB17 periph B */
551                                         };
552
553                                         pinctrl_usart0_cts: usart0_cts-0 {
554                                                 atmel,pins =
555                                                         <AT91_PIOB 15 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB15 periph B */
556                                         };
557                                 };
558
559                                 uart1 {
560                                         pinctrl_usart1: usart1-0 {
561                                                 atmel,pins =
562                                                         <AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB4 periph A with pullup */
563                                                          AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE>;  /* PB5 periph A */
564                                         };
565
566                                         pinctrl_usart1_rts: usart1_rts-0 {
567                                                 atmel,pins =
568                                                         <AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD16 periph A */
569                                         };
570
571                                         pinctrl_usart1_cts: usart1_cts-0 {
572                                                 atmel,pins =
573                                                         <AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD17 periph A */
574                                         };
575                                 };
576
577                                 usart2 {
578                                         pinctrl_usart2: usart2-0 {
579                                                 atmel,pins =
580                                                         <AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB6 periph A with pullup */
581                                                          AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE>;  /* PB7 periph A */
582                                         };
583
584                                         pinctrl_usart2_rts: usart2_rts-0 {
585                                                 atmel,pins =
586                                                         <AT91_PIOC 9 AT91_PERIPH_B AT91_PINCTRL_NONE>;  /* PC9 periph B */
587                                         };
588
589                                         pinctrl_usart2_cts: usart2_cts-0 {
590                                                 atmel,pins =
591                                                         <AT91_PIOC 11 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC11 periph B */
592                                         };
593                                 };
594
595                                 usart3 {
596                                         pinctrl_usart3: usart3-0 {
597                                                 atmel,pins =
598                                                         <AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB9 periph A with pullup */
599                                                          AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE>;  /* PB8 periph A */
600                                         };
601
602                                         pinctrl_usart3_rts: usart3_rts-0 {
603                                                 atmel,pins =
604                                                         <AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA23 periph B */
605                                         };
606
607                                         pinctrl_usart3_cts: usart3_cts-0 {
608                                                 atmel,pins =
609                                                         <AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA24 periph B */
610                                         };
611                                 };
612
613                                 nand {
614                                         pinctrl_nand_rb: nand-rb-0 {
615                                                 atmel,pins =
616                                                         <AT91_PIOC 8 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
617                                         };
618
619                                         pinctrl_nand_cs: nand-cs-0 {
620                                                 atmel,pins =
621                                                          <AT91_PIOC 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
622                                         };
623                                 };
624
625                                 macb {
626                                         pinctrl_macb_rmii: macb_rmii-0 {
627                                                 atmel,pins =
628                                                         <AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PA10 periph A */
629                                                          AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PA11 periph A */
630                                                          AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PA12 periph A */
631                                                          AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PA13 periph A */
632                                                          AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PA14 periph A */
633                                                          AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PA15 periph A */
634                                                          AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PA16 periph A */
635                                                          AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PA17 periph A */
636                                                          AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PA18 periph A */
637                                                          AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA19 periph A */
638                                         };
639
640                                         pinctrl_macb_rmii_mii: macb_rmii_mii-0 {
641                                                 atmel,pins =
642                                                         <AT91_PIOA 6 AT91_PERIPH_B AT91_PINCTRL_NONE    /* PA6 periph B */
643                                                          AT91_PIOA 7 AT91_PERIPH_B AT91_PINCTRL_NONE    /* PA7 periph B */
644                                                          AT91_PIOA 8 AT91_PERIPH_B AT91_PINCTRL_NONE    /* PA8 periph B */
645                                                          AT91_PIOA 9 AT91_PERIPH_B AT91_PINCTRL_NONE    /* PA9 periph B */
646                                                          AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE   /* PA27 periph B */
647                                                          AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE   /* PA28 periph B */
648                                                          AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE   /* PA29 periph B */
649                                                          AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA30 periph B */
650                                         };
651                                 };
652
653                                 mmc0 {
654                                         pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
655                                                 atmel,pins =
656                                                         <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PA0 periph A */
657                                                          AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA1 periph A with pullup */
658                                                          AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;       /* PA2 periph A with pullup */
659                                         };
660
661                                         pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
662                                                 atmel,pins =
663                                                         <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA3 periph A with pullup */
664                                                          AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA4 periph A with pullup */
665                                                          AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;       /* PA5 periph A with pullup */
666                                         };
667
668                                         pinctrl_mmc0_slot0_dat4_7: mmc0_slot0_dat4_7-0 {
669                                                 atmel,pins =
670                                                         <AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA6 periph A with pullup */
671                                                          AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */
672                                                          AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA8 periph A with pullup */
673                                                          AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;       /* PA9 periph A with pullup */
674                                         };
675                                 };
676
677                                 mmc1 {
678                                         pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
679                                                 atmel,pins =
680                                                         <AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PA31 periph A */
681                                                          AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP        /* PA22 periph A with pullup */
682                                                          AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;      /* PA23 periph A with pullup */
683                                         };
684
685                                         pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
686                                                 atmel,pins =
687                                                         <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_PULL_UP        /* PA24 periph A with pullup */
688                                                          AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_PULL_UP        /* PA25 periph A with pullup */
689                                                          AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;      /* PA26 periph A with pullup */
690                                         };
691
692                                         pinctrl_mmc1_slot0_dat4_7: mmc1_slot0_dat4_7-0 {
693                                                 atmel,pins =
694                                                         <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_PULL_UP        /* PA27 periph A with pullup */
695                                                          AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_PULL_UP        /* PA28 periph A with pullup */
696                                                          AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_PULL_UP        /* PA29 periph A with pullup */
697                                                          AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;      /* PA30 periph A with pullup */
698                                         };
699                                 };
700
701                                 ssc0 {
702                                         pinctrl_ssc0_tx: ssc0_tx-0 {
703                                                 atmel,pins =
704                                                         <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PD0 periph A */
705                                                          AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PD1 periph A */
706                                                          AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE>;  /* PD2 periph A */
707                                         };
708
709                                         pinctrl_ssc0_rx: ssc0_rx-0 {
710                                                 atmel,pins =
711                                                         <AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PD3 periph A */
712                                                          AT91_PIOD 4 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PD4 periph A */
713                                                          AT91_PIOD 5 AT91_PERIPH_A AT91_PINCTRL_NONE>;  /* PD5 periph A */
714                                         };
715                                 };
716
717                                 ssc1 {
718                                         pinctrl_ssc1_tx: ssc1_tx-0 {
719                                                 atmel,pins =
720                                                         <AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PD10 periph A */
721                                                          AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PD11 periph A */
722                                                          AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD12 periph A */
723                                         };
724
725                                         pinctrl_ssc1_rx: ssc1_rx-0 {
726                                                 atmel,pins =
727                                                         <AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PD13 periph A */
728                                                          AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PD14 periph A */
729                                                          AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD15 periph A */
730                                         };
731                                 };
732
733                                 spi0 {
734                                         pinctrl_spi0: spi0-0 {
735                                                 atmel,pins =
736                                                         <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PB0 periph A SPI0_MISO pin */
737                                                          AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PB1 periph A SPI0_MOSI pin */
738                                                          AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>;  /* PB2 periph A SPI0_SPCK pin */
739                                         };
740                                 };
741
742                                 spi1 {
743                                         pinctrl_spi1: spi1-0 {
744                                                 atmel,pins =
745                                                         <AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PB14 periph A SPI1_MISO pin */
746                                                          AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PB15 periph A SPI1_MOSI pin */
747                                                          AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB16 periph A SPI1_SPCK pin */
748                                         };
749                                 };
750
751                                 tcb0 {
752                                         pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
753                                                 atmel,pins = <AT91_PIOD 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
754                                         };
755
756                                         pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
757                                                 atmel,pins = <AT91_PIOD 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
758                                         };
759
760                                         pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
761                                                 atmel,pins = <AT91_PIOC 10 AT91_PERIPH_B AT91_PINCTRL_NONE>;
762                                         };
763
764                                         pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
765                                                 atmel,pins = <AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE>;
766                                         };
767
768                                         pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
769                                                 atmel,pins = <AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
770                                         };
771
772                                         pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
773                                                 atmel,pins = <AT91_PIOD 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;
774                                         };
775
776                                         pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
777                                                 atmel,pins = <AT91_PIOD 30 AT91_PERIPH_A AT91_PINCTRL_NONE>;
778                                         };
779
780                                         pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
781                                                 atmel,pins = <AT91_PIOD 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
782                                         };
783
784                                         pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
785                                                 atmel,pins = <AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE>;
786                                         };
787                                 };
788
789                                 tcb1 {
790                                         pinctrl_tcb1_tclk0: tcb1_tclk0-0 {
791                                                 atmel,pins = <AT91_PIOA 0 AT91_PERIPH_B AT91_PINCTRL_NONE>;
792                                         };
793
794                                         pinctrl_tcb1_tclk1: tcb1_tclk1-0 {
795                                                 atmel,pins = <AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_NONE>;
796                                         };
797
798                                         pinctrl_tcb1_tclk2: tcb1_tclk2-0 {
799                                                 atmel,pins = <AT91_PIOD 9 AT91_PERIPH_B AT91_PINCTRL_NONE>;
800                                         };
801
802                                         pinctrl_tcb1_tioa0: tcb1_tioa0-0 {
803                                                 atmel,pins = <AT91_PIOA 1 AT91_PERIPH_B AT91_PINCTRL_NONE>;
804                                         };
805
806                                         pinctrl_tcb1_tioa1: tcb1_tioa1-0 {
807                                                 atmel,pins = <AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_NONE>;
808                                         };
809
810                                         pinctrl_tcb1_tioa2: tcb1_tioa2-0 {
811                                                 atmel,pins = <AT91_PIOD 7 AT91_PERIPH_B AT91_PINCTRL_NONE>;
812                                         };
813
814                                         pinctrl_tcb1_tiob0: tcb1_tiob0-0 {
815                                                 atmel,pins = <AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_NONE>;
816                                         };
817
818                                         pinctrl_tcb1_tiob1: tcb1_tiob1-0 {
819                                                 atmel,pins = <AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_NONE>;
820                                         };
821
822                                         pinctrl_tcb1_tiob2: tcb1_tiob2-0 {
823                                                 atmel,pins = <AT91_PIOD 8 AT91_PERIPH_B AT91_PINCTRL_NONE>;
824                                         };
825                                 };
826
827                                 fb {
828                                         pinctrl_fb: fb-0 {
829                                                 atmel,pins =
830                                                         <AT91_PIOE 0 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PE0 periph A */
831                                                          AT91_PIOE 2 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PE2 periph A */
832                                                          AT91_PIOE 3 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PE3 periph A */
833                                                          AT91_PIOE 4 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PE4 periph A */
834                                                          AT91_PIOE 5 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PE5 periph A */
835                                                          AT91_PIOE 6 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PE6 periph A */
836                                                          AT91_PIOE 7 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PE7 periph A */
837                                                          AT91_PIOE 8 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PE8 periph A */
838                                                          AT91_PIOE 9 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PE9 periph A */
839                                                          AT91_PIOE 10 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE10 periph A */
840                                                          AT91_PIOE 11 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE11 periph A */
841                                                          AT91_PIOE 12 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE12 periph A */
842                                                          AT91_PIOE 13 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE13 periph A */
843                                                          AT91_PIOE 14 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE14 periph A */
844                                                          AT91_PIOE 15 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE15 periph A */
845                                                          AT91_PIOE 16 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE16 periph A */
846                                                          AT91_PIOE 17 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE17 periph A */
847                                                          AT91_PIOE 18 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE18 periph A */
848                                                          AT91_PIOE 19 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE19 periph A */
849                                                          AT91_PIOE 20 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE20 periph A */
850                                                          AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE21 periph A */
851                                                          AT91_PIOE 22 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE22 periph A */
852                                                          AT91_PIOE 23 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE23 periph A */
853                                                          AT91_PIOE 24 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE24 periph A */
854                                                          AT91_PIOE 25 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE25 periph A */
855                                                          AT91_PIOE 26 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE26 periph A */
856                                                          AT91_PIOE 27 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE27 periph A */
857                                                          AT91_PIOE 28 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE28 periph A */
858                                                          AT91_PIOE 29 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE29 periph A */
859                                                          AT91_PIOE 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PE30 periph A */
860                                         };
861                                 };
862
863                                 pioA: gpio@fffff200 {
864                                         compatible = "atmel,at91rm9200-gpio";
865                                         reg = <0xfffff200 0x200>;
866                                         interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
867                                         #gpio-cells = <2>;
868                                         gpio-controller;
869                                         interrupt-controller;
870                                         #interrupt-cells = <2>;
871                                         clocks = <&pioA_clk>;
872                                 };
873
874                                 pioB: gpio@fffff400 {
875                                         compatible = "atmel,at91rm9200-gpio";
876                                         reg = <0xfffff400 0x200>;
877                                         interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
878                                         #gpio-cells = <2>;
879                                         gpio-controller;
880                                         interrupt-controller;
881                                         #interrupt-cells = <2>;
882                                         clocks = <&pioB_clk>;
883                                 };
884
885                                 pioC: gpio@fffff600 {
886                                         compatible = "atmel,at91rm9200-gpio";
887                                         reg = <0xfffff600 0x200>;
888                                         interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
889                                         #gpio-cells = <2>;
890                                         gpio-controller;
891                                         interrupt-controller;
892                                         #interrupt-cells = <2>;
893                                         clocks = <&pioC_clk>;
894                                 };
895
896                                 pioD: gpio@fffff800 {
897                                         compatible = "atmel,at91rm9200-gpio";
898                                         reg = <0xfffff800 0x200>;
899                                         interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
900                                         #gpio-cells = <2>;
901                                         gpio-controller;
902                                         interrupt-controller;
903                                         #interrupt-cells = <2>;
904                                         clocks = <&pioDE_clk>;
905                                 };
906
907                                 pioE: gpio@fffffa00 {
908                                         compatible = "atmel,at91rm9200-gpio";
909                                         reg = <0xfffffa00 0x200>;
910                                         interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
911                                         #gpio-cells = <2>;
912                                         gpio-controller;
913                                         interrupt-controller;
914                                         #interrupt-cells = <2>;
915                                         clocks = <&pioDE_clk>;
916                                 };
917                         };
918
919                         dbgu: serial@ffffee00 {
920                                 compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
921                                 reg = <0xffffee00 0x200>;
922                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
923                                 pinctrl-names = "default";
924                                 pinctrl-0 = <&pinctrl_dbgu>;
925                                 clocks = <&mck>;
926                                 clock-names = "usart";
927                                 status = "disabled";
928                         };
929
930                         usart0: serial@fff8c000 {
931                                 compatible = "atmel,at91sam9260-usart";
932                                 reg = <0xfff8c000 0x200>;
933                                 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
934                                 atmel,use-dma-rx;
935                                 atmel,use-dma-tx;
936                                 pinctrl-names = "default";
937                                 pinctrl-0 = <&pinctrl_usart0>;
938                                 clocks = <&usart0_clk>;
939                                 clock-names = "usart";
940                                 status = "disabled";
941                         };
942
943                         usart1: serial@fff90000 {
944                                 compatible = "atmel,at91sam9260-usart";
945                                 reg = <0xfff90000 0x200>;
946                                 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
947                                 atmel,use-dma-rx;
948                                 atmel,use-dma-tx;
949                                 pinctrl-names = "default";
950                                 pinctrl-0 = <&pinctrl_usart1>;
951                                 clocks = <&usart1_clk>;
952                                 clock-names = "usart";
953                                 status = "disabled";
954                         };
955
956                         usart2: serial@fff94000 {
957                                 compatible = "atmel,at91sam9260-usart";
958                                 reg = <0xfff94000 0x200>;
959                                 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 5>;
960                                 atmel,use-dma-rx;
961                                 atmel,use-dma-tx;
962                                 pinctrl-names = "default";
963                                 pinctrl-0 = <&pinctrl_usart2>;
964                                 clocks = <&usart2_clk>;
965                                 clock-names = "usart";
966                                 status = "disabled";
967                         };
968
969                         usart3: serial@fff98000 {
970                                 compatible = "atmel,at91sam9260-usart";
971                                 reg = <0xfff98000 0x200>;
972                                 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 5>;
973                                 atmel,use-dma-rx;
974                                 atmel,use-dma-tx;
975                                 pinctrl-names = "default";
976                                 pinctrl-0 = <&pinctrl_usart3>;
977                                 clocks = <&usart3_clk>;
978                                 clock-names = "usart";
979                                 status = "disabled";
980                         };
981
982                         macb0: ethernet@fffbc000 {
983                                 compatible = "cdns,at91sam9260-macb", "cdns,macb";
984                                 reg = <0xfffbc000 0x100>;
985                                 interrupts = <25 IRQ_TYPE_LEVEL_HIGH 3>;
986                                 pinctrl-names = "default";
987                                 pinctrl-0 = <&pinctrl_macb_rmii>;
988                                 clocks = <&macb0_clk>, <&macb0_clk>;
989                                 clock-names = "hclk", "pclk";
990                                 status = "disabled";
991                         };
992
993                         trng@fffcc000 {
994                                 compatible = "atmel,at91sam9g45-trng";
995                                 reg = <0xfffcc000 0x100>;
996                                 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 0>;
997                                 clocks = <&trng_clk>;
998                         };
999
1000                         i2c0: i2c@fff84000 {
1001                                 compatible = "atmel,at91sam9g10-i2c";
1002                                 reg = <0xfff84000 0x100>;
1003                                 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 6>;
1004                                 pinctrl-names = "default";
1005                                 pinctrl-0 = <&pinctrl_i2c0>;
1006                                 #address-cells = <1>;
1007                                 #size-cells = <0>;
1008                                 clocks = <&twi0_clk>;
1009                                 status = "disabled";
1010                         };
1011
1012                         i2c1: i2c@fff88000 {
1013                                 compatible = "atmel,at91sam9g10-i2c";
1014                                 reg = <0xfff88000 0x100>;
1015                                 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 6>;
1016                                 pinctrl-names = "default";
1017                                 pinctrl-0 = <&pinctrl_i2c1>;
1018                                 #address-cells = <1>;
1019                                 #size-cells = <0>;
1020                                 clocks = <&twi1_clk>;
1021                                 status = "disabled";
1022                         };
1023
1024                         ssc0: ssc@fff9c000 {
1025                                 compatible = "atmel,at91sam9g45-ssc";
1026                                 reg = <0xfff9c000 0x4000>;
1027                                 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
1028                                 pinctrl-names = "default";
1029                                 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
1030                                 clocks = <&ssc0_clk>;
1031                                 clock-names = "pclk";
1032                                 status = "disabled";
1033                         };
1034
1035                         ssc1: ssc@fffa0000 {
1036                                 compatible = "atmel,at91sam9g45-ssc";
1037                                 reg = <0xfffa0000 0x4000>;
1038                                 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>;
1039                                 pinctrl-names = "default";
1040                                 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
1041                                 clocks = <&ssc1_clk>;
1042                                 clock-names = "pclk";
1043                                 status = "disabled";
1044                         };
1045
1046                         adc0: adc@fffb0000 {
1047                                 #address-cells = <1>;
1048                                 #size-cells = <0>;
1049                                 compatible = "atmel,at91sam9g45-adc";
1050                                 reg = <0xfffb0000 0x100>;
1051                                 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
1052                                 clocks = <&adc_clk>, <&adc_op_clk>;
1053                                 clock-names = "adc_clk", "adc_op_clk";
1054                                 atmel,adc-channels-used = <0xff>;
1055                                 atmel,adc-vref = <3300>;
1056                                 atmel,adc-startup-time = <40>;
1057                                 atmel,adc-res = <8 10>;
1058                                 atmel,adc-res-names = "lowres", "highres";
1059                                 atmel,adc-use-res = "highres";
1060
1061                                 trigger0 {
1062                                         trigger-name = "external-rising";
1063                                         trigger-value = <0x1>;
1064                                         trigger-external;
1065                                 };
1066                                 trigger1 {
1067                                         trigger-name = "external-falling";
1068                                         trigger-value = <0x2>;
1069                                         trigger-external;
1070                                 };
1071
1072                                 trigger2 {
1073                                         trigger-name = "external-any";
1074                                         trigger-value = <0x3>;
1075                                         trigger-external;
1076                                 };
1077
1078                                 trigger3 {
1079                                         trigger-name = "continuous";
1080                                         trigger-value = <0x6>;
1081                                 };
1082                         };
1083
1084                         isi@fffb4000 {
1085                                 compatible = "atmel,at91sam9g45-isi";
1086                                 reg = <0xfffb4000 0x4000>;
1087                                 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 5>;
1088                                 clocks = <&isi_clk>;
1089                                 clock-names = "isi_clk";
1090                                 status = "disabled";
1091                                 port {
1092                                         #address-cells = <1>;
1093                                         #size-cells = <0>;
1094                                 };
1095                         };
1096
1097                         pwm0: pwm@fffb8000 {
1098                                 compatible = "atmel,at91sam9rl-pwm";
1099                                 reg = <0xfffb8000 0x300>;
1100                                 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 4>;
1101                                 #pwm-cells = <3>;
1102                                 clocks = <&pwm_clk>;
1103                                 status = "disabled";
1104                         };
1105
1106                         mmc0: mmc@fff80000 {
1107                                 compatible = "atmel,hsmci";
1108                                 reg = <0xfff80000 0x600>;
1109                                 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 0>;
1110                                 pinctrl-names = "default";
1111                                 dmas = <&dma 1 AT91_DMA_CFG_PER_ID(0)>;
1112                                 dma-names = "rxtx";
1113                                 #address-cells = <1>;
1114                                 #size-cells = <0>;
1115                                 clocks = <&mci0_clk>;
1116                                 clock-names = "mci_clk";
1117                                 status = "disabled";
1118                         };
1119
1120                         mmc1: mmc@fffd0000 {
1121                                 compatible = "atmel,hsmci";
1122                                 reg = <0xfffd0000 0x600>;
1123                                 interrupts = <29 IRQ_TYPE_LEVEL_HIGH 0>;
1124                                 pinctrl-names = "default";
1125                                 dmas = <&dma 1 AT91_DMA_CFG_PER_ID(13)>;
1126                                 dma-names = "rxtx";
1127                                 #address-cells = <1>;
1128                                 #size-cells = <0>;
1129                                 clocks = <&mci1_clk>;
1130                                 clock-names = "mci_clk";
1131                                 status = "disabled";
1132                         };
1133
1134                         watchdog@fffffd40 {
1135                                 compatible = "atmel,at91sam9260-wdt";
1136                                 reg = <0xfffffd40 0x10>;
1137                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1138                                 clocks = <&clk32k>;
1139                                 atmel,watchdog-type = "hardware";
1140                                 atmel,reset-type = "all";
1141                                 atmel,dbg-halt;
1142                                 status = "disabled";
1143                         };
1144
1145                         spi0: spi@fffa4000 {
1146                                 #address-cells = <1>;
1147                                 #size-cells = <0>;
1148                                 compatible = "atmel,at91rm9200-spi";
1149                                 reg = <0xfffa4000 0x200>;
1150                                 interrupts = <14 4 3>;
1151                                 pinctrl-names = "default";
1152                                 pinctrl-0 = <&pinctrl_spi0>;
1153                                 clocks = <&spi0_clk>;
1154                                 clock-names = "spi_clk";
1155                                 status = "disabled";
1156                         };
1157
1158                         spi1: spi@fffa8000 {
1159                                 #address-cells = <1>;
1160                                 #size-cells = <0>;
1161                                 compatible = "atmel,at91rm9200-spi";
1162                                 reg = <0xfffa8000 0x200>;
1163                                 interrupts = <15 4 3>;
1164                                 pinctrl-names = "default";
1165                                 pinctrl-0 = <&pinctrl_spi1>;
1166                                 clocks = <&spi1_clk>;
1167                                 clock-names = "spi_clk";
1168                                 status = "disabled";
1169                         };
1170
1171                         usb2: gadget@fff78000 {
1172                                 #address-cells = <1>;
1173                                 #size-cells = <0>;
1174                                 compatible = "atmel,at91sam9g45-udc";
1175                                 reg = <0x00600000 0x80000
1176                                        0xfff78000 0x400>;
1177                                 interrupts = <27 IRQ_TYPE_LEVEL_HIGH 0>;
1178                                 clocks = <&udphs_clk>, <&utmi>;
1179                                 clock-names = "pclk", "hclk";
1180                                 status = "disabled";
1181
1182                                 ep@0 {
1183                                         reg = <0>;
1184                                         atmel,fifo-size = <64>;
1185                                         atmel,nb-banks = <1>;
1186                                 };
1187
1188                                 ep@1 {
1189                                         reg = <1>;
1190                                         atmel,fifo-size = <1024>;
1191                                         atmel,nb-banks = <2>;
1192                                         atmel,can-dma;
1193                                         atmel,can-isoc;
1194                                 };
1195
1196                                 ep@2 {
1197                                         reg = <2>;
1198                                         atmel,fifo-size = <1024>;
1199                                         atmel,nb-banks = <2>;
1200                                         atmel,can-dma;
1201                                         atmel,can-isoc;
1202                                 };
1203
1204                                 ep@3 {
1205                                         reg = <3>;
1206                                         atmel,fifo-size = <1024>;
1207                                         atmel,nb-banks = <3>;
1208                                         atmel,can-dma;
1209                                 };
1210
1211                                 ep@4 {
1212                                         reg = <4>;
1213                                         atmel,fifo-size = <1024>;
1214                                         atmel,nb-banks = <3>;
1215                                         atmel,can-dma;
1216                                 };
1217
1218                                 ep@5 {
1219                                         reg = <5>;
1220                                         atmel,fifo-size = <1024>;
1221                                         atmel,nb-banks = <3>;
1222                                         atmel,can-dma;
1223                                         atmel,can-isoc;
1224                                 };
1225
1226                                 ep@6 {
1227                                         reg = <6>;
1228                                         atmel,fifo-size = <1024>;
1229                                         atmel,nb-banks = <3>;
1230                                         atmel,can-dma;
1231                                         atmel,can-isoc;
1232                                 };
1233                         };
1234
1235                         sckc@fffffd50 {
1236                                 compatible = "atmel,at91sam9x5-sckc";
1237                                 reg = <0xfffffd50 0x4>;
1238
1239                                 slow_osc: slow_osc {
1240                                         compatible = "atmel,at91sam9x5-clk-slow-osc";
1241                                         #clock-cells = <0>;
1242                                         atmel,startup-time-usec = <1200000>;
1243                                         clocks = <&slow_xtal>;
1244                                 };
1245
1246                                 slow_rc_osc: slow_rc_osc {
1247                                         compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
1248                                         #clock-cells = <0>;
1249                                         atmel,startup-time-usec = <75>;
1250                                         clock-frequency = <32768>;
1251                                         clock-accuracy = <50000000>;
1252                                 };
1253
1254                                 clk32k: slck {
1255                                         compatible = "atmel,at91sam9x5-clk-slow";
1256                                         #clock-cells = <0>;
1257                                         clocks = <&slow_rc_osc &slow_osc>;
1258                                 };
1259                         };
1260
1261                         rtc@fffffd20 {
1262                                 compatible = "atmel,at91sam9260-rtt";
1263                                 reg = <0xfffffd20 0x10>;
1264                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1265                                 clocks = <&clk32k>;
1266                                 status = "disabled";
1267                         };
1268
1269                         rtc@fffffdb0 {
1270                                 compatible = "atmel,at91rm9200-rtc";
1271                                 reg = <0xfffffdb0 0x30>;
1272                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1273                                 clocks = <&clk32k>;
1274                                 status = "disabled";
1275                         };
1276
1277                         gpbr: syscon@fffffd60 {
1278                                 compatible = "atmel,at91sam9260-gpbr", "syscon";
1279                                 reg = <0xfffffd60 0x10>;
1280                                 status = "disabled";
1281                         };
1282                 };
1283
1284                 fb0: fb@0x00500000 {
1285                         compatible = "atmel,at91sam9g45-lcdc";
1286                         reg = <0x00500000 0x1000>;
1287                         interrupts = <23 IRQ_TYPE_LEVEL_HIGH 3>;
1288                         pinctrl-names = "default";
1289                         pinctrl-0 = <&pinctrl_fb>;
1290                         clocks = <&lcd_clk>, <&lcd_clk>;
1291                         clock-names = "hclk", "lcdc_clk";
1292                         status = "disabled";
1293                 };
1294
1295                 usb0: ohci@00700000 {
1296                         compatible = "atmel,at91rm9200-ohci", "usb-ohci";
1297                         reg = <0x00700000 0x100000>;
1298                         interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
1299                         clocks = <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
1300                         clock-names = "ohci_clk", "hclk", "uhpck";
1301                         status = "disabled";
1302                 };
1303
1304                 usb1: ehci@00800000 {
1305                         compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
1306                         reg = <0x00800000 0x100000>;
1307                         interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
1308                         clocks = <&utmi>, <&uhphs_clk>;
1309                         clock-names = "usb_clk", "ehci_clk";
1310                         status = "disabled";
1311                 };
1312
1313                 ebi: ebi@10000000 {
1314                         compatible = "atmel,at91sam9g45-ebi";
1315                         #address-cells = <2>;
1316                         #size-cells = <1>;
1317                         atmel,smc = <&smc>;
1318                         atmel,matrix = <&matrix>;
1319                         reg = <0x10000000 0x80000000>;
1320                         ranges = <0x0 0x0 0x10000000 0x10000000
1321                                   0x1 0x0 0x20000000 0x10000000
1322                                   0x2 0x0 0x30000000 0x10000000
1323                                   0x3 0x0 0x40000000 0x10000000
1324                                   0x4 0x0 0x50000000 0x10000000
1325                                   0x5 0x0 0x60000000 0x10000000>;
1326                         clocks = <&mck>;
1327                         status = "disabled";
1328
1329                         nand_controller: nand-controller {
1330                                 compatible = "atmel,at91sam9g45-nand-controller";
1331                                 #address-cells = <2>;
1332                                 #size-cells = <1>;
1333                                 ranges;
1334                                 status = "disabled";
1335                         };
1336                 };
1337         };
1338
1339         i2c-gpio-0 {
1340                 compatible = "i2c-gpio";
1341                 gpios = <&pioA 20 GPIO_ACTIVE_HIGH /* sda */
1342                          &pioA 21 GPIO_ACTIVE_HIGH /* scl */
1343                         >;
1344                 i2c-gpio,sda-open-drain;
1345                 i2c-gpio,scl-open-drain;
1346                 i2c-gpio,delay-us = <5>;        /* ~100 kHz */
1347                 #address-cells = <1>;
1348                 #size-cells = <0>;
1349                 status = "disabled";
1350         };
1351 };