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 = <5000000>;
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";
109 reg = <0xfffffc00 0x100>;
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>;
382 compatible = "atmel,at91sam9x5-shdwc";
383 reg = <0xfffffe10 0x10>;
386 pit: timer@fffffe30 {
387 compatible = "atmel,at91sam9260-pit";
388 reg = <0xfffffe30 0xf>;
389 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
394 compatible = "atmel,at91sam9x5-sckc";
395 reg = <0xfffffe50 0x4>;
398 compatible = "atmel,at91sam9x5-clk-slow-osc";
400 clocks = <&slow_xtal>;
403 slow_rc_osc: slow_rc_osc {
404 compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
406 clock-frequency = <32768>;
407 clock-accuracy = <50000000>;
411 compatible = "atmel,at91sam9x5-clk-slow";
413 clocks = <&slow_rc_osc>, <&slow_osc>;
417 tcb0: timer@f8008000 {
418 compatible = "atmel,at91sam9x5-tcb";
419 reg = <0xf8008000 0x100>;
420 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
421 clocks = <&tcb0_clk>;
422 clock-names = "t0_clk";
425 tcb1: timer@f800c000 {
426 compatible = "atmel,at91sam9x5-tcb";
427 reg = <0xf800c000 0x100>;
428 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
429 clocks = <&tcb0_clk>;
430 clock-names = "t0_clk";
433 dma0: dma-controller@ffffec00 {
434 compatible = "atmel,at91sam9g45-dma";
435 reg = <0xffffec00 0x200>;
436 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
438 clocks = <&dma0_clk>;
439 clock-names = "dma_clk";
442 dma1: dma-controller@ffffee00 {
443 compatible = "atmel,at91sam9g45-dma";
444 reg = <0xffffee00 0x200>;
445 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
447 clocks = <&dma1_clk>;
448 clock-names = "dma_clk";
452 #address-cells = <1>;
454 compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
455 ranges = <0xfffff400 0xfffff400 0x800>;
457 /* shared pinctrl settings */
459 pinctrl_dbgu: dbgu-0 {
461 <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA9 periph A */
462 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA10 periph A with pullup */
467 pinctrl_usart0: usart0-0 {
469 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA0 periph A with pullup */
470 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA1 periph A */
473 pinctrl_usart0_rts: usart0_rts-0 {
475 <AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA2 periph A */
478 pinctrl_usart0_cts: usart0_cts-0 {
480 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA3 periph A */
483 pinctrl_usart0_sck: usart0_sck-0 {
485 <AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA4 periph A */
490 pinctrl_usart1: usart1-0 {
492 <AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA5 periph A with pullup */
493 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA6 periph A */
496 pinctrl_usart1_rts: usart1_rts-0 {
498 <AT91_PIOC 27 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC27 periph C */
501 pinctrl_usart1_cts: usart1_cts-0 {
503 <AT91_PIOC 28 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC28 periph C */
506 pinctrl_usart1_sck: usart1_sck-0 {
508 <AT91_PIOC 29 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC29 periph C */
513 pinctrl_usart2: usart2-0 {
515 <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */
516 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA8 periph A */
519 pinctrl_usart2_rts: usart2_rts-0 {
521 <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB0 periph B */
524 pinctrl_usart2_cts: usart2_cts-0 {
526 <AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB1 periph B */
529 pinctrl_usart2_sck: usart2_sck-0 {
531 <AT91_PIOB 2 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB2 periph B */
536 pinctrl_uart0: uart0-0 {
538 <AT91_PIOC 8 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC8 periph C */
539 AT91_PIOC 9 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC9 periph C with pullup */
544 pinctrl_uart1: uart1-0 {
546 <AT91_PIOC 16 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC16 periph C */
547 AT91_PIOC 17 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC17 periph C with pullup */
552 pinctrl_nand: nand-0 {
554 <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD0 periph A Read Enable */
555 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD1 periph A Write Enable */
556 AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD2 periph A Address Latch Enable */
557 AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD3 periph A Command Latch Enable */
558 AT91_PIOD 4 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD4 gpio Chip Enable pin pull_up */
559 AT91_PIOD 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD5 gpio RDY/BUSY pin pull_up */
560 AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD6 periph A Data bit 0 */
561 AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD7 periph A Data bit 1 */
562 AT91_PIOD 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD8 periph A Data bit 2 */
563 AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD9 periph A Data bit 3 */
564 AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD10 periph A Data bit 4 */
565 AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD11 periph A Data bit 5 */
566 AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD12 periph A Data bit 6 */
567 AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD13 periph A Data bit 7 */
570 pinctrl_nand_16bits: nand_16bits-0 {
572 <AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD14 periph A Data bit 8 */
573 AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD15 periph A Data bit 9 */
574 AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD16 periph A Data bit 10 */
575 AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD17 periph A Data bit 11 */
576 AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD18 periph A Data bit 12 */
577 AT91_PIOD 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD19 periph A Data bit 13 */
578 AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD20 periph A Data bit 14 */
579 AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD21 periph A Data bit 15 */
584 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
586 <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA17 periph A */
587 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 periph A with pullup */
588 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA15 periph A with pullup */
591 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
593 <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA18 periph A with pullup */
594 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA19 periph A with pullup */
595 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA20 periph A with pullup */
600 pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
602 <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA13 periph B */
603 AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA12 periph B with pullup */
604 AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA11 periph B with pullup */
607 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
609 <AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA2 periph B with pullup */
610 AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA3 periph B with pullup */
611 AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA4 periph B with pullup */
616 pinctrl_ssc0_tx: ssc0_tx-0 {
618 <AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA24 periph B */
619 AT91_PIOA 25 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA25 periph B */
620 AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA26 periph B */
623 pinctrl_ssc0_rx: ssc0_rx-0 {
625 <AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA27 periph B */
626 AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA28 periph B */
627 AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA29 periph B */
632 pinctrl_spi0: spi0-0 {
634 <AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A SPI0_MISO pin */
635 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A SPI0_MOSI pin */
636 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA13 periph A SPI0_SPCK pin */
641 pinctrl_spi1: spi1-0 {
643 <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA21 periph B SPI1_MISO pin */
644 AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA22 periph B SPI1_MOSI pin */
645 AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA23 periph B SPI1_SPCK pin */
650 pinctrl_i2c0: i2c0-0 {
652 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA30 periph A I2C0 data */
653 AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA31 periph A I2C0 clock */
658 pinctrl_i2c1: i2c1-0 {
660 <AT91_PIOC 0 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC0 periph C I2C1 data */
661 AT91_PIOC 1 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC1 periph C I2C1 clock */
666 pinctrl_i2c2: i2c2-0 {
668 <AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB4 periph B I2C2 data */
669 AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB5 periph B I2C2 clock */
674 pinctrl_i2c_gpio0: i2c_gpio0-0 {
676 <AT91_PIOA 30 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PA30 gpio multidrive I2C0 data */
677 AT91_PIOA 31 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PA31 gpio multidrive I2C0 clock */
682 pinctrl_i2c_gpio1: i2c_gpio1-0 {
684 <AT91_PIOC 0 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PC0 gpio multidrive I2C1 data */
685 AT91_PIOC 1 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PC1 gpio multidrive I2C1 clock */
690 pinctrl_i2c_gpio2: i2c_gpio2-0 {
692 <AT91_PIOB 4 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PB4 gpio multidrive I2C2 data */
693 AT91_PIOB 5 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PB5 gpio multidrive I2C2 clock */
698 pinctrl_pwm0_pwm0_0: pwm0_pwm0-0 {
700 <AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>;
702 pinctrl_pwm0_pwm0_1: pwm0_pwm0-1 {
704 <AT91_PIOC 10 AT91_PERIPH_C AT91_PINCTRL_NONE>;
706 pinctrl_pwm0_pwm0_2: pwm0_pwm0-2 {
708 <AT91_PIOC 18 AT91_PERIPH_C AT91_PINCTRL_NONE>;
711 pinctrl_pwm0_pwm1_0: pwm0_pwm1-0 {
713 <AT91_PIOB 12 AT91_PERIPH_B AT91_PINCTRL_NONE>;
715 pinctrl_pwm0_pwm1_1: pwm0_pwm1-1 {
717 <AT91_PIOC 11 AT91_PERIPH_C AT91_PINCTRL_NONE>;
719 pinctrl_pwm0_pwm1_2: pwm0_pwm1-2 {
721 <AT91_PIOC 19 AT91_PERIPH_C AT91_PINCTRL_NONE>;
724 pinctrl_pwm0_pwm2_0: pwm0_pwm2-0 {
726 <AT91_PIOB 13 AT91_PERIPH_B AT91_PINCTRL_NONE>;
728 pinctrl_pwm0_pwm2_1: pwm0_pwm2-1 {
730 <AT91_PIOC 20 AT91_PERIPH_C AT91_PINCTRL_NONE>;
733 pinctrl_pwm0_pwm3_0: pwm0_pwm3-0 {
735 <AT91_PIOB 14 AT91_PERIPH_B AT91_PINCTRL_NONE>;
737 pinctrl_pwm0_pwm3_1: pwm0_pwm3-1 {
739 <AT91_PIOC 21 AT91_PERIPH_C AT91_PINCTRL_NONE>;
744 pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
745 atmel,pins = <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_NONE>;
748 pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
749 atmel,pins = <AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_NONE>;
752 pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
753 atmel,pins = <AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_NONE>;
756 pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
757 atmel,pins = <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
760 pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
761 atmel,pins = <AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;
764 pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
765 atmel,pins = <AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
768 pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
769 atmel,pins = <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;
772 pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
773 atmel,pins = <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
776 pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
777 atmel,pins = <AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
782 pinctrl_tcb1_tclk0: tcb1_tclk0-0 {
783 atmel,pins = <AT91_PIOC 4 AT91_PERIPH_C AT91_PINCTRL_NONE>;
786 pinctrl_tcb1_tclk1: tcb1_tclk1-0 {
787 atmel,pins = <AT91_PIOC 7 AT91_PERIPH_C AT91_PINCTRL_NONE>;
790 pinctrl_tcb1_tclk2: tcb1_tclk2-0 {
791 atmel,pins = <AT91_PIOC 14 AT91_PERIPH_C AT91_PINCTRL_NONE>;
794 pinctrl_tcb1_tioa0: tcb1_tioa0-0 {
795 atmel,pins = <AT91_PIOC 2 AT91_PERIPH_C AT91_PINCTRL_NONE>;
798 pinctrl_tcb1_tioa1: tcb1_tioa1-0 {
799 atmel,pins = <AT91_PIOC 5 AT91_PERIPH_C AT91_PINCTRL_NONE>;
802 pinctrl_tcb1_tioa2: tcb1_tioa2-0 {
803 atmel,pins = <AT91_PIOC 12 AT91_PERIPH_C AT91_PINCTRL_NONE>;
806 pinctrl_tcb1_tiob0: tcb1_tiob0-0 {
807 atmel,pins = <AT91_PIOC 3 AT91_PERIPH_C AT91_PINCTRL_NONE>;
810 pinctrl_tcb1_tiob1: tcb1_tiob1-0 {
811 atmel,pins = <AT91_PIOC 6 AT91_PERIPH_C AT91_PINCTRL_NONE>;
814 pinctrl_tcb1_tiob2: tcb1_tiob2-0 {
815 atmel,pins = <AT91_PIOC 13 AT91_PERIPH_C AT91_PINCTRL_NONE>;
819 pioA: gpio@fffff400 {
820 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
821 reg = <0xfffff400 0x200>;
822 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
825 interrupt-controller;
826 #interrupt-cells = <2>;
827 clocks = <&pioAB_clk>;
830 pioB: gpio@fffff600 {
831 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
832 reg = <0xfffff600 0x200>;
833 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
837 interrupt-controller;
838 #interrupt-cells = <2>;
839 clocks = <&pioAB_clk>;
842 pioC: gpio@fffff800 {
843 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
844 reg = <0xfffff800 0x200>;
845 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
848 interrupt-controller;
849 #interrupt-cells = <2>;
850 clocks = <&pioCD_clk>;
853 pioD: gpio@fffffa00 {
854 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
855 reg = <0xfffffa00 0x200>;
856 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
860 interrupt-controller;
861 #interrupt-cells = <2>;
862 clocks = <&pioCD_clk>;
867 compatible = "atmel,at91sam9g45-ssc";
868 reg = <0xf0010000 0x4000>;
869 interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>;
870 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(13)>,
871 <&dma0 1 AT91_DMA_CFG_PER_ID(14)>;
872 dma-names = "tx", "rx";
873 pinctrl-names = "default";
874 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
875 clocks = <&ssc0_clk>;
876 clock-names = "pclk";
881 compatible = "atmel,hsmci";
882 reg = <0xf0008000 0x600>;
883 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>;
884 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(0)>;
886 pinctrl-names = "default";
887 clocks = <&mci0_clk>;
888 clock-names = "mci_clk";
889 #address-cells = <1>;
895 compatible = "atmel,hsmci";
896 reg = <0xf000c000 0x600>;
897 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>;
898 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(0)>;
900 pinctrl-names = "default";
901 clocks = <&mci1_clk>;
902 clock-names = "mci_clk";
903 #address-cells = <1>;
908 dbgu: serial@fffff200 {
909 compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
910 reg = <0xfffff200 0x200>;
911 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
912 pinctrl-names = "default";
913 pinctrl-0 = <&pinctrl_dbgu>;
914 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(8)>,
915 <&dma1 1 (AT91_DMA_CFG_PER_ID(9) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
916 dma-names = "tx", "rx";
918 clock-names = "usart";
922 usart0: serial@f801c000 {
923 compatible = "atmel,at91sam9260-usart";
924 reg = <0xf801c000 0x200>;
925 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 5>;
926 pinctrl-names = "default";
927 pinctrl-0 = <&pinctrl_usart0>;
928 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(3)>,
929 <&dma0 1 (AT91_DMA_CFG_PER_ID(4) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
930 dma-names = "tx", "rx";
931 clocks = <&usart0_clk>;
932 clock-names = "usart";
936 usart1: serial@f8020000 {
937 compatible = "atmel,at91sam9260-usart";
938 reg = <0xf8020000 0x200>;
939 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
940 pinctrl-names = "default";
941 pinctrl-0 = <&pinctrl_usart1>;
942 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(5)>,
943 <&dma0 1 (AT91_DMA_CFG_PER_ID(6) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
944 dma-names = "tx", "rx";
945 clocks = <&usart1_clk>;
946 clock-names = "usart";
950 usart2: serial@f8024000 {
951 compatible = "atmel,at91sam9260-usart";
952 reg = <0xf8024000 0x200>;
953 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
954 pinctrl-names = "default";
955 pinctrl-0 = <&pinctrl_usart2>;
956 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(12)>,
957 <&dma1 1 (AT91_DMA_CFG_PER_ID(13) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
958 dma-names = "tx", "rx";
959 clocks = <&usart2_clk>;
960 clock-names = "usart";
965 compatible = "atmel,at91sam9x5-i2c";
966 reg = <0xf8010000 0x100>;
967 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 6>;
968 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(7)>,
969 <&dma0 1 AT91_DMA_CFG_PER_ID(8)>;
970 dma-names = "tx", "rx";
971 #address-cells = <1>;
973 pinctrl-names = "default";
974 pinctrl-0 = <&pinctrl_i2c0>;
975 clocks = <&twi0_clk>;
980 compatible = "atmel,at91sam9x5-i2c";
981 reg = <0xf8014000 0x100>;
982 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 6>;
983 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(5)>,
984 <&dma1 1 AT91_DMA_CFG_PER_ID(6)>;
985 dma-names = "tx", "rx";
986 #address-cells = <1>;
988 pinctrl-names = "default";
989 pinctrl-0 = <&pinctrl_i2c1>;
990 clocks = <&twi1_clk>;
995 compatible = "atmel,at91sam9x5-i2c";
996 reg = <0xf8018000 0x100>;
997 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>;
998 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(9)>,
999 <&dma0 1 AT91_DMA_CFG_PER_ID(10)>;
1000 dma-names = "tx", "rx";
1001 #address-cells = <1>;
1003 pinctrl-names = "default";
1004 pinctrl-0 = <&pinctrl_i2c2>;
1005 clocks = <&twi2_clk>;
1006 status = "disabled";
1009 uart0: serial@f8040000 {
1010 compatible = "atmel,at91sam9260-usart";
1011 reg = <0xf8040000 0x200>;
1012 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
1013 pinctrl-names = "default";
1014 pinctrl-0 = <&pinctrl_uart0>;
1015 clocks = <&uart0_clk>;
1016 clock-names = "usart";
1017 status = "disabled";
1020 uart1: serial@f8044000 {
1021 compatible = "atmel,at91sam9260-usart";
1022 reg = <0xf8044000 0x200>;
1023 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
1024 pinctrl-names = "default";
1025 pinctrl-0 = <&pinctrl_uart1>;
1026 clocks = <&uart1_clk>;
1027 clock-names = "usart";
1028 status = "disabled";
1031 adc0: adc@f804c000 {
1032 #address-cells = <1>;
1034 compatible = "atmel,at91sam9x5-adc";
1035 reg = <0xf804c000 0x100>;
1036 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 0>;
1037 clocks = <&adc_clk>,
1039 clock-names = "adc_clk", "adc_op_clk";
1040 atmel,adc-use-external-triggers;
1041 atmel,adc-channels-used = <0xffff>;
1042 atmel,adc-vref = <3300>;
1043 atmel,adc-startup-time = <40>;
1044 atmel,adc-res = <8 10>;
1045 atmel,adc-res-names = "lowres", "highres";
1046 atmel,adc-use-res = "highres";
1050 trigger-name = "external-rising";
1051 trigger-value = <0x1>;
1057 trigger-name = "external-falling";
1058 trigger-value = <0x2>;
1064 trigger-name = "external-any";
1065 trigger-value = <0x3>;
1071 trigger-name = "continuous";
1072 trigger-value = <0x6>;
1076 spi0: spi@f0000000 {
1077 #address-cells = <1>;
1079 compatible = "atmel,at91rm9200-spi";
1080 reg = <0xf0000000 0x100>;
1081 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
1082 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(1)>,
1083 <&dma0 1 AT91_DMA_CFG_PER_ID(2)>;
1084 dma-names = "tx", "rx";
1085 pinctrl-names = "default";
1086 pinctrl-0 = <&pinctrl_spi0>;
1087 clocks = <&spi0_clk>;
1088 clock-names = "spi_clk";
1089 status = "disabled";
1092 spi1: spi@f0004000 {
1093 #address-cells = <1>;
1095 compatible = "atmel,at91rm9200-spi";
1096 reg = <0xf0004000 0x100>;
1097 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>;
1098 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(1)>,
1099 <&dma1 1 AT91_DMA_CFG_PER_ID(2)>;
1100 dma-names = "tx", "rx";
1101 pinctrl-names = "default";
1102 pinctrl-0 = <&pinctrl_spi1>;
1103 clocks = <&spi1_clk>;
1104 clock-names = "spi_clk";
1105 status = "disabled";
1108 usb2: gadget@f803c000 {
1109 #address-cells = <1>;
1111 compatible = "atmel,at91sam9g45-udc";
1112 reg = <0x00500000 0x80000
1114 interrupts = <23 IRQ_TYPE_LEVEL_HIGH 0>;
1115 clocks = <&utmi>, <&udphs_clk>;
1116 clock-names = "hclk", "pclk";
1117 status = "disabled";
1121 atmel,fifo-size = <64>;
1122 atmel,nb-banks = <1>;
1127 atmel,fifo-size = <1024>;
1128 atmel,nb-banks = <2>;
1135 atmel,fifo-size = <1024>;
1136 atmel,nb-banks = <2>;
1143 atmel,fifo-size = <1024>;
1144 atmel,nb-banks = <3>;
1150 atmel,fifo-size = <1024>;
1151 atmel,nb-banks = <3>;
1157 atmel,fifo-size = <1024>;
1158 atmel,nb-banks = <3>;
1165 atmel,fifo-size = <1024>;
1166 atmel,nb-banks = <3>;
1173 compatible = "atmel,at91sam9260-wdt";
1174 reg = <0xfffffe40 0x10>;
1175 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>;
1186 status = "disabled";
1189 pwm0: pwm@f8034000 {
1190 compatible = "atmel,at91sam9rl-pwm";
1191 reg = <0xf8034000 0x300>;
1192 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 4>;
1193 clocks = <&pwm_clk>;
1195 status = "disabled";
1199 nand0: nand@40000000 {
1200 compatible = "atmel,at91rm9200-nand";
1201 #address-cells = <1>;
1203 reg = <0x40000000 0x10000000
1204 0xffffe000 0x600 /* PMECC Registers */
1205 0xffffe600 0x200 /* PMECC Error Location Registers */
1206 0x00108000 0x18000 /* PMECC looup table in ROM code */
1208 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
1209 atmel,nand-addr-offset = <21>;
1210 atmel,nand-cmd-offset = <22>;
1212 pinctrl-names = "default";
1213 pinctrl-0 = <&pinctrl_nand>;
1214 gpios = <&pioD 5 GPIO_ACTIVE_HIGH
1215 &pioD 4 GPIO_ACTIVE_HIGH
1218 status = "disabled";
1221 usb0: ohci@00600000 {
1222 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
1223 reg = <0x00600000 0x100000>;
1224 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
1225 clocks = <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
1226 clock-names = "ohci_clk", "hclk", "uhpck";
1227 status = "disabled";
1230 usb1: ehci@00700000 {
1231 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
1232 reg = <0x00700000 0x100000>;
1233 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
1234 clocks = <&utmi>, <&uhphs_clk>;
1235 clock-names = "usb_clk", "ehci_clk";
1236 status = "disabled";
1241 compatible = "i2c-gpio";
1242 gpios = <&pioA 30 GPIO_ACTIVE_HIGH /* sda */
1243 &pioA 31 GPIO_ACTIVE_HIGH /* scl */
1245 i2c-gpio,sda-open-drain;
1246 i2c-gpio,scl-open-drain;
1247 i2c-gpio,delay-us = <2>; /* ~100 kHz */
1248 #address-cells = <1>;
1250 pinctrl-names = "default";
1251 pinctrl-0 = <&pinctrl_i2c_gpio0>;
1252 status = "disabled";
1256 compatible = "i2c-gpio";
1257 gpios = <&pioC 0 GPIO_ACTIVE_HIGH /* sda */
1258 &pioC 1 GPIO_ACTIVE_HIGH /* scl */
1260 i2c-gpio,sda-open-drain;
1261 i2c-gpio,scl-open-drain;
1262 i2c-gpio,delay-us = <2>; /* ~100 kHz */
1263 #address-cells = <1>;
1265 pinctrl-names = "default";
1266 pinctrl-0 = <&pinctrl_i2c_gpio1>;
1267 status = "disabled";
1271 compatible = "i2c-gpio";
1272 gpios = <&pioB 4 GPIO_ACTIVE_HIGH /* sda */
1273 &pioB 5 GPIO_ACTIVE_HIGH /* scl */
1275 i2c-gpio,sda-open-drain;
1276 i2c-gpio,scl-open-drain;
1277 i2c-gpio,delay-us = <2>; /* ~100 kHz */
1278 #address-cells = <1>;
1280 pinctrl-names = "default";
1281 pinctrl-0 = <&pinctrl_i2c_gpio2>;
1282 status = "disabled";