2 * at91sam9n12.dtsi - Device Tree include file for AT91SAM9N12 SoC
4 * Copyright (C) 2012 Atmel,
5 * 2012 Hong Xu <hong.xu@atmel.com>
7 * Licensed under GPLv2 or later.
10 #include "skeleton.dtsi"
11 #include <dt-bindings/dma/at91.h>
12 #include <dt-bindings/pinctrl/at91.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/clock/at91.h>
18 model = "Atmel AT91SAM9N12 SoC";
19 compatible = "atmel,at91sam9n12";
20 interrupt-parent = <&aic>;
45 compatible = "arm,arm926ej-s";
51 reg = <0x20000000 0x10000000>;
55 slow_xtal: slow_xtal {
56 compatible = "fixed-clock";
58 clock-frequency = <0>;
61 main_xtal: main_xtal {
62 compatible = "fixed-clock";
64 clock-frequency = <0>;
69 compatible = "mmio-sram";
70 reg = <0x00300000 0x8000>;
74 compatible = "simple-bus";
81 compatible = "simple-bus";
87 aic: interrupt-controller@fffff000 {
88 #interrupt-cells = <3>;
89 compatible = "atmel,at91rm9200-aic";
91 reg = <0xfffff000 0x200>;
92 atmel,external-irqs = <31>;
95 ramc0: ramc@ffffe800 {
96 compatible = "atmel,at91sam9g45-ddramc";
97 reg = <0xffffe800 0x200>;
99 clock-names = "ddrck";
103 compatible = "atmel,at91sam9n12-pmc", "syscon";
104 reg = <0xfffffc00 0x200>;
105 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
106 interrupt-controller;
107 #address-cells = <1>;
109 #interrupt-cells = <1>;
112 main_rc_osc: main_rc_osc {
113 compatible = "atmel,at91sam9x5-clk-main-rc-osc";
115 interrupts-extended = <&pmc AT91_PMC_MOSCRCS>;
116 clock-frequency = <12000000>;
117 clock-accuracy = <50000000>;
121 compatible = "atmel,at91rm9200-clk-main-osc";
123 interrupts-extended = <&pmc AT91_PMC_MOSCS>;
124 clocks = <&main_xtal>;
128 compatible = "atmel,at91sam9x5-clk-main";
130 interrupts-extended = <&pmc AT91_PMC_MOSCSELS>;
131 clocks = <&main_rc_osc>, <&main_osc>;
135 compatible = "atmel,at91rm9200-clk-pll";
137 interrupts-extended = <&pmc AT91_PMC_LOCKA>;
140 atmel,clk-input-range = <2000000 32000000>;
141 #atmel,pll-clk-output-range-cells = <4>;
142 atmel,pll-clk-output-ranges = <745000000 800000000 0 0>,
143 <695000000 750000000 1 0>,
144 <645000000 700000000 2 0>,
145 <595000000 650000000 3 0>,
146 <545000000 600000000 0 1>,
147 <495000000 555000000 1 1>,
148 <445000000 500000000 2 1>,
149 <400000000 450000000 3 1>;
153 compatible = "atmel,at91sam9x5-clk-plldiv";
159 compatible = "atmel,at91rm9200-clk-pll";
161 interrupts-extended = <&pmc AT91_PMC_LOCKB>;
164 atmel,clk-input-range = <2000000 32000000>;
165 #atmel,pll-clk-output-range-cells = <3>;
166 atmel,pll-clk-output-ranges = <30000000 100000000 0>;
170 compatible = "atmel,at91sam9x5-clk-master";
172 interrupts-extended = <&pmc AT91_PMC_MCKRDY>;
173 clocks = <&clk32k>, <&main>, <&plladiv>, <&pllb>;
174 atmel,clk-output-range = <0 133333333>;
175 atmel,clk-divisors = <1 2 4 3>;
176 atmel,master-clk-have-div3-pres;
181 compatible = "atmel,at91sam9n12-clk-usb";
187 compatible = "atmel,at91sam9x5-clk-programmable";
188 #address-cells = <1>;
190 interrupt-parent = <&pmc>;
191 clocks = <&clk32k>, <&main>, <&plladiv>, <&pllb>, <&mck>;
196 interrupts = <AT91_PMC_PCKRDY(0)>;
202 interrupts = <AT91_PMC_PCKRDY(1)>;
207 compatible = "atmel,at91rm9200-clk-system";
208 #address-cells = <1>;
249 compatible = "atmel,at91sam9x5-clk-peripheral";
250 #address-cells = <1>;
255 pioAB_clk: pioAB_clk@2 {
261 pioCD_clk: pioCD_clk@3 {
267 fuse_clk: fuse_clk@4 {
272 usart0_clk: usart0_clk@5 {
277 usart1_clk: usart1_clk@6 {
282 usart2_clk: usart2_clk@7 {
287 usart3_clk: usart3_clk@8 {
292 twi0_clk: twi0_clk@9 {
297 twi1_clk: twi1_clk@10 {
302 mci0_clk: mci0_clk@12 {
307 spi0_clk: spi0_clk@13 {
312 spi1_clk: spi1_clk@14 {
317 uart0_clk: uart0_clk@15 {
322 uart1_clk: uart1_clk@16 {
327 tcb_clk: tcb_clk@17 {
332 pwm_clk: pwm_clk@18 {
337 adc_clk: adc_clk@19 {
342 dma0_clk: dma0_clk@20 {
347 uhphs_clk: uhphs_clk@22 {
352 udphs_clk: udphs_clk@23 {
357 lcdc_clk: lcdc_clk@25 {
362 sha_clk: sha_clk@27 {
367 ssc0_clk: ssc0_clk@28 {
372 aes_clk: aes_clk@29 {
377 trng_clk: trng_clk@30 {
385 compatible = "atmel,at91sam9g45-rstc";
386 reg = <0xfffffe00 0x10>;
390 pit: timer@fffffe30 {
391 compatible = "atmel,at91sam9260-pit";
392 reg = <0xfffffe30 0xf>;
393 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
398 compatible = "atmel,at91sam9x5-shdwc";
399 reg = <0xfffffe10 0x10>;
404 compatible = "atmel,at91sam9x5-sckc";
405 reg = <0xfffffe50 0x4>;
408 compatible = "atmel,at91sam9x5-clk-slow-osc";
410 clocks = <&slow_xtal>;
413 slow_rc_osc: slow_rc_osc {
414 compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
416 clock-frequency = <32768>;
417 clock-accuracy = <50000000>;
421 compatible = "atmel,at91sam9x5-clk-slow";
423 clocks = <&slow_rc_osc>, <&slow_osc>;
428 compatible = "atmel,hsmci";
429 reg = <0xf0008000 0x600>;
430 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>;
431 dmas = <&dma 1 AT91_DMA_CFG_PER_ID(0)>;
433 clocks = <&mci0_clk>;
434 clock-names = "mci_clk";
435 #address-cells = <1>;
440 tcb0: timer@f8008000 {
441 compatible = "atmel,at91sam9x5-tcb";
442 reg = <0xf8008000 0x100>;
443 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
444 clocks = <&tcb_clk>, <&clk32k>;
445 clock-names = "t0_clk", "slow_clk";
448 tcb1: timer@f800c000 {
449 compatible = "atmel,at91sam9x5-tcb";
450 reg = <0xf800c000 0x100>;
451 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
452 clocks = <&tcb_clk>, <&clk32k>;
453 clock-names = "t0_clk", "slow_clk";
456 hlcdc: hlcdc@f8038000 {
457 compatible = "atmel,at91sam9n12-hlcdc";
458 reg = <0xf8038000 0x2000>;
459 interrupts = <25 IRQ_TYPE_LEVEL_HIGH 0>;
460 clocks = <&lcdc_clk>, <&lcdck>, <&clk32k>;
461 clock-names = "periph_clk", "sys_clk", "slow_clk";
464 hlcdc-display-controller {
465 compatible = "atmel,hlcdc-display-controller";
466 #address-cells = <1>;
470 #address-cells = <1>;
476 hlcdc_pwm: hlcdc-pwm {
477 compatible = "atmel,hlcdc-pwm";
478 pinctrl-names = "default";
479 pinctrl-0 = <&pinctrl_lcd_pwm>;
484 dma: dma-controller@ffffec00 {
485 compatible = "atmel,at91sam9g45-dma";
486 reg = <0xffffec00 0x200>;
487 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
489 clocks = <&dma0_clk>;
490 clock-names = "dma_clk";
494 #address-cells = <1>;
496 compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
497 ranges = <0xfffff400 0xfffff400 0x800>;
498 reg = <0xfffff400 0x200
506 0xffffffff 0xffe07983 0x00000000 /* pioA */
507 0x00040000 0x00047e0f 0x00000000 /* pioB */
508 0xfdffffff 0x07c00000 0xb83fffff /* pioC */
509 0x003fffff 0x003f8000 0x00000000 /* pioD */
513 /* shared pinctrl settings */
516 pinctrl_dbgu: dbgu-0 {
518 <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
519 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
524 pinctrl_lcd_base: lcd-base-0 {
526 <AT91_PIOC 27 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDVSYNC */
527 AT91_PIOC 28 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDHSYNC */
528 AT91_PIOC 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDDISP */
529 AT91_PIOC 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDDEN */
530 AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* LCDPCK */
533 pinctrl_lcd_pwm: lcd-pwm-0 {
534 atmel,pins = <AT91_PIOC 26 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* LCDPWM */
537 pinctrl_lcd_rgb888: lcd-rgb-3 {
539 <AT91_PIOC 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD0 pin */
540 AT91_PIOC 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD1 pin */
541 AT91_PIOC 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD2 pin */
542 AT91_PIOC 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD3 pin */
543 AT91_PIOC 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD4 pin */
544 AT91_PIOC 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD5 pin */
545 AT91_PIOC 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD6 pin */
546 AT91_PIOC 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD7 pin */
547 AT91_PIOC 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD8 pin */
548 AT91_PIOC 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD9 pin */
549 AT91_PIOC 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD10 pin */
550 AT91_PIOC 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD11 pin */
551 AT91_PIOC 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD12 pin */
552 AT91_PIOC 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD13 pin */
553 AT91_PIOC 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD14 pin */
554 AT91_PIOC 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD15 pin */
555 AT91_PIOC 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD16 pin */
556 AT91_PIOC 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD17 pin */
557 AT91_PIOC 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD18 pin */
558 AT91_PIOC 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD19 pin */
559 AT91_PIOC 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD20 pin */
560 AT91_PIOC 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD21 pin */
561 AT91_PIOC 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD22 pin */
562 AT91_PIOC 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* LCDD23 pin */
567 pinctrl_usart0: usart0-0 {
569 <AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA1 periph A with pullup */
570 AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA0 periph A */
573 pinctrl_usart0_rts: usart0_rts-0 {
575 <AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA2 periph A */
578 pinctrl_usart0_cts: usart0_cts-0 {
580 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA3 periph A */
585 pinctrl_usart1: usart1-0 {
587 <AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA6 periph A with pullup */
588 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA5 periph A */
593 pinctrl_usart2: usart2-0 {
595 <AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA8 periph A with pullup */
596 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA7 periph A */
599 pinctrl_usart2_rts: usart2_rts-0 {
601 <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB0 periph B */
604 pinctrl_usart2_cts: usart2_cts-0 {
606 <AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB1 periph B */
611 pinctrl_usart3: usart3-0 {
613 <AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PC23 periph B with pullup */
614 AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC22 periph B */
617 pinctrl_usart3_rts: usart3_rts-0 {
619 <AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC24 periph B */
622 pinctrl_usart3_cts: usart3_cts-0 {
624 <AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC25 periph B */
629 pinctrl_uart0: uart0-0 {
631 <AT91_PIOC 9 AT91_PERIPH_C AT91_PINCTRL_PULL_UP /* PC9 periph C with pullup */
632 AT91_PIOC 8 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC8 periph C */
637 pinctrl_uart1: uart1-0 {
639 <AT91_PIOC 16 AT91_PERIPH_C AT91_PINCTRL_PULL_UP /* PC17 periph C with pullup */
640 AT91_PIOC 17 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC16 periph C */
645 pinctrl_nand: nand-0 {
647 <AT91_PIOD 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD5 gpio RDY pin pull_up*/
648 AT91_PIOD 4 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PD4 gpio enable pin pull_up */
653 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
655 <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA17 periph A */
656 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 periph A with pullup */
657 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA15 periph A with pullup */
660 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
662 <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA18 periph A with pullup */
663 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA19 periph A with pullup */
664 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA20 periph A with pullup */
667 pinctrl_mmc0_slot0_dat4_7: mmc0_slot0_dat4_7-0 {
669 <AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA11 periph B with pullup */
670 AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA12 periph B with pullup */
671 AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA13 periph B with pullup */
672 AT91_PIOA 14 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA14 periph B with pullup */
677 pinctrl_ssc0_tx: ssc0_tx-0 {
679 <AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA24 periph B */
680 AT91_PIOA 25 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA25 periph B */
681 AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA26 periph B */
684 pinctrl_ssc0_rx: ssc0_rx-0 {
686 <AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA27 periph B */
687 AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA28 periph B */
688 AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA29 periph B */
693 pinctrl_spi0: spi0-0 {
695 <AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A SPI0_MISO pin */
696 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A SPI0_MOSI pin */
697 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA13 periph A SPI0_SPCK pin */
702 pinctrl_spi1: spi1-0 {
704 <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA21 periph B SPI1_MISO pin */
705 AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA22 periph B SPI1_MOSI pin */
706 AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA23 periph B SPI1_SPCK pin */
711 pinctrl_i2c0: i2c0-0 {
713 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE
714 AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
719 pinctrl_i2c1: i2c1-0 {
721 <AT91_PIOC 0 AT91_PERIPH_C AT91_PINCTRL_NONE
722 AT91_PIOC 1 AT91_PERIPH_C AT91_PINCTRL_NONE>;
727 pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
728 atmel,pins = <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_NONE>;
731 pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
732 atmel,pins = <AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_NONE>;
735 pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
736 atmel,pins = <AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_NONE>;
739 pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
740 atmel,pins = <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
743 pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
744 atmel,pins = <AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;
747 pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
748 atmel,pins = <AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
751 pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
752 atmel,pins = <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;
755 pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
756 atmel,pins = <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
759 pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
760 atmel,pins = <AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
765 pinctrl_tcb1_tclk0: tcb1_tclk0-0 {
766 atmel,pins = <AT91_PIOC 4 AT91_PERIPH_C AT91_PINCTRL_NONE>;
769 pinctrl_tcb1_tclk1: tcb1_tclk1-0 {
770 atmel,pins = <AT91_PIOC 7 AT91_PERIPH_C AT91_PINCTRL_NONE>;
773 pinctrl_tcb1_tclk2: tcb1_tclk2-0 {
774 atmel,pins = <AT91_PIOC 14 AT91_PERIPH_C AT91_PINCTRL_NONE>;
777 pinctrl_tcb1_tioa0: tcb1_tioa0-0 {
778 atmel,pins = <AT91_PIOC 2 AT91_PERIPH_C AT91_PINCTRL_NONE>;
781 pinctrl_tcb1_tioa1: tcb1_tioa1-0 {
782 atmel,pins = <AT91_PIOC 5 AT91_PERIPH_C AT91_PINCTRL_NONE>;
785 pinctrl_tcb1_tioa2: tcb1_tioa2-0 {
786 atmel,pins = <AT91_PIOC 12 AT91_PERIPH_C AT91_PINCTRL_NONE>;
789 pinctrl_tcb1_tiob0: tcb1_tiob0-0 {
790 atmel,pins = <AT91_PIOC 3 AT91_PERIPH_C AT91_PINCTRL_NONE>;
793 pinctrl_tcb1_tiob1: tcb1_tiob1-0 {
794 atmel,pins = <AT91_PIOC 6 AT91_PERIPH_C AT91_PINCTRL_NONE>;
797 pinctrl_tcb1_tiob2: tcb1_tiob2-0 {
798 atmel,pins = <AT91_PIOC 13 AT91_PERIPH_C AT91_PINCTRL_NONE>;
803 pioA: gpio@fffff400 {
804 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
805 reg = <0xfffff400 0x200>;
806 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
809 interrupt-controller;
810 #interrupt-cells = <2>;
811 clocks = <&pioAB_clk>;
815 pioB: gpio@fffff600 {
816 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
817 reg = <0xfffff600 0x200>;
818 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
821 interrupt-controller;
822 #interrupt-cells = <2>;
823 clocks = <&pioAB_clk>;
827 pioC: gpio@fffff800 {
828 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
829 reg = <0xfffff800 0x200>;
830 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
833 interrupt-controller;
834 #interrupt-cells = <2>;
835 clocks = <&pioCD_clk>;
839 pioD: gpio@fffffa00 {
840 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
841 reg = <0xfffffa00 0x200>;
842 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
845 interrupt-controller;
846 #interrupt-cells = <2>;
847 clocks = <&pioCD_clk>;
851 dbgu: serial@fffff200 {
852 compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
853 reg = <0xfffff200 0x200>;
854 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
855 pinctrl-names = "default";
856 pinctrl-0 = <&pinctrl_dbgu>;
858 clock-names = "usart";
863 compatible = "atmel,at91sam9g45-ssc";
864 reg = <0xf0010000 0x4000>;
865 interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>;
866 dmas = <&dma 0 AT91_DMA_CFG_PER_ID(21)>,
867 <&dma 0 AT91_DMA_CFG_PER_ID(22)>;
868 dma-names = "tx", "rx";
869 pinctrl-names = "default";
870 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
871 clocks = <&ssc0_clk>;
872 clock-names = "pclk";
876 usart0: serial@f801c000 {
877 compatible = "atmel,at91sam9260-usart";
878 reg = <0xf801c000 0x4000>;
879 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 5>;
880 pinctrl-names = "default";
881 pinctrl-0 = <&pinctrl_usart0>;
882 clocks = <&usart0_clk>;
883 clock-names = "usart";
887 usart1: serial@f8020000 {
888 compatible = "atmel,at91sam9260-usart";
889 reg = <0xf8020000 0x4000>;
890 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
891 pinctrl-names = "default";
892 pinctrl-0 = <&pinctrl_usart1>;
893 clocks = <&usart1_clk>;
894 clock-names = "usart";
898 usart2: serial@f8024000 {
899 compatible = "atmel,at91sam9260-usart";
900 reg = <0xf8024000 0x4000>;
901 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
902 pinctrl-names = "default";
903 pinctrl-0 = <&pinctrl_usart2>;
904 clocks = <&usart2_clk>;
905 clock-names = "usart";
909 usart3: serial@f8028000 {
910 compatible = "atmel,at91sam9260-usart";
911 reg = <0xf8028000 0x4000>;
912 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
913 pinctrl-names = "default";
914 pinctrl-0 = <&pinctrl_usart3>;
915 clocks = <&usart3_clk>;
916 clock-names = "usart";
921 compatible = "atmel,at91sam9x5-i2c";
922 reg = <0xf8010000 0x100>;
923 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 6>;
924 dmas = <&dma 1 AT91_DMA_CFG_PER_ID(13)>,
925 <&dma 1 AT91_DMA_CFG_PER_ID(14)>;
926 dma-names = "tx", "rx";
927 #address-cells = <1>;
929 pinctrl-names = "default";
930 pinctrl-0 = <&pinctrl_i2c0>;
931 clocks = <&twi0_clk>;
936 compatible = "atmel,at91sam9x5-i2c";
937 reg = <0xf8014000 0x100>;
938 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 6>;
939 dmas = <&dma 1 AT91_DMA_CFG_PER_ID(15)>,
940 <&dma 1 AT91_DMA_CFG_PER_ID(16)>;
941 dma-names = "tx", "rx";
942 #address-cells = <1>;
944 pinctrl-names = "default";
945 pinctrl-0 = <&pinctrl_i2c1>;
946 clocks = <&twi1_clk>;
951 #address-cells = <1>;
953 compatible = "atmel,at91rm9200-spi";
954 reg = <0xf0000000 0x100>;
955 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
956 dmas = <&dma 1 AT91_DMA_CFG_PER_ID(1)>,
957 <&dma 1 AT91_DMA_CFG_PER_ID(2)>;
958 dma-names = "tx", "rx";
959 pinctrl-names = "default";
960 pinctrl-0 = <&pinctrl_spi0>;
961 clocks = <&spi0_clk>;
962 clock-names = "spi_clk";
967 #address-cells = <1>;
969 compatible = "atmel,at91rm9200-spi";
970 reg = <0xf0004000 0x100>;
971 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>;
972 dmas = <&dma 1 AT91_DMA_CFG_PER_ID(3)>,
973 <&dma 1 AT91_DMA_CFG_PER_ID(4)>;
974 dma-names = "tx", "rx";
975 pinctrl-names = "default";
976 pinctrl-0 = <&pinctrl_spi1>;
977 clocks = <&spi1_clk>;
978 clock-names = "spi_clk";
983 compatible = "atmel,at91sam9260-wdt";
984 reg = <0xfffffe40 0x10>;
985 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
987 atmel,watchdog-type = "hardware";
988 atmel,reset-type = "all";
994 compatible = "atmel,at91rm9200-rtc";
995 reg = <0xfffffeb0 0x40>;
996 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1001 pwm0: pwm@f8034000 {
1002 compatible = "atmel,at91sam9rl-pwm";
1003 reg = <0xf8034000 0x300>;
1004 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 4>;
1006 clocks = <&pwm_clk>;
1007 status = "disabled";
1010 usb1: gadget@f803c000 {
1011 compatible = "atmel,at91sam9260-udc";
1012 reg = <0xf803c000 0x4000>;
1013 interrupts = <23 IRQ_TYPE_LEVEL_HIGH 2>;
1014 clocks = <&udphs_clk>, <&udpck>;
1015 clock-names = "pclk", "hclk";
1016 status = "disabled";
1020 nand0: nand@40000000 {
1021 compatible = "atmel,at91rm9200-nand";
1022 #address-cells = <1>;
1024 reg = < 0x40000000 0x10000000
1025 0xffffe000 0x00000600
1026 0xffffe600 0x00000200
1027 0x00108000 0x00018000
1029 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
1030 atmel,nand-addr-offset = <21>;
1031 atmel,nand-cmd-offset = <22>;
1033 pinctrl-names = "default";
1034 pinctrl-0 = <&pinctrl_nand>;
1035 gpios = <&pioD 5 GPIO_ACTIVE_HIGH
1036 &pioD 4 GPIO_ACTIVE_HIGH
1039 status = "disabled";
1042 usb0: ohci@00500000 {
1043 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
1044 reg = <0x00500000 0x00100000>;
1045 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
1046 clocks = <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
1047 clock-names = "ohci_clk", "hclk", "uhpck";
1048 status = "disabled";
1053 compatible = "i2c-gpio";
1054 gpios = <&pioA 30 GPIO_ACTIVE_HIGH /* sda */
1055 &pioA 31 GPIO_ACTIVE_HIGH /* scl */
1057 i2c-gpio,sda-open-drain;
1058 i2c-gpio,scl-open-drain;
1059 i2c-gpio,delay-us = <2>; /* ~100 kHz */
1060 #address-cells = <1>;
1062 status = "disabled";