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 matrix: matrix@ffffde00 {
101 compatible = "atmel,at91sam9x5-matrix", "syscon";
102 reg = <0xffffde00 0x100>;
105 pmecc: ecc-engine@ffffe000 {
106 compatible = "atmel,at91sam9g45-pmecc";
107 reg = <0xffffe000 0x600>,
111 ramc0: ramc@ffffe800 {
112 compatible = "atmel,at91sam9g45-ddramc";
113 reg = <0xffffe800 0x200>;
115 clock-names = "ddrck";
119 compatible = "atmel,at91sam9260-smc", "syscon";
120 reg = <0xffffea00 0x200>;
124 compatible = "atmel,at91sam9x5-pmc", "syscon";
125 reg = <0xfffffc00 0x200>;
126 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
127 interrupt-controller;
128 #address-cells = <1>;
130 #interrupt-cells = <1>;
132 main_rc_osc: main_rc_osc {
133 compatible = "atmel,at91sam9x5-clk-main-rc-osc";
135 interrupts-extended = <&pmc AT91_PMC_MOSCRCS>;
136 clock-frequency = <12000000>;
137 clock-accuracy = <50000000>;
141 compatible = "atmel,at91rm9200-clk-main-osc";
143 interrupts-extended = <&pmc AT91_PMC_MOSCS>;
144 clocks = <&main_xtal>;
148 compatible = "atmel,at91sam9x5-clk-main";
150 interrupts-extended = <&pmc AT91_PMC_MOSCSELS>;
151 clocks = <&main_rc_osc>, <&main_osc>;
155 compatible = "atmel,at91rm9200-clk-pll";
157 interrupts-extended = <&pmc AT91_PMC_LOCKA>;
160 atmel,clk-input-range = <2000000 32000000>;
161 #atmel,pll-clk-output-range-cells = <4>;
162 atmel,pll-clk-output-ranges = <745000000 800000000 0 0
163 695000000 750000000 1 0
164 645000000 700000000 2 0
165 595000000 650000000 3 0
166 545000000 600000000 0 1
167 495000000 555000000 1 1
168 445000000 500000000 2 1
169 400000000 450000000 3 1>;
173 compatible = "atmel,at91sam9x5-clk-plldiv";
179 compatible = "atmel,at91sam9x5-clk-utmi";
181 interrupts-extended = <&pmc AT91_PMC_LOCKU>;
186 compatible = "atmel,at91sam9x5-clk-master";
188 interrupts-extended = <&pmc AT91_PMC_MCKRDY>;
189 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>;
190 atmel,clk-output-range = <0 133333333>;
191 atmel,clk-divisors = <1 2 4 3>;
192 atmel,master-clk-have-div3-pres;
196 compatible = "atmel,at91sam9x5-clk-usb";
198 clocks = <&plladiv>, <&utmi>;
202 compatible = "atmel,at91sam9x5-clk-programmable";
203 #address-cells = <1>;
205 interrupt-parent = <&pmc>;
206 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>;
211 interrupts = <AT91_PMC_PCKRDY(0)>;
217 interrupts = <AT91_PMC_PCKRDY(1)>;
222 compatible = "atmel,at91sam9x5-clk-smd";
224 clocks = <&plladiv>, <&utmi>;
228 compatible = "atmel,at91rm9200-clk-system";
229 #address-cells = <1>;
270 compatible = "atmel,at91sam9x5-clk-peripheral";
271 #address-cells = <1>;
275 pioAB_clk: pioAB_clk {
280 pioCD_clk: pioCD_clk {
290 usart0_clk: usart0_clk {
295 usart1_clk: usart1_clk {
300 usart2_clk: usart2_clk {
335 uart0_clk: uart0_clk {
340 uart1_clk: uart1_clk {
370 uhphs_clk: uhphs_clk {
375 udphs_clk: udphs_clk {
392 reset_controller: rstc@fffffe00 {
393 compatible = "atmel,at91sam9g45-rstc";
394 reg = <0xfffffe00 0x10>;
398 shutdown_controller: shdwc@fffffe10 {
399 compatible = "atmel,at91sam9x5-shdwc";
400 reg = <0xfffffe10 0x10>;
404 pit: timer@fffffe30 {
405 compatible = "atmel,at91sam9260-pit";
406 reg = <0xfffffe30 0xf>;
407 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
412 compatible = "atmel,at91sam9x5-sckc";
413 reg = <0xfffffe50 0x4>;
416 compatible = "atmel,at91sam9x5-clk-slow-osc";
418 clocks = <&slow_xtal>;
421 slow_rc_osc: slow_rc_osc {
422 compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
424 clock-frequency = <32768>;
425 clock-accuracy = <50000000>;
429 compatible = "atmel,at91sam9x5-clk-slow";
431 clocks = <&slow_rc_osc>, <&slow_osc>;
435 tcb0: timer@f8008000 {
436 compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
437 #address-cells = <1>;
439 reg = <0xf8008000 0x100>;
440 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
441 clocks = <&tcb0_clk>, <&clk32k>;
442 clock-names = "t0_clk", "slow_clk";
445 tcb1: timer@f800c000 {
446 compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
447 #address-cells = <1>;
449 reg = <0xf800c000 0x100>;
450 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
451 clocks = <&tcb0_clk>, <&clk32k>;
452 clock-names = "t0_clk", "slow_clk";
455 dma0: dma-controller@ffffec00 {
456 compatible = "atmel,at91sam9g45-dma";
457 reg = <0xffffec00 0x200>;
458 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
460 clocks = <&dma0_clk>;
461 clock-names = "dma_clk";
464 dma1: dma-controller@ffffee00 {
465 compatible = "atmel,at91sam9g45-dma";
466 reg = <0xffffee00 0x200>;
467 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
469 clocks = <&dma1_clk>;
470 clock-names = "dma_clk";
473 pinctrl: pinctrl@fffff400 {
474 #address-cells = <1>;
476 compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
477 ranges = <0xfffff400 0xfffff400 0x800>;
479 /* shared pinctrl settings */
481 pinctrl_dbgu: dbgu-0 {
483 <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
484 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
489 pinctrl_ebi_data_0_7: ebi-data-lsb-0 {
491 <AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_NONE
492 AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_NONE
493 AT91_PIOD 8 AT91_PERIPH_A AT91_PINCTRL_NONE
494 AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE
495 AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE
496 AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE
497 AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE
498 AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE>;
501 pinctrl_ebi_data_8_15: ebi-data-msb-0 {
503 <AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE
504 AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE
505 AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE
506 AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE
507 AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_NONE
508 AT91_PIOD 19 AT91_PERIPH_A AT91_PINCTRL_NONE
509 AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE
510 AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
513 pinctrl_ebi_addr_nand: ebi-addr-0 {
515 <AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE
516 AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE>;
521 pinctrl_usart0: usart0-0 {
523 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE
524 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
527 pinctrl_usart0_rts: usart0_rts-0 {
529 <AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA2 periph A */
532 pinctrl_usart0_cts: usart0_cts-0 {
534 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA3 periph A */
537 pinctrl_usart0_sck: usart0_sck-0 {
539 <AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA4 periph A */
544 pinctrl_usart1: usart1-0 {
546 <AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE
547 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
550 pinctrl_usart1_rts: usart1_rts-0 {
552 <AT91_PIOC 27 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC27 periph C */
555 pinctrl_usart1_cts: usart1_cts-0 {
557 <AT91_PIOC 28 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC28 periph C */
560 pinctrl_usart1_sck: usart1_sck-0 {
562 <AT91_PIOC 29 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC29 periph C */
567 pinctrl_usart2: usart2-0 {
569 <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE
570 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
573 pinctrl_usart2_rts: usart2_rts-0 {
575 <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB0 periph B */
578 pinctrl_usart2_cts: usart2_cts-0 {
580 <AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB1 periph B */
583 pinctrl_usart2_sck: usart2_sck-0 {
585 <AT91_PIOB 2 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB2 periph B */
590 pinctrl_uart0: uart0-0 {
592 <AT91_PIOC 8 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC8 periph C */
593 AT91_PIOC 9 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC9 periph C with pullup */
598 pinctrl_uart1: uart1-0 {
600 <AT91_PIOC 16 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC16 periph C */
601 AT91_PIOC 17 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC17 periph C with pullup */
606 pinctrl_nand_oe_we: nand-oe-we-0 {
608 <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE
609 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE>;
612 pinctrl_nand_rb: nand-rb-0 {
614 <AT91_PIOD 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
617 pinctrl_nand_cs: nand-cs-0 {
619 <AT91_PIOD 4 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
624 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
626 <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA17 periph A */
627 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 periph A with pullup */
628 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA15 periph A with pullup */
631 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
633 <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA18 periph A with pullup */
634 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA19 periph A with pullup */
635 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA20 periph A with pullup */
640 pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
642 <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA13 periph B */
643 AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA12 periph B with pullup */
644 AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA11 periph B with pullup */
647 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
649 <AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA2 periph B with pullup */
650 AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA3 periph B with pullup */
651 AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA4 periph B with pullup */
656 pinctrl_ssc0_tx: ssc0_tx-0 {
658 <AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA24 periph B */
659 AT91_PIOA 25 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA25 periph B */
660 AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA26 periph B */
663 pinctrl_ssc0_rx: ssc0_rx-0 {
665 <AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA27 periph B */
666 AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA28 periph B */
667 AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA29 periph B */
672 pinctrl_spi0: spi0-0 {
674 <AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A SPI0_MISO pin */
675 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A SPI0_MOSI pin */
676 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA13 periph A SPI0_SPCK pin */
681 pinctrl_spi1: spi1-0 {
683 <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA21 periph B SPI1_MISO pin */
684 AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA22 periph B SPI1_MOSI pin */
685 AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA23 periph B SPI1_SPCK pin */
690 pinctrl_i2c0: i2c0-0 {
692 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA30 periph A I2C0 data */
693 AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA31 periph A I2C0 clock */
698 pinctrl_i2c1: i2c1-0 {
700 <AT91_PIOC 0 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC0 periph C I2C1 data */
701 AT91_PIOC 1 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC1 periph C I2C1 clock */
706 pinctrl_i2c2: i2c2-0 {
708 <AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB4 periph B I2C2 data */
709 AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB5 periph B I2C2 clock */
714 pinctrl_i2c_gpio0: i2c_gpio0-0 {
716 <AT91_PIOA 30 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PA30 gpio multidrive I2C0 data */
717 AT91_PIOA 31 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PA31 gpio multidrive I2C0 clock */
722 pinctrl_i2c_gpio1: i2c_gpio1-0 {
724 <AT91_PIOC 0 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PC0 gpio multidrive I2C1 data */
725 AT91_PIOC 1 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PC1 gpio multidrive I2C1 clock */
730 pinctrl_i2c_gpio2: i2c_gpio2-0 {
732 <AT91_PIOB 4 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PB4 gpio multidrive I2C2 data */
733 AT91_PIOB 5 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PB5 gpio multidrive I2C2 clock */
738 pinctrl_pwm0_pwm0_0: pwm0_pwm0-0 {
740 <AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>;
742 pinctrl_pwm0_pwm0_1: pwm0_pwm0-1 {
744 <AT91_PIOC 10 AT91_PERIPH_C AT91_PINCTRL_NONE>;
746 pinctrl_pwm0_pwm0_2: pwm0_pwm0-2 {
748 <AT91_PIOC 18 AT91_PERIPH_C AT91_PINCTRL_NONE>;
751 pinctrl_pwm0_pwm1_0: pwm0_pwm1-0 {
753 <AT91_PIOB 12 AT91_PERIPH_B AT91_PINCTRL_NONE>;
755 pinctrl_pwm0_pwm1_1: pwm0_pwm1-1 {
757 <AT91_PIOC 11 AT91_PERIPH_C AT91_PINCTRL_NONE>;
759 pinctrl_pwm0_pwm1_2: pwm0_pwm1-2 {
761 <AT91_PIOC 19 AT91_PERIPH_C AT91_PINCTRL_NONE>;
764 pinctrl_pwm0_pwm2_0: pwm0_pwm2-0 {
766 <AT91_PIOB 13 AT91_PERIPH_B AT91_PINCTRL_NONE>;
768 pinctrl_pwm0_pwm2_1: pwm0_pwm2-1 {
770 <AT91_PIOC 20 AT91_PERIPH_C AT91_PINCTRL_NONE>;
773 pinctrl_pwm0_pwm3_0: pwm0_pwm3-0 {
775 <AT91_PIOB 14 AT91_PERIPH_B AT91_PINCTRL_NONE>;
777 pinctrl_pwm0_pwm3_1: pwm0_pwm3-1 {
779 <AT91_PIOC 21 AT91_PERIPH_C AT91_PINCTRL_NONE>;
784 pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
785 atmel,pins = <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_NONE>;
788 pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
789 atmel,pins = <AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_NONE>;
792 pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
793 atmel,pins = <AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_NONE>;
796 pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
797 atmel,pins = <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
800 pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
801 atmel,pins = <AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;
804 pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
805 atmel,pins = <AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
808 pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
809 atmel,pins = <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;
812 pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
813 atmel,pins = <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
816 pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
817 atmel,pins = <AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
822 pinctrl_tcb1_tclk0: tcb1_tclk0-0 {
823 atmel,pins = <AT91_PIOC 4 AT91_PERIPH_C AT91_PINCTRL_NONE>;
826 pinctrl_tcb1_tclk1: tcb1_tclk1-0 {
827 atmel,pins = <AT91_PIOC 7 AT91_PERIPH_C AT91_PINCTRL_NONE>;
830 pinctrl_tcb1_tclk2: tcb1_tclk2-0 {
831 atmel,pins = <AT91_PIOC 14 AT91_PERIPH_C AT91_PINCTRL_NONE>;
834 pinctrl_tcb1_tioa0: tcb1_tioa0-0 {
835 atmel,pins = <AT91_PIOC 2 AT91_PERIPH_C AT91_PINCTRL_NONE>;
838 pinctrl_tcb1_tioa1: tcb1_tioa1-0 {
839 atmel,pins = <AT91_PIOC 5 AT91_PERIPH_C AT91_PINCTRL_NONE>;
842 pinctrl_tcb1_tioa2: tcb1_tioa2-0 {
843 atmel,pins = <AT91_PIOC 12 AT91_PERIPH_C AT91_PINCTRL_NONE>;
846 pinctrl_tcb1_tiob0: tcb1_tiob0-0 {
847 atmel,pins = <AT91_PIOC 3 AT91_PERIPH_C AT91_PINCTRL_NONE>;
850 pinctrl_tcb1_tiob1: tcb1_tiob1-0 {
851 atmel,pins = <AT91_PIOC 6 AT91_PERIPH_C AT91_PINCTRL_NONE>;
854 pinctrl_tcb1_tiob2: tcb1_tiob2-0 {
855 atmel,pins = <AT91_PIOC 13 AT91_PERIPH_C AT91_PINCTRL_NONE>;
859 pioA: gpio@fffff400 {
860 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
861 reg = <0xfffff400 0x200>;
862 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
865 interrupt-controller;
866 #interrupt-cells = <2>;
867 clocks = <&pioAB_clk>;
870 pioB: gpio@fffff600 {
871 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
872 reg = <0xfffff600 0x200>;
873 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
877 interrupt-controller;
878 #interrupt-cells = <2>;
879 clocks = <&pioAB_clk>;
882 pioC: gpio@fffff800 {
883 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
884 reg = <0xfffff800 0x200>;
885 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
888 interrupt-controller;
889 #interrupt-cells = <2>;
890 clocks = <&pioCD_clk>;
893 pioD: gpio@fffffa00 {
894 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
895 reg = <0xfffffa00 0x200>;
896 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
900 interrupt-controller;
901 #interrupt-cells = <2>;
902 clocks = <&pioCD_clk>;
907 compatible = "atmel,at91sam9g45-ssc";
908 reg = <0xf0010000 0x4000>;
909 interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>;
910 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(13)>,
911 <&dma0 1 AT91_DMA_CFG_PER_ID(14)>;
912 dma-names = "tx", "rx";
913 pinctrl-names = "default";
914 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
915 clocks = <&ssc0_clk>;
916 clock-names = "pclk";
921 compatible = "atmel,hsmci";
922 reg = <0xf0008000 0x600>;
923 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>;
924 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(0)>;
926 pinctrl-names = "default";
927 clocks = <&mci0_clk>;
928 clock-names = "mci_clk";
929 #address-cells = <1>;
935 compatible = "atmel,hsmci";
936 reg = <0xf000c000 0x600>;
937 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>;
938 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(0)>;
940 pinctrl-names = "default";
941 clocks = <&mci1_clk>;
942 clock-names = "mci_clk";
943 #address-cells = <1>;
948 dbgu: serial@fffff200 {
949 compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
950 reg = <0xfffff200 0x200>;
951 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
952 pinctrl-names = "default";
953 pinctrl-0 = <&pinctrl_dbgu>;
954 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(8)>,
955 <&dma1 1 (AT91_DMA_CFG_PER_ID(9) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
956 dma-names = "tx", "rx";
958 clock-names = "usart";
962 usart0: serial@f801c000 {
963 compatible = "atmel,at91sam9260-usart";
964 reg = <0xf801c000 0x200>;
965 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 5>;
966 pinctrl-names = "default";
967 pinctrl-0 = <&pinctrl_usart0>;
968 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(3)>,
969 <&dma0 1 (AT91_DMA_CFG_PER_ID(4) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
970 dma-names = "tx", "rx";
971 clocks = <&usart0_clk>;
972 clock-names = "usart";
976 usart1: serial@f8020000 {
977 compatible = "atmel,at91sam9260-usart";
978 reg = <0xf8020000 0x200>;
979 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
980 pinctrl-names = "default";
981 pinctrl-0 = <&pinctrl_usart1>;
982 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(5)>,
983 <&dma0 1 (AT91_DMA_CFG_PER_ID(6) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
984 dma-names = "tx", "rx";
985 clocks = <&usart1_clk>;
986 clock-names = "usart";
990 usart2: serial@f8024000 {
991 compatible = "atmel,at91sam9260-usart";
992 reg = <0xf8024000 0x200>;
993 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
994 pinctrl-names = "default";
995 pinctrl-0 = <&pinctrl_usart2>;
996 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(12)>,
997 <&dma1 1 (AT91_DMA_CFG_PER_ID(13) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
998 dma-names = "tx", "rx";
999 clocks = <&usart2_clk>;
1000 clock-names = "usart";
1001 status = "disabled";
1004 i2c0: i2c@f8010000 {
1005 compatible = "atmel,at91sam9x5-i2c";
1006 reg = <0xf8010000 0x100>;
1007 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 6>;
1008 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(7)>,
1009 <&dma0 1 AT91_DMA_CFG_PER_ID(8)>;
1010 dma-names = "tx", "rx";
1011 #address-cells = <1>;
1013 pinctrl-names = "default";
1014 pinctrl-0 = <&pinctrl_i2c0>;
1015 clocks = <&twi0_clk>;
1016 status = "disabled";
1019 i2c1: i2c@f8014000 {
1020 compatible = "atmel,at91sam9x5-i2c";
1021 reg = <0xf8014000 0x100>;
1022 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 6>;
1023 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(5)>,
1024 <&dma1 1 AT91_DMA_CFG_PER_ID(6)>;
1025 dma-names = "tx", "rx";
1026 #address-cells = <1>;
1028 pinctrl-names = "default";
1029 pinctrl-0 = <&pinctrl_i2c1>;
1030 clocks = <&twi1_clk>;
1031 status = "disabled";
1034 i2c2: i2c@f8018000 {
1035 compatible = "atmel,at91sam9x5-i2c";
1036 reg = <0xf8018000 0x100>;
1037 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>;
1038 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(9)>,
1039 <&dma0 1 AT91_DMA_CFG_PER_ID(10)>;
1040 dma-names = "tx", "rx";
1041 #address-cells = <1>;
1043 pinctrl-names = "default";
1044 pinctrl-0 = <&pinctrl_i2c2>;
1045 clocks = <&twi2_clk>;
1046 status = "disabled";
1049 uart0: serial@f8040000 {
1050 compatible = "atmel,at91sam9260-usart";
1051 reg = <0xf8040000 0x200>;
1052 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
1053 pinctrl-names = "default";
1054 pinctrl-0 = <&pinctrl_uart0>;
1055 clocks = <&uart0_clk>;
1056 clock-names = "usart";
1057 status = "disabled";
1060 uart1: serial@f8044000 {
1061 compatible = "atmel,at91sam9260-usart";
1062 reg = <0xf8044000 0x200>;
1063 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
1064 pinctrl-names = "default";
1065 pinctrl-0 = <&pinctrl_uart1>;
1066 clocks = <&uart1_clk>;
1067 clock-names = "usart";
1068 status = "disabled";
1071 adc0: adc@f804c000 {
1072 #address-cells = <1>;
1074 compatible = "atmel,at91sam9x5-adc";
1075 reg = <0xf804c000 0x100>;
1076 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 0>;
1077 clocks = <&adc_clk>,
1079 clock-names = "adc_clk", "adc_op_clk";
1080 atmel,adc-use-external-triggers;
1081 atmel,adc-channels-used = <0xffff>;
1082 atmel,adc-vref = <3300>;
1083 atmel,adc-startup-time = <40>;
1084 atmel,adc-sample-hold-time = <11>;
1085 atmel,adc-res = <8 10>;
1086 atmel,adc-res-names = "lowres", "highres";
1087 atmel,adc-use-res = "highres";
1090 trigger-name = "external-rising";
1091 trigger-value = <0x1>;
1096 trigger-name = "external-falling";
1097 trigger-value = <0x2>;
1102 trigger-name = "external-any";
1103 trigger-value = <0x3>;
1108 trigger-name = "continuous";
1109 trigger-value = <0x6>;
1113 spi0: spi@f0000000 {
1114 #address-cells = <1>;
1116 compatible = "atmel,at91rm9200-spi";
1117 reg = <0xf0000000 0x100>;
1118 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
1119 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(1)>,
1120 <&dma0 1 AT91_DMA_CFG_PER_ID(2)>;
1121 dma-names = "tx", "rx";
1122 pinctrl-names = "default";
1123 pinctrl-0 = <&pinctrl_spi0>;
1124 clocks = <&spi0_clk>;
1125 clock-names = "spi_clk";
1126 status = "disabled";
1129 spi1: spi@f0004000 {
1130 #address-cells = <1>;
1132 compatible = "atmel,at91rm9200-spi";
1133 reg = <0xf0004000 0x100>;
1134 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>;
1135 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(1)>,
1136 <&dma1 1 AT91_DMA_CFG_PER_ID(2)>;
1137 dma-names = "tx", "rx";
1138 pinctrl-names = "default";
1139 pinctrl-0 = <&pinctrl_spi1>;
1140 clocks = <&spi1_clk>;
1141 clock-names = "spi_clk";
1142 status = "disabled";
1145 usb2: gadget@f803c000 {
1146 #address-cells = <1>;
1148 compatible = "atmel,at91sam9g45-udc";
1149 reg = <0x00500000 0x80000
1151 interrupts = <23 IRQ_TYPE_LEVEL_HIGH 0>;
1152 clocks = <&utmi>, <&udphs_clk>;
1153 clock-names = "hclk", "pclk";
1154 status = "disabled";
1158 atmel,fifo-size = <64>;
1159 atmel,nb-banks = <1>;
1164 atmel,fifo-size = <1024>;
1165 atmel,nb-banks = <2>;
1172 atmel,fifo-size = <1024>;
1173 atmel,nb-banks = <2>;
1180 atmel,fifo-size = <1024>;
1181 atmel,nb-banks = <3>;
1187 atmel,fifo-size = <1024>;
1188 atmel,nb-banks = <3>;
1194 atmel,fifo-size = <1024>;
1195 atmel,nb-banks = <3>;
1202 atmel,fifo-size = <1024>;
1203 atmel,nb-banks = <3>;
1209 watchdog: watchdog@fffffe40 {
1210 compatible = "atmel,at91sam9260-wdt";
1211 reg = <0xfffffe40 0x10>;
1212 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1214 atmel,watchdog-type = "hardware";
1215 atmel,reset-type = "all";
1217 status = "disabled";
1221 compatible = "atmel,at91sam9x5-rtc";
1222 reg = <0xfffffeb0 0x40>;
1223 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1225 status = "disabled";
1228 pwm0: pwm@f8034000 {
1229 compatible = "atmel,at91sam9rl-pwm";
1230 reg = <0xf8034000 0x300>;
1231 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 4>;
1232 clocks = <&pwm_clk>;
1234 status = "disabled";
1239 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
1240 reg = <0x00600000 0x100000>;
1241 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
1242 clocks = <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
1243 clock-names = "ohci_clk", "hclk", "uhpck";
1244 status = "disabled";
1248 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
1249 reg = <0x00700000 0x100000>;
1250 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
1251 clocks = <&utmi>, <&uhphs_clk>;
1252 clock-names = "usb_clk", "ehci_clk";
1253 status = "disabled";
1257 compatible = "atmel,at91sam9x5-ebi";
1258 #address-cells = <2>;
1261 atmel,matrix = <&matrix>;
1262 reg = <0x10000000 0x60000000>;
1263 ranges = <0x0 0x0 0x10000000 0x10000000
1264 0x1 0x0 0x20000000 0x10000000
1265 0x2 0x0 0x30000000 0x10000000
1266 0x3 0x0 0x40000000 0x10000000
1267 0x4 0x0 0x50000000 0x10000000
1268 0x5 0x0 0x60000000 0x10000000>;
1270 status = "disabled";
1272 nand_controller: nand-controller {
1273 compatible = "atmel,at91sam9g45-nand-controller";
1274 ecc-engine = <&pmecc>;
1275 #address-cells = <2>;
1278 status = "disabled";
1284 compatible = "i2c-gpio";
1285 gpios = <&pioA 30 GPIO_ACTIVE_HIGH /* sda */
1286 &pioA 31 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_gpio0>;
1295 status = "disabled";
1299 compatible = "i2c-gpio";
1300 gpios = <&pioC 0 GPIO_ACTIVE_HIGH /* sda */
1301 &pioC 1 GPIO_ACTIVE_HIGH /* scl */
1303 i2c-gpio,sda-open-drain;
1304 i2c-gpio,scl-open-drain;
1305 i2c-gpio,delay-us = <2>; /* ~100 kHz */
1306 #address-cells = <1>;
1308 pinctrl-names = "default";
1309 pinctrl-0 = <&pinctrl_i2c_gpio1>;
1310 status = "disabled";
1314 compatible = "i2c-gpio";
1315 gpios = <&pioB 4 GPIO_ACTIVE_HIGH /* sda */
1316 &pioB 5 GPIO_ACTIVE_HIGH /* scl */
1318 i2c-gpio,sda-open-drain;
1319 i2c-gpio,scl-open-drain;
1320 i2c-gpio,delay-us = <2>; /* ~100 kHz */
1321 #address-cells = <1>;
1323 pinctrl-names = "default";
1324 pinctrl-0 = <&pinctrl_i2c_gpio2>;
1325 status = "disabled";