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>;
46 compatible = "arm,arm926ej-s";
52 reg = <0x20000000 0x10000000>;
56 slow_xtal: slow_xtal {
57 compatible = "fixed-clock";
59 clock-frequency = <0>;
62 main_xtal: main_xtal {
63 compatible = "fixed-clock";
65 clock-frequency = <0>;
68 adc_op_clk: adc_op_clk{
69 compatible = "fixed-clock";
71 clock-frequency = <1000000>;
76 compatible = "mmio-sram";
77 reg = <0x00300000 0x8000>;
81 compatible = "simple-bus";
87 compatible = "simple-bus";
92 aic: interrupt-controller@fffff000 {
93 #interrupt-cells = <3>;
94 compatible = "atmel,at91rm9200-aic";
96 reg = <0xfffff000 0x200>;
97 atmel,external-irqs = <31>;
100 ramc0: ramc@ffffe800 {
101 compatible = "atmel,at91sam9g45-ddramc";
102 reg = <0xffffe800 0x200>;
104 clock-names = "ddrck";
108 compatible = "atmel,at91sam9x5-pmc", "syscon";
109 reg = <0xfffffc00 0x200>;
110 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
111 interrupt-controller;
112 #address-cells = <1>;
114 #interrupt-cells = <1>;
116 main_rc_osc: main_rc_osc {
117 compatible = "atmel,at91sam9x5-clk-main-rc-osc";
119 interrupts-extended = <&pmc AT91_PMC_MOSCRCS>;
120 clock-frequency = <12000000>;
121 clock-accuracy = <50000000>;
125 compatible = "atmel,at91rm9200-clk-main-osc";
127 interrupts-extended = <&pmc AT91_PMC_MOSCS>;
128 clocks = <&main_xtal>;
132 compatible = "atmel,at91sam9x5-clk-main";
134 interrupts-extended = <&pmc AT91_PMC_MOSCSELS>;
135 clocks = <&main_rc_osc>, <&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,at91sam9x5-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>;
176 atmel,master-clk-have-div3-pres;
180 compatible = "atmel,at91sam9x5-clk-usb";
182 clocks = <&plladiv>, <&utmi>;
186 compatible = "atmel,at91sam9x5-clk-programmable";
187 #address-cells = <1>;
189 interrupt-parent = <&pmc>;
190 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>;
195 interrupts = <AT91_PMC_PCKRDY(0)>;
201 interrupts = <AT91_PMC_PCKRDY(1)>;
206 compatible = "atmel,at91sam9x5-clk-smd";
208 clocks = <&plladiv>, <&utmi>;
212 compatible = "atmel,at91rm9200-clk-system";
213 #address-cells = <1>;
254 compatible = "atmel,at91sam9x5-clk-peripheral";
255 #address-cells = <1>;
259 pioAB_clk: pioAB_clk {
264 pioCD_clk: pioCD_clk {
274 usart0_clk: usart0_clk {
279 usart1_clk: usart1_clk {
284 usart2_clk: usart2_clk {
319 uart0_clk: uart0_clk {
324 uart1_clk: uart1_clk {
354 uhphs_clk: uhphs_clk {
359 udphs_clk: udphs_clk {
377 compatible = "atmel,at91sam9g45-rstc";
378 reg = <0xfffffe00 0x10>;
383 compatible = "atmel,at91sam9x5-shdwc";
384 reg = <0xfffffe10 0x10>;
388 pit: timer@fffffe30 {
389 compatible = "atmel,at91sam9260-pit";
390 reg = <0xfffffe30 0xf>;
391 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
396 compatible = "atmel,at91sam9x5-sckc";
397 reg = <0xfffffe50 0x4>;
400 compatible = "atmel,at91sam9x5-clk-slow-osc";
402 clocks = <&slow_xtal>;
405 slow_rc_osc: slow_rc_osc {
406 compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
408 clock-frequency = <32768>;
409 clock-accuracy = <50000000>;
413 compatible = "atmel,at91sam9x5-clk-slow";
415 clocks = <&slow_rc_osc>, <&slow_osc>;
419 tcb0: timer@f8008000 {
420 compatible = "atmel,at91sam9x5-tcb";
421 reg = <0xf8008000 0x100>;
422 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
423 clocks = <&tcb0_clk>, <&clk32k>;
424 clock-names = "t0_clk", "slow_clk";
427 tcb1: timer@f800c000 {
428 compatible = "atmel,at91sam9x5-tcb";
429 reg = <0xf800c000 0x100>;
430 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
431 clocks = <&tcb0_clk>, <&clk32k>;
432 clock-names = "t0_clk", "slow_clk";
435 dma0: dma-controller@ffffec00 {
436 compatible = "atmel,at91sam9g45-dma";
437 reg = <0xffffec00 0x200>;
438 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
440 clocks = <&dma0_clk>;
441 clock-names = "dma_clk";
444 dma1: dma-controller@ffffee00 {
445 compatible = "atmel,at91sam9g45-dma";
446 reg = <0xffffee00 0x200>;
447 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
449 clocks = <&dma1_clk>;
450 clock-names = "dma_clk";
454 #address-cells = <1>;
456 compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
457 ranges = <0xfffff400 0xfffff400 0x800>;
459 /* shared pinctrl settings */
461 pinctrl_dbgu: dbgu-0 {
463 <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
464 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
469 pinctrl_usart0: usart0-0 {
471 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA0 periph A with pullup */
472 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA1 periph A */
475 pinctrl_usart0_rts: usart0_rts-0 {
477 <AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA2 periph A */
480 pinctrl_usart0_cts: usart0_cts-0 {
482 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA3 periph A */
485 pinctrl_usart0_sck: usart0_sck-0 {
487 <AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA4 periph A */
492 pinctrl_usart1: usart1-0 {
494 <AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA5 periph A with pullup */
495 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA6 periph A */
498 pinctrl_usart1_rts: usart1_rts-0 {
500 <AT91_PIOC 27 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC27 periph C */
503 pinctrl_usart1_cts: usart1_cts-0 {
505 <AT91_PIOC 28 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC28 periph C */
508 pinctrl_usart1_sck: usart1_sck-0 {
510 <AT91_PIOC 29 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC29 periph C */
515 pinctrl_usart2: usart2-0 {
517 <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */
518 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA8 periph A */
521 pinctrl_usart2_rts: usart2_rts-0 {
523 <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB0 periph B */
526 pinctrl_usart2_cts: usart2_cts-0 {
528 <AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB1 periph B */
531 pinctrl_usart2_sck: usart2_sck-0 {
533 <AT91_PIOB 2 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB2 periph B */
538 pinctrl_uart0: uart0-0 {
540 <AT91_PIOC 8 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC8 periph C */
541 AT91_PIOC 9 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC9 periph C with pullup */
546 pinctrl_uart1: uart1-0 {
548 <AT91_PIOC 16 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC16 periph C */
549 AT91_PIOC 17 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC17 periph C with pullup */
554 pinctrl_nand: nand-0 {
556 <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD0 periph A Read Enable */
557 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD1 periph A Write Enable */
558 AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD2 periph A Address Latch Enable */
559 AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD3 periph A Command Latch Enable */
560 AT91_PIOD 4 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD4 gpio Chip Enable pin pull_up */
561 AT91_PIOD 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD5 gpio RDY/BUSY pin pull_up */
562 AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD6 periph A Data bit 0 */
563 AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD7 periph A Data bit 1 */
564 AT91_PIOD 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD8 periph A Data bit 2 */
565 AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD9 periph A Data bit 3 */
566 AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD10 periph A Data bit 4 */
567 AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD11 periph A Data bit 5 */
568 AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD12 periph A Data bit 6 */
569 AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD13 periph A Data bit 7 */
572 pinctrl_nand_16bits: nand_16bits-0 {
574 <AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD14 periph A Data bit 8 */
575 AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD15 periph A Data bit 9 */
576 AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD16 periph A Data bit 10 */
577 AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD17 periph A Data bit 11 */
578 AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD18 periph A Data bit 12 */
579 AT91_PIOD 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD19 periph A Data bit 13 */
580 AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD20 periph A Data bit 14 */
581 AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD21 periph A Data bit 15 */
586 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
588 <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA17 periph A */
589 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 periph A with pullup */
590 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA15 periph A with pullup */
593 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
595 <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA18 periph A with pullup */
596 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA19 periph A with pullup */
597 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA20 periph A with pullup */
602 pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
604 <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA13 periph B */
605 AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA12 periph B with pullup */
606 AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA11 periph B with pullup */
609 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
611 <AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA2 periph B with pullup */
612 AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA3 periph B with pullup */
613 AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA4 periph B with pullup */
618 pinctrl_ssc0_tx: ssc0_tx-0 {
620 <AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA24 periph B */
621 AT91_PIOA 25 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA25 periph B */
622 AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA26 periph B */
625 pinctrl_ssc0_rx: ssc0_rx-0 {
627 <AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA27 periph B */
628 AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA28 periph B */
629 AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA29 periph B */
634 pinctrl_spi0: spi0-0 {
636 <AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A SPI0_MISO pin */
637 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A SPI0_MOSI pin */
638 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA13 periph A SPI0_SPCK pin */
643 pinctrl_spi1: spi1-0 {
645 <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA21 periph B SPI1_MISO pin */
646 AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA22 periph B SPI1_MOSI pin */
647 AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA23 periph B SPI1_SPCK pin */
652 pinctrl_i2c0: i2c0-0 {
654 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA30 periph A I2C0 data */
655 AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA31 periph A I2C0 clock */
660 pinctrl_i2c1: i2c1-0 {
662 <AT91_PIOC 0 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC0 periph C I2C1 data */
663 AT91_PIOC 1 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC1 periph C I2C1 clock */
668 pinctrl_i2c2: i2c2-0 {
670 <AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB4 periph B I2C2 data */
671 AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB5 periph B I2C2 clock */
676 pinctrl_i2c_gpio0: i2c_gpio0-0 {
678 <AT91_PIOA 30 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PA30 gpio multidrive I2C0 data */
679 AT91_PIOA 31 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PA31 gpio multidrive I2C0 clock */
684 pinctrl_i2c_gpio1: i2c_gpio1-0 {
686 <AT91_PIOC 0 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PC0 gpio multidrive I2C1 data */
687 AT91_PIOC 1 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PC1 gpio multidrive I2C1 clock */
692 pinctrl_i2c_gpio2: i2c_gpio2-0 {
694 <AT91_PIOB 4 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PB4 gpio multidrive I2C2 data */
695 AT91_PIOB 5 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PB5 gpio multidrive I2C2 clock */
700 pinctrl_pwm0_pwm0_0: pwm0_pwm0-0 {
702 <AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>;
704 pinctrl_pwm0_pwm0_1: pwm0_pwm0-1 {
706 <AT91_PIOC 10 AT91_PERIPH_C AT91_PINCTRL_NONE>;
708 pinctrl_pwm0_pwm0_2: pwm0_pwm0-2 {
710 <AT91_PIOC 18 AT91_PERIPH_C AT91_PINCTRL_NONE>;
713 pinctrl_pwm0_pwm1_0: pwm0_pwm1-0 {
715 <AT91_PIOB 12 AT91_PERIPH_B AT91_PINCTRL_NONE>;
717 pinctrl_pwm0_pwm1_1: pwm0_pwm1-1 {
719 <AT91_PIOC 11 AT91_PERIPH_C AT91_PINCTRL_NONE>;
721 pinctrl_pwm0_pwm1_2: pwm0_pwm1-2 {
723 <AT91_PIOC 19 AT91_PERIPH_C AT91_PINCTRL_NONE>;
726 pinctrl_pwm0_pwm2_0: pwm0_pwm2-0 {
728 <AT91_PIOB 13 AT91_PERIPH_B AT91_PINCTRL_NONE>;
730 pinctrl_pwm0_pwm2_1: pwm0_pwm2-1 {
732 <AT91_PIOC 20 AT91_PERIPH_C AT91_PINCTRL_NONE>;
735 pinctrl_pwm0_pwm3_0: pwm0_pwm3-0 {
737 <AT91_PIOB 14 AT91_PERIPH_B AT91_PINCTRL_NONE>;
739 pinctrl_pwm0_pwm3_1: pwm0_pwm3-1 {
741 <AT91_PIOC 21 AT91_PERIPH_C AT91_PINCTRL_NONE>;
746 pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
747 atmel,pins = <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_NONE>;
750 pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
751 atmel,pins = <AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_NONE>;
754 pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
755 atmel,pins = <AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_NONE>;
758 pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
759 atmel,pins = <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
762 pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
763 atmel,pins = <AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;
766 pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
767 atmel,pins = <AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
770 pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
771 atmel,pins = <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;
774 pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
775 atmel,pins = <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
778 pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
779 atmel,pins = <AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
784 pinctrl_tcb1_tclk0: tcb1_tclk0-0 {
785 atmel,pins = <AT91_PIOC 4 AT91_PERIPH_C AT91_PINCTRL_NONE>;
788 pinctrl_tcb1_tclk1: tcb1_tclk1-0 {
789 atmel,pins = <AT91_PIOC 7 AT91_PERIPH_C AT91_PINCTRL_NONE>;
792 pinctrl_tcb1_tclk2: tcb1_tclk2-0 {
793 atmel,pins = <AT91_PIOC 14 AT91_PERIPH_C AT91_PINCTRL_NONE>;
796 pinctrl_tcb1_tioa0: tcb1_tioa0-0 {
797 atmel,pins = <AT91_PIOC 2 AT91_PERIPH_C AT91_PINCTRL_NONE>;
800 pinctrl_tcb1_tioa1: tcb1_tioa1-0 {
801 atmel,pins = <AT91_PIOC 5 AT91_PERIPH_C AT91_PINCTRL_NONE>;
804 pinctrl_tcb1_tioa2: tcb1_tioa2-0 {
805 atmel,pins = <AT91_PIOC 12 AT91_PERIPH_C AT91_PINCTRL_NONE>;
808 pinctrl_tcb1_tiob0: tcb1_tiob0-0 {
809 atmel,pins = <AT91_PIOC 3 AT91_PERIPH_C AT91_PINCTRL_NONE>;
812 pinctrl_tcb1_tiob1: tcb1_tiob1-0 {
813 atmel,pins = <AT91_PIOC 6 AT91_PERIPH_C AT91_PINCTRL_NONE>;
816 pinctrl_tcb1_tiob2: tcb1_tiob2-0 {
817 atmel,pins = <AT91_PIOC 13 AT91_PERIPH_C AT91_PINCTRL_NONE>;
821 pioA: gpio@fffff400 {
822 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
823 reg = <0xfffff400 0x200>;
824 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
827 interrupt-controller;
828 #interrupt-cells = <2>;
829 clocks = <&pioAB_clk>;
832 pioB: gpio@fffff600 {
833 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
834 reg = <0xfffff600 0x200>;
835 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
839 interrupt-controller;
840 #interrupt-cells = <2>;
841 clocks = <&pioAB_clk>;
844 pioC: gpio@fffff800 {
845 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
846 reg = <0xfffff800 0x200>;
847 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
850 interrupt-controller;
851 #interrupt-cells = <2>;
852 clocks = <&pioCD_clk>;
855 pioD: gpio@fffffa00 {
856 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
857 reg = <0xfffffa00 0x200>;
858 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
862 interrupt-controller;
863 #interrupt-cells = <2>;
864 clocks = <&pioCD_clk>;
869 compatible = "atmel,at91sam9g45-ssc";
870 reg = <0xf0010000 0x4000>;
871 interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>;
872 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(13)>,
873 <&dma0 1 AT91_DMA_CFG_PER_ID(14)>;
874 dma-names = "tx", "rx";
875 pinctrl-names = "default";
876 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
877 clocks = <&ssc0_clk>;
878 clock-names = "pclk";
883 compatible = "atmel,hsmci";
884 reg = <0xf0008000 0x600>;
885 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>;
886 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(0)>;
888 pinctrl-names = "default";
889 clocks = <&mci0_clk>;
890 clock-names = "mci_clk";
891 #address-cells = <1>;
897 compatible = "atmel,hsmci";
898 reg = <0xf000c000 0x600>;
899 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>;
900 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(0)>;
902 pinctrl-names = "default";
903 clocks = <&mci1_clk>;
904 clock-names = "mci_clk";
905 #address-cells = <1>;
910 dbgu: serial@fffff200 {
911 compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
912 reg = <0xfffff200 0x200>;
913 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
914 pinctrl-names = "default";
915 pinctrl-0 = <&pinctrl_dbgu>;
916 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(8)>,
917 <&dma1 1 (AT91_DMA_CFG_PER_ID(9) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
918 dma-names = "tx", "rx";
920 clock-names = "usart";
924 usart0: serial@f801c000 {
925 compatible = "atmel,at91sam9260-usart";
926 reg = <0xf801c000 0x200>;
927 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 5>;
928 pinctrl-names = "default";
929 pinctrl-0 = <&pinctrl_usart0>;
930 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(3)>,
931 <&dma0 1 (AT91_DMA_CFG_PER_ID(4) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
932 dma-names = "tx", "rx";
933 clocks = <&usart0_clk>;
934 clock-names = "usart";
938 usart1: serial@f8020000 {
939 compatible = "atmel,at91sam9260-usart";
940 reg = <0xf8020000 0x200>;
941 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
942 pinctrl-names = "default";
943 pinctrl-0 = <&pinctrl_usart1>;
944 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(5)>,
945 <&dma0 1 (AT91_DMA_CFG_PER_ID(6) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
946 dma-names = "tx", "rx";
947 clocks = <&usart1_clk>;
948 clock-names = "usart";
952 usart2: serial@f8024000 {
953 compatible = "atmel,at91sam9260-usart";
954 reg = <0xf8024000 0x200>;
955 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
956 pinctrl-names = "default";
957 pinctrl-0 = <&pinctrl_usart2>;
958 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(12)>,
959 <&dma1 1 (AT91_DMA_CFG_PER_ID(13) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
960 dma-names = "tx", "rx";
961 clocks = <&usart2_clk>;
962 clock-names = "usart";
967 compatible = "atmel,at91sam9x5-i2c";
968 reg = <0xf8010000 0x100>;
969 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 6>;
970 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(7)>,
971 <&dma0 1 AT91_DMA_CFG_PER_ID(8)>;
972 dma-names = "tx", "rx";
973 #address-cells = <1>;
975 pinctrl-names = "default";
976 pinctrl-0 = <&pinctrl_i2c0>;
977 clocks = <&twi0_clk>;
982 compatible = "atmel,at91sam9x5-i2c";
983 reg = <0xf8014000 0x100>;
984 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 6>;
985 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(5)>,
986 <&dma1 1 AT91_DMA_CFG_PER_ID(6)>;
987 dma-names = "tx", "rx";
988 #address-cells = <1>;
990 pinctrl-names = "default";
991 pinctrl-0 = <&pinctrl_i2c1>;
992 clocks = <&twi1_clk>;
997 compatible = "atmel,at91sam9x5-i2c";
998 reg = <0xf8018000 0x100>;
999 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>;
1000 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(9)>,
1001 <&dma0 1 AT91_DMA_CFG_PER_ID(10)>;
1002 dma-names = "tx", "rx";
1003 #address-cells = <1>;
1005 pinctrl-names = "default";
1006 pinctrl-0 = <&pinctrl_i2c2>;
1007 clocks = <&twi2_clk>;
1008 status = "disabled";
1011 uart0: serial@f8040000 {
1012 compatible = "atmel,at91sam9260-usart";
1013 reg = <0xf8040000 0x200>;
1014 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
1015 pinctrl-names = "default";
1016 pinctrl-0 = <&pinctrl_uart0>;
1017 clocks = <&uart0_clk>;
1018 clock-names = "usart";
1019 status = "disabled";
1022 uart1: serial@f8044000 {
1023 compatible = "atmel,at91sam9260-usart";
1024 reg = <0xf8044000 0x200>;
1025 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
1026 pinctrl-names = "default";
1027 pinctrl-0 = <&pinctrl_uart1>;
1028 clocks = <&uart1_clk>;
1029 clock-names = "usart";
1030 status = "disabled";
1033 adc0: adc@f804c000 {
1034 #address-cells = <1>;
1036 compatible = "atmel,at91sam9x5-adc";
1037 reg = <0xf804c000 0x100>;
1038 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 0>;
1039 clocks = <&adc_clk>,
1041 clock-names = "adc_clk", "adc_op_clk";
1042 atmel,adc-use-external-triggers;
1043 atmel,adc-channels-used = <0xffff>;
1044 atmel,adc-vref = <3300>;
1045 atmel,adc-startup-time = <40>;
1046 atmel,adc-sample-hold-time = <11>;
1047 atmel,adc-res = <8 10>;
1048 atmel,adc-res-names = "lowres", "highres";
1049 atmel,adc-use-res = "highres";
1052 trigger-name = "external-rising";
1053 trigger-value = <0x1>;
1058 trigger-name = "external-falling";
1059 trigger-value = <0x2>;
1064 trigger-name = "external-any";
1065 trigger-value = <0x3>;
1070 trigger-name = "continuous";
1071 trigger-value = <0x6>;
1075 spi0: spi@f0000000 {
1076 #address-cells = <1>;
1078 compatible = "atmel,at91rm9200-spi";
1079 reg = <0xf0000000 0x100>;
1080 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
1081 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(1)>,
1082 <&dma0 1 AT91_DMA_CFG_PER_ID(2)>;
1083 dma-names = "tx", "rx";
1084 pinctrl-names = "default";
1085 pinctrl-0 = <&pinctrl_spi0>;
1086 clocks = <&spi0_clk>;
1087 clock-names = "spi_clk";
1088 status = "disabled";
1091 spi1: spi@f0004000 {
1092 #address-cells = <1>;
1094 compatible = "atmel,at91rm9200-spi";
1095 reg = <0xf0004000 0x100>;
1096 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>;
1097 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(1)>,
1098 <&dma1 1 AT91_DMA_CFG_PER_ID(2)>;
1099 dma-names = "tx", "rx";
1100 pinctrl-names = "default";
1101 pinctrl-0 = <&pinctrl_spi1>;
1102 clocks = <&spi1_clk>;
1103 clock-names = "spi_clk";
1104 status = "disabled";
1107 usb2: gadget@f803c000 {
1108 #address-cells = <1>;
1110 compatible = "atmel,at91sam9g45-udc";
1111 reg = <0x00500000 0x80000
1113 interrupts = <23 IRQ_TYPE_LEVEL_HIGH 0>;
1114 clocks = <&utmi>, <&udphs_clk>;
1115 clock-names = "hclk", "pclk";
1116 status = "disabled";
1120 atmel,fifo-size = <64>;
1121 atmel,nb-banks = <1>;
1126 atmel,fifo-size = <1024>;
1127 atmel,nb-banks = <2>;
1134 atmel,fifo-size = <1024>;
1135 atmel,nb-banks = <2>;
1142 atmel,fifo-size = <1024>;
1143 atmel,nb-banks = <3>;
1149 atmel,fifo-size = <1024>;
1150 atmel,nb-banks = <3>;
1156 atmel,fifo-size = <1024>;
1157 atmel,nb-banks = <3>;
1164 atmel,fifo-size = <1024>;
1165 atmel,nb-banks = <3>;
1172 compatible = "atmel,at91sam9260-wdt";
1173 reg = <0xfffffe40 0x10>;
1174 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1176 atmel,watchdog-type = "hardware";
1177 atmel,reset-type = "all";
1179 status = "disabled";
1183 compatible = "atmel,at91sam9x5-rtc";
1184 reg = <0xfffffeb0 0x40>;
1185 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1187 status = "disabled";
1190 pwm0: pwm@f8034000 {
1191 compatible = "atmel,at91sam9rl-pwm";
1192 reg = <0xf8034000 0x300>;
1193 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 4>;
1194 clocks = <&pwm_clk>;
1196 status = "disabled";
1200 nand0: nand@40000000 {
1201 compatible = "atmel,at91rm9200-nand";
1202 #address-cells = <1>;
1204 reg = <0x40000000 0x10000000
1205 0xffffe000 0x600 /* PMECC Registers */
1206 0xffffe600 0x200 /* PMECC Error Location Registers */
1207 0x00108000 0x18000 /* PMECC looup table in ROM code */
1209 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
1210 atmel,nand-addr-offset = <21>;
1211 atmel,nand-cmd-offset = <22>;
1213 pinctrl-names = "default";
1214 pinctrl-0 = <&pinctrl_nand>;
1215 gpios = <&pioD 5 GPIO_ACTIVE_HIGH
1216 &pioD 4 GPIO_ACTIVE_HIGH
1219 status = "disabled";
1222 usb0: ohci@00600000 {
1223 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
1224 reg = <0x00600000 0x100000>;
1225 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
1226 clocks = <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
1227 clock-names = "ohci_clk", "hclk", "uhpck";
1228 status = "disabled";
1231 usb1: ehci@00700000 {
1232 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
1233 reg = <0x00700000 0x100000>;
1234 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
1235 clocks = <&utmi>, <&uhphs_clk>;
1236 clock-names = "usb_clk", "ehci_clk";
1237 status = "disabled";
1242 compatible = "i2c-gpio";
1243 gpios = <&pioA 30 GPIO_ACTIVE_HIGH /* sda */
1244 &pioA 31 GPIO_ACTIVE_HIGH /* scl */
1246 i2c-gpio,sda-open-drain;
1247 i2c-gpio,scl-open-drain;
1248 i2c-gpio,delay-us = <2>; /* ~100 kHz */
1249 #address-cells = <1>;
1251 pinctrl-names = "default";
1252 pinctrl-0 = <&pinctrl_i2c_gpio0>;
1253 status = "disabled";
1257 compatible = "i2c-gpio";
1258 gpios = <&pioC 0 GPIO_ACTIVE_HIGH /* sda */
1259 &pioC 1 GPIO_ACTIVE_HIGH /* scl */
1261 i2c-gpio,sda-open-drain;
1262 i2c-gpio,scl-open-drain;
1263 i2c-gpio,delay-us = <2>; /* ~100 kHz */
1264 #address-cells = <1>;
1266 pinctrl-names = "default";
1267 pinctrl-0 = <&pinctrl_i2c_gpio1>;
1268 status = "disabled";
1272 compatible = "i2c-gpio";
1273 gpios = <&pioB 4 GPIO_ACTIVE_HIGH /* sda */
1274 &pioB 5 GPIO_ACTIVE_HIGH /* scl */
1276 i2c-gpio,sda-open-drain;
1277 i2c-gpio,scl-open-drain;
1278 i2c-gpio,delay-us = <2>; /* ~100 kHz */
1279 #address-cells = <1>;
1281 pinctrl-names = "default";
1282 pinctrl-0 = <&pinctrl_i2c_gpio2>;
1283 status = "disabled";