1 #include "skeleton.dtsi"
2 #include <dt-bindings/interrupt-controller/irq.h>
5 model = "Atmel SAMA5D2 family SoC";
6 compatible = "atmel,sama5d2";
7 interrupt-parent = <&aic>;
18 slow_xtal: slow_xtal {
19 compatible = "fixed-clock";
21 clock-frequency = <0>;
24 main_xtal: main_xtal {
25 compatible = "fixed-clock";
27 clock-frequency = <0>;
32 compatible = "simple-bus";
37 nfc_sram: sram@100000 {
38 compatible = "mmio-sram";
40 reg = <0x00100000 0x2400>;
43 ranges = <0 0x00100000 0x2400>;
47 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
48 reg = <0x00400000 0x100000>;
49 clocks = <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
50 clock-names = "ohci_clk", "hclk", "uhpck";
55 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
56 reg = <0x00500000 0x100000>;
57 clocks = <&utmi>, <&uhphs_clk>;
58 clock-names = "usb_clk", "ehci_clk";
63 compatible = "atmel,sama5d3-ebi";
67 reg = <0x10000000 0x10000000
68 0x60000000 0x30000000>;
69 ranges = <0x0 0x0 0x10000000 0x10000000
70 0x1 0x0 0x60000000 0x10000000
71 0x2 0x0 0x70000000 0x10000000
72 0x3 0x0 0x80000000 0x10000000>;
76 nand_controller: nand-controller {
77 compatible = "atmel,sama5d3-nand-controller";
78 atmel,nfc-sram = <&nfc_sram>;
79 atmel,nfc-io = <&nfc_io>;
80 ecc-engine = <&pmecc>;
88 sdmmc0: sdio-host@a0000000 {
89 compatible = "atmel,sama5d2-sdhci";
90 reg = <0xa0000000 0x300>;
91 clocks = <&sdmmc0_hclk>, <&sdmmc0_gclk>, <&main>;
92 clock-names = "hclock", "multclk", "baseclk";
96 sdmmc1: sdio-host@b0000000 {
97 compatible = "atmel,sama5d2-sdhci";
98 reg = <0xb0000000 0x300>;
99 clocks = <&sdmmc1_hclk>, <&sdmmc1_gclk>, <&main>;
100 clock-names = "hclock", "multclk", "baseclk";
104 nfc_io: nfc-io@c0000000 {
105 compatible = "atmel,sama5d3-nfc-io", "syscon";
106 reg = <0xc0000000 0x8000000>;
110 compatible = "simple-bus";
111 #address-cells = <1>;
115 hlcdc: hlcdc@f0000000 {
116 compatible = "atmel,at91sam9x5-hlcdc";
117 reg = <0xf0000000 0x2000>;
118 clocks = <&lcdc_clk>;
122 pmc: clock-controller@f0014000 {
123 compatible = "atmel,sama5d2-pmc", "syscon";
124 reg = <0xf0014000 0x160>;
125 #address-cells = <1>;
130 compatible = "atmel,at91sam9x5-clk-main";
136 compatible = "atmel,sama5d3-clk-pll";
140 atmel,clk-input-range = <12000000 12000000>;
141 #atmel,pll-clk-output-range-cells = <4>;
142 atmel,pll-clk-output-ranges = <600000000 1200000000 0 0>;
147 compatible = "atmel,at91sam9x5-clk-plldiv";
152 audio_pll_frac: audiopll_fracck {
153 compatible = "atmel,sama5d2-clk-audio-pll-frac";
158 audio_pll_pad: audiopll_padck {
159 compatible = "atmel,sama5d2-clk-audio-pll-pad";
161 clocks = <&audio_pll_frac>;
164 audio_pll_pmc: audiopll_pmcck {
165 compatible = "atmel,sama5d2-clk-audio-pll-pmc";
167 clocks = <&audio_pll_frac>;
171 compatible = "atmel,at91sam9x5-clk-utmi";
179 compatible = "atmel,at91sam9x5-clk-master";
181 clocks = <&main>, <&plladiv>, <&utmi>;
182 atmel,clk-output-range = <124000000 166000000>;
183 atmel,clk-divisors = <1 2 4 3>;
189 compatible = "atmel,sama5d4-clk-h32mx";
195 compatible = "atmel,at91sam9x5-clk-usb";
197 clocks = <&plladiv>, <&utmi>;
201 compatible = "atmel,at91sam9x5-clk-programmable";
202 #address-cells = <1>;
204 interrupt-parent = <&pmc>;
205 clocks = <&main>, <&plladiv>, <&utmi>, <&mck>;
224 compatible = "atmel,at91rm9200-clk-system";
225 #address-cells = <1>;
278 compatible = "atmel,at91sam9x5-clk-peripheral";
279 #address-cells = <1>;
284 macb0_clk: macb0_clk@5 {
287 atmel,clk-output-range = <0 83000000>;
290 tdes_clk: tdes_clk@11 {
293 atmel,clk-output-range = <0 83000000>;
296 matrix1_clk: matrix1_clk@14 {
301 hsmc_clk: hsmc_clk@17 {
306 pioA_clk: pioA_clk@18 {
309 atmel,clk-output-range = <0 83000000>;
313 flx0_clk: flx0_clk@19 {
316 atmel,clk-output-range = <0 83000000>;
319 flx1_clk: flx1_clk@20 {
322 atmel,clk-output-range = <0 83000000>;
325 flx2_clk: flx2_clk@21 {
328 atmel,clk-output-range = <0 83000000>;
331 flx3_clk: flx3_clk@22 {
334 atmel,clk-output-range = <0 83000000>;
337 flx4_clk: flx4_clk@23 {
340 atmel,clk-output-range = <0 83000000>;
343 uart0_clk: uart0_clk@24 {
346 atmel,clk-output-range = <0 83000000>;
350 uart1_clk: uart1_clk@25 {
353 atmel,clk-output-range = <0 83000000>;
357 uart2_clk: uart2_clk@26 {
360 atmel,clk-output-range = <0 83000000>;
364 uart3_clk: uart3_clk@27 {
367 atmel,clk-output-range = <0 83000000>;
370 uart4_clk: uart4_clk@28 {
373 atmel,clk-output-range = <0 83000000>;
376 twi0_clk: twi0_clk@29 {
379 atmel,clk-output-range = <0 83000000>;
382 twi1_clk: twi1_clk@30 {
385 atmel,clk-output-range = <0 83000000>;
388 spi0_clk: spi0_clk@33 {
391 atmel,clk-output-range = <0 83000000>;
395 spi1_clk: spi1_clk@34 {
398 atmel,clk-output-range = <0 83000000>;
401 tcb0_clk: tcb0_clk@35 {
404 atmel,clk-output-range = <0 83000000>;
408 tcb1_clk: tcb1_clk@36 {
411 atmel,clk-output-range = <0 83000000>;
414 pwm_clk: pwm_clk@38 {
417 atmel,clk-output-range = <0 83000000>;
420 adc_clk: adc_clk@40 {
423 atmel,clk-output-range = <0 83000000>;
426 uhphs_clk: uhphs_clk@41 {
429 atmel,clk-output-range = <0 83000000>;
432 udphs_clk: udphs_clk@42 {
435 atmel,clk-output-range = <0 83000000>;
438 ssc0_clk: ssc0_clk@43 {
441 atmel,clk-output-range = <0 83000000>;
444 ssc1_clk: ssc1_clk@44 {
447 atmel,clk-output-range = <0 83000000>;
450 trng_clk: trng_clk@47 {
453 atmel,clk-output-range = <0 83000000>;
456 pdmic_clk: pdmic_clk@48 {
459 atmel,clk-output-range = <0 83000000>;
462 i2s0_clk: i2s0_clk@54 {
465 atmel,clk-output-range = <0 83000000>;
468 i2s1_clk: i2s1_clk@55 {
471 atmel,clk-output-range = <0 83000000>;
474 can0_clk: can0_clk@56 {
477 atmel,clk-output-range = <0 83000000>;
480 can1_clk: can1_clk@57 {
483 atmel,clk-output-range = <0 83000000>;
486 classd_clk: classd_clk@59 {
489 atmel,clk-output-range = <0 83000000>;
494 compatible = "atmel,at91sam9x5-clk-peripheral";
495 #address-cells = <1>;
500 dma0_clk: dma0_clk@6 {
505 dma1_clk: dma1_clk@7 {
515 aesb_clk: aesb_clk@10 {
520 sha_clk: sha_clk@12 {
525 mpddr_clk: mpddr_clk@13 {
530 matrix0_clk: matrix0_clk@15 {
535 sdmmc0_hclk: sdmmc0_hclk@31 {
541 sdmmc1_hclk: sdmmc1_hclk@32 {
547 lcdc_clk: lcdc_clk@45 {
552 isc_clk: isc_clk@46 {
557 qspi0_clk: qspi0_clk@52 {
563 qspi1_clk: qspi1_clk@53 {
571 compatible = "atmel,sama5d2-clk-generated";
572 #address-cells = <1>;
574 interrupt-parent = <&pmc>;
575 clocks = <&main>, <&plla>, <&utmi>, <&mck>;
578 sdmmc0_gclk: sdmmc0_gclk@31 {
584 sdmmc1_gclk: sdmmc1_gclk@32 {
590 tcb0_gclk: tcb0_gclk@35 {
593 atmel,clk-output-range = <0 83000000>;
596 tcb1_gclk: tcb1_gclk@36 {
599 atmel,clk-output-range = <0 83000000>;
602 pwm_gclk: pwm_gclk@38 {
605 atmel,clk-output-range = <0 83000000>;
608 pdmic_gclk: pdmic_gclk@48 {
613 i2s0_gclk: i2s0_gclk@54 {
618 i2s1_gclk: i2s1_gclk@55 {
623 can0_gclk: can0_gclk@56 {
626 atmel,clk-output-range = <0 80000000>;
629 can1_gclk: can1_gclk@57 {
632 atmel,clk-output-range = <0 80000000>;
635 classd_gclk: classd_gclk@59 {
638 atmel,clk-output-range = <0 100000000>;
643 qspi0: spi@f0020000 {
644 compatible = "atmel,sama5d2-qspi";
645 reg = <0xf0020000 0x100>, <0xd0000000 0x08000000>;
646 reg-names = "qspi_base", "qspi_mmap";
647 #address-cells = <1>;
649 clocks = <&qspi0_clk>;
653 qspi1: spi@f0024000 {
654 compatible = "atmel,sama5d2-qspi";
655 reg = <0xf0024000 0x100>, <0xd8000000 0x08000000>;
656 reg-names = "qspi_base", "qspi_mmap";
657 #address-cells = <1>;
659 clocks = <&qspi1_clk>;
664 compatible = "atmel,at91rm9200-spi";
665 reg = <0xf8000000 0x100>;
666 clocks = <&spi0_clk>;
667 clock-names = "spi_clk";
668 #address-cells = <1>;
673 macb0: ethernet@f8008000 {
674 compatible = "cdns,macb";
675 reg = <0xf8008000 0x1000>;
676 #address-cells = <1>;
678 clocks = <&macb0_clk>, <&macb0_clk>;
679 clock-names = "hclk", "pclk";
683 tcb0: timer@f800c000 {
684 compatible = "atmel,sama5d2-tcb", "simple-mfd", "syscon";
685 reg = <0xf800c000 0x100>;
686 interrupts = <35 IRQ_TYPE_LEVEL_HIGH 0>;
687 clocks = <&tcb0_clk>, <&tcb0_gclk>, <&clk32k>;
688 clock-names = "t0_clk", "gclk", "slow_clk";
689 #address-cells = <1>;
694 compatible = "atmel,tcb-timer";
700 hsmc: hsmc@f8014000 {
701 compatible = "atmel,sama5d2-smc", "syscon", "simple-mfd";
702 reg = <0xf8014000 0x1000>;
703 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 6>;
704 clocks = <&hsmc_clk>;
705 #address-cells = <1>;
709 pmecc: ecc-engine@f8014070 {
710 compatible = "atmel,sama5d2-pmecc";
711 reg = <0xf8014070 0x490>,
716 uart0: serial@f801c000 {
717 compatible = "atmel,at91sam9260-usart";
718 reg = <0xf801c000 0x100>;
719 clocks = <&uart0_clk>;
720 clock-names = "usart";
724 uart1: serial@f8020000 {
725 compatible = "atmel,at91sam9260-usart";
726 reg = <0xf8020000 0x100>;
727 clocks = <&uart1_clk>;
728 clock-names = "usart";
732 uart2: serial@f8024000 {
733 compatible = "atmel,at91sam9260-usart";
734 reg = <0xf8024000 0x100>;
735 clocks = <&uart2_clk>;
736 clock-names = "usart";
741 compatible = "atmel,sama5d2-i2c";
742 reg = <0xf8028000 0x100>;
743 #address-cells = <1>;
745 clocks = <&twi0_clk>;
750 compatible = "atmel,sama5d2-pwm";
751 reg = <0xf802c000 0x4000>;
758 compatible = "atmel,sama5d2-sfr", "syscon";
759 reg = <0xf8030000 0x98>;
762 reset_controller: reset-controller@f8048000 {
763 compatible = "atmel,sama5d3-rstc";
764 reg = <0xf8048000 0x10>;
768 shutdown_controller: poweroff@f8048010 {
769 compatible = "atmel,sama5d2-shdwc";
770 reg = <0xf8048010 0x10>;
772 #address-cells = <1>;
774 atmel,wakeup-rtc-timer;
777 pit: timer@f8048030 {
778 compatible = "atmel,at91sam9260-pit";
779 reg = <0xf8048030 0x10>;
783 watchdog: watchdog@f8048040 {
784 compatible = "atmel,sama5d4-wdt";
785 reg = <0xf8048040 0x10>;
791 compatible = "atmel,at91sam9x5-sckc";
792 reg = <0xf8048050 0x4>;
794 slow_rc_osc: slow_rc_osc {
795 compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
797 clock-frequency = <32768>;
798 clock-accuracy = <250000000>;
799 atmel,startup-time-usec = <75>;
803 compatible = "atmel,at91sam9x5-clk-slow-osc";
805 clocks = <&slow_xtal>;
806 atmel,startup-time-usec = <1200000>;
810 compatible = "atmel,at91sam9x5-clk-slow";
812 clocks = <&slow_rc_osc &slow_osc>;
817 compatible = "atmel,at91rm9200-spi";
818 reg = <0xfc000000 0x100>;
819 #address-cells = <1>;
824 uart3: serial@fc008000 {
825 compatible = "atmel,at91sam9260-usart";
826 reg = <0xfc008000 0x100>;
827 clocks = <&uart3_clk>;
828 clock-names = "usart";
832 uart4: serial@fc00c000 {
833 compatible = "atmel,at91sam9260-usart";
834 reg = <0xfc00c000 0x100>;
835 clocks = <&uart4_clk>;
836 clock-names = "usart";
840 flx4: flexcom@fc018000 {
841 compatible = "atmel,sama5d2-flexcom";
842 reg = <0xfc018000 0x200>;
843 clocks = <&flx4_clk>;
844 #address-cells = <1>;
846 ranges = <0x0 0xfc018000 0x800>;
850 compatible = "atmel,sama5d2-i2c";
852 #address-cells = <1>;
854 clocks = <&flx4_clk>;
855 clock-names = "i2c6_clk";
860 aic: interrupt-controller@fc020000 {
861 #interrupt-cells = <3>;
862 compatible = "atmel,sama5d2-aic";
863 interrupt-controller;
864 reg = <0xfc020000 0x200>;
865 atmel,external-irqs = <49>;
869 compatible = "atmel,sama5d2-i2c";
870 reg = <0xfc028000 0x100>;
871 #address-cells = <1>;
873 clocks = <&twi1_clk>;
877 pioA: pinctrl@fc038000 {
878 compatible = "atmel,sama5d2-pinctrl";
879 reg = <0xfc038000 0x600>;
880 clocks = <&pioA_clk>;
888 onewire_tm: onewire {
889 compatible = "w1-gpio";