2 * at91sam9g45.dtsi - Device Tree Include file for AT91SAM9G45 family SoC
3 * applies to AT91SAM9G45, AT91SAM9M10,
4 * AT91SAM9G46, AT91SAM9M11 SoC
6 * Copyright (C) 2011 Atmel,
7 * 2011 Nicolas Ferre <nicolas.ferre@atmel.com>
9 * Licensed under GPLv2 or later.
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>
20 model = "Atmel AT91SAM9G45 family SoC";
21 compatible = "atmel,at91sam9g45";
22 interrupt-parent = <&aic>;
48 compatible = "arm,arm926ej-s";
54 reg = <0x70000000 0x10000000>;
58 slow_xtal: slow_xtal {
59 compatible = "fixed-clock";
61 clock-frequency = <0>;
64 main_xtal: main_xtal {
65 compatible = "fixed-clock";
67 clock-frequency = <0>;
70 adc_op_clk: adc_op_clk{
71 compatible = "fixed-clock";
73 clock-frequency = <300000>;
78 compatible = "mmio-sram";
79 reg = <0x00300000 0x10000>;
83 compatible = "simple-bus";
89 compatible = "simple-bus";
94 aic: interrupt-controller@fffff000 {
95 #interrupt-cells = <3>;
96 compatible = "atmel,at91rm9200-aic";
98 reg = <0xfffff000 0x200>;
99 atmel,external-irqs = <31>;
102 ramc0: ramc@ffffe400 {
103 compatible = "atmel,at91sam9g45-ddramc";
104 reg = <0xffffe400 0x200>;
106 clock-names = "ddrck";
109 ramc1: ramc@ffffe600 {
110 compatible = "atmel,at91sam9g45-ddramc";
111 reg = <0xffffe600 0x200>;
113 clock-names = "ddrck";
117 compatible = "atmel,at91sam9g45-pmc";
118 reg = <0xfffffc00 0x100>;
119 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
120 interrupt-controller;
121 #address-cells = <1>;
123 #interrupt-cells = <1>;
126 compatible = "atmel,at91rm9200-clk-main-osc";
128 interrupts-extended = <&pmc AT91_PMC_MOSCS>;
129 clocks = <&main_xtal>;
133 compatible = "atmel,at91rm9200-clk-main";
135 clocks = <&main_osc>;
139 compatible = "atmel,at91rm9200-clk-pll";
141 interrupts-extended = <&pmc AT91_PMC_LOCKA>;
144 atmel,clk-input-range = <2000000 32000000>;
145 #atmel,pll-clk-output-range-cells = <4>;
146 atmel,pll-clk-output-ranges = <745000000 800000000 0 0
147 695000000 750000000 1 0
148 645000000 700000000 2 0
149 595000000 650000000 3 0
150 545000000 600000000 0 1
151 495000000 555000000 1 1
152 445000000 500000000 2 1
153 400000000 450000000 3 1>;
157 compatible = "atmel,at91sam9x5-clk-plldiv";
163 compatible = "atmel,at91sam9x5-clk-utmi";
165 interrupts-extended = <&pmc AT91_PMC_LOCKU>;
170 compatible = "atmel,at91rm9200-clk-master";
172 interrupts-extended = <&pmc AT91_PMC_MCKRDY>;
173 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>;
174 atmel,clk-output-range = <0 133333333>;
175 atmel,clk-divisors = <1 2 4 3>;
179 compatible = "atmel,at91sam9x5-clk-usb";
181 clocks = <&plladiv>, <&utmi>;
185 compatible = "atmel,at91sam9g45-clk-programmable";
186 #address-cells = <1>;
188 interrupt-parent = <&pmc>;
189 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>;
194 interrupts = <AT91_PMC_PCKRDY(0)>;
200 interrupts = <AT91_PMC_PCKRDY(1)>;
205 compatible = "atmel,at91rm9200-clk-system";
206 #address-cells = <1>;
235 compatible = "atmel,at91rm9200-clk-peripheral";
236 #address-cells = <1>;
255 pioDE_clk: pioDE_clk {
265 usart0_clk: usart0_clk {
270 usart1_clk: usart1_clk {
275 usart2_clk: usart2_clk {
280 usart3_clk: usart3_clk {
340 uhphs_clk: uhphs_clk {
355 macb0_clk: macb0_clk {
365 udphs_clk: udphs_clk {
370 aestdessha_clk: aestdessha_clk {
388 compatible = "atmel,at91sam9g45-rstc";
389 reg = <0xfffffd00 0x10>;
392 pit: timer@fffffd30 {
393 compatible = "atmel,at91sam9260-pit";
394 reg = <0xfffffd30 0xf>;
395 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
401 compatible = "atmel,at91sam9rl-shdwc";
402 reg = <0xfffffd10 0x10>;
405 tcb0: timer@fff7c000 {
406 compatible = "atmel,at91rm9200-tcb";
407 reg = <0xfff7c000 0x100>;
408 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 0>;
409 clocks = <&tcb0_clk>, <&tcb0_clk>, <&tcb0_clk>;
410 clock-names = "t0_clk", "t1_clk", "t2_clk";
413 tcb1: timer@fffd4000 {
414 compatible = "atmel,at91rm9200-tcb";
415 reg = <0xfffd4000 0x100>;
416 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 0>;
417 clocks = <&tcb0_clk>, <&tcb0_clk>, <&tcb0_clk>;
418 clock-names = "t0_clk", "t1_clk", "t2_clk";
421 dma: dma-controller@ffffec00 {
422 compatible = "atmel,at91sam9g45-dma";
423 reg = <0xffffec00 0x200>;
424 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
426 clocks = <&dma0_clk>;
427 clock-names = "dma_clk";
431 #address-cells = <1>;
433 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
434 ranges = <0xfffff200 0xfffff200 0xa00>;
438 0xffffffff 0xffc003ff /* pioA */
439 0xffffffff 0x800f8f00 /* pioB */
440 0xffffffff 0x00000e00 /* pioC */
441 0xffffffff 0xff0c1381 /* pioD */
442 0xffffffff 0x81ffff81 /* pioE */
445 /* shared pinctrl settings */
447 pinctrl_adc0_adtrg: adc0_adtrg {
448 atmel,pins = <AT91_PIOD 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
450 pinctrl_adc0_ad0: adc0_ad0 {
451 atmel,pins = <AT91_PIOD 20 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
453 pinctrl_adc0_ad1: adc0_ad1 {
454 atmel,pins = <AT91_PIOD 21 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
456 pinctrl_adc0_ad2: adc0_ad2 {
457 atmel,pins = <AT91_PIOD 22 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
459 pinctrl_adc0_ad3: adc0_ad3 {
460 atmel,pins = <AT91_PIOD 23 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
462 pinctrl_adc0_ad4: adc0_ad4 {
463 atmel,pins = <AT91_PIOD 24 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
465 pinctrl_adc0_ad5: adc0_ad5 {
466 atmel,pins = <AT91_PIOD 25 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
468 pinctrl_adc0_ad6: adc0_ad6 {
469 atmel,pins = <AT91_PIOD 26 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
471 pinctrl_adc0_ad7: adc0_ad7 {
472 atmel,pins = <AT91_PIOD 27 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
477 pinctrl_dbgu: dbgu-0 {
479 <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB12 periph A */
480 AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB13 periph A */
485 pinctrl_i2c0: i2c0-0 {
487 <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA21 periph A TWCK0 */
488 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA20 periph A TWD0 */
493 pinctrl_i2c1: i2c1-0 {
495 <AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB11 periph A TWCK1 */
496 AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB10 periph A TWD1 */
502 atmel,pins = <AT91_PIOB 8 AT91_PERIPH_B AT91_PINCTRL_NONE /* D8 */
503 AT91_PIOB 9 AT91_PERIPH_B AT91_PINCTRL_NONE /* D9 */
504 AT91_PIOB 10 AT91_PERIPH_B AT91_PINCTRL_NONE /* D10 */
505 AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE /* D11 */
506 AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* D0 */
507 AT91_PIOB 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* D1 */
508 AT91_PIOB 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* D2 */
509 AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* D3 */
510 AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* D4 */
511 AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE /* D5 */
512 AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE /* D6 */
513 AT91_PIOB 27 AT91_PERIPH_A AT91_PINCTRL_NONE /* D7 */
514 AT91_PIOB 28 AT91_PERIPH_A AT91_PINCTRL_NONE /* PCK */
515 AT91_PIOB 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* VSYNC */
516 AT91_PIOB 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* HSYNC */
517 AT91_PIOB 31 AT91_PERIPH_A AT91_PINCTRL_NONE /* MCK */>;
522 pinctrl_usart0: usart0-0 {
524 <AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB19 periph A with pullup */
525 AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB18 periph A */
528 pinctrl_usart0_rts: usart0_rts-0 {
530 <AT91_PIOB 17 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB17 periph B */
533 pinctrl_usart0_cts: usart0_cts-0 {
535 <AT91_PIOB 15 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB15 periph B */
540 pinctrl_usart1: usart1-0 {
542 <AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB4 periph A with pullup */
543 AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB5 periph A */
546 pinctrl_usart1_rts: usart1_rts-0 {
548 <AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD16 periph A */
551 pinctrl_usart1_cts: usart1_cts-0 {
553 <AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD17 periph A */
558 pinctrl_usart2: usart2-0 {
560 <AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB6 periph A with pullup */
561 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB7 periph A */
564 pinctrl_usart2_rts: usart2_rts-0 {
566 <AT91_PIOC 9 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC9 periph B */
569 pinctrl_usart2_cts: usart2_cts-0 {
571 <AT91_PIOC 11 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC11 periph B */
576 pinctrl_usart3: usart3-0 {
578 <AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB9 periph A with pullup */
579 AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB8 periph A */
582 pinctrl_usart3_rts: usart3_rts-0 {
584 <AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA23 periph B */
587 pinctrl_usart3_cts: usart3_cts-0 {
589 <AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA24 periph B */
594 pinctrl_nand: nand-0 {
596 <AT91_PIOC 8 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PC8 gpio RDY pin pull_up*/
597 AT91_PIOC 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PC14 gpio enable pin pull_up */
602 pinctrl_macb_rmii: macb_rmii-0 {
604 <AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA10 periph A */
605 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A */
606 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A */
607 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA13 periph A */
608 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA14 periph A */
609 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA15 periph A */
610 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA16 periph A */
611 AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA17 periph A */
612 AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA18 periph A */
613 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA19 periph A */
616 pinctrl_macb_rmii_mii: macb_rmii_mii-0 {
618 <AT91_PIOA 6 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA6 periph B */
619 AT91_PIOA 7 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA7 periph B */
620 AT91_PIOA 8 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA8 periph B */
621 AT91_PIOA 9 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA9 periph B */
622 AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA27 periph B */
623 AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA28 periph B */
624 AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA29 periph B */
625 AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA30 periph B */
630 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
632 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA0 periph A */
633 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA1 periph A with pullup */
634 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA2 periph A with pullup */
637 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
639 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA3 periph A with pullup */
640 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA4 periph A with pullup */
641 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA5 periph A with pullup */
644 pinctrl_mmc0_slot0_dat4_7: mmc0_slot0_dat4_7-0 {
646 <AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA6 periph A with pullup */
647 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */
648 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA8 periph A with pullup */
649 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA9 periph A with pullup */
654 pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
656 <AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA31 periph A */
657 AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA22 periph A with pullup */
658 AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA23 periph A with pullup */
661 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
663 <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA24 periph A with pullup */
664 AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA25 periph A with pullup */
665 AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA26 periph A with pullup */
668 pinctrl_mmc1_slot0_dat4_7: mmc1_slot0_dat4_7-0 {
670 <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA27 periph A with pullup */
671 AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA28 periph A with pullup */
672 AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA29 periph A with pullup */
673 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA30 periph A with pullup */
678 pinctrl_ssc0_tx: ssc0_tx-0 {
680 <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD0 periph A */
681 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD1 periph A */
682 AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD2 periph A */
685 pinctrl_ssc0_rx: ssc0_rx-0 {
687 <AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD3 periph A */
688 AT91_PIOD 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD4 periph A */
689 AT91_PIOD 5 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD5 periph A */
694 pinctrl_ssc1_tx: ssc1_tx-0 {
696 <AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD10 periph A */
697 AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD11 periph A */
698 AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD12 periph A */
701 pinctrl_ssc1_rx: ssc1_rx-0 {
703 <AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD13 periph A */
704 AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD14 periph A */
705 AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD15 periph A */
710 pinctrl_spi0: spi0-0 {
712 <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB0 periph A SPI0_MISO pin */
713 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB1 periph A SPI0_MOSI pin */
714 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB2 periph A SPI0_SPCK pin */
719 pinctrl_spi1: spi1-0 {
721 <AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB14 periph A SPI1_MISO pin */
722 AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB15 periph A SPI1_MOSI pin */
723 AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB16 periph A SPI1_SPCK pin */
728 pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
729 atmel,pins = <AT91_PIOD 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
732 pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
733 atmel,pins = <AT91_PIOD 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
736 pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
737 atmel,pins = <AT91_PIOC 10 AT91_PERIPH_B AT91_PINCTRL_NONE>;
740 pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
741 atmel,pins = <AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE>;
744 pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
745 atmel,pins = <AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
748 pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
749 atmel,pins = <AT91_PIOD 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;
752 pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
753 atmel,pins = <AT91_PIOD 30 AT91_PERIPH_A AT91_PINCTRL_NONE>;
756 pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
757 atmel,pins = <AT91_PIOD 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
760 pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
761 atmel,pins = <AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE>;
766 pinctrl_tcb1_tclk0: tcb1_tclk0-0 {
767 atmel,pins = <AT91_PIOA 0 AT91_PERIPH_B AT91_PINCTRL_NONE>;
770 pinctrl_tcb1_tclk1: tcb1_tclk1-0 {
771 atmel,pins = <AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_NONE>;
774 pinctrl_tcb1_tclk2: tcb1_tclk2-0 {
775 atmel,pins = <AT91_PIOD 9 AT91_PERIPH_B AT91_PINCTRL_NONE>;
778 pinctrl_tcb1_tioa0: tcb1_tioa0-0 {
779 atmel,pins = <AT91_PIOA 1 AT91_PERIPH_B AT91_PINCTRL_NONE>;
782 pinctrl_tcb1_tioa1: tcb1_tioa1-0 {
783 atmel,pins = <AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_NONE>;
786 pinctrl_tcb1_tioa2: tcb1_tioa2-0 {
787 atmel,pins = <AT91_PIOD 7 AT91_PERIPH_B AT91_PINCTRL_NONE>;
790 pinctrl_tcb1_tiob0: tcb1_tiob0-0 {
791 atmel,pins = <AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_NONE>;
794 pinctrl_tcb1_tiob1: tcb1_tiob1-0 {
795 atmel,pins = <AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_NONE>;
798 pinctrl_tcb1_tiob2: tcb1_tiob2-0 {
799 atmel,pins = <AT91_PIOD 8 AT91_PERIPH_B AT91_PINCTRL_NONE>;
806 <AT91_PIOE 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE0 periph A */
807 AT91_PIOE 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE2 periph A */
808 AT91_PIOE 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE3 periph A */
809 AT91_PIOE 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE4 periph A */
810 AT91_PIOE 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE5 periph A */
811 AT91_PIOE 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE6 periph A */
812 AT91_PIOE 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE7 periph A */
813 AT91_PIOE 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE8 periph A */
814 AT91_PIOE 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE9 periph A */
815 AT91_PIOE 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE10 periph A */
816 AT91_PIOE 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE11 periph A */
817 AT91_PIOE 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE12 periph A */
818 AT91_PIOE 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE13 periph A */
819 AT91_PIOE 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE14 periph A */
820 AT91_PIOE 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE15 periph A */
821 AT91_PIOE 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE16 periph A */
822 AT91_PIOE 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE17 periph A */
823 AT91_PIOE 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE18 periph A */
824 AT91_PIOE 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE19 periph A */
825 AT91_PIOE 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE20 periph A */
826 AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE21 periph A */
827 AT91_PIOE 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE22 periph A */
828 AT91_PIOE 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE23 periph A */
829 AT91_PIOE 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE24 periph A */
830 AT91_PIOE 25 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE25 periph A */
831 AT91_PIOE 26 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE26 periph A */
832 AT91_PIOE 27 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE27 periph A */
833 AT91_PIOE 28 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE28 periph A */
834 AT91_PIOE 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE29 periph A */
835 AT91_PIOE 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PE30 periph A */
839 pioA: gpio@fffff200 {
840 compatible = "atmel,at91rm9200-gpio";
841 reg = <0xfffff200 0x200>;
842 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
845 interrupt-controller;
846 #interrupt-cells = <2>;
847 clocks = <&pioA_clk>;
850 pioB: gpio@fffff400 {
851 compatible = "atmel,at91rm9200-gpio";
852 reg = <0xfffff400 0x200>;
853 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
856 interrupt-controller;
857 #interrupt-cells = <2>;
858 clocks = <&pioB_clk>;
861 pioC: gpio@fffff600 {
862 compatible = "atmel,at91rm9200-gpio";
863 reg = <0xfffff600 0x200>;
864 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
867 interrupt-controller;
868 #interrupt-cells = <2>;
869 clocks = <&pioC_clk>;
872 pioD: gpio@fffff800 {
873 compatible = "atmel,at91rm9200-gpio";
874 reg = <0xfffff800 0x200>;
875 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
878 interrupt-controller;
879 #interrupt-cells = <2>;
880 clocks = <&pioDE_clk>;
883 pioE: gpio@fffffa00 {
884 compatible = "atmel,at91rm9200-gpio";
885 reg = <0xfffffa00 0x200>;
886 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
889 interrupt-controller;
890 #interrupt-cells = <2>;
891 clocks = <&pioDE_clk>;
895 dbgu: serial@ffffee00 {
896 compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
897 reg = <0xffffee00 0x200>;
898 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
899 pinctrl-names = "default";
900 pinctrl-0 = <&pinctrl_dbgu>;
902 clock-names = "usart";
906 usart0: serial@fff8c000 {
907 compatible = "atmel,at91sam9260-usart";
908 reg = <0xfff8c000 0x200>;
909 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
912 pinctrl-names = "default";
913 pinctrl-0 = <&pinctrl_usart0>;
914 clocks = <&usart0_clk>;
915 clock-names = "usart";
919 usart1: serial@fff90000 {
920 compatible = "atmel,at91sam9260-usart";
921 reg = <0xfff90000 0x200>;
922 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
925 pinctrl-names = "default";
926 pinctrl-0 = <&pinctrl_usart1>;
927 clocks = <&usart1_clk>;
928 clock-names = "usart";
932 usart2: serial@fff94000 {
933 compatible = "atmel,at91sam9260-usart";
934 reg = <0xfff94000 0x200>;
935 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 5>;
938 pinctrl-names = "default";
939 pinctrl-0 = <&pinctrl_usart2>;
940 clocks = <&usart2_clk>;
941 clock-names = "usart";
945 usart3: serial@fff98000 {
946 compatible = "atmel,at91sam9260-usart";
947 reg = <0xfff98000 0x200>;
948 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 5>;
951 pinctrl-names = "default";
952 pinctrl-0 = <&pinctrl_usart3>;
953 clocks = <&usart3_clk>;
954 clock-names = "usart";
958 macb0: ethernet@fffbc000 {
959 compatible = "cdns,at91sam9260-macb", "cdns,macb";
960 reg = <0xfffbc000 0x100>;
961 interrupts = <25 IRQ_TYPE_LEVEL_HIGH 3>;
962 pinctrl-names = "default";
963 pinctrl-0 = <&pinctrl_macb_rmii>;
964 clocks = <&macb0_clk>, <&macb0_clk>;
965 clock-names = "hclk", "pclk";
970 compatible = "atmel,at91sam9g45-trng";
971 reg = <0xfffcc000 0x4000>;
972 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 0>;
973 clocks = <&trng_clk>;
977 compatible = "atmel,at91sam9g10-i2c";
978 reg = <0xfff84000 0x100>;
979 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 6>;
980 pinctrl-names = "default";
981 pinctrl-0 = <&pinctrl_i2c0>;
982 #address-cells = <1>;
984 clocks = <&twi0_clk>;
989 compatible = "atmel,at91sam9g10-i2c";
990 reg = <0xfff88000 0x100>;
991 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 6>;
992 pinctrl-names = "default";
993 pinctrl-0 = <&pinctrl_i2c1>;
994 #address-cells = <1>;
996 clocks = <&twi1_clk>;
1000 ssc0: ssc@fff9c000 {
1001 compatible = "atmel,at91sam9g45-ssc";
1002 reg = <0xfff9c000 0x4000>;
1003 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
1004 pinctrl-names = "default";
1005 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
1006 clocks = <&ssc0_clk>;
1007 clock-names = "pclk";
1008 status = "disabled";
1011 ssc1: ssc@fffa0000 {
1012 compatible = "atmel,at91sam9g45-ssc";
1013 reg = <0xfffa0000 0x4000>;
1014 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>;
1015 pinctrl-names = "default";
1016 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
1017 clocks = <&ssc1_clk>;
1018 clock-names = "pclk";
1019 status = "disabled";
1022 adc0: adc@fffb0000 {
1023 #address-cells = <1>;
1025 compatible = "atmel,at91sam9g45-adc";
1026 reg = <0xfffb0000 0x100>;
1027 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
1028 clocks = <&adc_clk>, <&adc_op_clk>;
1029 clock-names = "adc_clk", "adc_op_clk";
1030 atmel,adc-channels-used = <0xff>;
1031 atmel,adc-vref = <3300>;
1032 atmel,adc-startup-time = <40>;
1033 atmel,adc-res = <8 10>;
1034 atmel,adc-res-names = "lowres", "highres";
1035 atmel,adc-use-res = "highres";
1039 trigger-name = "external-rising";
1040 trigger-value = <0x1>;
1045 trigger-name = "external-falling";
1046 trigger-value = <0x2>;
1052 trigger-name = "external-any";
1053 trigger-value = <0x3>;
1059 trigger-name = "continuous";
1060 trigger-value = <0x6>;
1065 compatible = "atmel,at91sam9g45-isi";
1066 reg = <0xfffb4000 0x4000>;
1067 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 5>;
1068 clocks = <&isi_clk>;
1069 clock-names = "isi_clk";
1070 pinctrl-names = "default";
1071 pinctrl-0 = <&pinctrl_isi>;
1072 status = "disabled";
1075 pwm0: pwm@fffb8000 {
1076 compatible = "atmel,at91sam9rl-pwm";
1077 reg = <0xfffb8000 0x300>;
1078 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 4>;
1080 clocks = <&pwm_clk>;
1081 status = "disabled";
1084 mmc0: mmc@fff80000 {
1085 compatible = "atmel,hsmci";
1086 reg = <0xfff80000 0x600>;
1087 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 0>;
1088 pinctrl-names = "default";
1089 dmas = <&dma 1 AT91_DMA_CFG_PER_ID(0)>;
1091 #address-cells = <1>;
1093 clocks = <&mci0_clk>;
1094 clock-names = "mci_clk";
1095 status = "disabled";
1098 mmc1: mmc@fffd0000 {
1099 compatible = "atmel,hsmci";
1100 reg = <0xfffd0000 0x600>;
1101 interrupts = <29 IRQ_TYPE_LEVEL_HIGH 0>;
1102 pinctrl-names = "default";
1103 dmas = <&dma 1 AT91_DMA_CFG_PER_ID(13)>;
1105 #address-cells = <1>;
1107 clocks = <&mci1_clk>;
1108 clock-names = "mci_clk";
1109 status = "disabled";
1113 compatible = "atmel,at91sam9260-wdt";
1114 reg = <0xfffffd40 0x10>;
1115 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1116 atmel,watchdog-type = "hardware";
1117 atmel,reset-type = "all";
1119 status = "disabled";
1122 spi0: spi@fffa4000 {
1123 #address-cells = <1>;
1125 compatible = "atmel,at91rm9200-spi";
1126 reg = <0xfffa4000 0x200>;
1127 interrupts = <14 4 3>;
1128 pinctrl-names = "default";
1129 pinctrl-0 = <&pinctrl_spi0>;
1130 clocks = <&spi0_clk>;
1131 clock-names = "spi_clk";
1132 status = "disabled";
1135 spi1: spi@fffa8000 {
1136 #address-cells = <1>;
1138 compatible = "atmel,at91rm9200-spi";
1139 reg = <0xfffa8000 0x200>;
1140 interrupts = <15 4 3>;
1141 pinctrl-names = "default";
1142 pinctrl-0 = <&pinctrl_spi1>;
1143 clocks = <&spi1_clk>;
1144 clock-names = "spi_clk";
1145 status = "disabled";
1148 usb2: gadget@fff78000 {
1149 #address-cells = <1>;
1151 compatible = "atmel,at91sam9rl-udc";
1152 reg = <0x00600000 0x80000
1154 interrupts = <27 IRQ_TYPE_LEVEL_HIGH 0>;
1155 clocks = <&udphs_clk>, <&utmi>;
1156 clock-names = "pclk", "hclk";
1157 status = "disabled";
1161 atmel,fifo-size = <64>;
1162 atmel,nb-banks = <1>;
1167 atmel,fifo-size = <1024>;
1168 atmel,nb-banks = <2>;
1175 atmel,fifo-size = <1024>;
1176 atmel,nb-banks = <2>;
1183 atmel,fifo-size = <1024>;
1184 atmel,nb-banks = <3>;
1190 atmel,fifo-size = <1024>;
1191 atmel,nb-banks = <3>;
1197 atmel,fifo-size = <1024>;
1198 atmel,nb-banks = <3>;
1205 atmel,fifo-size = <1024>;
1206 atmel,nb-banks = <3>;
1213 compatible = "atmel,at91sam9x5-sckc";
1214 reg = <0xfffffd50 0x4>;
1216 slow_osc: slow_osc {
1217 compatible = "atmel,at91sam9x5-clk-slow-osc";
1219 atmel,startup-time-usec = <1200000>;
1220 clocks = <&slow_xtal>;
1223 slow_rc_osc: slow_rc_osc {
1224 compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
1226 atmel,startup-time-usec = <75>;
1227 clock-frequency = <32768>;
1228 clock-accuracy = <50000000>;
1232 compatible = "atmel,at91sam9x5-clk-slow";
1234 clocks = <&slow_rc_osc &slow_osc>;
1239 compatible = "atmel,at91sam9260-rtt";
1240 reg = <0xfffffd20 0x10>;
1241 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1243 status = "disabled";
1247 compatible = "atmel,at91rm9200-rtc";
1248 reg = <0xfffffdb0 0x30>;
1249 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1250 status = "disabled";
1253 gpbr: syscon@fffffd60 {
1254 compatible = "atmel,at91sam9260-gpbr", "syscon";
1255 reg = <0xfffffd60 0x10>;
1256 status = "disabled";
1260 fb0: fb@0x00500000 {
1261 compatible = "atmel,at91sam9g45-lcdc";
1262 reg = <0x00500000 0x1000>;
1263 interrupts = <23 IRQ_TYPE_LEVEL_HIGH 3>;
1264 pinctrl-names = "default";
1265 pinctrl-0 = <&pinctrl_fb>;
1266 clocks = <&lcd_clk>, <&lcd_clk>;
1267 clock-names = "hclk", "lcdc_clk";
1268 status = "disabled";
1271 nand0: nand@40000000 {
1272 compatible = "atmel,at91rm9200-nand";
1273 #address-cells = <1>;
1275 reg = <0x40000000 0x10000000
1278 atmel,nand-addr-offset = <21>;
1279 atmel,nand-cmd-offset = <22>;
1281 pinctrl-names = "default";
1282 pinctrl-0 = <&pinctrl_nand>;
1283 gpios = <&pioC 8 GPIO_ACTIVE_HIGH
1284 &pioC 14 GPIO_ACTIVE_HIGH
1287 status = "disabled";
1290 usb0: ohci@00700000 {
1291 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
1292 reg = <0x00700000 0x100000>;
1293 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
1294 clocks = <&usb>, <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
1295 clock-names = "usb_clk", "ohci_clk", "hclk", "uhpck";
1296 status = "disabled";
1299 usb1: ehci@00800000 {
1300 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
1301 reg = <0x00800000 0x100000>;
1302 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
1303 clocks = <&utmi>, <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
1304 clock-names = "usb_clk", "ehci_clk", "hclk", "uhpck";
1305 status = "disabled";
1310 compatible = "i2c-gpio";
1311 gpios = <&pioA 20 GPIO_ACTIVE_HIGH /* sda */
1312 &pioA 21 GPIO_ACTIVE_HIGH /* scl */
1314 i2c-gpio,sda-open-drain;
1315 i2c-gpio,scl-open-drain;
1316 i2c-gpio,delay-us = <5>; /* ~100 kHz */
1317 #address-cells = <1>;
1319 status = "disabled";