2 * at91sam9g45.dtsi - Device Tree Include file for AT91SAM9G45 family SoC
3 * applies to AT91SAM9G45, AT91SAM9M10,
4 * AT91SAM9G46, AT91SAM9M11 SoC
6 * Copyright (C) 2011 Atmel,
7 * 2011 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 AT91SAM9G45 family SoC";
21 compatible = "atmel,at91sam9g45";
22 interrupt-parent = <&aic>;
48 compatible = "arm,arm926ej-s";
54 reg = <0x70000000 0x10000000>;
58 slow_xtal: slow_xtal {
59 compatible = "fixed-clock";
61 clock-frequency = <0>;
64 main_xtal: main_xtal {
65 compatible = "fixed-clock";
67 clock-frequency = <0>;
70 adc_op_clk: adc_op_clk{
71 compatible = "fixed-clock";
73 clock-frequency = <300000>;
78 compatible = "simple-bus";
84 compatible = "simple-bus";
89 aic: interrupt-controller@fffff000 {
90 #interrupt-cells = <3>;
91 compatible = "atmel,at91rm9200-aic";
93 reg = <0xfffff000 0x200>;
94 atmel,external-irqs = <31>;
97 ramc0: ramc@ffffe400 {
98 compatible = "atmel,at91sam9g45-ddramc";
99 reg = <0xffffe400 0x200>;
101 clock-names = "ddrck";
104 ramc1: ramc@ffffe600 {
105 compatible = "atmel,at91sam9g45-ddramc";
106 reg = <0xffffe600 0x200>;
108 clock-names = "ddrck";
112 compatible = "atmel,at91sam9g45-pmc";
113 reg = <0xfffffc00 0x100>;
114 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
115 interrupt-controller;
116 #address-cells = <1>;
118 #interrupt-cells = <1>;
121 compatible = "atmel,at91rm9200-clk-main-osc";
123 interrupts-extended = <&pmc AT91_PMC_MOSCS>;
124 clocks = <&main_xtal>;
128 compatible = "atmel,at91rm9200-clk-main";
130 clocks = <&main_osc>;
134 compatible = "atmel,at91rm9200-clk-pll";
136 interrupts-extended = <&pmc AT91_PMC_LOCKA>;
139 atmel,clk-input-range = <2000000 32000000>;
140 #atmel,pll-clk-output-range-cells = <4>;
141 atmel,pll-clk-output-ranges = <745000000 800000000 0 0
142 695000000 750000000 1 0
143 645000000 700000000 2 0
144 595000000 650000000 3 0
145 545000000 600000000 0 1
146 495000000 555000000 1 1
147 445000000 500000000 2 1
148 400000000 450000000 3 1>;
152 compatible = "atmel,at91sam9x5-clk-plldiv";
158 compatible = "atmel,at91sam9x5-clk-utmi";
160 interrupts-extended = <&pmc AT91_PMC_LOCKU>;
165 compatible = "atmel,at91rm9200-clk-master";
167 interrupts-extended = <&pmc AT91_PMC_MCKRDY>;
168 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>;
169 atmel,clk-output-range = <0 133333333>;
170 atmel,clk-divisors = <1 2 4 3>;
174 compatible = "atmel,at91sam9x5-clk-usb";
176 clocks = <&plladiv>, <&utmi>;
180 compatible = "atmel,at91sam9g45-clk-programmable";
181 #address-cells = <1>;
183 interrupt-parent = <&pmc>;
184 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>;
189 interrupts = <AT91_PMC_PCKRDY(0)>;
195 interrupts = <AT91_PMC_PCKRDY(1)>;
200 compatible = "atmel,at91rm9200-clk-system";
201 #address-cells = <1>;
230 compatible = "atmel,at91rm9200-clk-peripheral";
231 #address-cells = <1>;
250 pioDE_clk: pioDE_clk {
260 usart0_clk: usart0_clk {
265 usart1_clk: usart1_clk {
270 usart2_clk: usart2_clk {
275 usart3_clk: usart3_clk {
335 uhphs_clk: uhphs_clk {
350 macb0_clk: macb0_clk {
360 udphs_clk: udphs_clk {
365 aestdessha_clk: aestdessha_clk {
383 compatible = "atmel,at91sam9g45-rstc";
384 reg = <0xfffffd00 0x10>;
387 pit: timer@fffffd30 {
388 compatible = "atmel,at91sam9260-pit";
389 reg = <0xfffffd30 0xf>;
390 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
396 compatible = "atmel,at91sam9rl-shdwc";
397 reg = <0xfffffd10 0x10>;
400 tcb0: timer@fff7c000 {
401 compatible = "atmel,at91rm9200-tcb";
402 reg = <0xfff7c000 0x100>;
403 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 0>;
404 clocks = <&tcb0_clk>, <&tcb0_clk>, <&tcb0_clk>;
405 clock-names = "t0_clk", "t1_clk", "t2_clk";
408 tcb1: timer@fffd4000 {
409 compatible = "atmel,at91rm9200-tcb";
410 reg = <0xfffd4000 0x100>;
411 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 0>;
412 clocks = <&tcb0_clk>, <&tcb0_clk>, <&tcb0_clk>;
413 clock-names = "t0_clk", "t1_clk", "t2_clk";
416 dma: dma-controller@ffffec00 {
417 compatible = "atmel,at91sam9g45-dma";
418 reg = <0xffffec00 0x200>;
419 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
421 clocks = <&dma0_clk>;
422 clock-names = "dma_clk";
426 #address-cells = <1>;
428 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
429 ranges = <0xfffff200 0xfffff200 0xa00>;
433 0xffffffff 0xffc003ff /* pioA */
434 0xffffffff 0x800f8f00 /* pioB */
435 0xffffffff 0x00000e00 /* pioC */
436 0xffffffff 0xff0c1381 /* pioD */
437 0xffffffff 0x81ffff81 /* pioE */
440 /* shared pinctrl settings */
442 pinctrl_adc0_adtrg: adc0_adtrg {
443 atmel,pins = <AT91_PIOD 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
445 pinctrl_adc0_ad0: adc0_ad0 {
446 atmel,pins = <AT91_PIOD 20 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
448 pinctrl_adc0_ad1: adc0_ad1 {
449 atmel,pins = <AT91_PIOD 21 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
451 pinctrl_adc0_ad2: adc0_ad2 {
452 atmel,pins = <AT91_PIOD 22 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
454 pinctrl_adc0_ad3: adc0_ad3 {
455 atmel,pins = <AT91_PIOD 23 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
457 pinctrl_adc0_ad4: adc0_ad4 {
458 atmel,pins = <AT91_PIOD 24 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
460 pinctrl_adc0_ad5: adc0_ad5 {
461 atmel,pins = <AT91_PIOD 25 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
463 pinctrl_adc0_ad6: adc0_ad6 {
464 atmel,pins = <AT91_PIOD 26 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
466 pinctrl_adc0_ad7: adc0_ad7 {
467 atmel,pins = <AT91_PIOD 27 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
472 pinctrl_dbgu: dbgu-0 {
474 <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB12 periph A */
475 AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB13 periph A */
480 pinctrl_i2c0: i2c0-0 {
482 <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA21 periph A TWCK0 */
483 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA20 periph A TWD0 */
488 pinctrl_i2c1: i2c1-0 {
490 <AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB11 periph A TWCK1 */
491 AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB10 periph A TWD1 */
497 atmel,pins = <AT91_PIOB 8 AT91_PERIPH_B AT91_PINCTRL_NONE /* D8 */
498 AT91_PIOB 9 AT91_PERIPH_B AT91_PINCTRL_NONE /* D9 */
499 AT91_PIOB 10 AT91_PERIPH_B AT91_PINCTRL_NONE /* D10 */
500 AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE /* D11 */
501 AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* D0 */
502 AT91_PIOB 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* D1 */
503 AT91_PIOB 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* D2 */
504 AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* D3 */
505 AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* D4 */
506 AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE /* D5 */
507 AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE /* D6 */
508 AT91_PIOB 27 AT91_PERIPH_A AT91_PINCTRL_NONE /* D7 */
509 AT91_PIOB 28 AT91_PERIPH_A AT91_PINCTRL_NONE /* PCK */
510 AT91_PIOB 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* VSYNC */
511 AT91_PIOB 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* HSYNC */
512 AT91_PIOB 31 AT91_PERIPH_A AT91_PINCTRL_NONE /* MCK */>;
517 pinctrl_usart0: usart0-0 {
519 <AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB19 periph A with pullup */
520 AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB18 periph A */
523 pinctrl_usart0_rts: usart0_rts-0 {
525 <AT91_PIOB 17 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB17 periph B */
528 pinctrl_usart0_cts: usart0_cts-0 {
530 <AT91_PIOB 15 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB15 periph B */
535 pinctrl_usart1: usart1-0 {
537 <AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB4 periph A with pullup */
538 AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB5 periph A */
541 pinctrl_usart1_rts: usart1_rts-0 {
543 <AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD16 periph A */
546 pinctrl_usart1_cts: usart1_cts-0 {
548 <AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD17 periph A */
553 pinctrl_usart2: usart2-0 {
555 <AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB6 periph A with pullup */
556 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB7 periph A */
559 pinctrl_usart2_rts: usart2_rts-0 {
561 <AT91_PIOC 9 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC9 periph B */
564 pinctrl_usart2_cts: usart2_cts-0 {
566 <AT91_PIOC 11 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC11 periph B */
571 pinctrl_usart3: usart3-0 {
573 <AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB9 periph A with pullup */
574 AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB8 periph A */
577 pinctrl_usart3_rts: usart3_rts-0 {
579 <AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA23 periph B */
582 pinctrl_usart3_cts: usart3_cts-0 {
584 <AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA24 periph B */
589 pinctrl_nand: nand-0 {
591 <AT91_PIOC 8 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PC8 gpio RDY pin pull_up*/
592 AT91_PIOC 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PC14 gpio enable pin pull_up */
597 pinctrl_macb_rmii: macb_rmii-0 {
599 <AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA10 periph A */
600 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A */
601 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A */
602 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA13 periph A */
603 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA14 periph A */
604 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA15 periph A */
605 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA16 periph A */
606 AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA17 periph A */
607 AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA18 periph A */
608 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA19 periph A */
611 pinctrl_macb_rmii_mii: macb_rmii_mii-0 {
613 <AT91_PIOA 6 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA6 periph B */
614 AT91_PIOA 7 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA7 periph B */
615 AT91_PIOA 8 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA8 periph B */
616 AT91_PIOA 9 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA9 periph B */
617 AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA27 periph B */
618 AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA28 periph B */
619 AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA29 periph B */
620 AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA30 periph B */
625 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
627 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA0 periph A */
628 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA1 periph A with pullup */
629 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA2 periph A with pullup */
632 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
634 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA3 periph A with pullup */
635 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA4 periph A with pullup */
636 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA5 periph A with pullup */
639 pinctrl_mmc0_slot0_dat4_7: mmc0_slot0_dat4_7-0 {
641 <AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA6 periph A with pullup */
642 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */
643 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA8 periph A with pullup */
644 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA9 periph A with pullup */
649 pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
651 <AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA31 periph A */
652 AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA22 periph A with pullup */
653 AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA23 periph A with pullup */
656 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
658 <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA24 periph A with pullup */
659 AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA25 periph A with pullup */
660 AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA26 periph A with pullup */
663 pinctrl_mmc1_slot0_dat4_7: mmc1_slot0_dat4_7-0 {
665 <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA27 periph A with pullup */
666 AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA28 periph A with pullup */
667 AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA29 periph A with pullup */
668 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA30 periph A with pullup */
673 pinctrl_ssc0_tx: ssc0_tx-0 {
675 <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD0 periph A */
676 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD1 periph A */
677 AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD2 periph A */
680 pinctrl_ssc0_rx: ssc0_rx-0 {
682 <AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD3 periph A */
683 AT91_PIOD 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD4 periph A */
684 AT91_PIOD 5 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD5 periph A */
689 pinctrl_ssc1_tx: ssc1_tx-0 {
691 <AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD10 periph A */
692 AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD11 periph A */
693 AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD12 periph A */
696 pinctrl_ssc1_rx: ssc1_rx-0 {
698 <AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD13 periph A */
699 AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD14 periph A */
700 AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD15 periph A */
705 pinctrl_spi0: spi0-0 {
707 <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB0 periph A SPI0_MISO pin */
708 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB1 periph A SPI0_MOSI pin */
709 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB2 periph A SPI0_SPCK pin */
714 pinctrl_spi1: spi1-0 {
716 <AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB14 periph A SPI1_MISO pin */
717 AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB15 periph A SPI1_MOSI pin */
718 AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB16 periph A SPI1_SPCK pin */
723 pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
724 atmel,pins = <AT91_PIOD 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
727 pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
728 atmel,pins = <AT91_PIOD 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
731 pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
732 atmel,pins = <AT91_PIOC 10 AT91_PERIPH_B AT91_PINCTRL_NONE>;
735 pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
736 atmel,pins = <AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE>;
739 pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
740 atmel,pins = <AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
743 pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
744 atmel,pins = <AT91_PIOD 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;
747 pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
748 atmel,pins = <AT91_PIOD 30 AT91_PERIPH_A AT91_PINCTRL_NONE>;
751 pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
752 atmel,pins = <AT91_PIOD 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
755 pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
756 atmel,pins = <AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE>;
761 pinctrl_tcb1_tclk0: tcb1_tclk0-0 {
762 atmel,pins = <AT91_PIOA 0 AT91_PERIPH_B AT91_PINCTRL_NONE>;
765 pinctrl_tcb1_tclk1: tcb1_tclk1-0 {
766 atmel,pins = <AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_NONE>;
769 pinctrl_tcb1_tclk2: tcb1_tclk2-0 {
770 atmel,pins = <AT91_PIOD 9 AT91_PERIPH_B AT91_PINCTRL_NONE>;
773 pinctrl_tcb1_tioa0: tcb1_tioa0-0 {
774 atmel,pins = <AT91_PIOA 1 AT91_PERIPH_B AT91_PINCTRL_NONE>;
777 pinctrl_tcb1_tioa1: tcb1_tioa1-0 {
778 atmel,pins = <AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_NONE>;
781 pinctrl_tcb1_tioa2: tcb1_tioa2-0 {
782 atmel,pins = <AT91_PIOD 7 AT91_PERIPH_B AT91_PINCTRL_NONE>;
785 pinctrl_tcb1_tiob0: tcb1_tiob0-0 {
786 atmel,pins = <AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_NONE>;
789 pinctrl_tcb1_tiob1: tcb1_tiob1-0 {
790 atmel,pins = <AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_NONE>;
793 pinctrl_tcb1_tiob2: tcb1_tiob2-0 {
794 atmel,pins = <AT91_PIOD 8 AT91_PERIPH_B AT91_PINCTRL_NONE>;
801 <AT91_PIOE 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE0 periph A */
802 AT91_PIOE 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE2 periph A */
803 AT91_PIOE 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE3 periph A */
804 AT91_PIOE 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE4 periph A */
805 AT91_PIOE 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE5 periph A */
806 AT91_PIOE 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE6 periph A */
807 AT91_PIOE 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE7 periph A */
808 AT91_PIOE 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE8 periph A */
809 AT91_PIOE 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE9 periph A */
810 AT91_PIOE 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE10 periph A */
811 AT91_PIOE 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE11 periph A */
812 AT91_PIOE 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE12 periph A */
813 AT91_PIOE 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE13 periph A */
814 AT91_PIOE 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE14 periph A */
815 AT91_PIOE 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE15 periph A */
816 AT91_PIOE 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE16 periph A */
817 AT91_PIOE 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE17 periph A */
818 AT91_PIOE 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE18 periph A */
819 AT91_PIOE 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE19 periph A */
820 AT91_PIOE 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE20 periph A */
821 AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE21 periph A */
822 AT91_PIOE 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE22 periph A */
823 AT91_PIOE 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE23 periph A */
824 AT91_PIOE 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE24 periph A */
825 AT91_PIOE 25 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE25 periph A */
826 AT91_PIOE 26 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE26 periph A */
827 AT91_PIOE 27 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE27 periph A */
828 AT91_PIOE 28 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE28 periph A */
829 AT91_PIOE 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE29 periph A */
830 AT91_PIOE 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PE30 periph A */
834 pioA: gpio@fffff200 {
835 compatible = "atmel,at91rm9200-gpio";
836 reg = <0xfffff200 0x200>;
837 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
840 interrupt-controller;
841 #interrupt-cells = <2>;
842 clocks = <&pioA_clk>;
845 pioB: gpio@fffff400 {
846 compatible = "atmel,at91rm9200-gpio";
847 reg = <0xfffff400 0x200>;
848 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
851 interrupt-controller;
852 #interrupt-cells = <2>;
853 clocks = <&pioB_clk>;
856 pioC: gpio@fffff600 {
857 compatible = "atmel,at91rm9200-gpio";
858 reg = <0xfffff600 0x200>;
859 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
862 interrupt-controller;
863 #interrupt-cells = <2>;
864 clocks = <&pioC_clk>;
867 pioD: gpio@fffff800 {
868 compatible = "atmel,at91rm9200-gpio";
869 reg = <0xfffff800 0x200>;
870 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
873 interrupt-controller;
874 #interrupt-cells = <2>;
875 clocks = <&pioDE_clk>;
878 pioE: gpio@fffffa00 {
879 compatible = "atmel,at91rm9200-gpio";
880 reg = <0xfffffa00 0x200>;
881 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
884 interrupt-controller;
885 #interrupt-cells = <2>;
886 clocks = <&pioDE_clk>;
890 dbgu: serial@ffffee00 {
891 compatible = "atmel,at91sam9260-usart";
892 reg = <0xffffee00 0x200>;
893 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
894 pinctrl-names = "default";
895 pinctrl-0 = <&pinctrl_dbgu>;
897 clock-names = "usart";
901 usart0: serial@fff8c000 {
902 compatible = "atmel,at91sam9260-usart";
903 reg = <0xfff8c000 0x200>;
904 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
907 pinctrl-names = "default";
908 pinctrl-0 = <&pinctrl_usart0>;
909 clocks = <&usart0_clk>;
910 clock-names = "usart";
914 usart1: serial@fff90000 {
915 compatible = "atmel,at91sam9260-usart";
916 reg = <0xfff90000 0x200>;
917 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
920 pinctrl-names = "default";
921 pinctrl-0 = <&pinctrl_usart1>;
922 clocks = <&usart1_clk>;
923 clock-names = "usart";
927 usart2: serial@fff94000 {
928 compatible = "atmel,at91sam9260-usart";
929 reg = <0xfff94000 0x200>;
930 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 5>;
933 pinctrl-names = "default";
934 pinctrl-0 = <&pinctrl_usart2>;
935 clocks = <&usart2_clk>;
936 clock-names = "usart";
940 usart3: serial@fff98000 {
941 compatible = "atmel,at91sam9260-usart";
942 reg = <0xfff98000 0x200>;
943 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 5>;
946 pinctrl-names = "default";
947 pinctrl-0 = <&pinctrl_usart3>;
948 clocks = <&usart3_clk>;
949 clock-names = "usart";
953 macb0: ethernet@fffbc000 {
954 compatible = "cdns,at32ap7000-macb", "cdns,macb";
955 reg = <0xfffbc000 0x100>;
956 interrupts = <25 IRQ_TYPE_LEVEL_HIGH 3>;
957 pinctrl-names = "default";
958 pinctrl-0 = <&pinctrl_macb_rmii>;
959 clocks = <&macb0_clk>, <&macb0_clk>;
960 clock-names = "hclk", "pclk";
965 compatible = "atmel,at91sam9g45-trng";
966 reg = <0xfffcc000 0x4000>;
967 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 0>;
968 clocks = <&trng_clk>;
972 compatible = "atmel,at91sam9g10-i2c";
973 reg = <0xfff84000 0x100>;
974 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 6>;
975 pinctrl-names = "default";
976 pinctrl-0 = <&pinctrl_i2c0>;
977 #address-cells = <1>;
979 clocks = <&twi0_clk>;
984 compatible = "atmel,at91sam9g10-i2c";
985 reg = <0xfff88000 0x100>;
986 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 6>;
987 pinctrl-names = "default";
988 pinctrl-0 = <&pinctrl_i2c1>;
989 #address-cells = <1>;
991 clocks = <&twi1_clk>;
996 compatible = "atmel,at91sam9g45-ssc";
997 reg = <0xfff9c000 0x4000>;
998 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
999 pinctrl-names = "default";
1000 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
1001 clocks = <&ssc0_clk>;
1002 clock-names = "pclk";
1003 status = "disabled";
1006 ssc1: ssc@fffa0000 {
1007 compatible = "atmel,at91sam9g45-ssc";
1008 reg = <0xfffa0000 0x4000>;
1009 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>;
1010 pinctrl-names = "default";
1011 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
1012 clocks = <&ssc1_clk>;
1013 clock-names = "pclk";
1014 status = "disabled";
1017 adc0: adc@fffb0000 {
1018 #address-cells = <1>;
1020 compatible = "atmel,at91sam9g45-adc";
1021 reg = <0xfffb0000 0x100>;
1022 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
1023 clocks = <&adc_clk>, <&adc_op_clk>;
1024 clock-names = "adc_clk", "adc_op_clk";
1025 atmel,adc-channels-used = <0xff>;
1026 atmel,adc-vref = <3300>;
1027 atmel,adc-startup-time = <40>;
1028 atmel,adc-res = <8 10>;
1029 atmel,adc-res-names = "lowres", "highres";
1030 atmel,adc-use-res = "highres";
1034 trigger-name = "external-rising";
1035 trigger-value = <0x1>;
1040 trigger-name = "external-falling";
1041 trigger-value = <0x2>;
1047 trigger-name = "external-any";
1048 trigger-value = <0x3>;
1054 trigger-name = "continuous";
1055 trigger-value = <0x6>;
1060 compatible = "atmel,at91sam9g45-isi";
1061 reg = <0xfffb4000 0x4000>;
1062 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 5>;
1063 clocks = <&isi_clk>;
1064 clock-names = "isi_clk";
1065 pinctrl-names = "default";
1066 pinctrl-0 = <&pinctrl_isi>;
1067 status = "disabled";
1070 pwm0: pwm@fffb8000 {
1071 compatible = "atmel,at91sam9rl-pwm";
1072 reg = <0xfffb8000 0x300>;
1073 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 4>;
1075 clocks = <&pwm_clk>;
1076 status = "disabled";
1079 mmc0: mmc@fff80000 {
1080 compatible = "atmel,hsmci";
1081 reg = <0xfff80000 0x600>;
1082 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 0>;
1083 pinctrl-names = "default";
1084 dmas = <&dma 1 AT91_DMA_CFG_PER_ID(0)>;
1086 #address-cells = <1>;
1088 clocks = <&mci0_clk>;
1089 clock-names = "mci_clk";
1090 status = "disabled";
1093 mmc1: mmc@fffd0000 {
1094 compatible = "atmel,hsmci";
1095 reg = <0xfffd0000 0x600>;
1096 interrupts = <29 IRQ_TYPE_LEVEL_HIGH 0>;
1097 pinctrl-names = "default";
1098 dmas = <&dma 1 AT91_DMA_CFG_PER_ID(13)>;
1100 #address-cells = <1>;
1102 clocks = <&mci1_clk>;
1103 clock-names = "mci_clk";
1104 status = "disabled";
1108 compatible = "atmel,at91sam9260-wdt";
1109 reg = <0xfffffd40 0x10>;
1110 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1111 atmel,watchdog-type = "hardware";
1112 atmel,reset-type = "all";
1115 status = "disabled";
1118 spi0: spi@fffa4000 {
1119 #address-cells = <1>;
1121 compatible = "atmel,at91rm9200-spi";
1122 reg = <0xfffa4000 0x200>;
1123 interrupts = <14 4 3>;
1124 pinctrl-names = "default";
1125 pinctrl-0 = <&pinctrl_spi0>;
1126 clocks = <&spi0_clk>;
1127 clock-names = "spi_clk";
1128 status = "disabled";
1131 spi1: spi@fffa8000 {
1132 #address-cells = <1>;
1134 compatible = "atmel,at91rm9200-spi";
1135 reg = <0xfffa8000 0x200>;
1136 interrupts = <15 4 3>;
1137 pinctrl-names = "default";
1138 pinctrl-0 = <&pinctrl_spi1>;
1139 clocks = <&spi1_clk>;
1140 clock-names = "spi_clk";
1141 status = "disabled";
1144 usb2: gadget@fff78000 {
1145 #address-cells = <1>;
1147 compatible = "atmel,at91sam9rl-udc";
1148 reg = <0x00600000 0x80000
1150 interrupts = <27 IRQ_TYPE_LEVEL_HIGH 0>;
1151 clocks = <&udphs_clk>, <&utmi>;
1152 clock-names = "pclk", "hclk";
1153 status = "disabled";
1157 atmel,fifo-size = <64>;
1158 atmel,nb-banks = <1>;
1163 atmel,fifo-size = <1024>;
1164 atmel,nb-banks = <2>;
1171 atmel,fifo-size = <1024>;
1172 atmel,nb-banks = <2>;
1179 atmel,fifo-size = <1024>;
1180 atmel,nb-banks = <3>;
1186 atmel,fifo-size = <1024>;
1187 atmel,nb-banks = <3>;
1193 atmel,fifo-size = <1024>;
1194 atmel,nb-banks = <3>;
1201 atmel,fifo-size = <1024>;
1202 atmel,nb-banks = <3>;
1209 compatible = "atmel,at91sam9x5-sckc";
1210 reg = <0xfffffd50 0x4>;
1212 slow_osc: slow_osc {
1213 compatible = "atmel,at91sam9x5-clk-slow-osc";
1215 atmel,startup-time-usec = <1200000>;
1216 clocks = <&slow_xtal>;
1219 slow_rc_osc: slow_rc_osc {
1220 compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
1222 atmel,startup-time-usec = <75>;
1223 clock-frequency = <32768>;
1224 clock-accuracy = <50000000>;
1228 compatible = "atmel,at91sam9x5-clk-slow";
1230 clocks = <&slow_rc_osc &slow_osc>;
1235 compatible = "atmel,at91sam9260-rtt";
1236 reg = <0xfffffd20 0x10>;
1237 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1239 status = "disabled";
1243 compatible = "atmel,at91rm9200-rtc";
1244 reg = <0xfffffdb0 0x30>;
1245 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1246 status = "disabled";
1249 gpbr: syscon@fffffd60 {
1250 compatible = "atmel,at91sam9260-gpbr", "syscon";
1251 reg = <0xfffffd60 0x10>;
1252 status = "disabled";
1256 fb0: fb@0x00500000 {
1257 compatible = "atmel,at91sam9g45-lcdc";
1258 reg = <0x00500000 0x1000>;
1259 interrupts = <23 IRQ_TYPE_LEVEL_HIGH 3>;
1260 pinctrl-names = "default";
1261 pinctrl-0 = <&pinctrl_fb>;
1262 clocks = <&lcd_clk>, <&lcd_clk>;
1263 clock-names = "hclk", "lcdc_clk";
1264 status = "disabled";
1267 nand0: nand@40000000 {
1268 compatible = "atmel,at91rm9200-nand";
1269 #address-cells = <1>;
1271 reg = <0x40000000 0x10000000
1274 atmel,nand-addr-offset = <21>;
1275 atmel,nand-cmd-offset = <22>;
1277 pinctrl-names = "default";
1278 pinctrl-0 = <&pinctrl_nand>;
1279 gpios = <&pioC 8 GPIO_ACTIVE_HIGH
1280 &pioC 14 GPIO_ACTIVE_HIGH
1283 status = "disabled";
1286 usb0: ohci@00700000 {
1287 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
1288 reg = <0x00700000 0x100000>;
1289 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
1291 clocks = <&usb>, <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
1292 clock-names = "usb_clk", "ohci_clk", "hclk", "uhpck";
1293 status = "disabled";
1296 usb1: ehci@00800000 {
1297 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
1298 reg = <0x00800000 0x100000>;
1299 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
1301 clocks = <&usb>, <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
1302 clock-names = "usb_clk", "ehci_clk", "hclk", "uhpck";
1303 status = "disabled";
1308 compatible = "i2c-gpio";
1309 gpios = <&pioA 20 GPIO_ACTIVE_HIGH /* sda */
1310 &pioA 21 GPIO_ACTIVE_HIGH /* scl */
1312 i2c-gpio,sda-open-drain;
1313 i2c-gpio,scl-open-drain;
1314 i2c-gpio,delay-us = <5>; /* ~100 kHz */
1315 #address-cells = <1>;
1317 status = "disabled";