ARM: dts: at91: Declare EBI/NAND controllers
[platform/kernel/linux-rpi.git] / arch / arm / boot / dts / at91sam9263.dtsi
1 /*
2  * at91sam9263.dtsi - Device Tree Include file for AT91SAM9263 family SoC
3  *
4  *  Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
5  *
6  * Licensed under GPLv2 only.
7  */
8
9 #include "skeleton.dtsi"
10 #include <dt-bindings/pinctrl/at91.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/clock/at91.h>
14
15 / {
16         model = "Atmel AT91SAM9263 family SoC";
17         compatible = "atmel,at91sam9263";
18         interrupt-parent = <&aic>;
19
20         aliases {
21                 serial0 = &dbgu;
22                 serial1 = &usart0;
23                 serial2 = &usart1;
24                 serial3 = &usart2;
25                 gpio0 = &pioA;
26                 gpio1 = &pioB;
27                 gpio2 = &pioC;
28                 gpio3 = &pioD;
29                 gpio4 = &pioE;
30                 tcb0 = &tcb0;
31                 i2c0 = &i2c0;
32                 ssc0 = &ssc0;
33                 ssc1 = &ssc1;
34                 pwm0 = &pwm0;
35         };
36
37         cpus {
38                 #address-cells = <0>;
39                 #size-cells = <0>;
40
41                 cpu {
42                         compatible = "arm,arm926ej-s";
43                         device_type = "cpu";
44                 };
45         };
46
47         memory {
48                 reg = <0x20000000 0x08000000>;
49         };
50
51         clocks {
52                 main_xtal: main_xtal {
53                         compatible = "fixed-clock";
54                         #clock-cells = <0>;
55                         clock-frequency = <0>;
56                 };
57
58                 slow_xtal: slow_xtal {
59                         compatible = "fixed-clock";
60                         #clock-cells = <0>;
61                         clock-frequency = <0>;
62                 };
63         };
64
65         sram0: sram@00300000 {
66                 compatible = "mmio-sram";
67                 reg = <0x00300000 0x14000>;
68         };
69
70         sram1: sram@00500000 {
71                 compatible = "mmio-sram";
72                 reg = <0x00500000 0x4000>;
73         };
74
75         ahb {
76                 compatible = "simple-bus";
77                 #address-cells = <1>;
78                 #size-cells = <1>;
79                 ranges;
80
81                 apb {
82                         compatible = "simple-bus";
83                         #address-cells = <1>;
84                         #size-cells = <1>;
85                         ranges;
86
87                         aic: interrupt-controller@fffff000 {
88                                 #interrupt-cells = <3>;
89                                 compatible = "atmel,at91rm9200-aic";
90                                 interrupt-controller;
91                                 reg = <0xfffff000 0x200>;
92                                 atmel,external-irqs = <30 31>;
93                         };
94
95                         pmc: pmc@fffffc00 {
96                                 compatible = "atmel,at91rm9200-pmc", "syscon";
97                                 reg = <0xfffffc00 0x100>;
98                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
99                                 interrupt-controller;
100                                 #address-cells = <1>;
101                                 #size-cells = <0>;
102                                 #interrupt-cells = <1>;
103
104                                 main_osc: main_osc {
105                                         compatible = "atmel,at91rm9200-clk-main-osc";
106                                         #clock-cells = <0>;
107                                         interrupts-extended = <&pmc AT91_PMC_MOSCS>;
108                                         clocks = <&main_xtal>;
109                                 };
110
111                                 main: mainck {
112                                         compatible = "atmel,at91rm9200-clk-main";
113                                         #clock-cells = <0>;
114                                         clocks = <&main_osc>;
115                                 };
116
117                                 plla: pllack {
118                                         compatible = "atmel,at91rm9200-clk-pll";
119                                         #clock-cells = <0>;
120                                         interrupts-extended = <&pmc AT91_PMC_LOCKA>;
121                                         clocks = <&main>;
122                                         reg = <0>;
123                                         atmel,clk-input-range = <1000000 32000000>;
124                                         #atmel,pll-clk-output-range-cells = <4>;
125                                         atmel,pll-clk-output-ranges = <80000000 200000000 0 1>,
126                                                                 <190000000 240000000 2 1>;
127                                 };
128
129                                 pllb: pllbck {
130                                         compatible = "atmel,at91rm9200-clk-pll";
131                                         #clock-cells = <0>;
132                                         interrupts-extended = <&pmc AT91_PMC_LOCKB>;
133                                         clocks = <&main>;
134                                         reg = <1>;
135                                         atmel,clk-input-range = <1000000 32000000>;
136                                         #atmel,pll-clk-output-range-cells = <4>;
137                                         atmel,pll-clk-output-ranges = <80000000 200000000 0 1>,
138                                                                 <190000000 240000000 2 1>;
139                                 };
140
141                                 mck: masterck {
142                                         compatible = "atmel,at91rm9200-clk-master";
143                                         #clock-cells = <0>;
144                                         interrupts-extended = <&pmc AT91_PMC_MCKRDY>;
145                                         clocks = <&slow_xtal>, <&main>, <&plla>, <&pllb>;
146                                         atmel,clk-output-range = <0 120000000>;
147                                         atmel,clk-divisors = <1 2 4 0>;
148                                 };
149
150                                 usb: usbck {
151                                         compatible = "atmel,at91rm9200-clk-usb";
152                                         #clock-cells = <0>;
153                                         atmel,clk-divisors = <1 2 4 0>;
154                                         clocks = <&pllb>;
155                                 };
156
157                                 prog: progck {
158                                         compatible = "atmel,at91rm9200-clk-programmable";
159                                         #address-cells = <1>;
160                                         #size-cells = <0>;
161                                         interrupt-parent = <&pmc>;
162                                         clocks = <&slow_xtal>, <&main>, <&plla>, <&pllb>;
163
164                                         prog0: prog0 {
165                                                 #clock-cells = <0>;
166                                                 reg = <0>;
167                                                 interrupts = <AT91_PMC_PCKRDY(0)>;
168                                         };
169
170                                         prog1: prog1 {
171                                                 #clock-cells = <0>;
172                                                 reg = <1>;
173                                                 interrupts = <AT91_PMC_PCKRDY(1)>;
174                                         };
175
176                                         prog2: prog2 {
177                                                 #clock-cells = <0>;
178                                                 reg = <2>;
179                                                 interrupts = <AT91_PMC_PCKRDY(2)>;
180                                         };
181
182                                         prog3: prog3 {
183                                                 #clock-cells = <0>;
184                                                 reg = <3>;
185                                                 interrupts = <AT91_PMC_PCKRDY(3)>;
186                                         };
187                                 };
188
189                                 systemck {
190                                         compatible = "atmel,at91rm9200-clk-system";
191                                         #address-cells = <1>;
192                                         #size-cells = <0>;
193
194                                         uhpck: uhpck {
195                                                 #clock-cells = <0>;
196                                                 reg = <6>;
197                                                 clocks = <&usb>;
198                                         };
199
200                                         udpck: udpck {
201                                                 #clock-cells = <0>;
202                                                 reg = <7>;
203                                                 clocks = <&usb>;
204                                         };
205
206                                         pck0: pck0 {
207                                                 #clock-cells = <0>;
208                                                 reg = <8>;
209                                                 clocks = <&prog0>;
210                                         };
211
212                                         pck1: pck1 {
213                                                 #clock-cells = <0>;
214                                                 reg = <9>;
215                                                 clocks = <&prog1>;
216                                         };
217
218                                         pck2: pck2 {
219                                                 #clock-cells = <0>;
220                                                 reg = <10>;
221                                                 clocks = <&prog2>;
222                                         };
223
224                                         pck3: pck3 {
225                                                 #clock-cells = <0>;
226                                                 reg = <11>;
227                                                 clocks = <&prog3>;
228                                         };
229                                 };
230
231                                 periphck {
232                                         compatible = "atmel,at91rm9200-clk-peripheral";
233                                         #address-cells = <1>;
234                                         #size-cells = <0>;
235                                         clocks = <&mck>;
236
237                                         pioA_clk: pioA_clk {
238                                                 #clock-cells = <0>;
239                                                 reg = <2>;
240                                         };
241
242                                         pioB_clk: pioB_clk {
243                                                 #clock-cells = <0>;
244                                                 reg = <3>;
245                                         };
246
247                                         pioCDE_clk: pioCDE_clk {
248                                                 #clock-cells = <0>;
249                                                 reg = <4>;
250                                         };
251
252                                         usart0_clk: usart0_clk {
253                                                 #clock-cells = <0>;
254                                                 reg = <7>;
255                                         };
256
257                                         usart1_clk: usart1_clk {
258                                                 #clock-cells = <0>;
259                                                 reg = <8>;
260                                         };
261
262                                         usart2_clk: usart2_clk {
263                                                 #clock-cells = <0>;
264                                                 reg = <9>;
265                                         };
266
267                                         mci0_clk: mci0_clk {
268                                                 #clock-cells = <0>;
269                                                 reg = <10>;
270                                         };
271
272                                         mci1_clk: mci1_clk {
273                                                 #clock-cells = <0>;
274                                                 reg = <11>;
275                                         };
276
277                                         can_clk: can_clk {
278                                                 #clock-cells = <0>;
279                                                 reg = <12>;
280                                         };
281
282                                         twi0_clk: twi0_clk {
283                                                 #clock-cells = <0>;
284                                                 reg = <13>;
285                                         };
286
287                                         spi0_clk: spi0_clk {
288                                                 #clock-cells = <0>;
289                                                 reg = <14>;
290                                         };
291
292                                         spi1_clk: spi1_clk {
293                                                 #clock-cells = <0>;
294                                                 reg = <15>;
295                                         };
296
297                                         ssc0_clk: ssc0_clk {
298                                                 #clock-cells = <0>;
299                                                 reg = <16>;
300                                         };
301
302                                         ssc1_clk: ssc1_clk {
303                                                 #clock-cells = <0>;
304                                                 reg = <17>;
305                                         };
306
307                                         ac97_clk: ac97_clk {
308                                                 #clock-cells = <0>;
309                                                 reg = <18>;
310                                         };
311
312                                         tcb_clk: tcb_clk {
313                                                 #clock-cells = <0>;
314                                                 reg = <19>;
315                                         };
316
317                                         pwm_clk: pwm_clk {
318                                                 #clock-cells = <0>;
319                                                 reg = <20>;
320                                         };
321
322                                         macb0_clk: macb0_clk {
323                                                 #clock-cells = <0>;
324                                                 reg = <21>;
325                                         };
326
327                                         g2de_clk: g2de_clk {
328                                                 #clock-cells = <0>;
329                                                 reg = <23>;
330                                         };
331
332                                         udc_clk: udc_clk {
333                                                 #clock-cells = <0>;
334                                                 reg = <24>;
335                                         };
336
337                                         isi_clk: isi_clk {
338                                                 #clock-cells = <0>;
339                                                 reg = <25>;
340                                         };
341
342                                         lcd_clk: lcd_clk {
343                                                 #clock-cells = <0>;
344                                                 reg = <26>;
345                                         };
346
347                                         dma_clk: dma_clk {
348                                                 #clock-cells = <0>;
349                                                 reg = <27>;
350                                         };
351
352                                         ohci_clk: ohci_clk {
353                                                 #clock-cells = <0>;
354                                                 reg = <29>;
355                                         };
356                                 };
357                         };
358
359                         ramc0: ramc@ffffe200 {
360                                 compatible = "atmel,at91sam9260-sdramc";
361                                 reg = <0xffffe200 0x200>;
362                         };
363
364                         smc0: smc@ffffe400 {
365                                 compatible = "atmel,at91sam9260-smc", "syscon";
366                                 reg = <0xffffe400 0x200>;
367                         };
368
369                         ramc1: ramc@ffffe800 {
370                                 compatible = "atmel,at91sam9260-sdramc";
371                                 reg = <0xffffe800 0x200>;
372                         };
373
374                         smc1: smc@ffffea00 {
375                                 compatible = "atmel,at91sam9260-smc", "syscon";
376                                 reg = <0xffffea00 0x200>;
377                         };
378
379                         matrix: matrix@ffffec00 {
380                                 compatible = "atmel,at91sam9263-matrix", "syscon";
381                                 reg = <0xffffec00 0x200>;
382                         };
383
384                         pit: timer@fffffd30 {
385                                 compatible = "atmel,at91sam9260-pit";
386                                 reg = <0xfffffd30 0xf>;
387                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
388                                 clocks = <&mck>;
389                         };
390
391                         tcb0: timer@fff7c000 {
392                                 compatible = "atmel,at91rm9200-tcb";
393                                 reg = <0xfff7c000 0x100>;
394                                 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 0>;
395                                 clocks = <&tcb_clk>, <&slow_xtal>;
396                                 clock-names = "t0_clk", "slow_clk";
397                         };
398
399                         rstc@fffffd00 {
400                                 compatible = "atmel,at91sam9260-rstc";
401                                 reg = <0xfffffd00 0x10>;
402                                 clocks = <&slow_xtal>;
403                         };
404
405                         shdwc@fffffd10 {
406                                 compatible = "atmel,at91sam9260-shdwc";
407                                 reg = <0xfffffd10 0x10>;
408                                 clocks = <&slow_xtal>;
409                         };
410
411                         pinctrl@fffff200 {
412                                 #address-cells = <1>;
413                                 #size-cells = <1>;
414                                 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
415                                 ranges = <0xfffff200 0xfffff200 0xa00>;
416
417                                 atmel,mux-mask = <
418                                       /*    A         B     */
419                                        0xfffffffb 0xffffe07f  /* pioA */
420                                        0x0007ffff 0x39072fff  /* pioB */
421                                        0xffffffff 0x3ffffff8  /* pioC */
422                                        0xfffffbff 0xffffffff  /* pioD */
423                                        0xffe00fff 0xfbfcff00  /* pioE */
424                                       >;
425
426                                 /* shared pinctrl settings */
427                                 dbgu {
428                                         pinctrl_dbgu: dbgu-0 {
429                                                 atmel,pins =
430                                                         <AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
431                                                          AT91_PIOC 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
432                                         };
433                                 };
434
435                                 usart0 {
436                                         pinctrl_usart0: usart0-0 {
437                                                 atmel,pins =
438                                                         <AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_PULL_UP        /* PA26 periph A with pullup */
439                                                          AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA27 periph A */
440                                         };
441
442                                         pinctrl_usart0_rts: usart0_rts-0 {
443                                                 atmel,pins =
444                                                         <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA28 periph A */
445                                         };
446
447                                         pinctrl_usart0_cts: usart0_cts-0 {
448                                                 atmel,pins =
449                                                         <AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA29 periph A */
450                                         };
451                                 };
452
453                                 usart1 {
454                                         pinctrl_usart1: usart1-0 {
455                                                 atmel,pins =
456                                                         <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD0 periph A with pullup */
457                                                          AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE>;  /* PD1 periph A */
458                                         };
459
460                                         pinctrl_usart1_rts: usart1_rts-0 {
461                                                 atmel,pins =
462                                                         <AT91_PIOD 7 AT91_PERIPH_B AT91_PINCTRL_NONE>;  /* PD7 periph B */
463                                         };
464
465                                         pinctrl_usart1_cts: usart1_cts-0 {
466                                                 atmel,pins =
467                                                         <AT91_PIOD 8 AT91_PERIPH_B AT91_PINCTRL_NONE>;  /* PD8 periph B */
468                                         };
469                                 };
470
471                                 usart2 {
472                                         pinctrl_usart2: usart2-0 {
473                                                 atmel,pins =
474                                                         <AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD2 periph A with pullup */
475                                                          AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE>;  /* PD3 periph A */
476                                         };
477
478                                         pinctrl_usart2_rts: usart2_rts-0 {
479                                                 atmel,pins =
480                                                         <AT91_PIOD 5 AT91_PERIPH_B AT91_PINCTRL_NONE>;  /* PD5 periph B */
481                                         };
482
483                                         pinctrl_usart2_cts: usart2_cts-0 {
484                                                 atmel,pins =
485                                                         <AT91_PIOD 6 AT91_PERIPH_B AT91_PINCTRL_NONE>;  /* PD6 periph B */
486                                         };
487                                 };
488
489                                 nand {
490                                         pinctrl_nand: nand-0 {
491                                                 atmel,pins =
492                                                         <AT91_PIOA 22 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP     /* PA22 gpio RDY pin pull_up*/
493                                                          AT91_PIOD 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;   /* PD15 gpio enable pin pull_up */
494                                         };
495                                 };
496
497                                 macb {
498                                         pinctrl_macb_rmii: macb_rmii-0 {
499                                                 atmel,pins =
500                                                         <AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE   /* PC25 periph B */
501                                                          AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE21 periph A */
502                                                          AT91_PIOE 23 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE23 periph A */
503                                                          AT91_PIOE 24 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE24 periph A */
504                                                          AT91_PIOE 25 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE25 periph A */
505                                                          AT91_PIOE 26 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE26 periph A */
506                                                          AT91_PIOE 27 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE27 periph A */
507                                                          AT91_PIOE 28 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE28 periph A */
508                                                          AT91_PIOE 29 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PE29 periph A */
509                                                          AT91_PIOE 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PE30 periph A */
510                                         };
511
512                                         pinctrl_macb_rmii_mii: macb_rmii_mii-0 {
513                                                 atmel,pins =
514                                                         <AT91_PIOC 20 AT91_PERIPH_B AT91_PINCTRL_NONE   /* PC20 periph B */
515                                                          AT91_PIOC 21 AT91_PERIPH_B AT91_PINCTRL_NONE   /* PC21 periph B */
516                                                          AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_NONE   /* PC22 periph B */
517                                                          AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_NONE   /* PC23 periph B */
518                                                          AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE   /* PC24 periph B */
519                                                          AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE   /* PC25 periph B */
520                                                          AT91_PIOC 27 AT91_PERIPH_B AT91_PINCTRL_NONE   /* PC27 periph B */
521                                                          AT91_PIOE 22 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PE22 periph B */
522                                         };
523                                 };
524
525                                 mmc0 {
526                                         pinctrl_mmc0_clk: mmc0_clk-0 {
527                                                 atmel,pins =
528                                                         <AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA12 periph A */
529                                         };
530
531                                         pinctrl_mmc0_slot0_cmd_dat0: mmc0_slot0_cmd_dat0-0 {
532                                                 atmel,pins =
533                                                         <AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA1 periph A with pullup */
534                                                          AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;       /* PA0 periph A with pullup */
535                                         };
536
537                                         pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
538                                                 atmel,pins =
539                                                         <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA3 periph A with pullup */
540                                                          AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA4 periph A with pullup */
541                                                          AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;       /* PA5 periph A with pullup */
542                                         };
543
544                                         pinctrl_mmc0_slot1_cmd_dat0: mmc0_slot1_cmd_dat0-0 {
545                                                 atmel,pins =
546                                                         <AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP        /* PA16 periph A with pullup */
547                                                          AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;      /* PA17 periph A with pullup */
548                                         };
549
550                                         pinctrl_mmc0_slot1_dat1_3: mmc0_slot1_dat1_3-0 {
551                                                 atmel,pins =
552                                                         <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP        /* PA18 periph A with pullup */
553                                                          AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP        /* PA19 periph A with pullup */
554                                                          AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;      /* PA20 periph A with pullup */
555                                         };
556                                 };
557
558                                 mmc1 {
559                                         pinctrl_mmc1_clk: mmc1_clk-0 {
560                                                 atmel,pins =
561                                                         <AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE>;  /* PA6 periph A */
562                                         };
563
564                                         pinctrl_mmc1_slot0_cmd_dat0: mmc1_slot0_cmd_dat0-0 {
565                                                 atmel,pins =
566                                                         <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */
567                                                          AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;       /* PA8 periph A with pullup */
568                                         };
569
570                                         pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
571                                                 atmel,pins =
572                                                         <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA9 periph A with pullup */
573                                                          AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP        /* PA10 periph A with pullup */
574                                                          AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;      /* PA11 periph A with pullup */
575                                         };
576
577                                         pinctrl_mmc1_slot1_cmd_dat0: mmc1_slot1_cmd_dat0-0 {
578                                                 atmel,pins =
579                                                         <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP        /* PA21 periph A with pullup */
580                                                          AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;      /* PA22 periph A with pullup */
581                                         };
582
583                                         pinctrl_mmc1_slot1_dat1_3: mmc1_slot1_dat1_3-0 {
584                                                 atmel,pins =
585                                                         <AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_PULL_UP        /* PA23 periph A with pullup */
586                                                          AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_PULL_UP        /* PA24 periph A with pullup */
587                                                          AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;      /* PA25 periph A with pullup */
588                                         };
589                                 };
590
591                                 ssc0 {
592                                         pinctrl_ssc0_tx: ssc0_tx-0 {
593                                                 atmel,pins =
594                                                         <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE    /* PB0 periph B */
595                                                          AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE    /* PB1 periph B */
596                                                          AT91_PIOB 2 AT91_PERIPH_B AT91_PINCTRL_NONE>;  /* PB2 periph B */
597                                         };
598
599                                         pinctrl_ssc0_rx: ssc0_rx-0 {
600                                                 atmel,pins =
601                                                         <AT91_PIOB 3 AT91_PERIPH_B AT91_PINCTRL_NONE    /* PB3 periph B */
602                                                          AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE    /* PB4 periph B */
603                                                          AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE>;  /* PB5 periph B */
604                                         };
605                                 };
606
607                                 ssc1 {
608                                         pinctrl_ssc1_tx: ssc1_tx-0 {
609                                                 atmel,pins =
610                                                         <AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PB6 periph A */
611                                                          AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PB7 periph A */
612                                                          AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_NONE>;  /* PB8 periph A */
613                                         };
614
615                                         pinctrl_ssc1_rx: ssc1_rx-0 {
616                                                 atmel,pins =
617                                                         <AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PB9 periph A */
618                                                          AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PB10 periph A */
619                                                          AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB11 periph A */
620                                         };
621                                 };
622
623                                 spi0 {
624                                         pinctrl_spi0: spi0-0 {
625                                                 atmel,pins =
626                                                         <AT91_PIOA 0 AT91_PERIPH_B AT91_PINCTRL_NONE    /* PA0 periph B SPI0_MISO pin */
627                                                          AT91_PIOA 1 AT91_PERIPH_B AT91_PINCTRL_NONE    /* PA1 periph B SPI0_MOSI pin */
628                                                          AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_NONE>;  /* PA2 periph B SPI0_SPCK pin */
629                                         };
630                                 };
631
632                                 spi1 {
633                                         pinctrl_spi1: spi1-0 {
634                                                 atmel,pins =
635                                                         <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PB12 periph A SPI1_MISO pin */
636                                                          AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PB13 periph A SPI1_MOSI pin */
637                                                          AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB14 periph A SPI1_SPCK pin */
638                                         };
639                                 };
640
641                                 tcb0 {
642                                         pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
643                                                 atmel,pins = <AT91_PIOB 28 AT91_PERIPH_B AT91_PINCTRL_NONE>;
644                                         };
645
646                                         pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
647                                                 atmel,pins = <AT91_PIOC 28 AT91_PERIPH_B AT91_PINCTRL_NONE>;
648                                         };
649
650                                         pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
651                                                 atmel,pins = <AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE>;
652                                         };
653
654                                         pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
655                                                 atmel,pins = <AT91_PIOE 18 AT91_PERIPH_B AT91_PINCTRL_NONE>;
656                                         };
657
658                                         pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
659                                                 atmel,pins = <AT91_PIOE 8 AT91_PERIPH_B AT91_PINCTRL_NONE>;
660                                         };
661
662                                         pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
663                                                 atmel,pins = <AT91_PIOB 17 AT91_PERIPH_B AT91_PINCTRL_NONE>;
664                                         };
665
666                                         pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
667                                                 atmel,pins = <AT91_PIOE 19 AT91_PERIPH_B AT91_PINCTRL_NONE>;
668                                         };
669
670                                         pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
671                                                 atmel,pins = <AT91_PIOE 9 AT91_PERIPH_B AT91_PINCTRL_NONE>;
672                                         };
673
674                                         pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
675                                                 atmel,pins = <AT91_PIOB 18 AT91_PERIPH_B AT91_PINCTRL_NONE>;
676                                         };
677                                 };
678
679                                 fb {
680                                         pinctrl_fb: fb-0 {
681                                                 atmel,pins =
682                                                         <AT91_PIOC 1 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PC1 periph A */
683                                                          AT91_PIOC 2 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PC2 periph A */
684                                                          AT91_PIOC 3 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PC3 periph A */
685                                                          AT91_PIOB 9 AT91_PERIPH_B AT91_PINCTRL_NONE    /* PB9 periph B */
686                                                          AT91_PIOC 6 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PC6 periph A */
687                                                          AT91_PIOC 7 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PC7 periph A */
688                                                          AT91_PIOC 8 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PC8 periph A */
689                                                          AT91_PIOC 9 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PC9 periph A */
690                                                          AT91_PIOC 10 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PC10 periph A */
691                                                          AT91_PIOC 11 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PC11 periph A */
692                                                          AT91_PIOC 14 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PC14 periph A */
693                                                          AT91_PIOC 15 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PC15 periph A */
694                                                          AT91_PIOC 16 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PC16 periph A */
695                                                          AT91_PIOC 12 AT91_PERIPH_B AT91_PINCTRL_NONE   /* PC12 periph B */
696                                                          AT91_PIOC 18 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PC18 periph A */
697                                                          AT91_PIOC 19 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PC19 periph A */
698                                                          AT91_PIOC 22 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PC22 periph A */
699                                                          AT91_PIOC 23 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PC23 periph A */
700                                                          AT91_PIOC 24 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PC24 periph A */
701                                                          AT91_PIOC 17 AT91_PERIPH_B AT91_PINCTRL_NONE   /* PC17 periph B */
702                                                          AT91_PIOC 26 AT91_PERIPH_A AT91_PINCTRL_NONE   /* PC26 periph A */
703                                                          AT91_PIOC 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PC27 periph A */
704                                         };
705                                 };
706
707                                 can {
708                                         pinctrl_can_rx_tx: can_rx_tx {
709                                                 atmel,pins =
710                                                         <AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE   /* CANRX, conflicts with IRQ0 */
711                                                          AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* CANTX, conflicts with PCK0 */
712                                         };
713                                 };
714
715                                 ac97 {
716                                         pinctrl_ac97: ac97-0 {
717                                                 atmel,pins =
718                                                         <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PB12 periph A AC97FS pin */
719                                                          AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PB13 periph A AC97CK pin */
720                                                          AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PB14 periph A AC97TX pin */
721                                                          AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE>;  /* PB14 periph A AC97RX pin */
722                                         };
723                                 };
724
725                                 pioA: gpio@fffff200 {
726                                         compatible = "atmel,at91rm9200-gpio";
727                                         reg = <0xfffff200 0x200>;
728                                         interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
729                                         #gpio-cells = <2>;
730                                         gpio-controller;
731                                         interrupt-controller;
732                                         #interrupt-cells = <2>;
733                                         clocks = <&pioA_clk>;
734                                 };
735
736                                 pioB: gpio@fffff400 {
737                                         compatible = "atmel,at91rm9200-gpio";
738                                         reg = <0xfffff400 0x200>;
739                                         interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
740                                         #gpio-cells = <2>;
741                                         gpio-controller;
742                                         interrupt-controller;
743                                         #interrupt-cells = <2>;
744                                         clocks = <&pioB_clk>;
745                                 };
746
747                                 pioC: gpio@fffff600 {
748                                         compatible = "atmel,at91rm9200-gpio";
749                                         reg = <0xfffff600 0x200>;
750                                         interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
751                                         #gpio-cells = <2>;
752                                         gpio-controller;
753                                         interrupt-controller;
754                                         #interrupt-cells = <2>;
755                                         clocks = <&pioCDE_clk>;
756                                 };
757
758                                 pioD: gpio@fffff800 {
759                                         compatible = "atmel,at91rm9200-gpio";
760                                         reg = <0xfffff800 0x200>;
761                                         interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
762                                         #gpio-cells = <2>;
763                                         gpio-controller;
764                                         interrupt-controller;
765                                         #interrupt-cells = <2>;
766                                         clocks = <&pioCDE_clk>;
767                                 };
768
769                                 pioE: gpio@fffffa00 {
770                                         compatible = "atmel,at91rm9200-gpio";
771                                         reg = <0xfffffa00 0x200>;
772                                         interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
773                                         #gpio-cells = <2>;
774                                         gpio-controller;
775                                         interrupt-controller;
776                                         #interrupt-cells = <2>;
777                                         clocks = <&pioCDE_clk>;
778                                 };
779                         };
780
781                         dbgu: serial@ffffee00 {
782                                 compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
783                                 reg = <0xffffee00 0x200>;
784                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
785                                 pinctrl-names = "default";
786                                 pinctrl-0 = <&pinctrl_dbgu>;
787                                 clocks = <&mck>;
788                                 clock-names = "usart";
789                                 status = "disabled";
790                         };
791
792                         usart0: serial@fff8c000 {
793                                 compatible = "atmel,at91sam9260-usart";
794                                 reg = <0xfff8c000 0x200>;
795                                 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
796                                 atmel,use-dma-rx;
797                                 atmel,use-dma-tx;
798                                 pinctrl-names = "default";
799                                 pinctrl-0 = <&pinctrl_usart0>;
800                                 clocks = <&usart0_clk>;
801                                 clock-names = "usart";
802                                 status = "disabled";
803                         };
804
805                         usart1: serial@fff90000 {
806                                 compatible = "atmel,at91sam9260-usart";
807                                 reg = <0xfff90000 0x200>;
808                                 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
809                                 atmel,use-dma-rx;
810                                 atmel,use-dma-tx;
811                                 pinctrl-names = "default";
812                                 pinctrl-0 = <&pinctrl_usart1>;
813                                 clocks = <&usart1_clk>;
814                                 clock-names = "usart";
815                                 status = "disabled";
816                         };
817
818                         usart2: serial@fff94000 {
819                                 compatible = "atmel,at91sam9260-usart";
820                                 reg = <0xfff94000 0x200>;
821                                 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 5>;
822                                 atmel,use-dma-rx;
823                                 atmel,use-dma-tx;
824                                 pinctrl-names = "default";
825                                 pinctrl-0 = <&pinctrl_usart2>;
826                                 clocks = <&usart2_clk>;
827                                 clock-names = "usart";
828                                 status = "disabled";
829                         };
830
831                         ssc0: ssc@fff98000 {
832                                 compatible = "atmel,at91rm9200-ssc";
833                                 reg = <0xfff98000 0x4000>;
834                                 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
835                                 pinctrl-names = "default";
836                                 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
837                                 clocks = <&ssc0_clk>;
838                                 clock-names = "pclk";
839                                 status = "disabled";
840                         };
841
842                         ssc1: ssc@fff9c000 {
843                                 compatible = "atmel,at91rm9200-ssc";
844                                 reg = <0xfff9c000 0x4000>;
845                                 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>;
846                                 pinctrl-names = "default";
847                                 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
848                                 clocks = <&ssc1_clk>;
849                                 clock-names = "pclk";
850                                 status = "disabled";
851                         };
852
853                         ac97: sound@fffa0000 {
854                                 compatible = "atmel,at91sam9263-ac97c";
855                                 reg = <0xfffa0000 0x4000>;
856                                 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 5>;
857                                 pinctrl-names = "default";
858                                 pinctrl-0 = <&pinctrl_ac97>;
859                                 clocks = <&ac97_clk>;
860                                 clock-names = "ac97_clk";
861                                 status = "disabled";
862                         };
863
864                         macb0: ethernet@fffbc000 {
865                                 compatible = "cdns,at91sam9260-macb", "cdns,macb";
866                                 reg = <0xfffbc000 0x100>;
867                                 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 3>;
868                                 pinctrl-names = "default";
869                                 pinctrl-0 = <&pinctrl_macb_rmii>;
870                                 clocks = <&macb0_clk>, <&macb0_clk>;
871                                 clock-names = "hclk", "pclk";
872                                 status = "disabled";
873                         };
874
875                         usb1: gadget@fff78000 {
876                                 compatible = "atmel,at91sam9263-udc";
877                                 reg = <0xfff78000 0x4000>;
878                                 interrupts = <24 IRQ_TYPE_LEVEL_HIGH 2>;
879                                 clocks = <&udc_clk>, <&udpck>;
880                                 clock-names = "pclk", "hclk";
881                                 status = "disabled";
882                         };
883
884                         i2c0: i2c@fff88000 {
885                                 compatible = "atmel,at91sam9260-i2c";
886                                 reg = <0xfff88000 0x100>;
887                                 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 6>;
888                                 #address-cells = <1>;
889                                 #size-cells = <0>;
890                                 clocks = <&twi0_clk>;
891                                 status = "disabled";
892                         };
893
894                         mmc0: mmc@fff80000 {
895                                 compatible = "atmel,hsmci";
896                                 reg = <0xfff80000 0x600>;
897                                 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 0>;
898                                 pinctrl-names = "default";
899                                 #address-cells = <1>;
900                                 #size-cells = <0>;
901                                 clocks = <&mci0_clk>;
902                                 clock-names = "mci_clk";
903                                 status = "disabled";
904                         };
905
906                         mmc1: mmc@fff84000 {
907                                 compatible = "atmel,hsmci";
908                                 reg = <0xfff84000 0x600>;
909                                 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 0>;
910                                 pinctrl-names = "default";
911                                 #address-cells = <1>;
912                                 #size-cells = <0>;
913                                 clocks = <&mci1_clk>;
914                                 clock-names = "mci_clk";
915                                 status = "disabled";
916                         };
917
918                         watchdog@fffffd40 {
919                                 compatible = "atmel,at91sam9260-wdt";
920                                 reg = <0xfffffd40 0x10>;
921                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
922                                 clocks = <&slow_xtal>;
923                                 atmel,watchdog-type = "hardware";
924                                 atmel,reset-type = "all";
925                                 atmel,dbg-halt;
926                                 status = "disabled";
927                         };
928
929                         spi0: spi@fffa4000 {
930                                 #address-cells = <1>;
931                                 #size-cells = <0>;
932                                 compatible = "atmel,at91rm9200-spi";
933                                 reg = <0xfffa4000 0x200>;
934                                 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>;
935                                 pinctrl-names = "default";
936                                 pinctrl-0 = <&pinctrl_spi0>;
937                                 clocks = <&spi0_clk>;
938                                 clock-names = "spi_clk";
939                                 status = "disabled";
940                         };
941
942                         spi1: spi@fffa8000 {
943                                 #address-cells = <1>;
944                                 #size-cells = <0>;
945                                 compatible = "atmel,at91rm9200-spi";
946                                 reg = <0xfffa8000 0x200>;
947                                 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 3>;
948                                 pinctrl-names = "default";
949                                 pinctrl-0 = <&pinctrl_spi1>;
950                                 clocks = <&spi1_clk>;
951                                 clock-names = "spi_clk";
952                                 status = "disabled";
953                         };
954
955                         pwm0: pwm@fffb8000 {
956                                 compatible = "atmel,at91sam9rl-pwm";
957                                 reg = <0xfffb8000 0x300>;
958                                 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 4>;
959                                 #pwm-cells = <3>;
960                                 clocks = <&pwm_clk>;
961                                 clock-names = "pwm_clk";
962                                 status = "disabled";
963                         };
964
965                         can: can@fffac000 {
966                                 compatible = "atmel,at91sam9263-can";
967                                 reg = <0xfffac000 0x300>;
968                                 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 3>;
969                                 pinctrl-names = "default";
970                                 pinctrl-0 = <&pinctrl_can_rx_tx>;
971                                 clocks = <&can_clk>;
972                                 clock-names = "can_clk";
973                         };
974
975                         rtc@fffffd20 {
976                                 compatible = "atmel,at91sam9260-rtt";
977                                 reg = <0xfffffd20 0x10>;
978                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
979                                 clocks = <&slow_xtal>;
980                                 status = "disabled";
981                         };
982
983                         rtc@fffffd50 {
984                                 compatible = "atmel,at91sam9260-rtt";
985                                 reg = <0xfffffd50 0x10>;
986                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
987                                 clocks = <&slow_xtal>;
988                                 status = "disabled";
989                         };
990
991                         gpbr: syscon@fffffd60 {
992                                 compatible = "atmel,at91sam9260-gpbr", "syscon";
993                                 reg = <0xfffffd60 0x50>;
994                                 status = "disabled";
995                         };
996                 };
997
998                 fb0: fb@0x00700000 {
999                         compatible = "atmel,at91sam9263-lcdc";
1000                         reg = <0x00700000 0x1000>;
1001                         interrupts = <26 IRQ_TYPE_LEVEL_HIGH 3>;
1002                         pinctrl-names = "default";
1003                         pinctrl-0 = <&pinctrl_fb>;
1004                         clocks = <&lcd_clk>, <&lcd_clk>;
1005                         clock-names = "lcdc_clk", "hclk";
1006                         status = "disabled";
1007                 };
1008
1009                 nand0: nand@40000000 {
1010                         compatible = "atmel,at91rm9200-nand";
1011                         #address-cells = <1>;
1012                         #size-cells = <1>;
1013                         reg = <0x40000000 0x10000000
1014                                0xffffe000 0x200
1015                               >;
1016                         atmel,nand-addr-offset = <21>;
1017                         atmel,nand-cmd-offset = <22>;
1018                         pinctrl-names = "default";
1019                         pinctrl-0 = <&pinctrl_nand>;
1020                         gpios = <&pioA 22 GPIO_ACTIVE_HIGH
1021                                  &pioD 15 GPIO_ACTIVE_HIGH
1022                                  0
1023                                 >;
1024                         status = "disabled";
1025                 };
1026
1027                 usb0: ohci@00a00000 {
1028                         compatible = "atmel,at91rm9200-ohci", "usb-ohci";
1029                         reg = <0x00a00000 0x100000>;
1030                         interrupts = <29 IRQ_TYPE_LEVEL_HIGH 2>;
1031                         clocks = <&ohci_clk>, <&ohci_clk>, <&uhpck>;
1032                         clock-names = "ohci_clk", "hclk", "uhpck";
1033                         status = "disabled";
1034                 };
1035
1036                 ebi0: ebi@10000000 {
1037                         compatible = "atmel,at91sam9263-ebi0";
1038                         #address-cells = <2>;
1039                         #size-cells = <1>;
1040                         atmel,smc = <&smc0>;
1041                         atmel,matrix = <&matrix>;
1042                         reg = <0x10000000 0x80000000>;
1043                         ranges = <0x0 0x0 0x10000000 0x10000000
1044                                   0x1 0x0 0x20000000 0x10000000
1045                                   0x2 0x0 0x30000000 0x10000000
1046                                   0x3 0x0 0x40000000 0x10000000
1047                                   0x4 0x0 0x50000000 0x10000000
1048                                   0x5 0x0 0x60000000 0x10000000>;
1049                         clocks = <&mck>;
1050                         status = "disabled";
1051
1052                         nand_controller0: nand-controller {
1053                                 compatible = "atmel,at91sam9260-nand-controller";
1054                                 #address-cells = <2>;
1055                                 #size-cells = <1>;
1056                                 ranges;
1057                                 status = "disabled";
1058                         };
1059                 };
1060
1061                 ebi1: ebi@70000000 {
1062                         compatible = "atmel,at91sam9263-ebi1";
1063                         #address-cells = <2>;
1064                         #size-cells = <1>;
1065                         atmel,smc = <&smc1>;
1066                         atmel,matrix = <&matrix>;
1067                         reg = <0x80000000 0x20000000>;
1068                         ranges = <0x0 0x0 0x80000000 0x10000000
1069                                   0x1 0x0 0x90000000 0x10000000>;
1070                         clocks = <&mck>;
1071                         status = "disabled";
1072
1073                         nand_controller1: nand-controller {
1074                                 compatible = "atmel,at91sam9260-nand-controller";
1075                                 #address-cells = <2>;
1076                                 #size-cells = <1>;
1077                                 ranges;
1078                                 status = "disabled";
1079                         };
1080                 };
1081         };
1082
1083         i2c-gpio-0 {
1084                 compatible = "i2c-gpio";
1085                 gpios = <&pioB 4 GPIO_ACTIVE_HIGH /* sda */
1086                          &pioB 5 GPIO_ACTIVE_HIGH /* scl */
1087                         >;
1088                 i2c-gpio,sda-open-drain;
1089                 i2c-gpio,scl-open-drain;
1090                 i2c-gpio,delay-us = <2>;        /* ~100 kHz */
1091                 #address-cells = <1>;
1092                 #size-cells = <0>;
1093                 status = "disabled";
1094         };
1095 };