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 = "mmio-sram";
79 reg = <0x00300000 0x10000>;
83 compatible = "simple-bus";
89 compatible = "simple-bus";
94 aic: interrupt-controller@fffff000 {
95 #interrupt-cells = <3>;
96 compatible = "atmel,at91rm9200-aic";
98 reg = <0xfffff000 0x200>;
99 atmel,external-irqs = <31>;
102 ramc0: ramc@ffffe400 {
103 compatible = "atmel,at91sam9g45-ddramc";
104 reg = <0xffffe400 0x200>;
106 clock-names = "ddrck";
109 ramc1: ramc@ffffe600 {
110 compatible = "atmel,at91sam9g45-ddramc";
111 reg = <0xffffe600 0x200>;
113 clock-names = "ddrck";
117 compatible = "atmel,at91sam9260-smc", "syscon";
118 reg = <0xffffe800 0x200>;
121 matrix: matrix@ffffea00 {
122 compatible = "atmel,at91sam9g45-matrix", "syscon";
123 reg = <0xffffea00 0x200>;
127 compatible = "atmel,at91sam9g45-pmc", "syscon";
128 reg = <0xfffffc00 0x100>;
129 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
130 interrupt-controller;
131 #address-cells = <1>;
133 #interrupt-cells = <1>;
136 compatible = "atmel,at91rm9200-clk-main-osc";
138 interrupts-extended = <&pmc AT91_PMC_MOSCS>;
139 clocks = <&main_xtal>;
143 compatible = "atmel,at91rm9200-clk-main";
145 clocks = <&main_osc>;
149 compatible = "atmel,at91rm9200-clk-pll";
151 interrupts-extended = <&pmc AT91_PMC_LOCKA>;
154 atmel,clk-input-range = <2000000 32000000>;
155 #atmel,pll-clk-output-range-cells = <4>;
156 atmel,pll-clk-output-ranges = <745000000 800000000 0 0
157 695000000 750000000 1 0
158 645000000 700000000 2 0
159 595000000 650000000 3 0
160 545000000 600000000 0 1
161 495000000 555000000 1 1
162 445000000 500000000 2 1
163 400000000 450000000 3 1>;
167 compatible = "atmel,at91sam9x5-clk-plldiv";
173 compatible = "atmel,at91sam9x5-clk-utmi";
175 interrupts-extended = <&pmc AT91_PMC_LOCKU>;
180 compatible = "atmel,at91rm9200-clk-master";
182 interrupts-extended = <&pmc AT91_PMC_MCKRDY>;
183 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>;
184 atmel,clk-output-range = <0 133333333>;
185 atmel,clk-divisors = <1 2 4 3>;
189 compatible = "atmel,at91sam9x5-clk-usb";
191 clocks = <&plladiv>, <&utmi>;
195 compatible = "atmel,at91sam9g45-clk-programmable";
196 #address-cells = <1>;
198 interrupt-parent = <&pmc>;
199 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>;
204 interrupts = <AT91_PMC_PCKRDY(0)>;
210 interrupts = <AT91_PMC_PCKRDY(1)>;
215 compatible = "atmel,at91rm9200-clk-system";
216 #address-cells = <1>;
245 compatible = "atmel,at91rm9200-clk-peripheral";
246 #address-cells = <1>;
265 pioDE_clk: pioDE_clk {
275 usart0_clk: usart0_clk {
280 usart1_clk: usart1_clk {
285 usart2_clk: usart2_clk {
290 usart3_clk: usart3_clk {
350 uhphs_clk: uhphs_clk {
365 macb0_clk: macb0_clk {
375 udphs_clk: udphs_clk {
380 aestdessha_clk: aestdessha_clk {
398 compatible = "atmel,at91sam9g45-rstc";
399 reg = <0xfffffd00 0x10>;
403 pit: timer@fffffd30 {
404 compatible = "atmel,at91sam9260-pit";
405 reg = <0xfffffd30 0xf>;
406 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
412 compatible = "atmel,at91sam9rl-shdwc";
413 reg = <0xfffffd10 0x10>;
417 tcb0: timer@fff7c000 {
418 compatible = "atmel,at91rm9200-tcb";
419 reg = <0xfff7c000 0x100>;
420 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 0>;
421 clocks = <&tcb0_clk>, <&tcb0_clk>, <&tcb0_clk>, <&clk32k>;
422 clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk";
425 tcb1: timer@fffd4000 {
426 compatible = "atmel,at91rm9200-tcb";
427 reg = <0xfffd4000 0x100>;
428 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 0>;
429 clocks = <&tcb0_clk>, <&tcb0_clk>, <&tcb0_clk>, <&clk32k>;
430 clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk";
433 dma: dma-controller@ffffec00 {
434 compatible = "atmel,at91sam9g45-dma";
435 reg = <0xffffec00 0x200>;
436 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
438 clocks = <&dma0_clk>;
439 clock-names = "dma_clk";
443 #address-cells = <1>;
445 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
446 ranges = <0xfffff200 0xfffff200 0xa00>;
450 0xffffffff 0xffc003ff /* pioA */
451 0xffffffff 0x800f8f00 /* pioB */
452 0xffffffff 0x00000e00 /* pioC */
453 0xffffffff 0xff0c1381 /* pioD */
454 0xffffffff 0x81ffff81 /* pioE */
457 /* shared pinctrl settings */
459 pinctrl_adc0_adtrg: adc0_adtrg {
460 atmel,pins = <AT91_PIOD 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
462 pinctrl_adc0_ad0: adc0_ad0 {
463 atmel,pins = <AT91_PIOD 20 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
465 pinctrl_adc0_ad1: adc0_ad1 {
466 atmel,pins = <AT91_PIOD 21 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
468 pinctrl_adc0_ad2: adc0_ad2 {
469 atmel,pins = <AT91_PIOD 22 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
471 pinctrl_adc0_ad3: adc0_ad3 {
472 atmel,pins = <AT91_PIOD 23 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
474 pinctrl_adc0_ad4: adc0_ad4 {
475 atmel,pins = <AT91_PIOD 24 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
477 pinctrl_adc0_ad5: adc0_ad5 {
478 atmel,pins = <AT91_PIOD 25 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
480 pinctrl_adc0_ad6: adc0_ad6 {
481 atmel,pins = <AT91_PIOD 26 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
483 pinctrl_adc0_ad7: adc0_ad7 {
484 atmel,pins = <AT91_PIOD 27 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
489 pinctrl_dbgu: dbgu-0 {
491 <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
492 AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE>;
497 pinctrl_i2c0: i2c0-0 {
499 <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA21 periph A TWCK0 */
500 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA20 periph A TWD0 */
505 pinctrl_i2c1: i2c1-0 {
507 <AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB11 periph A TWCK1 */
508 AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB10 periph A TWD1 */
513 pinctrl_isi_data_0_7: isi-0-data-0-7 {
515 <AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* D0 */
516 AT91_PIOB 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* D1 */
517 AT91_PIOB 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* D2 */
518 AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* D3 */
519 AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* D4 */
520 AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE /* D5 */
521 AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE /* D6 */
522 AT91_PIOB 27 AT91_PERIPH_A AT91_PINCTRL_NONE /* D7 */
523 AT91_PIOB 28 AT91_PERIPH_A AT91_PINCTRL_NONE /* PCK */
524 AT91_PIOB 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* VSYNC */
525 AT91_PIOB 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* HSYNC */
528 pinctrl_isi_data_8_9: isi-0-data-8-9 {
530 <AT91_PIOB 8 AT91_PERIPH_B AT91_PINCTRL_NONE /* D8 */
531 AT91_PIOB 9 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* D9 */
534 pinctrl_isi_data_10_11: isi-0-data-10-11 {
536 <AT91_PIOB 10 AT91_PERIPH_B AT91_PINCTRL_NONE /* D10 */
537 AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* D11 */
542 pinctrl_usart0: usart0-0 {
544 <AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB19 periph A with pullup */
545 AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB18 periph A */
548 pinctrl_usart0_rts: usart0_rts-0 {
550 <AT91_PIOB 17 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB17 periph B */
553 pinctrl_usart0_cts: usart0_cts-0 {
555 <AT91_PIOB 15 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB15 periph B */
560 pinctrl_usart1: usart1-0 {
562 <AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB4 periph A with pullup */
563 AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB5 periph A */
566 pinctrl_usart1_rts: usart1_rts-0 {
568 <AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD16 periph A */
571 pinctrl_usart1_cts: usart1_cts-0 {
573 <AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD17 periph A */
578 pinctrl_usart2: usart2-0 {
580 <AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB6 periph A with pullup */
581 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB7 periph A */
584 pinctrl_usart2_rts: usart2_rts-0 {
586 <AT91_PIOC 9 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC9 periph B */
589 pinctrl_usart2_cts: usart2_cts-0 {
591 <AT91_PIOC 11 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC11 periph B */
596 pinctrl_usart3: usart3-0 {
598 <AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB9 periph A with pullup */
599 AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB8 periph A */
602 pinctrl_usart3_rts: usart3_rts-0 {
604 <AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA23 periph B */
607 pinctrl_usart3_cts: usart3_cts-0 {
609 <AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA24 periph B */
614 pinctrl_nand_rb: nand-rb-0 {
616 <AT91_PIOC 8 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
619 pinctrl_nand_cs: nand-cs-0 {
621 <AT91_PIOC 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
626 pinctrl_macb_rmii: macb_rmii-0 {
628 <AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA10 periph A */
629 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A */
630 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A */
631 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA13 periph A */
632 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA14 periph A */
633 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA15 periph A */
634 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA16 periph A */
635 AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA17 periph A */
636 AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA18 periph A */
637 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA19 periph A */
640 pinctrl_macb_rmii_mii: macb_rmii_mii-0 {
642 <AT91_PIOA 6 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA6 periph B */
643 AT91_PIOA 7 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA7 periph B */
644 AT91_PIOA 8 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA8 periph B */
645 AT91_PIOA 9 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA9 periph B */
646 AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA27 periph B */
647 AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA28 periph B */
648 AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA29 periph B */
649 AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA30 periph B */
654 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
656 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA0 periph A */
657 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA1 periph A with pullup */
658 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA2 periph A with pullup */
661 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
663 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA3 periph A with pullup */
664 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA4 periph A with pullup */
665 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA5 periph A with pullup */
668 pinctrl_mmc0_slot0_dat4_7: mmc0_slot0_dat4_7-0 {
670 <AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA6 periph A with pullup */
671 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */
672 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA8 periph A with pullup */
673 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA9 periph A with pullup */
678 pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
680 <AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA31 periph A */
681 AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA22 periph A with pullup */
682 AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA23 periph A with pullup */
685 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
687 <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA24 periph A with pullup */
688 AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA25 periph A with pullup */
689 AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA26 periph A with pullup */
692 pinctrl_mmc1_slot0_dat4_7: mmc1_slot0_dat4_7-0 {
694 <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA27 periph A with pullup */
695 AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA28 periph A with pullup */
696 AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA29 periph A with pullup */
697 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA30 periph A with pullup */
702 pinctrl_ssc0_tx: ssc0_tx-0 {
704 <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD0 periph A */
705 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD1 periph A */
706 AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD2 periph A */
709 pinctrl_ssc0_rx: ssc0_rx-0 {
711 <AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD3 periph A */
712 AT91_PIOD 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD4 periph A */
713 AT91_PIOD 5 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD5 periph A */
718 pinctrl_ssc1_tx: ssc1_tx-0 {
720 <AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD10 periph A */
721 AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD11 periph A */
722 AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD12 periph A */
725 pinctrl_ssc1_rx: ssc1_rx-0 {
727 <AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD13 periph A */
728 AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD14 periph A */
729 AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD15 periph A */
734 pinctrl_spi0: spi0-0 {
736 <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB0 periph A SPI0_MISO pin */
737 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB1 periph A SPI0_MOSI pin */
738 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB2 periph A SPI0_SPCK pin */
743 pinctrl_spi1: spi1-0 {
745 <AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB14 periph A SPI1_MISO pin */
746 AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB15 periph A SPI1_MOSI pin */
747 AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB16 periph A SPI1_SPCK pin */
752 pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
753 atmel,pins = <AT91_PIOD 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
756 pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
757 atmel,pins = <AT91_PIOD 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
760 pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
761 atmel,pins = <AT91_PIOC 10 AT91_PERIPH_B AT91_PINCTRL_NONE>;
764 pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
765 atmel,pins = <AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE>;
768 pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
769 atmel,pins = <AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
772 pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
773 atmel,pins = <AT91_PIOD 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;
776 pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
777 atmel,pins = <AT91_PIOD 30 AT91_PERIPH_A AT91_PINCTRL_NONE>;
780 pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
781 atmel,pins = <AT91_PIOD 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
784 pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
785 atmel,pins = <AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE>;
790 pinctrl_tcb1_tclk0: tcb1_tclk0-0 {
791 atmel,pins = <AT91_PIOA 0 AT91_PERIPH_B AT91_PINCTRL_NONE>;
794 pinctrl_tcb1_tclk1: tcb1_tclk1-0 {
795 atmel,pins = <AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_NONE>;
798 pinctrl_tcb1_tclk2: tcb1_tclk2-0 {
799 atmel,pins = <AT91_PIOD 9 AT91_PERIPH_B AT91_PINCTRL_NONE>;
802 pinctrl_tcb1_tioa0: tcb1_tioa0-0 {
803 atmel,pins = <AT91_PIOA 1 AT91_PERIPH_B AT91_PINCTRL_NONE>;
806 pinctrl_tcb1_tioa1: tcb1_tioa1-0 {
807 atmel,pins = <AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_NONE>;
810 pinctrl_tcb1_tioa2: tcb1_tioa2-0 {
811 atmel,pins = <AT91_PIOD 7 AT91_PERIPH_B AT91_PINCTRL_NONE>;
814 pinctrl_tcb1_tiob0: tcb1_tiob0-0 {
815 atmel,pins = <AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_NONE>;
818 pinctrl_tcb1_tiob1: tcb1_tiob1-0 {
819 atmel,pins = <AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_NONE>;
822 pinctrl_tcb1_tiob2: tcb1_tiob2-0 {
823 atmel,pins = <AT91_PIOD 8 AT91_PERIPH_B AT91_PINCTRL_NONE>;
830 <AT91_PIOE 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE0 periph A */
831 AT91_PIOE 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE2 periph A */
832 AT91_PIOE 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE3 periph A */
833 AT91_PIOE 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE4 periph A */
834 AT91_PIOE 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE5 periph A */
835 AT91_PIOE 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE6 periph A */
836 AT91_PIOE 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE7 periph A */
837 AT91_PIOE 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE8 periph A */
838 AT91_PIOE 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE9 periph A */
839 AT91_PIOE 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE10 periph A */
840 AT91_PIOE 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE11 periph A */
841 AT91_PIOE 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE12 periph A */
842 AT91_PIOE 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE13 periph A */
843 AT91_PIOE 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE14 periph A */
844 AT91_PIOE 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE15 periph A */
845 AT91_PIOE 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE16 periph A */
846 AT91_PIOE 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE17 periph A */
847 AT91_PIOE 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE18 periph A */
848 AT91_PIOE 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE19 periph A */
849 AT91_PIOE 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE20 periph A */
850 AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE21 periph A */
851 AT91_PIOE 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE22 periph A */
852 AT91_PIOE 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE23 periph A */
853 AT91_PIOE 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE24 periph A */
854 AT91_PIOE 25 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE25 periph A */
855 AT91_PIOE 26 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE26 periph A */
856 AT91_PIOE 27 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE27 periph A */
857 AT91_PIOE 28 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE28 periph A */
858 AT91_PIOE 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE29 periph A */
859 AT91_PIOE 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PE30 periph A */
863 pioA: gpio@fffff200 {
864 compatible = "atmel,at91rm9200-gpio";
865 reg = <0xfffff200 0x200>;
866 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
869 interrupt-controller;
870 #interrupt-cells = <2>;
871 clocks = <&pioA_clk>;
874 pioB: gpio@fffff400 {
875 compatible = "atmel,at91rm9200-gpio";
876 reg = <0xfffff400 0x200>;
877 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
880 interrupt-controller;
881 #interrupt-cells = <2>;
882 clocks = <&pioB_clk>;
885 pioC: gpio@fffff600 {
886 compatible = "atmel,at91rm9200-gpio";
887 reg = <0xfffff600 0x200>;
888 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
891 interrupt-controller;
892 #interrupt-cells = <2>;
893 clocks = <&pioC_clk>;
896 pioD: gpio@fffff800 {
897 compatible = "atmel,at91rm9200-gpio";
898 reg = <0xfffff800 0x200>;
899 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
902 interrupt-controller;
903 #interrupt-cells = <2>;
904 clocks = <&pioDE_clk>;
907 pioE: gpio@fffffa00 {
908 compatible = "atmel,at91rm9200-gpio";
909 reg = <0xfffffa00 0x200>;
910 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
913 interrupt-controller;
914 #interrupt-cells = <2>;
915 clocks = <&pioDE_clk>;
919 dbgu: serial@ffffee00 {
920 compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
921 reg = <0xffffee00 0x200>;
922 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
923 pinctrl-names = "default";
924 pinctrl-0 = <&pinctrl_dbgu>;
926 clock-names = "usart";
930 usart0: serial@fff8c000 {
931 compatible = "atmel,at91sam9260-usart";
932 reg = <0xfff8c000 0x200>;
933 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
936 pinctrl-names = "default";
937 pinctrl-0 = <&pinctrl_usart0>;
938 clocks = <&usart0_clk>;
939 clock-names = "usart";
943 usart1: serial@fff90000 {
944 compatible = "atmel,at91sam9260-usart";
945 reg = <0xfff90000 0x200>;
946 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
949 pinctrl-names = "default";
950 pinctrl-0 = <&pinctrl_usart1>;
951 clocks = <&usart1_clk>;
952 clock-names = "usart";
956 usart2: serial@fff94000 {
957 compatible = "atmel,at91sam9260-usart";
958 reg = <0xfff94000 0x200>;
959 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 5>;
962 pinctrl-names = "default";
963 pinctrl-0 = <&pinctrl_usart2>;
964 clocks = <&usart2_clk>;
965 clock-names = "usart";
969 usart3: serial@fff98000 {
970 compatible = "atmel,at91sam9260-usart";
971 reg = <0xfff98000 0x200>;
972 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 5>;
975 pinctrl-names = "default";
976 pinctrl-0 = <&pinctrl_usart3>;
977 clocks = <&usart3_clk>;
978 clock-names = "usart";
982 macb0: ethernet@fffbc000 {
983 compatible = "cdns,at91sam9260-macb", "cdns,macb";
984 reg = <0xfffbc000 0x100>;
985 interrupts = <25 IRQ_TYPE_LEVEL_HIGH 3>;
986 pinctrl-names = "default";
987 pinctrl-0 = <&pinctrl_macb_rmii>;
988 clocks = <&macb0_clk>, <&macb0_clk>;
989 clock-names = "hclk", "pclk";
994 compatible = "atmel,at91sam9g45-trng";
995 reg = <0xfffcc000 0x100>;
996 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 0>;
997 clocks = <&trng_clk>;
1000 i2c0: i2c@fff84000 {
1001 compatible = "atmel,at91sam9g10-i2c";
1002 reg = <0xfff84000 0x100>;
1003 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 6>;
1004 pinctrl-names = "default";
1005 pinctrl-0 = <&pinctrl_i2c0>;
1006 #address-cells = <1>;
1008 clocks = <&twi0_clk>;
1009 status = "disabled";
1012 i2c1: i2c@fff88000 {
1013 compatible = "atmel,at91sam9g10-i2c";
1014 reg = <0xfff88000 0x100>;
1015 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 6>;
1016 pinctrl-names = "default";
1017 pinctrl-0 = <&pinctrl_i2c1>;
1018 #address-cells = <1>;
1020 clocks = <&twi1_clk>;
1021 status = "disabled";
1024 ssc0: ssc@fff9c000 {
1025 compatible = "atmel,at91sam9g45-ssc";
1026 reg = <0xfff9c000 0x4000>;
1027 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
1028 pinctrl-names = "default";
1029 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
1030 clocks = <&ssc0_clk>;
1031 clock-names = "pclk";
1032 status = "disabled";
1035 ssc1: ssc@fffa0000 {
1036 compatible = "atmel,at91sam9g45-ssc";
1037 reg = <0xfffa0000 0x4000>;
1038 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>;
1039 pinctrl-names = "default";
1040 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
1041 clocks = <&ssc1_clk>;
1042 clock-names = "pclk";
1043 status = "disabled";
1046 adc0: adc@fffb0000 {
1047 #address-cells = <1>;
1049 compatible = "atmel,at91sam9g45-adc";
1050 reg = <0xfffb0000 0x100>;
1051 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
1052 clocks = <&adc_clk>, <&adc_op_clk>;
1053 clock-names = "adc_clk", "adc_op_clk";
1054 atmel,adc-channels-used = <0xff>;
1055 atmel,adc-vref = <3300>;
1056 atmel,adc-startup-time = <40>;
1057 atmel,adc-res = <8 10>;
1058 atmel,adc-res-names = "lowres", "highres";
1059 atmel,adc-use-res = "highres";
1062 trigger-name = "external-rising";
1063 trigger-value = <0x1>;
1067 trigger-name = "external-falling";
1068 trigger-value = <0x2>;
1073 trigger-name = "external-any";
1074 trigger-value = <0x3>;
1079 trigger-name = "continuous";
1080 trigger-value = <0x6>;
1085 compatible = "atmel,at91sam9g45-isi";
1086 reg = <0xfffb4000 0x4000>;
1087 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 5>;
1088 clocks = <&isi_clk>;
1089 clock-names = "isi_clk";
1090 status = "disabled";
1092 #address-cells = <1>;
1097 pwm0: pwm@fffb8000 {
1098 compatible = "atmel,at91sam9rl-pwm";
1099 reg = <0xfffb8000 0x300>;
1100 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 4>;
1102 clocks = <&pwm_clk>;
1103 status = "disabled";
1106 mmc0: mmc@fff80000 {
1107 compatible = "atmel,hsmci";
1108 reg = <0xfff80000 0x600>;
1109 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 0>;
1110 pinctrl-names = "default";
1111 dmas = <&dma 1 AT91_DMA_CFG_PER_ID(0)>;
1113 #address-cells = <1>;
1115 clocks = <&mci0_clk>;
1116 clock-names = "mci_clk";
1117 status = "disabled";
1120 mmc1: mmc@fffd0000 {
1121 compatible = "atmel,hsmci";
1122 reg = <0xfffd0000 0x600>;
1123 interrupts = <29 IRQ_TYPE_LEVEL_HIGH 0>;
1124 pinctrl-names = "default";
1125 dmas = <&dma 1 AT91_DMA_CFG_PER_ID(13)>;
1127 #address-cells = <1>;
1129 clocks = <&mci1_clk>;
1130 clock-names = "mci_clk";
1131 status = "disabled";
1135 compatible = "atmel,at91sam9260-wdt";
1136 reg = <0xfffffd40 0x10>;
1137 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1139 atmel,watchdog-type = "hardware";
1140 atmel,reset-type = "all";
1142 status = "disabled";
1145 spi0: spi@fffa4000 {
1146 #address-cells = <1>;
1148 compatible = "atmel,at91rm9200-spi";
1149 reg = <0xfffa4000 0x200>;
1150 interrupts = <14 4 3>;
1151 pinctrl-names = "default";
1152 pinctrl-0 = <&pinctrl_spi0>;
1153 clocks = <&spi0_clk>;
1154 clock-names = "spi_clk";
1155 status = "disabled";
1158 spi1: spi@fffa8000 {
1159 #address-cells = <1>;
1161 compatible = "atmel,at91rm9200-spi";
1162 reg = <0xfffa8000 0x200>;
1163 interrupts = <15 4 3>;
1164 pinctrl-names = "default";
1165 pinctrl-0 = <&pinctrl_spi1>;
1166 clocks = <&spi1_clk>;
1167 clock-names = "spi_clk";
1168 status = "disabled";
1171 usb2: gadget@fff78000 {
1172 #address-cells = <1>;
1174 compatible = "atmel,at91sam9g45-udc";
1175 reg = <0x00600000 0x80000
1177 interrupts = <27 IRQ_TYPE_LEVEL_HIGH 0>;
1178 clocks = <&udphs_clk>, <&utmi>;
1179 clock-names = "pclk", "hclk";
1180 status = "disabled";
1184 atmel,fifo-size = <64>;
1185 atmel,nb-banks = <1>;
1190 atmel,fifo-size = <1024>;
1191 atmel,nb-banks = <2>;
1198 atmel,fifo-size = <1024>;
1199 atmel,nb-banks = <2>;
1206 atmel,fifo-size = <1024>;
1207 atmel,nb-banks = <3>;
1213 atmel,fifo-size = <1024>;
1214 atmel,nb-banks = <3>;
1220 atmel,fifo-size = <1024>;
1221 atmel,nb-banks = <3>;
1228 atmel,fifo-size = <1024>;
1229 atmel,nb-banks = <3>;
1236 compatible = "atmel,at91sam9x5-sckc";
1237 reg = <0xfffffd50 0x4>;
1239 slow_osc: slow_osc {
1240 compatible = "atmel,at91sam9x5-clk-slow-osc";
1242 atmel,startup-time-usec = <1200000>;
1243 clocks = <&slow_xtal>;
1246 slow_rc_osc: slow_rc_osc {
1247 compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
1249 atmel,startup-time-usec = <75>;
1250 clock-frequency = <32768>;
1251 clock-accuracy = <50000000>;
1255 compatible = "atmel,at91sam9x5-clk-slow";
1257 clocks = <&slow_rc_osc &slow_osc>;
1262 compatible = "atmel,at91sam9260-rtt";
1263 reg = <0xfffffd20 0x10>;
1264 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1266 status = "disabled";
1270 compatible = "atmel,at91rm9200-rtc";
1271 reg = <0xfffffdb0 0x30>;
1272 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1274 status = "disabled";
1277 gpbr: syscon@fffffd60 {
1278 compatible = "atmel,at91sam9260-gpbr", "syscon";
1279 reg = <0xfffffd60 0x10>;
1280 status = "disabled";
1284 fb0: fb@0x00500000 {
1285 compatible = "atmel,at91sam9g45-lcdc";
1286 reg = <0x00500000 0x1000>;
1287 interrupts = <23 IRQ_TYPE_LEVEL_HIGH 3>;
1288 pinctrl-names = "default";
1289 pinctrl-0 = <&pinctrl_fb>;
1290 clocks = <&lcd_clk>, <&lcd_clk>;
1291 clock-names = "hclk", "lcdc_clk";
1292 status = "disabled";
1295 usb0: ohci@00700000 {
1296 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
1297 reg = <0x00700000 0x100000>;
1298 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
1299 clocks = <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
1300 clock-names = "ohci_clk", "hclk", "uhpck";
1301 status = "disabled";
1304 usb1: ehci@00800000 {
1305 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
1306 reg = <0x00800000 0x100000>;
1307 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
1308 clocks = <&utmi>, <&uhphs_clk>;
1309 clock-names = "usb_clk", "ehci_clk";
1310 status = "disabled";
1314 compatible = "atmel,at91sam9g45-ebi";
1315 #address-cells = <2>;
1318 atmel,matrix = <&matrix>;
1319 reg = <0x10000000 0x80000000>;
1320 ranges = <0x0 0x0 0x10000000 0x10000000
1321 0x1 0x0 0x20000000 0x10000000
1322 0x2 0x0 0x30000000 0x10000000
1323 0x3 0x0 0x40000000 0x10000000
1324 0x4 0x0 0x50000000 0x10000000
1325 0x5 0x0 0x60000000 0x10000000>;
1327 status = "disabled";
1329 nand_controller: nand-controller {
1330 compatible = "atmel,at91sam9g45-nand-controller";
1331 #address-cells = <2>;
1334 status = "disabled";
1340 compatible = "i2c-gpio";
1341 gpios = <&pioA 20 GPIO_ACTIVE_HIGH /* sda */
1342 &pioA 21 GPIO_ACTIVE_HIGH /* scl */
1344 i2c-gpio,sda-open-drain;
1345 i2c-gpio,scl-open-drain;
1346 i2c-gpio,delay-us = <5>; /* ~100 kHz */
1347 #address-cells = <1>;
1349 status = "disabled";