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>;
45 compatible = "arm,arm926ej-s";
51 reg = <0x20000000 0x10000000>;
55 slow_xtal: slow_xtal {
56 compatible = "fixed-clock";
58 clock-frequency = <0>;
61 main_xtal: main_xtal {
62 compatible = "fixed-clock";
64 clock-frequency = <0>;
67 adc_op_clk: adc_op_clk{
68 compatible = "fixed-clock";
70 clock-frequency = <1000000>;
75 compatible = "mmio-sram";
76 reg = <0x00300000 0x8000>;
80 compatible = "simple-bus";
87 compatible = "simple-bus";
93 aic: interrupt-controller@fffff000 {
94 #interrupt-cells = <3>;
95 compatible = "atmel,at91rm9200-aic";
97 reg = <0xfffff000 0x200>;
98 atmel,external-irqs = <31>;
101 ramc0: ramc@ffffe800 {
102 compatible = "atmel,at91sam9g45-ddramc";
103 reg = <0xffffe800 0x200>;
105 clock-names = "ddrck";
109 compatible = "atmel,at91sam9x5-pmc", "syscon";
110 reg = <0xfffffc00 0x200>;
111 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
112 interrupt-controller;
113 #address-cells = <1>;
115 #interrupt-cells = <1>;
118 main_rc_osc: main_rc_osc {
119 compatible = "atmel,at91sam9x5-clk-main-rc-osc";
121 interrupts-extended = <&pmc AT91_PMC_MOSCRCS>;
122 clock-frequency = <12000000>;
123 clock-accuracy = <50000000>;
127 compatible = "atmel,at91rm9200-clk-main-osc";
129 interrupts-extended = <&pmc AT91_PMC_MOSCS>;
130 clocks = <&main_xtal>;
134 compatible = "atmel,at91sam9x5-clk-main";
136 interrupts-extended = <&pmc AT91_PMC_MOSCSELS>;
137 clocks = <&main_rc_osc>, <&main_osc>;
141 compatible = "atmel,at91rm9200-clk-pll";
143 interrupts-extended = <&pmc AT91_PMC_LOCKA>;
146 atmel,clk-input-range = <2000000 32000000>;
147 #atmel,pll-clk-output-range-cells = <4>;
148 atmel,pll-clk-output-ranges = <745000000 800000000 0 0
149 695000000 750000000 1 0
150 645000000 700000000 2 0
151 595000000 650000000 3 0
152 545000000 600000000 0 1
153 495000000 555000000 1 1
154 445000000 500000000 2 1
155 400000000 450000000 3 1>;
159 compatible = "atmel,at91sam9x5-clk-plldiv";
165 compatible = "atmel,at91sam9x5-clk-utmi";
167 interrupts-extended = <&pmc AT91_PMC_LOCKU>;
172 compatible = "atmel,at91sam9x5-clk-master";
174 interrupts-extended = <&pmc AT91_PMC_MCKRDY>;
175 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>;
176 atmel,clk-output-range = <0 133333333>;
177 atmel,clk-divisors = <1 2 4 3>;
178 atmel,master-clk-have-div3-pres;
184 compatible = "atmel,at91sam9x5-clk-usb";
186 clocks = <&plladiv>, <&utmi>;
190 compatible = "atmel,at91sam9x5-clk-programmable";
191 #address-cells = <1>;
193 interrupt-parent = <&pmc>;
194 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>;
199 interrupts = <AT91_PMC_PCKRDY(0)>;
205 interrupts = <AT91_PMC_PCKRDY(1)>;
210 compatible = "atmel,at91sam9x5-clk-smd";
212 clocks = <&plladiv>, <&utmi>;
216 compatible = "atmel,at91rm9200-clk-system";
217 #address-cells = <1>;
258 compatible = "atmel,at91sam9x5-clk-peripheral";
259 #address-cells = <1>;
265 pioAB_clk: pioAB_clk@2 {
270 pioCD_clk: pioCD_clk@3 {
280 usart0_clk: usart0_clk@5 {
285 usart1_clk: usart1_clk@6 {
290 usart2_clk: usart2_clk@7 {
295 twi0_clk: twi0_clk@9 {
300 twi1_clk: twi1_clk@10 {
305 twi2_clk: twi2_clk@11 {
310 mci0_clk: mci0_clk@12 {
315 spi0_clk: spi0_clk@13 {
320 spi1_clk: spi1_clk@14 {
325 uart0_clk: uart0_clk@15 {
330 uart1_clk: uart1_clk@16 {
335 tcb0_clk: tcb0_clk@17 {
340 pwm_clk: pwm_clk@18 {
345 adc_clk: adc_clk@19 {
350 dma0_clk: dma0_clk@20 {
355 dma1_clk: dma1_clk@21 {
360 uhphs_clk: uhphs_clk@22 {
365 udphs_clk: udphs_clk@23 {
370 mci1_clk: mci1_clk@26 {
375 ssc0_clk: ssc0_clk@28 {
383 compatible = "atmel,at91sam9g45-rstc";
384 reg = <0xfffffe00 0x10>;
389 compatible = "atmel,at91sam9x5-shdwc";
390 reg = <0xfffffe10 0x10>;
394 pit: timer@fffffe30 {
395 compatible = "atmel,at91sam9260-pit";
396 reg = <0xfffffe30 0xf>;
397 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
402 compatible = "atmel,at91sam9x5-sckc";
403 reg = <0xfffffe50 0x4>;
406 compatible = "atmel,at91sam9x5-clk-slow-osc";
408 clocks = <&slow_xtal>;
411 slow_rc_osc: slow_rc_osc {
412 compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
414 clock-frequency = <32768>;
415 clock-accuracy = <50000000>;
419 compatible = "atmel,at91sam9x5-clk-slow";
421 clocks = <&slow_rc_osc>, <&slow_osc>;
425 tcb0: timer@f8008000 {
426 compatible = "atmel,at91sam9x5-tcb";
427 reg = <0xf8008000 0x100>;
428 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
429 clocks = <&tcb0_clk>, <&clk32k>;
430 clock-names = "t0_clk", "slow_clk";
433 tcb1: timer@f800c000 {
434 compatible = "atmel,at91sam9x5-tcb";
435 reg = <0xf800c000 0x100>;
436 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
437 clocks = <&tcb0_clk>, <&clk32k>;
438 clock-names = "t0_clk", "slow_clk";
441 dma0: dma-controller@ffffec00 {
442 compatible = "atmel,at91sam9g45-dma";
443 reg = <0xffffec00 0x200>;
444 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
446 clocks = <&dma0_clk>;
447 clock-names = "dma_clk";
450 dma1: dma-controller@ffffee00 {
451 compatible = "atmel,at91sam9g45-dma";
452 reg = <0xffffee00 0x200>;
453 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
455 clocks = <&dma1_clk>;
456 clock-names = "dma_clk";
460 #address-cells = <1>;
462 compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
463 ranges = <0xfffff400 0xfffff400 0x800>;
464 reg = <0xfffff400 0x200 /* pioA */
465 0xfffff600 0x200 /* pioB */
466 0xfffff800 0x200 /* pioC */
467 0xfffffa00 0x200 /* pioD */
472 /* shared pinctrl settings */
475 pinctrl_dbgu: dbgu-0 {
477 <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
478 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
483 pinctrl_usart0: usart0-0 {
485 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA0 periph A with pullup */
486 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA1 periph A */
489 pinctrl_usart0_rts: usart0_rts-0 {
491 <AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA2 periph A */
494 pinctrl_usart0_cts: usart0_cts-0 {
496 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA3 periph A */
499 pinctrl_usart0_sck: usart0_sck-0 {
501 <AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA4 periph A */
506 pinctrl_usart1: usart1-0 {
508 <AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA5 periph A with pullup */
509 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA6 periph A */
512 pinctrl_usart1_rts: usart1_rts-0 {
514 <AT91_PIOC 27 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC27 periph C */
517 pinctrl_usart1_cts: usart1_cts-0 {
519 <AT91_PIOC 28 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC28 periph C */
522 pinctrl_usart1_sck: usart1_sck-0 {
524 <AT91_PIOC 29 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC29 periph C */
529 pinctrl_usart2: usart2-0 {
531 <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */
532 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA8 periph A */
535 pinctrl_usart2_rts: usart2_rts-0 {
537 <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB0 periph B */
540 pinctrl_usart2_cts: usart2_cts-0 {
542 <AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB1 periph B */
545 pinctrl_usart2_sck: usart2_sck-0 {
547 <AT91_PIOB 2 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB2 periph B */
552 pinctrl_uart0: uart0-0 {
554 <AT91_PIOC 8 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC8 periph C */
555 AT91_PIOC 9 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC9 periph C with pullup */
560 pinctrl_uart1: uart1-0 {
562 <AT91_PIOC 16 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC16 periph C */
563 AT91_PIOC 17 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC17 periph C with pullup */
568 pinctrl_nand: nand-0 {
570 <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD0 periph A Read Enable */
571 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD1 periph A Write Enable */
572 AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD2 periph A Address Latch Enable */
573 AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD3 periph A Command Latch Enable */
574 AT91_PIOD 4 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD4 gpio Chip Enable pin pull_up */
575 AT91_PIOD 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD5 gpio RDY/BUSY pin pull_up */
576 AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD6 periph A Data bit 0 */
577 AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD7 periph A Data bit 1 */
578 AT91_PIOD 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD8 periph A Data bit 2 */
579 AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD9 periph A Data bit 3 */
580 AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD10 periph A Data bit 4 */
581 AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD11 periph A Data bit 5 */
582 AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD12 periph A Data bit 6 */
583 AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD13 periph A Data bit 7 */
586 pinctrl_nand_16bits: nand_16bits-0 {
588 <AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD14 periph A Data bit 8 */
589 AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD15 periph A Data bit 9 */
590 AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD16 periph A Data bit 10 */
591 AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD17 periph A Data bit 11 */
592 AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD18 periph A Data bit 12 */
593 AT91_PIOD 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD19 periph A Data bit 13 */
594 AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD20 periph A Data bit 14 */
595 AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD21 periph A Data bit 15 */
600 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
602 <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA17 periph A */
603 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 periph A with pullup */
604 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA15 periph A with pullup */
607 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
609 <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA18 periph A with pullup */
610 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA19 periph A with pullup */
611 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA20 periph A with pullup */
616 pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
618 <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA13 periph B */
619 AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA12 periph B with pullup */
620 AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA11 periph B with pullup */
623 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
625 <AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA2 periph B with pullup */
626 AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA3 periph B with pullup */
627 AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA4 periph B with pullup */
632 pinctrl_ssc0_tx: ssc0_tx-0 {
634 <AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA24 periph B */
635 AT91_PIOA 25 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA25 periph B */
636 AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA26 periph B */
639 pinctrl_ssc0_rx: ssc0_rx-0 {
641 <AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA27 periph B */
642 AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA28 periph B */
643 AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA29 periph B */
648 pinctrl_spi0: spi0-0 {
650 <AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A SPI0_MISO pin */
651 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A SPI0_MOSI pin */
652 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA13 periph A SPI0_SPCK pin */
657 pinctrl_spi1: spi1-0 {
659 <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA21 periph B SPI1_MISO pin */
660 AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA22 periph B SPI1_MOSI pin */
661 AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA23 periph B SPI1_SPCK pin */
666 pinctrl_i2c0: i2c0-0 {
668 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA30 periph A I2C0 data */
669 AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA31 periph A I2C0 clock */
674 pinctrl_i2c1: i2c1-0 {
676 <AT91_PIOC 0 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC0 periph C I2C1 data */
677 AT91_PIOC 1 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC1 periph C I2C1 clock */
682 pinctrl_i2c2: i2c2-0 {
684 <AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB4 periph B I2C2 data */
685 AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB5 periph B I2C2 clock */
690 pinctrl_i2c_gpio0: i2c_gpio0-0 {
692 <AT91_PIOA 30 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PA30 gpio multidrive I2C0 data */
693 AT91_PIOA 31 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PA31 gpio multidrive I2C0 clock */
698 pinctrl_i2c_gpio1: i2c_gpio1-0 {
700 <AT91_PIOC 0 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PC0 gpio multidrive I2C1 data */
701 AT91_PIOC 1 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PC1 gpio multidrive I2C1 clock */
706 pinctrl_i2c_gpio2: i2c_gpio2-0 {
708 <AT91_PIOB 4 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PB4 gpio multidrive I2C2 data */
709 AT91_PIOB 5 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PB5 gpio multidrive I2C2 clock */
714 pinctrl_pwm0_pwm0_0: pwm0_pwm0-0 {
716 <AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>;
718 pinctrl_pwm0_pwm0_1: pwm0_pwm0-1 {
720 <AT91_PIOC 10 AT91_PERIPH_C AT91_PINCTRL_NONE>;
722 pinctrl_pwm0_pwm0_2: pwm0_pwm0-2 {
724 <AT91_PIOC 18 AT91_PERIPH_C AT91_PINCTRL_NONE>;
727 pinctrl_pwm0_pwm1_0: pwm0_pwm1-0 {
729 <AT91_PIOB 12 AT91_PERIPH_B AT91_PINCTRL_NONE>;
731 pinctrl_pwm0_pwm1_1: pwm0_pwm1-1 {
733 <AT91_PIOC 11 AT91_PERIPH_C AT91_PINCTRL_NONE>;
735 pinctrl_pwm0_pwm1_2: pwm0_pwm1-2 {
737 <AT91_PIOC 19 AT91_PERIPH_C AT91_PINCTRL_NONE>;
740 pinctrl_pwm0_pwm2_0: pwm0_pwm2-0 {
742 <AT91_PIOB 13 AT91_PERIPH_B AT91_PINCTRL_NONE>;
744 pinctrl_pwm0_pwm2_1: pwm0_pwm2-1 {
746 <AT91_PIOC 20 AT91_PERIPH_C AT91_PINCTRL_NONE>;
749 pinctrl_pwm0_pwm3_0: pwm0_pwm3-0 {
751 <AT91_PIOB 14 AT91_PERIPH_B AT91_PINCTRL_NONE>;
753 pinctrl_pwm0_pwm3_1: pwm0_pwm3-1 {
755 <AT91_PIOC 21 AT91_PERIPH_C AT91_PINCTRL_NONE>;
760 pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
761 atmel,pins = <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_NONE>;
764 pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
765 atmel,pins = <AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_NONE>;
768 pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
769 atmel,pins = <AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_NONE>;
772 pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
773 atmel,pins = <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
776 pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
777 atmel,pins = <AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;
780 pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
781 atmel,pins = <AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
784 pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
785 atmel,pins = <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;
788 pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
789 atmel,pins = <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
792 pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
793 atmel,pins = <AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
798 pinctrl_tcb1_tclk0: tcb1_tclk0-0 {
799 atmel,pins = <AT91_PIOC 4 AT91_PERIPH_C AT91_PINCTRL_NONE>;
802 pinctrl_tcb1_tclk1: tcb1_tclk1-0 {
803 atmel,pins = <AT91_PIOC 7 AT91_PERIPH_C AT91_PINCTRL_NONE>;
806 pinctrl_tcb1_tclk2: tcb1_tclk2-0 {
807 atmel,pins = <AT91_PIOC 14 AT91_PERIPH_C AT91_PINCTRL_NONE>;
810 pinctrl_tcb1_tioa0: tcb1_tioa0-0 {
811 atmel,pins = <AT91_PIOC 2 AT91_PERIPH_C AT91_PINCTRL_NONE>;
814 pinctrl_tcb1_tioa1: tcb1_tioa1-0 {
815 atmel,pins = <AT91_PIOC 5 AT91_PERIPH_C AT91_PINCTRL_NONE>;
818 pinctrl_tcb1_tioa2: tcb1_tioa2-0 {
819 atmel,pins = <AT91_PIOC 12 AT91_PERIPH_C AT91_PINCTRL_NONE>;
822 pinctrl_tcb1_tiob0: tcb1_tiob0-0 {
823 atmel,pins = <AT91_PIOC 3 AT91_PERIPH_C AT91_PINCTRL_NONE>;
826 pinctrl_tcb1_tiob1: tcb1_tiob1-0 {
827 atmel,pins = <AT91_PIOC 6 AT91_PERIPH_C AT91_PINCTRL_NONE>;
830 pinctrl_tcb1_tiob2: tcb1_tiob2-0 {
831 atmel,pins = <AT91_PIOC 13 AT91_PERIPH_C AT91_PINCTRL_NONE>;
836 pioA: gpio@fffff400 {
837 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
838 reg = <0xfffff400 0x200>;
839 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
842 interrupt-controller;
843 #interrupt-cells = <2>;
844 clocks = <&pioAB_clk>;
847 pioB: gpio@fffff600 {
848 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
849 reg = <0xfffff600 0x200>;
850 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
854 interrupt-controller;
855 #interrupt-cells = <2>;
856 clocks = <&pioAB_clk>;
859 pioC: gpio@fffff800 {
860 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
861 reg = <0xfffff800 0x200>;
862 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
865 interrupt-controller;
866 #interrupt-cells = <2>;
867 clocks = <&pioCD_clk>;
870 pioD: gpio@fffffa00 {
871 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
872 reg = <0xfffffa00 0x200>;
873 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
877 interrupt-controller;
878 #interrupt-cells = <2>;
879 clocks = <&pioCD_clk>;
883 compatible = "atmel,at91sam9g45-ssc";
884 reg = <0xf0010000 0x4000>;
885 interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>;
886 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(13)>,
887 <&dma0 1 AT91_DMA_CFG_PER_ID(14)>;
888 dma-names = "tx", "rx";
889 pinctrl-names = "default";
890 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
891 clocks = <&ssc0_clk>;
892 clock-names = "pclk";
897 compatible = "atmel,hsmci";
898 reg = <0xf0008000 0x600>;
899 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>;
900 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(0)>;
902 pinctrl-names = "default";
903 clocks = <&mci0_clk>;
904 clock-names = "mci_clk";
905 #address-cells = <1>;
911 compatible = "atmel,hsmci";
912 reg = <0xf000c000 0x600>;
913 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>;
914 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(0)>;
916 pinctrl-names = "default";
917 clocks = <&mci1_clk>;
918 clock-names = "mci_clk";
919 #address-cells = <1>;
924 dbgu: serial@fffff200 {
925 compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
926 reg = <0xfffff200 0x200>;
927 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
928 pinctrl-names = "default";
929 pinctrl-0 = <&pinctrl_dbgu>;
930 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(8)>,
931 <&dma1 1 (AT91_DMA_CFG_PER_ID(9) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
932 dma-names = "tx", "rx";
934 clock-names = "usart";
938 usart0: serial@f801c000 {
939 compatible = "atmel,at91sam9260-usart";
940 reg = <0xf801c000 0x200>;
941 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 5>;
942 pinctrl-names = "default";
943 pinctrl-0 = <&pinctrl_usart0>;
944 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(3)>,
945 <&dma0 1 (AT91_DMA_CFG_PER_ID(4) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
946 dma-names = "tx", "rx";
947 clocks = <&usart0_clk>;
948 clock-names = "usart";
952 usart1: serial@f8020000 {
953 compatible = "atmel,at91sam9260-usart";
954 reg = <0xf8020000 0x200>;
955 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
956 pinctrl-names = "default";
957 pinctrl-0 = <&pinctrl_usart1>;
958 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(5)>,
959 <&dma0 1 (AT91_DMA_CFG_PER_ID(6) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
960 dma-names = "tx", "rx";
961 clocks = <&usart1_clk>;
962 clock-names = "usart";
966 usart2: serial@f8024000 {
967 compatible = "atmel,at91sam9260-usart";
968 reg = <0xf8024000 0x200>;
969 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
970 pinctrl-names = "default";
971 pinctrl-0 = <&pinctrl_usart2>;
972 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(12)>,
973 <&dma1 1 (AT91_DMA_CFG_PER_ID(13) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
974 dma-names = "tx", "rx";
975 clocks = <&usart2_clk>;
976 clock-names = "usart";
981 compatible = "atmel,at91sam9x5-i2c";
982 reg = <0xf8010000 0x100>;
983 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 6>;
984 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(7)>,
985 <&dma0 1 AT91_DMA_CFG_PER_ID(8)>;
986 dma-names = "tx", "rx";
987 #address-cells = <1>;
989 pinctrl-names = "default";
990 pinctrl-0 = <&pinctrl_i2c0>;
991 clocks = <&twi0_clk>;
996 compatible = "atmel,at91sam9x5-i2c";
997 reg = <0xf8014000 0x100>;
998 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 6>;
999 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(5)>,
1000 <&dma1 1 AT91_DMA_CFG_PER_ID(6)>;
1001 dma-names = "tx", "rx";
1002 #address-cells = <1>;
1004 pinctrl-names = "default";
1005 pinctrl-0 = <&pinctrl_i2c1>;
1006 clocks = <&twi1_clk>;
1007 status = "disabled";
1010 i2c2: i2c@f8018000 {
1011 compatible = "atmel,at91sam9x5-i2c";
1012 reg = <0xf8018000 0x100>;
1013 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>;
1014 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(9)>,
1015 <&dma0 1 AT91_DMA_CFG_PER_ID(10)>;
1016 dma-names = "tx", "rx";
1017 #address-cells = <1>;
1019 pinctrl-names = "default";
1020 pinctrl-0 = <&pinctrl_i2c2>;
1021 clocks = <&twi2_clk>;
1022 status = "disabled";
1025 uart0: serial@f8040000 {
1026 compatible = "atmel,at91sam9260-usart";
1027 reg = <0xf8040000 0x200>;
1028 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
1029 pinctrl-names = "default";
1030 pinctrl-0 = <&pinctrl_uart0>;
1031 clocks = <&uart0_clk>;
1032 clock-names = "usart";
1033 status = "disabled";
1036 uart1: serial@f8044000 {
1037 compatible = "atmel,at91sam9260-usart";
1038 reg = <0xf8044000 0x200>;
1039 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
1040 pinctrl-names = "default";
1041 pinctrl-0 = <&pinctrl_uart1>;
1042 clocks = <&uart1_clk>;
1043 clock-names = "usart";
1044 status = "disabled";
1047 adc0: adc@f804c000 {
1048 compatible = "atmel,at91sam9x5-adc";
1049 reg = <0xf804c000 0x100>;
1050 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 0>;
1051 clocks = <&adc_clk>,
1053 clock-names = "adc_clk", "adc_op_clk";
1054 atmel,adc-use-external-triggers;
1055 atmel,adc-channels-used = <0xffff>;
1056 atmel,adc-vref = <3300>;
1057 atmel,adc-startup-time = <40>;
1058 atmel,adc-sample-hold-time = <11>;
1059 atmel,adc-res = <8 10>;
1060 atmel,adc-res-names = "lowres", "highres";
1061 atmel,adc-use-res = "highres";
1064 trigger-name = "external-rising";
1065 trigger-value = <0x1>;
1070 trigger-name = "external-falling";
1071 trigger-value = <0x2>;
1076 trigger-name = "external-any";
1077 trigger-value = <0x3>;
1082 trigger-name = "continuous";
1083 trigger-value = <0x6>;
1087 spi0: spi@f0000000 {
1088 #address-cells = <1>;
1090 compatible = "atmel,at91rm9200-spi";
1091 reg = <0xf0000000 0x100>;
1092 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
1093 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(1)>,
1094 <&dma0 1 AT91_DMA_CFG_PER_ID(2)>;
1095 dma-names = "tx", "rx";
1096 pinctrl-names = "default";
1097 pinctrl-0 = <&pinctrl_spi0>;
1098 clocks = <&spi0_clk>;
1099 clock-names = "spi_clk";
1100 status = "disabled";
1103 spi1: spi@f0004000 {
1104 #address-cells = <1>;
1106 compatible = "atmel,at91rm9200-spi";
1107 reg = <0xf0004000 0x100>;
1108 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>;
1109 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(1)>,
1110 <&dma1 1 AT91_DMA_CFG_PER_ID(2)>;
1111 dma-names = "tx", "rx";
1112 pinctrl-names = "default";
1113 pinctrl-0 = <&pinctrl_spi1>;
1114 clocks = <&spi1_clk>;
1115 clock-names = "spi_clk";
1116 status = "disabled";
1119 usb2: gadget@f803c000 {
1120 #address-cells = <1>;
1122 compatible = "atmel,at91sam9g45-udc";
1123 reg = <0x00500000 0x80000
1125 interrupts = <23 IRQ_TYPE_LEVEL_HIGH 0>;
1126 clocks = <&utmi>, <&udphs_clk>;
1127 clock-names = "hclk", "pclk";
1128 status = "disabled";
1132 atmel,fifo-size = <64>;
1133 atmel,nb-banks = <1>;
1138 atmel,fifo-size = <1024>;
1139 atmel,nb-banks = <2>;
1146 atmel,fifo-size = <1024>;
1147 atmel,nb-banks = <2>;
1154 atmel,fifo-size = <1024>;
1155 atmel,nb-banks = <3>;
1161 atmel,fifo-size = <1024>;
1162 atmel,nb-banks = <3>;
1168 atmel,fifo-size = <1024>;
1169 atmel,nb-banks = <3>;
1176 atmel,fifo-size = <1024>;
1177 atmel,nb-banks = <3>;
1184 compatible = "atmel,at91sam9260-wdt";
1185 reg = <0xfffffe40 0x10>;
1186 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1188 atmel,watchdog-type = "hardware";
1189 atmel,reset-type = "all";
1191 status = "disabled";
1195 compatible = "atmel,at91sam9x5-rtc";
1196 reg = <0xfffffeb0 0x40>;
1197 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1199 status = "disabled";
1202 pwm0: pwm@f8034000 {
1203 compatible = "atmel,at91sam9rl-pwm";
1204 reg = <0xf8034000 0x300>;
1205 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 4>;
1206 clocks = <&pwm_clk>;
1208 status = "disabled";
1212 nand0: nand@40000000 {
1213 compatible = "atmel,at91rm9200-nand";
1214 #address-cells = <1>;
1216 reg = <0x40000000 0x10000000
1217 0xffffe000 0x600 /* PMECC Registers */
1218 0xffffe600 0x200 /* PMECC Error Location Registers */
1219 0x00108000 0x18000 /* PMECC looup table in ROM code */
1221 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
1222 atmel,nand-addr-offset = <21>;
1223 atmel,nand-cmd-offset = <22>;
1225 pinctrl-names = "default";
1226 pinctrl-0 = <&pinctrl_nand>;
1227 gpios = <&pioD 5 GPIO_ACTIVE_HIGH
1228 &pioD 4 GPIO_ACTIVE_HIGH
1231 status = "disabled";
1234 usb0: ohci@00600000 {
1235 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
1236 reg = <0x00600000 0x100000>;
1237 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
1238 clocks = <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
1239 clock-names = "ohci_clk", "hclk", "uhpck";
1240 status = "disabled";
1243 usb1: ehci@00700000 {
1244 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
1245 reg = <0x00700000 0x100000>;
1246 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
1247 clocks = <&utmi>, <&uhphs_clk>;
1248 clock-names = "usb_clk", "ehci_clk";
1249 status = "disabled";
1254 compatible = "i2c-gpio";
1255 gpios = <&pioA 30 GPIO_ACTIVE_HIGH /* sda */
1256 &pioA 31 GPIO_ACTIVE_HIGH /* scl */
1258 i2c-gpio,sda-open-drain;
1259 i2c-gpio,scl-open-drain;
1260 i2c-gpio,delay-us = <2>; /* ~100 kHz */
1261 #address-cells = <1>;
1263 pinctrl-names = "default";
1264 pinctrl-0 = <&pinctrl_i2c_gpio0>;
1265 status = "disabled";
1269 compatible = "i2c-gpio";
1270 gpios = <&pioC 0 GPIO_ACTIVE_HIGH /* sda */
1271 &pioC 1 GPIO_ACTIVE_HIGH /* scl */
1273 i2c-gpio,sda-open-drain;
1274 i2c-gpio,scl-open-drain;
1275 i2c-gpio,delay-us = <2>; /* ~100 kHz */
1276 #address-cells = <1>;
1278 pinctrl-names = "default";
1279 pinctrl-0 = <&pinctrl_i2c_gpio1>;
1280 status = "disabled";
1284 compatible = "i2c-gpio";
1285 gpios = <&pioB 4 GPIO_ACTIVE_HIGH /* sda */
1286 &pioB 5 GPIO_ACTIVE_HIGH /* scl */
1288 i2c-gpio,sda-open-drain;
1289 i2c-gpio,scl-open-drain;
1290 i2c-gpio,delay-us = <2>; /* ~100 kHz */
1291 #address-cells = <1>;
1293 pinctrl-names = "default";
1294 pinctrl-0 = <&pinctrl_i2c_gpio2>;
1295 status = "disabled";