2 * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC
3 * applies to AT91SAM9G15, AT91SAM9G25, AT91SAM9G35,
4 * AT91SAM9X25, AT91SAM9X35 SoC
6 * Copyright (C) 2012 Atmel,
7 * 2012 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 AT91SAM9x5 family SoC";
21 compatible = "atmel,at91sam9x5";
22 interrupt-parent = <&aic>;
48 compatible = "arm,arm926ej-s";
54 reg = <0x20000000 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 = <1000000>;
78 compatible = "mmio-sram";
79 reg = <0x00300000 0x8000>;
83 compatible = "simple-bus";
90 compatible = "simple-bus";
96 aic: interrupt-controller@fffff000 {
97 #interrupt-cells = <3>;
98 compatible = "atmel,at91rm9200-aic";
100 reg = <0xfffff000 0x200>;
101 atmel,external-irqs = <31>;
104 ramc0: ramc@ffffe800 {
105 compatible = "atmel,at91sam9g45-ddramc";
106 reg = <0xffffe800 0x200>;
108 clock-names = "ddrck";
112 compatible = "atmel,at91sam9x5-pmc", "syscon";
113 reg = <0xfffffc00 0x200>;
114 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
115 interrupt-controller;
116 #address-cells = <1>;
118 #interrupt-cells = <1>;
121 main_rc_osc: main_rc_osc {
122 compatible = "atmel,at91sam9x5-clk-main-rc-osc";
124 interrupts-extended = <&pmc AT91_PMC_MOSCRCS>;
125 clock-frequency = <12000000>;
126 clock-accuracy = <50000000>;
130 compatible = "atmel,at91rm9200-clk-main-osc";
132 interrupts-extended = <&pmc AT91_PMC_MOSCS>;
133 clocks = <&main_xtal>;
137 compatible = "atmel,at91sam9x5-clk-main";
139 interrupts-extended = <&pmc AT91_PMC_MOSCSELS>;
140 clocks = <&main_rc_osc>, <&main_osc>;
144 compatible = "atmel,at91rm9200-clk-pll";
146 interrupts-extended = <&pmc AT91_PMC_LOCKA>;
149 atmel,clk-input-range = <2000000 32000000>;
150 #atmel,pll-clk-output-range-cells = <4>;
151 atmel,pll-clk-output-ranges = <745000000 800000000 0 0
152 695000000 750000000 1 0
153 645000000 700000000 2 0
154 595000000 650000000 3 0
155 545000000 600000000 0 1
156 495000000 555000000 1 1
157 445000000 500000000 2 1
158 400000000 450000000 3 1>;
162 compatible = "atmel,at91sam9x5-clk-plldiv";
168 compatible = "atmel,at91sam9x5-clk-utmi";
170 interrupts-extended = <&pmc AT91_PMC_LOCKU>;
175 compatible = "atmel,at91sam9x5-clk-master";
177 interrupts-extended = <&pmc AT91_PMC_MCKRDY>;
178 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>;
179 atmel,clk-output-range = <0 133333333>;
180 atmel,clk-divisors = <1 2 4 3>;
181 atmel,master-clk-have-div3-pres;
187 compatible = "atmel,at91sam9x5-clk-usb";
189 clocks = <&plladiv>, <&utmi>;
193 compatible = "atmel,at91sam9x5-clk-programmable";
194 #address-cells = <1>;
196 interrupt-parent = <&pmc>;
197 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>;
202 interrupts = <AT91_PMC_PCKRDY(0)>;
208 interrupts = <AT91_PMC_PCKRDY(1)>;
213 compatible = "atmel,at91sam9x5-clk-smd";
215 clocks = <&plladiv>, <&utmi>;
219 compatible = "atmel,at91rm9200-clk-system";
220 #address-cells = <1>;
261 compatible = "atmel,at91sam9x5-clk-peripheral";
262 #address-cells = <1>;
268 pioAB_clk: pioAB_clk@2 {
273 pioCD_clk: pioCD_clk@3 {
283 usart0_clk: usart0_clk@5 {
288 usart1_clk: usart1_clk@6 {
293 usart2_clk: usart2_clk@7 {
298 twi0_clk: twi0_clk@9 {
303 twi1_clk: twi1_clk@10 {
308 twi2_clk: twi2_clk@11 {
313 mci0_clk: mci0_clk@12 {
318 spi0_clk: spi0_clk@13 {
323 spi1_clk: spi1_clk@14 {
328 uart0_clk: uart0_clk@15 {
333 uart1_clk: uart1_clk@16 {
338 tcb0_clk: tcb0_clk@17 {
343 pwm_clk: pwm_clk@18 {
348 adc_clk: adc_clk@19 {
353 dma0_clk: dma0_clk@20 {
358 dma1_clk: dma1_clk@21 {
363 uhphs_clk: uhphs_clk@22 {
368 udphs_clk: udphs_clk@23 {
373 mci1_clk: mci1_clk@26 {
378 ssc0_clk: ssc0_clk@28 {
386 compatible = "atmel,at91sam9g45-rstc";
387 reg = <0xfffffe00 0x10>;
392 compatible = "atmel,at91sam9x5-shdwc";
393 reg = <0xfffffe10 0x10>;
397 pit: timer@fffffe30 {
398 compatible = "atmel,at91sam9260-pit";
399 reg = <0xfffffe30 0xf>;
400 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
405 compatible = "atmel,at91sam9x5-sckc";
406 reg = <0xfffffe50 0x4>;
409 compatible = "atmel,at91sam9x5-clk-slow-osc";
411 clocks = <&slow_xtal>;
414 slow_rc_osc: slow_rc_osc {
415 compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
417 clock-frequency = <32768>;
418 clock-accuracy = <50000000>;
422 compatible = "atmel,at91sam9x5-clk-slow";
424 clocks = <&slow_rc_osc>, <&slow_osc>;
428 tcb0: timer@f8008000 {
429 compatible = "atmel,at91sam9x5-tcb";
430 reg = <0xf8008000 0x100>;
431 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
432 clocks = <&tcb0_clk>, <&clk32k>;
433 clock-names = "t0_clk", "slow_clk";
436 tcb1: timer@f800c000 {
437 compatible = "atmel,at91sam9x5-tcb";
438 reg = <0xf800c000 0x100>;
439 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
440 clocks = <&tcb0_clk>, <&clk32k>;
441 clock-names = "t0_clk", "slow_clk";
444 dma0: dma-controller@ffffec00 {
445 compatible = "atmel,at91sam9g45-dma";
446 reg = <0xffffec00 0x200>;
447 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
449 clocks = <&dma0_clk>;
450 clock-names = "dma_clk";
453 dma1: dma-controller@ffffee00 {
454 compatible = "atmel,at91sam9g45-dma";
455 reg = <0xffffee00 0x200>;
456 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
458 clocks = <&dma1_clk>;
459 clock-names = "dma_clk";
463 #address-cells = <1>;
465 compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
466 ranges = <0xfffff400 0xfffff400 0x800>;
467 reg = <0xfffff400 0x200 /* pioA */
468 0xfffff600 0x200 /* pioB */
469 0xfffff800 0x200 /* pioC */
470 0xfffffa00 0x200 /* pioD */
475 /* shared pinctrl settings */
478 pinctrl_dbgu: dbgu-0 {
480 <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
481 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
486 pinctrl_usart0: usart0-0 {
488 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA0 periph A with pullup */
489 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA1 periph A */
492 pinctrl_usart0_rts: usart0_rts-0 {
494 <AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA2 periph A */
497 pinctrl_usart0_cts: usart0_cts-0 {
499 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA3 periph A */
502 pinctrl_usart0_sck: usart0_sck-0 {
504 <AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA4 periph A */
509 pinctrl_usart1: usart1-0 {
511 <AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA5 periph A with pullup */
512 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA6 periph A */
515 pinctrl_usart1_rts: usart1_rts-0 {
517 <AT91_PIOC 27 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC27 periph C */
520 pinctrl_usart1_cts: usart1_cts-0 {
522 <AT91_PIOC 28 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC28 periph C */
525 pinctrl_usart1_sck: usart1_sck-0 {
527 <AT91_PIOC 29 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC29 periph C */
532 pinctrl_usart2: usart2-0 {
534 <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */
535 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA8 periph A */
538 pinctrl_usart2_rts: usart2_rts-0 {
540 <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB0 periph B */
543 pinctrl_usart2_cts: usart2_cts-0 {
545 <AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB1 periph B */
548 pinctrl_usart2_sck: usart2_sck-0 {
550 <AT91_PIOB 2 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB2 periph B */
555 pinctrl_uart0: uart0-0 {
557 <AT91_PIOC 8 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC8 periph C */
558 AT91_PIOC 9 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC9 periph C with pullup */
563 pinctrl_uart1: uart1-0 {
565 <AT91_PIOC 16 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC16 periph C */
566 AT91_PIOC 17 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC17 periph C with pullup */
571 pinctrl_nand: nand-0 {
573 <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD0 periph A Read Enable */
574 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD1 periph A Write Enable */
575 AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD2 periph A Address Latch Enable */
576 AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD3 periph A Command Latch Enable */
577 AT91_PIOD 4 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD4 gpio Chip Enable pin pull_up */
578 AT91_PIOD 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD5 gpio RDY/BUSY pin pull_up */
579 AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD6 periph A Data bit 0 */
580 AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD7 periph A Data bit 1 */
581 AT91_PIOD 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD8 periph A Data bit 2 */
582 AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD9 periph A Data bit 3 */
583 AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD10 periph A Data bit 4 */
584 AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD11 periph A Data bit 5 */
585 AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD12 periph A Data bit 6 */
586 AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD13 periph A Data bit 7 */
589 pinctrl_nand_16bits: nand_16bits-0 {
591 <AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD14 periph A Data bit 8 */
592 AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD15 periph A Data bit 9 */
593 AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD16 periph A Data bit 10 */
594 AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD17 periph A Data bit 11 */
595 AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD18 periph A Data bit 12 */
596 AT91_PIOD 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD19 periph A Data bit 13 */
597 AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD20 periph A Data bit 14 */
598 AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD21 periph A Data bit 15 */
603 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
605 <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA17 periph A */
606 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 periph A with pullup */
607 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA15 periph A with pullup */
610 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
612 <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA18 periph A with pullup */
613 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA19 periph A with pullup */
614 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA20 periph A with pullup */
619 pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
621 <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA13 periph B */
622 AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA12 periph B with pullup */
623 AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA11 periph B with pullup */
626 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
628 <AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA2 periph B with pullup */
629 AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA3 periph B with pullup */
630 AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA4 periph B with pullup */
635 pinctrl_ssc0_tx: ssc0_tx-0 {
637 <AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA24 periph B */
638 AT91_PIOA 25 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA25 periph B */
639 AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA26 periph B */
642 pinctrl_ssc0_rx: ssc0_rx-0 {
644 <AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA27 periph B */
645 AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA28 periph B */
646 AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA29 periph B */
651 pinctrl_spi0: spi0-0 {
653 <AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A SPI0_MISO pin */
654 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A SPI0_MOSI pin */
655 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA13 periph A SPI0_SPCK pin */
660 pinctrl_spi1: spi1-0 {
662 <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA21 periph B SPI1_MISO pin */
663 AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA22 periph B SPI1_MOSI pin */
664 AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA23 periph B SPI1_SPCK pin */
669 pinctrl_i2c0: i2c0-0 {
671 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA30 periph A I2C0 data */
672 AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA31 periph A I2C0 clock */
677 pinctrl_i2c1: i2c1-0 {
679 <AT91_PIOC 0 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC0 periph C I2C1 data */
680 AT91_PIOC 1 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC1 periph C I2C1 clock */
685 pinctrl_i2c2: i2c2-0 {
687 <AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB4 periph B I2C2 data */
688 AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB5 periph B I2C2 clock */
693 pinctrl_i2c_gpio0: i2c_gpio0-0 {
695 <AT91_PIOA 30 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PA30 gpio multidrive I2C0 data */
696 AT91_PIOA 31 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PA31 gpio multidrive I2C0 clock */
701 pinctrl_i2c_gpio1: i2c_gpio1-0 {
703 <AT91_PIOC 0 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PC0 gpio multidrive I2C1 data */
704 AT91_PIOC 1 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PC1 gpio multidrive I2C1 clock */
709 pinctrl_i2c_gpio2: i2c_gpio2-0 {
711 <AT91_PIOB 4 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PB4 gpio multidrive I2C2 data */
712 AT91_PIOB 5 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PB5 gpio multidrive I2C2 clock */
717 pinctrl_pwm0_pwm0_0: pwm0_pwm0-0 {
719 <AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>;
721 pinctrl_pwm0_pwm0_1: pwm0_pwm0-1 {
723 <AT91_PIOC 10 AT91_PERIPH_C AT91_PINCTRL_NONE>;
725 pinctrl_pwm0_pwm0_2: pwm0_pwm0-2 {
727 <AT91_PIOC 18 AT91_PERIPH_C AT91_PINCTRL_NONE>;
730 pinctrl_pwm0_pwm1_0: pwm0_pwm1-0 {
732 <AT91_PIOB 12 AT91_PERIPH_B AT91_PINCTRL_NONE>;
734 pinctrl_pwm0_pwm1_1: pwm0_pwm1-1 {
736 <AT91_PIOC 11 AT91_PERIPH_C AT91_PINCTRL_NONE>;
738 pinctrl_pwm0_pwm1_2: pwm0_pwm1-2 {
740 <AT91_PIOC 19 AT91_PERIPH_C AT91_PINCTRL_NONE>;
743 pinctrl_pwm0_pwm2_0: pwm0_pwm2-0 {
745 <AT91_PIOB 13 AT91_PERIPH_B AT91_PINCTRL_NONE>;
747 pinctrl_pwm0_pwm2_1: pwm0_pwm2-1 {
749 <AT91_PIOC 20 AT91_PERIPH_C AT91_PINCTRL_NONE>;
752 pinctrl_pwm0_pwm3_0: pwm0_pwm3-0 {
754 <AT91_PIOB 14 AT91_PERIPH_B AT91_PINCTRL_NONE>;
756 pinctrl_pwm0_pwm3_1: pwm0_pwm3-1 {
758 <AT91_PIOC 21 AT91_PERIPH_C AT91_PINCTRL_NONE>;
763 pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
764 atmel,pins = <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_NONE>;
767 pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
768 atmel,pins = <AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_NONE>;
771 pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
772 atmel,pins = <AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_NONE>;
775 pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
776 atmel,pins = <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
779 pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
780 atmel,pins = <AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;
783 pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
784 atmel,pins = <AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
787 pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
788 atmel,pins = <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;
791 pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
792 atmel,pins = <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
795 pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
796 atmel,pins = <AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
801 pinctrl_tcb1_tclk0: tcb1_tclk0-0 {
802 atmel,pins = <AT91_PIOC 4 AT91_PERIPH_C AT91_PINCTRL_NONE>;
805 pinctrl_tcb1_tclk1: tcb1_tclk1-0 {
806 atmel,pins = <AT91_PIOC 7 AT91_PERIPH_C AT91_PINCTRL_NONE>;
809 pinctrl_tcb1_tclk2: tcb1_tclk2-0 {
810 atmel,pins = <AT91_PIOC 14 AT91_PERIPH_C AT91_PINCTRL_NONE>;
813 pinctrl_tcb1_tioa0: tcb1_tioa0-0 {
814 atmel,pins = <AT91_PIOC 2 AT91_PERIPH_C AT91_PINCTRL_NONE>;
817 pinctrl_tcb1_tioa1: tcb1_tioa1-0 {
818 atmel,pins = <AT91_PIOC 5 AT91_PERIPH_C AT91_PINCTRL_NONE>;
821 pinctrl_tcb1_tioa2: tcb1_tioa2-0 {
822 atmel,pins = <AT91_PIOC 12 AT91_PERIPH_C AT91_PINCTRL_NONE>;
825 pinctrl_tcb1_tiob0: tcb1_tiob0-0 {
826 atmel,pins = <AT91_PIOC 3 AT91_PERIPH_C AT91_PINCTRL_NONE>;
829 pinctrl_tcb1_tiob1: tcb1_tiob1-0 {
830 atmel,pins = <AT91_PIOC 6 AT91_PERIPH_C AT91_PINCTRL_NONE>;
833 pinctrl_tcb1_tiob2: tcb1_tiob2-0 {
834 atmel,pins = <AT91_PIOC 13 AT91_PERIPH_C AT91_PINCTRL_NONE>;
839 pioA: gpio@fffff400 {
840 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
841 reg = <0xfffff400 0x200>;
842 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
845 interrupt-controller;
846 #interrupt-cells = <2>;
847 clocks = <&pioAB_clk>;
850 pioB: gpio@fffff600 {
851 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
852 reg = <0xfffff600 0x200>;
853 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
857 interrupt-controller;
858 #interrupt-cells = <2>;
859 clocks = <&pioAB_clk>;
862 pioC: gpio@fffff800 {
863 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
864 reg = <0xfffff800 0x200>;
865 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
868 interrupt-controller;
869 #interrupt-cells = <2>;
870 clocks = <&pioCD_clk>;
873 pioD: gpio@fffffa00 {
874 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
875 reg = <0xfffffa00 0x200>;
876 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
880 interrupt-controller;
881 #interrupt-cells = <2>;
882 clocks = <&pioCD_clk>;
886 compatible = "atmel,at91sam9g45-ssc";
887 reg = <0xf0010000 0x4000>;
888 interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>;
889 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(13)>,
890 <&dma0 1 AT91_DMA_CFG_PER_ID(14)>;
891 dma-names = "tx", "rx";
892 pinctrl-names = "default";
893 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
894 clocks = <&ssc0_clk>;
895 clock-names = "pclk";
900 compatible = "atmel,hsmci";
901 reg = <0xf0008000 0x600>;
902 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>;
903 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(0)>;
905 pinctrl-names = "default";
906 clocks = <&mci0_clk>;
907 clock-names = "mci_clk";
908 #address-cells = <1>;
914 compatible = "atmel,hsmci";
915 reg = <0xf000c000 0x600>;
916 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>;
917 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(0)>;
919 pinctrl-names = "default";
920 clocks = <&mci1_clk>;
921 clock-names = "mci_clk";
922 #address-cells = <1>;
927 dbgu: serial@fffff200 {
928 compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
929 reg = <0xfffff200 0x200>;
930 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
931 pinctrl-names = "default";
932 pinctrl-0 = <&pinctrl_dbgu>;
933 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(8)>,
934 <&dma1 1 (AT91_DMA_CFG_PER_ID(9) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
935 dma-names = "tx", "rx";
937 clock-names = "usart";
941 usart0: serial@f801c000 {
942 compatible = "atmel,at91sam9260-usart";
943 reg = <0xf801c000 0x200>;
944 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 5>;
945 pinctrl-names = "default";
946 pinctrl-0 = <&pinctrl_usart0>;
947 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(3)>,
948 <&dma0 1 (AT91_DMA_CFG_PER_ID(4) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
949 dma-names = "tx", "rx";
950 clocks = <&usart0_clk>;
951 clock-names = "usart";
955 usart1: serial@f8020000 {
956 compatible = "atmel,at91sam9260-usart";
957 reg = <0xf8020000 0x200>;
958 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
959 pinctrl-names = "default";
960 pinctrl-0 = <&pinctrl_usart1>;
961 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(5)>,
962 <&dma0 1 (AT91_DMA_CFG_PER_ID(6) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
963 dma-names = "tx", "rx";
964 clocks = <&usart1_clk>;
965 clock-names = "usart";
969 usart2: serial@f8024000 {
970 compatible = "atmel,at91sam9260-usart";
971 reg = <0xf8024000 0x200>;
972 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
973 pinctrl-names = "default";
974 pinctrl-0 = <&pinctrl_usart2>;
975 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(12)>,
976 <&dma1 1 (AT91_DMA_CFG_PER_ID(13) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
977 dma-names = "tx", "rx";
978 clocks = <&usart2_clk>;
979 clock-names = "usart";
984 compatible = "atmel,at91sam9x5-i2c";
985 reg = <0xf8010000 0x100>;
986 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 6>;
987 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(7)>,
988 <&dma0 1 AT91_DMA_CFG_PER_ID(8)>;
989 dma-names = "tx", "rx";
990 #address-cells = <1>;
992 pinctrl-names = "default";
993 pinctrl-0 = <&pinctrl_i2c0>;
994 clocks = <&twi0_clk>;
999 compatible = "atmel,at91sam9x5-i2c";
1000 reg = <0xf8014000 0x100>;
1001 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 6>;
1002 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(5)>,
1003 <&dma1 1 AT91_DMA_CFG_PER_ID(6)>;
1004 dma-names = "tx", "rx";
1005 #address-cells = <1>;
1007 pinctrl-names = "default";
1008 pinctrl-0 = <&pinctrl_i2c1>;
1009 clocks = <&twi1_clk>;
1010 status = "disabled";
1013 i2c2: i2c@f8018000 {
1014 compatible = "atmel,at91sam9x5-i2c";
1015 reg = <0xf8018000 0x100>;
1016 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>;
1017 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(9)>,
1018 <&dma0 1 AT91_DMA_CFG_PER_ID(10)>;
1019 dma-names = "tx", "rx";
1020 #address-cells = <1>;
1022 pinctrl-names = "default";
1023 pinctrl-0 = <&pinctrl_i2c2>;
1024 clocks = <&twi2_clk>;
1025 status = "disabled";
1028 uart0: serial@f8040000 {
1029 compatible = "atmel,at91sam9260-usart";
1030 reg = <0xf8040000 0x200>;
1031 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
1032 pinctrl-names = "default";
1033 pinctrl-0 = <&pinctrl_uart0>;
1034 clocks = <&uart0_clk>;
1035 clock-names = "usart";
1036 status = "disabled";
1039 uart1: serial@f8044000 {
1040 compatible = "atmel,at91sam9260-usart";
1041 reg = <0xf8044000 0x200>;
1042 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
1043 pinctrl-names = "default";
1044 pinctrl-0 = <&pinctrl_uart1>;
1045 clocks = <&uart1_clk>;
1046 clock-names = "usart";
1047 status = "disabled";
1050 adc0: adc@f804c000 {
1051 #address-cells = <1>;
1053 compatible = "atmel,at91sam9x5-adc";
1054 reg = <0xf804c000 0x100>;
1055 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 0>;
1056 clocks = <&adc_clk>,
1058 clock-names = "adc_clk", "adc_op_clk";
1059 atmel,adc-use-external-triggers;
1060 atmel,adc-channels-used = <0xffff>;
1061 atmel,adc-vref = <3300>;
1062 atmel,adc-startup-time = <40>;
1063 atmel,adc-sample-hold-time = <11>;
1064 atmel,adc-res = <8 10>;
1065 atmel,adc-res-names = "lowres", "highres";
1066 atmel,adc-use-res = "highres";
1069 trigger-name = "external-rising";
1070 trigger-value = <0x1>;
1075 trigger-name = "external-falling";
1076 trigger-value = <0x2>;
1081 trigger-name = "external-any";
1082 trigger-value = <0x3>;
1087 trigger-name = "continuous";
1088 trigger-value = <0x6>;
1092 spi0: spi@f0000000 {
1093 #address-cells = <1>;
1095 compatible = "atmel,at91rm9200-spi";
1096 reg = <0xf0000000 0x100>;
1097 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
1098 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(1)>,
1099 <&dma0 1 AT91_DMA_CFG_PER_ID(2)>;
1100 dma-names = "tx", "rx";
1101 pinctrl-names = "default";
1102 pinctrl-0 = <&pinctrl_spi0>;
1103 clocks = <&spi0_clk>;
1104 clock-names = "spi_clk";
1105 status = "disabled";
1108 spi1: spi@f0004000 {
1109 #address-cells = <1>;
1111 compatible = "atmel,at91rm9200-spi";
1112 reg = <0xf0004000 0x100>;
1113 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>;
1114 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(1)>,
1115 <&dma1 1 AT91_DMA_CFG_PER_ID(2)>;
1116 dma-names = "tx", "rx";
1117 pinctrl-names = "default";
1118 pinctrl-0 = <&pinctrl_spi1>;
1119 clocks = <&spi1_clk>;
1120 clock-names = "spi_clk";
1121 status = "disabled";
1124 usb2: gadget@f803c000 {
1125 #address-cells = <1>;
1127 compatible = "atmel,at91sam9g45-udc";
1128 reg = <0x00500000 0x80000
1130 interrupts = <23 IRQ_TYPE_LEVEL_HIGH 0>;
1131 clocks = <&utmi>, <&udphs_clk>;
1132 clock-names = "hclk", "pclk";
1133 status = "disabled";
1137 atmel,fifo-size = <64>;
1138 atmel,nb-banks = <1>;
1143 atmel,fifo-size = <1024>;
1144 atmel,nb-banks = <2>;
1151 atmel,fifo-size = <1024>;
1152 atmel,nb-banks = <2>;
1159 atmel,fifo-size = <1024>;
1160 atmel,nb-banks = <3>;
1166 atmel,fifo-size = <1024>;
1167 atmel,nb-banks = <3>;
1173 atmel,fifo-size = <1024>;
1174 atmel,nb-banks = <3>;
1181 atmel,fifo-size = <1024>;
1182 atmel,nb-banks = <3>;
1189 compatible = "atmel,at91sam9260-wdt";
1190 reg = <0xfffffe40 0x10>;
1191 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1193 atmel,watchdog-type = "hardware";
1194 atmel,reset-type = "all";
1196 status = "disabled";
1200 compatible = "atmel,at91sam9x5-rtc";
1201 reg = <0xfffffeb0 0x40>;
1202 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1204 status = "disabled";
1207 pwm0: pwm@f8034000 {
1208 compatible = "atmel,at91sam9rl-pwm";
1209 reg = <0xf8034000 0x300>;
1210 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 4>;
1211 clocks = <&pwm_clk>;
1213 status = "disabled";
1217 nand0: nand@40000000 {
1218 compatible = "atmel,at91rm9200-nand";
1219 #address-cells = <1>;
1221 reg = <0x40000000 0x10000000
1222 0xffffe000 0x600 /* PMECC Registers */
1223 0xffffe600 0x200 /* PMECC Error Location Registers */
1224 0x00108000 0x18000 /* PMECC looup table in ROM code */
1226 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
1227 atmel,nand-addr-offset = <21>;
1228 atmel,nand-cmd-offset = <22>;
1230 pinctrl-names = "default";
1231 pinctrl-0 = <&pinctrl_nand>;
1232 gpios = <&pioD 5 GPIO_ACTIVE_HIGH
1233 &pioD 4 GPIO_ACTIVE_HIGH
1236 status = "disabled";
1239 usb0: ohci@00600000 {
1240 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
1241 reg = <0x00600000 0x100000>;
1242 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
1243 clocks = <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
1244 clock-names = "ohci_clk", "hclk", "uhpck";
1245 status = "disabled";
1248 usb1: ehci@00700000 {
1249 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
1250 reg = <0x00700000 0x100000>;
1251 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
1252 clocks = <&utmi>, <&uhphs_clk>;
1253 clock-names = "usb_clk", "ehci_clk";
1254 status = "disabled";
1259 compatible = "i2c-gpio";
1260 gpios = <&pioA 30 GPIO_ACTIVE_HIGH /* sda */
1261 &pioA 31 GPIO_ACTIVE_HIGH /* scl */
1263 i2c-gpio,sda-open-drain;
1264 i2c-gpio,scl-open-drain;
1265 i2c-gpio,delay-us = <2>; /* ~100 kHz */
1266 #address-cells = <1>;
1268 pinctrl-names = "default";
1269 pinctrl-0 = <&pinctrl_i2c_gpio0>;
1270 status = "disabled";
1274 compatible = "i2c-gpio";
1275 gpios = <&pioC 0 GPIO_ACTIVE_HIGH /* sda */
1276 &pioC 1 GPIO_ACTIVE_HIGH /* scl */
1278 i2c-gpio,sda-open-drain;
1279 i2c-gpio,scl-open-drain;
1280 i2c-gpio,delay-us = <2>; /* ~100 kHz */
1281 #address-cells = <1>;
1283 pinctrl-names = "default";
1284 pinctrl-0 = <&pinctrl_i2c_gpio1>;
1285 status = "disabled";
1289 compatible = "i2c-gpio";
1290 gpios = <&pioB 4 GPIO_ACTIVE_HIGH /* sda */
1291 &pioB 5 GPIO_ACTIVE_HIGH /* scl */
1293 i2c-gpio,sda-open-drain;
1294 i2c-gpio,scl-open-drain;
1295 i2c-gpio,delay-us = <2>; /* ~100 kHz */
1296 #address-cells = <1>;
1298 pinctrl-names = "default";
1299 pinctrl-0 = <&pinctrl_i2c_gpio2>;
1300 status = "disabled";