2 * sama5d4.dtsi - Device Tree Include file for SAMA5D4 family SoC
4 * Copyright (C) 2014 Atmel,
5 * 2014 Nicolas Ferre <nicolas.ferre@atmel.com>
7 * This file is dual-licensed: you can use it either under the terms
8 * of the GPL or the X11 license, at your option. Note that this dual
9 * licensing only applies to this file, and not this project as a
12 * a) This file is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License as
14 * published by the Free Software Foundation; either version 2 of the
15 * License, or (at your option) any later version.
17 * This file is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
24 * b) Permission is hereby granted, free of charge, to any person
25 * obtaining a copy of this software and associated documentation
26 * files (the "Software"), to deal in the Software without
27 * restriction, including without limitation the rights to use,
28 * copy, modify, merge, publish, distribute, sublicense, and/or
29 * sell copies of the Software, and to permit persons to whom the
30 * Software is furnished to do so, subject to the following
33 * The above copyright notice and this permission notice shall be
34 * included in all copies or substantial portions of the Software.
36 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
37 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
38 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
39 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
40 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
41 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
42 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
43 * OTHER DEALINGS IN THE SOFTWARE.
46 #include "skeleton.dtsi"
47 #include <dt-bindings/clock/at91.h>
48 #include <dt-bindings/dma/at91.h>
49 #include <dt-bindings/pinctrl/at91.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
51 #include <dt-bindings/gpio/gpio.h>
54 model = "Atmel SAMA5D4 family SoC";
55 compatible = "atmel,sama5d4";
56 interrupt-parent = <&aic>;
86 compatible = "arm,cortex-a5";
88 next-level-cache = <&L2>;
93 reg = <0x20000000 0x20000000>;
97 slow_xtal: slow_xtal {
98 compatible = "fixed-clock";
100 clock-frequency = <0>;
103 main_xtal: main_xtal {
104 compatible = "fixed-clock";
106 clock-frequency = <0>;
109 adc_op_clk: adc_op_clk{
110 compatible = "fixed-clock";
112 clock-frequency = <1000000>;
116 ns_sram: sram@00210000 {
117 compatible = "mmio-sram";
118 reg = <0x00210000 0x10000>;
122 compatible = "simple-bus";
123 #address-cells = <1>;
128 usb0: gadget@00400000 {
129 #address-cells = <1>;
131 compatible = "atmel,sama5d3-udc";
132 reg = <0x00400000 0x100000
134 interrupts = <47 IRQ_TYPE_LEVEL_HIGH 2>;
135 clocks = <&udphs_clk>, <&utmi>;
136 clock-names = "pclk", "hclk";
141 atmel,fifo-size = <64>;
142 atmel,nb-banks = <1>;
147 atmel,fifo-size = <1024>;
148 atmel,nb-banks = <3>;
155 atmel,fifo-size = <1024>;
156 atmel,nb-banks = <3>;
163 atmel,fifo-size = <1024>;
164 atmel,nb-banks = <2>;
171 atmel,fifo-size = <1024>;
172 atmel,nb-banks = <2>;
179 atmel,fifo-size = <1024>;
180 atmel,nb-banks = <2>;
187 atmel,fifo-size = <1024>;
188 atmel,nb-banks = <2>;
195 atmel,fifo-size = <1024>;
196 atmel,nb-banks = <2>;
203 atmel,fifo-size = <1024>;
204 atmel,nb-banks = <2>;
210 atmel,fifo-size = <1024>;
211 atmel,nb-banks = <2>;
217 atmel,fifo-size = <1024>;
218 atmel,nb-banks = <2>;
224 atmel,fifo-size = <1024>;
225 atmel,nb-banks = <2>;
231 atmel,fifo-size = <1024>;
232 atmel,nb-banks = <2>;
238 atmel,fifo-size = <1024>;
239 atmel,nb-banks = <2>;
245 atmel,fifo-size = <1024>;
246 atmel,nb-banks = <2>;
252 atmel,fifo-size = <1024>;
253 atmel,nb-banks = <2>;
258 usb1: ohci@00500000 {
259 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
260 reg = <0x00500000 0x100000>;
261 interrupts = <46 IRQ_TYPE_LEVEL_HIGH 2>;
262 clocks = <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
263 clock-names = "ohci_clk", "hclk", "uhpck";
267 usb2: ehci@00600000 {
268 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
269 reg = <0x00600000 0x100000>;
270 interrupts = <46 IRQ_TYPE_LEVEL_HIGH 2>;
271 clocks = <&utmi>, <&uhphs_clk>;
272 clock-names = "usb_clk", "ehci_clk";
276 L2: cache-controller@00a00000 {
277 compatible = "arm,pl310-cache";
278 reg = <0x00a00000 0x1000>;
279 interrupts = <67 IRQ_TYPE_LEVEL_HIGH 4>;
284 nand0: nand@80000000 {
285 compatible = "atmel,sama5d4-nand", "atmel,at91rm9200-nand";
286 #address-cells = <1>;
289 reg = < 0x80000000 0x08000000 /* EBI CS3 */
290 0xfc05c070 0x00000490 /* SMC PMECC regs */
291 0xfc05c500 0x00000100 /* SMC PMECC Error Location regs */
293 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 6>;
294 atmel,nand-addr-offset = <21>;
295 atmel,nand-cmd-offset = <22>;
297 pinctrl-names = "default";
298 pinctrl-0 = <&pinctrl_nand>;
302 compatible = "atmel,sama5d3-nfc";
303 #address-cells = <1>;
306 0x90000000 0x08000000 /* NFC Command Registers */
307 0xfc05c000 0x00000070 /* NFC HSMC regs */
308 0x00100000 0x00100000 /* NFC SRAM banks */
310 clocks = <&hsmc_clk>;
316 compatible = "simple-bus";
317 #address-cells = <1>;
322 hlcdc: hlcdc@f0000000 {
323 compatible = "atmel,at91sam9x5-hlcdc";
324 reg = <0xf0000000 0x4000>;
325 interrupts = <51 IRQ_TYPE_LEVEL_HIGH 0>;
326 clocks = <&lcdc_clk>, <&lcdck>, <&clk32k>;
327 clock-names = "periph_clk","sys_clk", "slow_clk";
331 dma1: dma-controller@f0004000 {
332 compatible = "atmel,sama5d4-dma";
333 reg = <0xf0004000 0x200>;
334 interrupts = <50 IRQ_TYPE_LEVEL_HIGH 0>;
336 clocks = <&dma1_clk>;
337 clock-names = "dma_clk";
341 compatible = "atmel,at91sam9g45-isi";
342 reg = <0xf0008000 0x4000>;
343 interrupts = <52 IRQ_TYPE_LEVEL_HIGH 5>;
344 pinctrl-names = "default";
345 pinctrl-0 = <&pinctrl_isi_data_0_7>;
347 clock-names = "isi_clk";
350 #address-cells = <1>;
355 ramc0: ramc@f0010000 {
356 compatible = "atmel,sama5d3-ddramc";
357 reg = <0xf0010000 0x200>;
358 clocks = <&ddrck>, <&mpddr_clk>;
359 clock-names = "ddrck", "mpddr";
362 dma0: dma-controller@f0014000 {
363 compatible = "atmel,sama5d4-dma";
364 reg = <0xf0014000 0x200>;
365 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 0>;
367 clocks = <&dma0_clk>;
368 clock-names = "dma_clk";
372 compatible = "atmel,sama5d3-pmc", "syscon";
373 reg = <0xf0018000 0x120>;
374 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
375 interrupt-controller;
376 #address-cells = <1>;
378 #interrupt-cells = <1>;
381 main_rc_osc: main_rc_osc {
382 compatible = "atmel,at91sam9x5-clk-main-rc-osc";
384 interrupt-parent = <&pmc>;
385 interrupts = <AT91_PMC_MOSCRCS>;
386 clock-frequency = <12000000>;
387 clock-accuracy = <100000000>;
391 compatible = "atmel,at91rm9200-clk-main-osc";
393 interrupt-parent = <&pmc>;
394 interrupts = <AT91_PMC_MOSCS>;
395 clocks = <&main_xtal>;
399 compatible = "atmel,at91sam9x5-clk-main";
401 interrupt-parent = <&pmc>;
402 interrupts = <AT91_PMC_MOSCSELS>;
403 clocks = <&main_rc_osc &main_osc>;
408 compatible = "atmel,sama5d3-clk-pll";
410 interrupt-parent = <&pmc>;
411 interrupts = <AT91_PMC_LOCKA>;
414 atmel,clk-input-range = <12000000 12000000>;
415 #atmel,pll-clk-output-range-cells = <4>;
416 atmel,pll-clk-output-ranges = <600000000 1200000000 0 0>;
420 compatible = "atmel,at91sam9x5-clk-plldiv";
426 compatible = "atmel,at91sam9x5-clk-utmi";
428 interrupt-parent = <&pmc>;
429 interrupts = <AT91_PMC_LOCKU>;
435 compatible = "atmel,at91sam9x5-clk-master";
437 interrupt-parent = <&pmc>;
438 interrupts = <AT91_PMC_MCKRDY>;
439 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>;
440 atmel,clk-output-range = <125000000 200000000>;
441 atmel,clk-divisors = <1 2 4 3>;
446 compatible = "atmel,sama5d4-clk-h32mx";
452 compatible = "atmel,at91sam9x5-clk-usb";
454 clocks = <&plladiv>, <&utmi>;
458 compatible = "atmel,at91sam9x5-clk-programmable";
459 #address-cells = <1>;
461 interrupt-parent = <&pmc>;
462 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>;
467 interrupts = <AT91_PMC_PCKRDY(0)>;
473 interrupts = <AT91_PMC_PCKRDY(1)>;
479 interrupts = <AT91_PMC_PCKRDY(2)>;
484 compatible = "atmel,at91sam9x5-clk-smd";
486 clocks = <&plladiv>, <&utmi>;
490 compatible = "atmel,at91rm9200-clk-system";
491 #address-cells = <1>;
545 compatible = "atmel,at91sam9x5-clk-peripheral";
546 #address-cells = <1>;
551 pioD_clk: pioD_clk@5 {
557 usart0_clk: usart0_clk@6 {
562 usart1_clk: usart1_clk@7 {
572 aes_clk: aes_clk@12 {
577 tdes_clk: tdes_clk@14 {
582 sha_clk: sha_clk@15 {
587 matrix1_clk: matrix1_clk@17 {
592 hsmc_clk: hsmc_clk@22 {
597 pioA_clk: pioA_clk@23 {
603 pioB_clk: pioB_clk@24 {
609 pioC_clk: pioC_clk@25 {
615 pioE_clk: pioE_clk@26 {
621 uart0_clk: uart0_clk@27 {
626 uart1_clk: uart1_clk@28 {
631 usart2_clk: usart2_clk@29 {
636 usart3_clk: usart3_clk@30 {
642 usart4_clk: usart4_clk@31 {
647 twi0_clk: twi0_clk@32 {
652 twi1_clk: twi1_clk@33 {
657 twi2_clk: twi2_clk@34 {
662 mci0_clk: mci0_clk@35 {
667 mci1_clk: mci1_clk@36 {
673 spi0_clk: spi0_clk@37 {
679 spi1_clk: spi1_clk@38 {
684 spi2_clk: spi2_clk@39 {
689 tcb0_clk: tcb0_clk@40 {
694 tcb1_clk: tcb1_clk@41 {
699 tcb2_clk: tcb2_clk@42 {
704 pwm_clk: pwm_clk@43 {
709 adc_clk: adc_clk@44 {
714 dbgu_clk: dbgu_clk@45 {
719 uhphs_clk: uhphs_clk@46 {
724 udphs_clk: udphs_clk@47 {
729 ssc0_clk: ssc0_clki@48 {
734 ssc1_clk: ssc1_clk@49 {
739 trng_clk: trng_clk@53 {
744 macb0_clk: macb0_clk@54 {
749 macb1_clk: macb1_clk@55 {
754 fuse_clk: fuse_clk@57 {
759 securam_clk: securam_clk@59 {
764 smd_clk: smd_clk@61 {
769 twi3_clk: twi3_clk@62 {
774 catb_clk: catb_clk@63 {
781 compatible = "atmel,at91sam9x5-clk-peripheral";
782 #address-cells = <1>;
786 dma0_clk: dma0_clk@8 {
791 cpkcc_clk: cpkcc_clk@10 {
796 aesb_clk: aesb_clk@13 {
801 mpddr_clk: mpddr_clk@16 {
806 matrix0_clk: matrix0_clk@18 {
811 vdec_clk: vdec_clk@19 {
816 dma1_clk: dma1_clk@50 {
821 lcdc_clk: lcdc_clk@51 {
826 isi_clk: isi_clk@52 {
834 compatible = "atmel,hsmci";
835 reg = <0xf8000000 0x600>;
836 interrupts = <35 IRQ_TYPE_LEVEL_HIGH 0>;
838 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
839 | AT91_XDMAC_DT_PERID(0))>;
841 pinctrl-names = "default";
842 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3>;
844 #address-cells = <1>;
846 clocks = <&mci0_clk>;
847 clock-names = "mci_clk";
850 uart0: serial@f8004000 {
851 compatible = "atmel,at91sam9260-usart";
852 reg = <0xf8004000 0x100>;
853 interrupts = <27 IRQ_TYPE_LEVEL_HIGH 5>;
855 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
856 | AT91_XDMAC_DT_PERID(22))>,
858 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
859 | AT91_XDMAC_DT_PERID(23))>;
860 dma-names = "tx", "rx";
861 pinctrl-names = "default";
862 pinctrl-0 = <&pinctrl_uart0>;
863 clocks = <&uart0_clk>;
864 clock-names = "usart";
869 compatible = "atmel,at91sam9g45-ssc";
870 reg = <0xf8008000 0x4000>;
871 interrupts = <48 IRQ_TYPE_LEVEL_HIGH 0>;
872 pinctrl-names = "default";
873 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
875 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
876 | AT91_XDMAC_DT_PERID(26))>,
878 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
879 | AT91_XDMAC_DT_PERID(27))>;
880 dma-names = "tx", "rx";
881 clocks = <&ssc0_clk>;
882 clock-names = "pclk";
887 compatible = "atmel,sama5d3-pwm";
888 reg = <0xf800c000 0x300>;
889 interrupts = <43 IRQ_TYPE_LEVEL_HIGH 4>;
896 #address-cells = <1>;
898 compatible = "atmel,at91rm9200-spi";
899 reg = <0xf8010000 0x100>;
900 interrupts = <37 IRQ_TYPE_LEVEL_HIGH 3>;
902 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
903 | AT91_XDMAC_DT_PERID(10))>,
905 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
906 | AT91_XDMAC_DT_PERID(11))>;
907 dma-names = "tx", "rx";
908 pinctrl-names = "default";
909 pinctrl-0 = <&pinctrl_spi0>;
910 clocks = <&spi0_clk>;
911 clock-names = "spi_clk";
916 compatible = "atmel,sama5d4-i2c";
917 reg = <0xf8014000 0x4000>;
918 interrupts = <32 IRQ_TYPE_LEVEL_HIGH 6>;
920 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
921 | AT91_XDMAC_DT_PERID(2))>,
923 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
924 | AT91_XDMAC_DT_PERID(3))>;
925 dma-names = "tx", "rx";
926 pinctrl-names = "default";
927 pinctrl-0 = <&pinctrl_i2c0>;
928 #address-cells = <1>;
930 clocks = <&twi0_clk>;
935 compatible = "atmel,sama5d4-i2c";
936 reg = <0xf8018000 0x4000>;
937 interrupts = <33 IRQ_TYPE_LEVEL_HIGH 6>;
939 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
940 | AT91_XDMAC_DT_PERID(4))>,
942 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
943 | AT91_XDMAC_DT_PERID(5))>;
944 dma-names = "tx", "rx";
945 pinctrl-names = "default";
946 pinctrl-0 = <&pinctrl_i2c1>;
947 #address-cells = <1>;
949 clocks = <&twi1_clk>;
953 tcb0: timer@f801c000 {
954 compatible = "atmel,at91sam9x5-tcb";
955 reg = <0xf801c000 0x100>;
956 interrupts = <40 IRQ_TYPE_LEVEL_HIGH 0>;
957 clocks = <&tcb0_clk>, <&clk32k>;
958 clock-names = "t0_clk", "slow_clk";
961 macb0: ethernet@f8020000 {
962 compatible = "atmel,sama5d4-gem";
963 reg = <0xf8020000 0x100>;
964 interrupts = <54 IRQ_TYPE_LEVEL_HIGH 3>;
965 pinctrl-names = "default";
966 pinctrl-0 = <&pinctrl_macb0_rmii>;
967 #address-cells = <1>;
969 clocks = <&macb0_clk>, <&macb0_clk>;
970 clock-names = "hclk", "pclk";
975 compatible = "atmel,sama5d4-i2c";
976 reg = <0xf8024000 0x4000>;
977 interrupts = <34 IRQ_TYPE_LEVEL_HIGH 6>;
979 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
980 | AT91_XDMAC_DT_PERID(6))>,
982 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
983 | AT91_XDMAC_DT_PERID(7))>;
984 dma-names = "tx", "rx";
985 pinctrl-names = "default";
986 pinctrl-0 = <&pinctrl_i2c2>;
987 #address-cells = <1>;
989 clocks = <&twi2_clk>;
994 compatible = "atmel,sama5d4-sfr", "syscon";
995 reg = <0xf8028000 0x60>;
998 usart0: serial@f802c000 {
999 compatible = "atmel,at91sam9260-usart";
1000 reg = <0xf802c000 0x100>;
1001 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
1003 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1004 | AT91_XDMAC_DT_PERID(36))>,
1006 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1007 | AT91_XDMAC_DT_PERID(37))>;
1008 dma-names = "tx", "rx";
1009 pinctrl-names = "default";
1010 pinctrl-0 = <&pinctrl_usart0 &pinctrl_usart0_rts &pinctrl_usart0_cts>;
1011 clocks = <&usart0_clk>;
1012 clock-names = "usart";
1013 status = "disabled";
1016 usart1: serial@f8030000 {
1017 compatible = "atmel,at91sam9260-usart";
1018 reg = <0xf8030000 0x100>;
1019 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
1021 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1022 | AT91_XDMAC_DT_PERID(38))>,
1024 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1025 | AT91_XDMAC_DT_PERID(39))>;
1026 dma-names = "tx", "rx";
1027 pinctrl-names = "default";
1028 pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts &pinctrl_usart1_cts>;
1029 clocks = <&usart1_clk>;
1030 clock-names = "usart";
1031 status = "disabled";
1034 mmc1: mmc@fc000000 {
1035 compatible = "atmel,hsmci";
1036 reg = <0xfc000000 0x600>;
1037 interrupts = <36 IRQ_TYPE_LEVEL_HIGH 0>;
1039 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1040 | AT91_XDMAC_DT_PERID(1))>;
1042 pinctrl-names = "default";
1043 pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3>;
1044 status = "disabled";
1045 #address-cells = <1>;
1047 clocks = <&mci1_clk>;
1048 clock-names = "mci_clk";
1051 uart1: serial@fc004000 {
1052 compatible = "atmel,at91sam9260-usart";
1053 reg = <0xfc004000 0x100>;
1054 interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>;
1056 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1057 | AT91_XDMAC_DT_PERID(24))>,
1059 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1060 | AT91_XDMAC_DT_PERID(25))>;
1061 dma-names = "tx", "rx";
1062 pinctrl-names = "default";
1063 pinctrl-0 = <&pinctrl_uart1>;
1064 clocks = <&uart1_clk>;
1065 clock-names = "usart";
1066 status = "disabled";
1069 usart2: serial@fc008000 {
1070 compatible = "atmel,at91sam9260-usart";
1071 reg = <0xfc008000 0x100>;
1072 interrupts = <29 IRQ_TYPE_LEVEL_HIGH 5>;
1074 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1075 | AT91_XDMAC_DT_PERID(16))>,
1077 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1078 | AT91_XDMAC_DT_PERID(17))>;
1079 dma-names = "tx", "rx";
1080 pinctrl-names = "default";
1081 pinctrl-0 = <&pinctrl_usart2 &pinctrl_usart2_rts &pinctrl_usart2_cts>;
1082 clocks = <&usart2_clk>;
1083 clock-names = "usart";
1084 status = "disabled";
1087 usart3: serial@fc00c000 {
1088 compatible = "atmel,at91sam9260-usart";
1089 reg = <0xfc00c000 0x100>;
1090 interrupts = <30 IRQ_TYPE_LEVEL_HIGH 5>;
1092 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1093 | AT91_XDMAC_DT_PERID(18))>,
1095 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1096 | AT91_XDMAC_DT_PERID(19))>;
1097 dma-names = "tx", "rx";
1098 pinctrl-names = "default";
1099 pinctrl-0 = <&pinctrl_usart3>;
1100 clocks = <&usart3_clk>;
1101 clock-names = "usart";
1102 status = "disabled";
1105 usart4: serial@fc010000 {
1106 compatible = "atmel,at91sam9260-usart";
1107 reg = <0xfc010000 0x100>;
1108 interrupts = <31 IRQ_TYPE_LEVEL_HIGH 5>;
1110 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1111 | AT91_XDMAC_DT_PERID(20))>,
1113 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1114 | AT91_XDMAC_DT_PERID(21))>;
1115 dma-names = "tx", "rx";
1116 pinctrl-names = "default";
1117 pinctrl-0 = <&pinctrl_usart4>;
1118 clocks = <&usart4_clk>;
1119 clock-names = "usart";
1120 status = "disabled";
1123 ssc1: ssc@fc014000 {
1124 compatible = "atmel,at91sam9g45-ssc";
1125 reg = <0xfc014000 0x4000>;
1126 interrupts = <49 IRQ_TYPE_LEVEL_HIGH 0>;
1127 pinctrl-names = "default";
1128 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
1130 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1131 | AT91_XDMAC_DT_PERID(28))>,
1133 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1134 | AT91_XDMAC_DT_PERID(29))>;
1135 dma-names = "tx", "rx";
1136 clocks = <&ssc1_clk>;
1137 clock-names = "pclk";
1138 status = "disabled";
1141 spi1: spi@fc018000 {
1142 #address-cells = <1>;
1144 compatible = "atmel,at91rm9200-spi";
1145 reg = <0xfc018000 0x100>;
1146 interrupts = <38 IRQ_TYPE_LEVEL_HIGH 3>;
1148 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1149 | AT91_XDMAC_DT_PERID(12))>,
1151 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1152 | AT91_XDMAC_DT_PERID(13))>;
1153 dma-names = "tx", "rx";
1154 pinctrl-names = "default";
1155 pinctrl-0 = <&pinctrl_spi1>;
1156 clocks = <&spi1_clk>;
1157 clock-names = "spi_clk";
1158 status = "disabled";
1161 spi2: spi@fc01c000 {
1162 #address-cells = <1>;
1164 compatible = "atmel,at91rm9200-spi";
1165 reg = <0xfc01c000 0x100>;
1166 interrupts = <39 IRQ_TYPE_LEVEL_HIGH 3>;
1168 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1169 | AT91_XDMAC_DT_PERID(14))>,
1171 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1172 | AT91_XDMAC_DT_PERID(15))>;
1173 dma-names = "tx", "rx";
1174 pinctrl-names = "default";
1175 pinctrl-0 = <&pinctrl_spi2>;
1176 clocks = <&spi2_clk>;
1177 clock-names = "spi_clk";
1178 status = "disabled";
1181 tcb1: timer@fc020000 {
1182 compatible = "atmel,at91sam9x5-tcb";
1183 reg = <0xfc020000 0x100>;
1184 interrupts = <41 IRQ_TYPE_LEVEL_HIGH 0>;
1185 clocks = <&tcb1_clk>, <&clk32k>;
1186 clock-names = "t0_clk", "slow_clk";
1189 macb1: ethernet@fc028000 {
1190 compatible = "atmel,sama5d4-gem";
1191 reg = <0xfc028000 0x100>;
1192 interrupts = <55 IRQ_TYPE_LEVEL_HIGH 3>;
1193 pinctrl-names = "default";
1194 pinctrl-0 = <&pinctrl_macb1_rmii>;
1195 #address-cells = <1>;
1197 clocks = <&macb1_clk>, <&macb1_clk>;
1198 clock-names = "hclk", "pclk";
1199 status = "disabled";
1203 compatible = "atmel,at91sam9g45-trng";
1204 reg = <0xfc030000 0x100>;
1205 interrupts = <53 IRQ_TYPE_LEVEL_HIGH 0>;
1206 clocks = <&trng_clk>;
1209 adc0: adc@fc034000 {
1210 compatible = "atmel,at91sam9x5-adc";
1211 reg = <0xfc034000 0x100>;
1212 interrupts = <44 IRQ_TYPE_LEVEL_HIGH 5>;
1213 clocks = <&adc_clk>,
1215 clock-names = "adc_clk", "adc_op_clk";
1216 atmel,adc-channels-used = <0x01f>;
1217 atmel,adc-startup-time = <40>;
1218 atmel,adc-use-external-triggers;
1219 atmel,adc-vref = <3000>;
1220 atmel,adc-res = <8 10>;
1221 atmel,adc-sample-hold-time = <11>;
1222 atmel,adc-res-names = "lowres", "highres";
1223 atmel,adc-ts-pressure-threshold = <10000>;
1224 #address-cells = <1>;
1226 status = "disabled";
1229 trigger-name = "external-rising";
1230 trigger-value = <0x1>;
1235 trigger-name = "external-falling";
1236 trigger-value = <0x2>;
1241 trigger-name = "external-any";
1242 trigger-value = <0x3>;
1247 trigger-name = "continuous";
1248 trigger-value = <0x6>;
1254 compatible = "atmel,at91sam9g46-aes";
1255 reg = <0xfc044000 0x100>;
1256 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>;
1257 dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1258 | AT91_XDMAC_DT_PERID(41))>,
1259 <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1260 | AT91_XDMAC_DT_PERID(40))>;
1261 dma-names = "tx", "rx";
1262 clocks = <&aes_clk>;
1263 clock-names = "aes_clk";
1268 compatible = "atmel,at91sam9g46-tdes";
1269 reg = <0xfc04c000 0x100>;
1270 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 0>;
1271 dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1272 | AT91_XDMAC_DT_PERID(42))>,
1273 <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1274 | AT91_XDMAC_DT_PERID(43))>;
1275 dma-names = "tx", "rx";
1276 clocks = <&tdes_clk>;
1277 clock-names = "tdes_clk";
1282 compatible = "atmel,at91sam9g46-sha";
1283 reg = <0xfc050000 0x100>;
1284 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 0>;
1285 dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
1286 | AT91_XDMAC_DT_PERID(44))>;
1288 clocks = <&sha_clk>;
1289 clock-names = "sha_clk";
1294 compatible = "atmel,sama5d3-rstc", "atmel,at91sam9g45-rstc";
1295 reg = <0xfc068600 0x10>;
1300 compatible = "atmel,at91sam9x5-shdwc";
1301 reg = <0xfc068610 0x10>;
1305 pit: timer@fc068630 {
1306 compatible = "atmel,at91sam9260-pit";
1307 reg = <0xfc068630 0x10>;
1308 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 5>;
1313 compatible = "atmel,sama5d4-wdt";
1314 reg = <0xfc068640 0x10>;
1315 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 7>;
1317 status = "disabled";
1321 compatible = "atmel,at91sam9x5-sckc";
1322 reg = <0xfc068650 0x4>;
1324 slow_rc_osc: slow_rc_osc {
1325 compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
1327 clock-frequency = <32768>;
1328 clock-accuracy = <250000000>;
1329 atmel,startup-time-usec = <75>;
1332 slow_osc: slow_osc {
1333 compatible = "atmel,at91sam9x5-clk-slow-osc";
1335 clocks = <&slow_xtal>;
1336 atmel,startup-time-usec = <1200000>;
1340 compatible = "atmel,at91sam9x5-clk-slow";
1342 clocks = <&slow_rc_osc &slow_osc>;
1347 compatible = "atmel,at91rm9200-rtc";
1348 reg = <0xfc0686b0 0x30>;
1349 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1353 dbgu: serial@fc069000 {
1354 compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
1355 reg = <0xfc069000 0x200>;
1356 interrupts = <45 IRQ_TYPE_LEVEL_HIGH 7>;
1357 pinctrl-names = "default";
1358 pinctrl-0 = <&pinctrl_dbgu>;
1359 clocks = <&dbgu_clk>;
1360 clock-names = "usart";
1361 status = "disabled";
1364 pioA: gpio@fc06a000 {
1365 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
1366 reg = <0xfc06a000 0x100>;
1367 interrupts = <23 IRQ_TYPE_LEVEL_HIGH 1>;
1370 interrupt-controller;
1371 #interrupt-cells = <2>;
1372 clocks = <&pioA_clk>;
1375 pioB: gpio@fc06b000 {
1376 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
1377 reg = <0xfc06b000 0x100>;
1378 interrupts = <24 IRQ_TYPE_LEVEL_HIGH 1>;
1381 interrupt-controller;
1382 #interrupt-cells = <2>;
1383 clocks = <&pioB_clk>;
1386 pioC: gpio@fc06c000 {
1387 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
1388 reg = <0xfc06c000 0x100>;
1389 interrupts = <25 IRQ_TYPE_LEVEL_HIGH 1>;
1392 interrupt-controller;
1393 #interrupt-cells = <2>;
1394 clocks = <&pioC_clk>;
1395 u-boot,dm-pre-reloc;
1398 pioD: gpio@fc068000 {
1399 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
1400 reg = <0xfc068000 0x100>;
1401 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
1404 interrupt-controller;
1405 #interrupt-cells = <2>;
1406 clocks = <&pioD_clk>;
1409 pioE: gpio@fc06d000 {
1410 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
1411 reg = <0xfc06d000 0x100>;
1412 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 1>;
1415 interrupt-controller;
1416 #interrupt-cells = <2>;
1417 clocks = <&pioE_clk>;
1421 u-boot,dm-pre-reloc;
1422 #address-cells = <1>;
1424 compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
1425 ranges = <0xfc068000 0xfc068000 0x100
1426 0xfc06a000 0xfc06a000 0x4000>;
1427 /* WARNING: revisit as pin spec has changed */
1430 0xffffffff 0x3ffcfe7c 0x1c010101 /* pioA */
1431 0x7fffffff 0xfffccc3a 0x3f00cc3a /* pioB */
1432 0xffffffff 0x3ff83fff 0xff00ffff /* pioC */
1433 0x0003ff00 0x8002a800 0x00000000 /* pioD */
1434 0xffffffff 0x7fffffff 0x76fff1bf /* pioE */
1436 reg = < 0xfc06a000 0x100
1443 /* pinctrl pin settings */
1445 pinctrl_adc0_adtrg: adc0_adtrg {
1447 <AT91_PIOE 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* conflicts with USBA_VBUS */
1449 pinctrl_adc0_ad0: adc0_ad0 {
1451 <AT91_PIOC 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1453 pinctrl_adc0_ad1: adc0_ad1 {
1455 <AT91_PIOC 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1457 pinctrl_adc0_ad2: adc0_ad2 {
1459 <AT91_PIOC 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1461 pinctrl_adc0_ad3: adc0_ad3 {
1463 <AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1465 pinctrl_adc0_ad4: adc0_ad4 {
1467 <AT91_PIOC 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1472 pinctrl_dbgu: dbgu-0 {
1474 <AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE>, /* conflicts with D14 and TDI */
1475 <AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* conflicts with D15 and TDO */
1480 pinctrl_i2c0: i2c0-0 {
1482 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE
1483 AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1488 pinctrl_i2c1: i2c1-0 {
1490 <AT91_PIOE 29 AT91_PERIPH_C AT91_PINCTRL_NONE /* TWD1, conflicts with UART0 RX and DIBP */
1491 AT91_PIOE 30 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* TWCK1, conflicts with UART0 TX and DIBN */
1496 pinctrl_i2c2: i2c2-0 {
1498 <AT91_PIOB 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* TWD2, conflicts with RD0 and PWML1 */
1499 AT91_PIOB 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* TWCK2, conflicts with RF0 */
1504 pinctrl_isi_data_0_7: isi-0-data-0-7 {
1506 <AT91_PIOC 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* ISI_D0 */
1507 AT91_PIOC 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* ISI_D1 */
1508 AT91_PIOC 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* ISI_D2 */
1509 AT91_PIOC 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* ISI_D3 */
1510 AT91_PIOC 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* ISI_D4 */
1511 AT91_PIOC 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* ISI_D5 */
1512 AT91_PIOC 25 AT91_PERIPH_A AT91_PINCTRL_NONE /* ISI_D6 */
1513 AT91_PIOC 26 AT91_PERIPH_A AT91_PINCTRL_NONE /* ISI_D7 */
1514 AT91_PIOB 1 AT91_PERIPH_C AT91_PINCTRL_NONE /* ISI_PCK, conflict with G0_RXCK */
1515 AT91_PIOB 3 AT91_PERIPH_C AT91_PINCTRL_NONE /* ISI_VSYNC */
1516 AT91_PIOB 4 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* ISI_HSYNC */
1518 pinctrl_isi_data_8_9: isi-0-data-8-9 {
1520 <AT91_PIOC 0 AT91_PERIPH_C AT91_PINCTRL_NONE /* ISI_D8, conflicts with SPI0_MISO, PWMH2 */
1521 AT91_PIOC 1 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* ISI_D9, conflicts with SPI0_MOSI, PWML2 */
1523 pinctrl_isi_data_10_11: isi-0-data-10-11 {
1525 <AT91_PIOC 2 AT91_PERIPH_C AT91_PINCTRL_NONE /* ISI_D10, conflicts with SPI0_SPCK, PWMH3 */
1526 AT91_PIOC 3 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* ISI_D11, conflicts with SPI0_NPCS0, PWML3 */
1531 pinctrl_lcd_base: lcd-base-0 {
1533 <AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDVSYNC */
1534 AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDHSYNC */
1535 AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDDEN */
1536 AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* LCDPCK */
1538 pinctrl_lcd_pwm: lcd-pwm-0 {
1539 atmel,pins = <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* LCDPWM */
1541 pinctrl_lcd_rgb444: lcd-rgb-0 {
1543 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD0 pin */
1544 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD1 pin */
1545 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD2 pin */
1546 AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD3 pin */
1547 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD4 pin */
1548 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD5 pin */
1549 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD6 pin */
1550 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD7 pin */
1551 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD8 pin */
1552 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD9 pin */
1553 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD10 pin */
1554 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* LCDD11 pin */
1556 pinctrl_lcd_rgb565: lcd-rgb-1 {
1558 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD0 pin */
1559 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD1 pin */
1560 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD2 pin */
1561 AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD3 pin */
1562 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD4 pin */
1563 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD5 pin */
1564 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD6 pin */
1565 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD7 pin */
1566 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD8 pin */
1567 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD9 pin */
1568 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD10 pin */
1569 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD11 pin */
1570 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD12 pin */
1571 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD13 pin */
1572 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD14 pin */
1573 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* LCDD15 pin */
1575 pinctrl_lcd_rgb666: lcd-rgb-2 {
1577 <AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD2 pin */
1578 AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD3 pin */
1579 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD4 pin */
1580 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD5 pin */
1581 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD6 pin */
1582 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD7 pin */
1583 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD10 pin */
1584 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD11 pin */
1585 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD12 pin */
1586 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD13 pin */
1587 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD14 pin */
1588 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD15 pin */
1589 AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD18 pin */
1590 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD19 pin */
1591 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD20 pin */
1592 AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD21 pin */
1593 AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD22 pin */
1594 AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* LCDD23 pin */
1596 pinctrl_lcd_rgb777: lcd-rgb-3 {
1598 /* LCDDAT0 conflicts with TMS */
1599 <AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD1 pin */
1600 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD2 pin */
1601 AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD3 pin */
1602 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD4 pin */
1603 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD5 pin */
1604 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD6 pin */
1605 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD7 pin */
1606 /* LCDDAT8 conflicts with TCK */
1607 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD9 pin */
1608 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD10 pin */
1609 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD11 pin */
1610 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD12 pin */
1611 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD13 pin */
1612 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD14 pin */
1613 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD15 pin */
1614 /* LCDDAT16 conflicts with NTRST */
1615 AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD17 pin */
1616 AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD18 pin */
1617 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD19 pin */
1618 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD20 pin */
1619 AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD21 pin */
1620 AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD22 pin */
1621 AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* LCDD23 pin */
1623 pinctrl_lcd_rgb888: lcd-rgb-4 {
1625 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD0 pin */
1626 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD1 pin */
1627 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD2 pin */
1628 AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD3 pin */
1629 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD4 pin */
1630 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD5 pin */
1631 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD6 pin */
1632 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD7 pin */
1633 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD8 pin */
1634 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD9 pin */
1635 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD10 pin */
1636 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD11 pin */
1637 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD12 pin */
1638 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD13 pin */
1639 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD14 pin */
1640 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD15 pin */
1641 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD16 pin */
1642 AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD17 pin */
1643 AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD18 pin */
1644 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD19 pin */
1645 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD20 pin */
1646 AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD21 pin */
1647 AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD22 pin */
1648 AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* LCDD23 pin */
1653 pinctrl_macb0_rmii: macb0_rmii-0 {
1655 <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* G0_TX0 */
1656 AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* G0_TX1 */
1657 AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* G0_RX0 */
1658 AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* G0_RX1 */
1659 AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* G0_RXDV */
1660 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* G0_RXER */
1661 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* G0_TXEN */
1662 AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* G0_TXCK */
1663 AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* G0_MDC */
1664 AT91_PIOB 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* G0_MDIO */
1670 pinctrl_macb1_rmii: macb1_rmii-0 {
1672 <AT91_PIOA 14 AT91_PERIPH_B AT91_PINCTRL_NONE /* G1_TX0 */
1673 AT91_PIOA 15 AT91_PERIPH_B AT91_PINCTRL_NONE /* G1_TX1 */
1674 AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_NONE /* G1_RX0 */
1675 AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE /* G1_RX1 */
1676 AT91_PIOA 10 AT91_PERIPH_B AT91_PINCTRL_NONE /* G1_RXDV */
1677 AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_NONE /* G1_RXER */
1678 AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_NONE /* G1_TXEN */
1679 AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_NONE /* G1_TXCK */
1680 AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE /* G1_MDC */
1681 AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE /* G1_MDIO */
1687 pinctrl_mmc0_clk_cmd_dat0: mmc0_clk_cmd_dat0 {
1689 <AT91_PIOC 4 AT91_PERIPH_B AT91_PINCTRL_NONE /* MCI0_CK, conflict with PCK1(ISI_MCK) */
1690 AT91_PIOC 5 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* MCI0_CDA, conflict with NAND_D0 */
1691 AT91_PIOC 6 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* MCI0_DA0, conflict with NAND_D1 */
1694 pinctrl_mmc0_dat1_3: mmc0_dat1_3 {
1696 <AT91_PIOC 7 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* MCI0_DA1, conflict with NAND_D2 */
1697 AT91_PIOC 8 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* MCI0_DA2, conflict with NAND_D3 */
1698 AT91_PIOC 9 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* MCI0_DA3, conflict with NAND_D4 */
1701 pinctrl_mmc0_dat4_7: mmc0_dat4_7 {
1703 <AT91_PIOC 10 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* MCI0_DA4, conflict with NAND_D5 */
1704 AT91_PIOC 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* MCI0_DA5, conflict with NAND_D6 */
1705 AT91_PIOC 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* MCI0_DA6, conflict with NAND_D7 */
1706 AT91_PIOC 13 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* MCI0_DA7, conflict with NAND_OE */
1712 u-boot,dm-pre-reloc;
1713 pinctrl_mmc1_clk_cmd_dat0: mmc1_clk_cmd_dat0 {
1714 u-boot,dm-pre-reloc;
1716 <AT91_PIOE 18 AT91_PERIPH_C AT91_PINCTRL_NONE /* MCI1_CK */
1717 AT91_PIOE 19 AT91_PERIPH_C AT91_PINCTRL_PULL_UP /* MCI1_CDA */
1718 AT91_PIOE 20 AT91_PERIPH_C AT91_PINCTRL_PULL_UP /* MCI1_DA0 */
1721 pinctrl_mmc1_dat1_3: mmc1_dat1_3 {
1722 u-boot,dm-pre-reloc;
1724 <AT91_PIOE 21 AT91_PERIPH_C AT91_PINCTRL_PULL_UP /* MCI1_DA1 */
1725 AT91_PIOE 22 AT91_PERIPH_C AT91_PINCTRL_PULL_UP /* MCI1_DA2 */
1726 AT91_PIOE 23 AT91_PERIPH_C AT91_PINCTRL_PULL_UP /* MCI1_DA3 */
1732 pinctrl_nand: nand-0 {
1734 <AT91_PIOC 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC13 periph A Read Enable */
1735 AT91_PIOC 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC14 periph A Write Enable */
1737 AT91_PIOC 17 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PC17 ALE */
1738 AT91_PIOC 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PC18 CLE */
1740 AT91_PIOC 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PC15 NCS3/Chip Enable */
1741 AT91_PIOC 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PC16 NANDRDY */
1742 AT91_PIOC 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC5 Data bit 0 */
1743 AT91_PIOC 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC6 Data bit 1 */
1744 AT91_PIOC 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC7 Data bit 2 */
1745 AT91_PIOC 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC8 Data bit 3 */
1746 AT91_PIOC 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC9 Data bit 4 */
1747 AT91_PIOC 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC10 Data bit 5 */
1748 AT91_PIOC 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC11 periph A Data bit 6 */
1749 AT91_PIOC 12 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PC12 periph A Data bit 7 */
1754 u-boot,dm-pre-reloc;
1755 pinctrl_spi0: spi0-0 {
1756 u-boot,dm-pre-reloc;
1758 <AT91_PIOC 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* SPI0_MISO */
1759 AT91_PIOC 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* SPI0_MOSI */
1760 AT91_PIOC 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* SPI0_SPCK */
1766 pinctrl_ssc0_tx: ssc0_tx {
1768 <AT91_PIOB 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* TK0 */
1769 AT91_PIOB 31 AT91_PERIPH_B AT91_PINCTRL_NONE /* TF0 */
1770 AT91_PIOB 28 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* TD0 */
1773 pinctrl_ssc0_rx: ssc0_rx {
1775 <AT91_PIOB 26 AT91_PERIPH_B AT91_PINCTRL_NONE /* RK0 */
1776 AT91_PIOB 30 AT91_PERIPH_B AT91_PINCTRL_NONE /* RF0 */
1777 AT91_PIOB 29 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* RD0 */
1782 pinctrl_ssc1_tx: ssc1_tx {
1784 <AT91_PIOC 19 AT91_PERIPH_B AT91_PINCTRL_NONE /* TK1 */
1785 AT91_PIOC 20 AT91_PERIPH_B AT91_PINCTRL_NONE /* TF1 */
1786 AT91_PIOC 21 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* TD1 */
1789 pinctrl_ssc1_rx: ssc1_rx {
1791 <AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE /* RK1 */
1792 AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_NONE /* RF1 */
1793 AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* RD1 */
1798 pinctrl_spi1: spi1-0 {
1800 <AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* SPI1_MISO */
1801 AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* SPI1_MOSI */
1802 AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* SPI1_SPCK */
1808 pinctrl_spi2: spi2-0 {
1810 <AT91_PIOD 11 AT91_PERIPH_B AT91_PINCTRL_NONE /* SPI2_MISO conflicts with RTS0 */
1811 AT91_PIOD 13 AT91_PERIPH_B AT91_PINCTRL_NONE /* SPI2_MOSI conflicts with TXD0 */
1812 AT91_PIOD 15 AT91_PERIPH_B AT91_PINCTRL_NONE /* SPI2_SPCK conflicts with RTS1 */
1818 pinctrl_uart0: uart0-0 {
1820 <AT91_PIOE 29 AT91_PERIPH_B AT91_PINCTRL_NONE /* RXD */
1821 AT91_PIOE 30 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* TXD */
1827 pinctrl_uart1: uart1-0 {
1829 <AT91_PIOC 25 AT91_PERIPH_C AT91_PINCTRL_NONE /* RXD */
1830 AT91_PIOC 26 AT91_PERIPH_C AT91_PINCTRL_PULL_UP /* TXD */
1836 pinctrl_usart0: usart0-0 {
1838 <AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* RXD */
1839 AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* TXD */
1842 pinctrl_usart0_rts: usart0_rts-0 {
1843 atmel,pins = <AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1845 pinctrl_usart0_cts: usart0_cts-0 {
1846 atmel,pins = <AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1851 pinctrl_usart1: usart1-0 {
1853 <AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* RXD */
1854 AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* TXD */
1857 pinctrl_usart1_rts: usart1_rts-0 {
1858 atmel,pins = <AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1860 pinctrl_usart1_cts: usart1_cts-0 {
1861 atmel,pins = <AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1866 pinctrl_usart2: usart2-0 {
1868 <AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE /* RXD - conflicts with G0_CRS, ISI_HSYNC */
1869 AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* TXD - conflicts with G0_COL, PCK2 */
1872 pinctrl_usart2_rts: usart2_rts-0 {
1873 atmel,pins = <AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with G0_RX3, PWMH1 */
1875 pinctrl_usart2_cts: usart2_cts-0 {
1876 atmel,pins = <AT91_PIOB 3 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with G0_TXER, ISI_VSYNC */
1881 u-boot,dm-pre-reloc;
1882 pinctrl_usart3: usart3-0 {
1883 u-boot,dm-pre-reloc;
1885 <AT91_PIOE 16 AT91_PERIPH_B AT91_PINCTRL_NONE /* RXD */
1886 AT91_PIOE 17 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* TXD */
1892 pinctrl_usart4: usart4-0 {
1894 <AT91_PIOE 26 AT91_PERIPH_B AT91_PINCTRL_NONE /* RXD */
1895 AT91_PIOE 27 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* TXD */
1898 pinctrl_usart4_rts: usart4_rts-0 {
1899 atmel,pins = <AT91_PIOE 28 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with NWAIT, A19 */
1901 pinctrl_usart4_cts: usart4_cts-0 {
1902 atmel,pins = <AT91_PIOE 0 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* conflicts with A0/NBS0, MCI0_CDB */
1907 aic: interrupt-controller@fc06e000 {
1908 #interrupt-cells = <3>;
1909 compatible = "atmel,sama5d4-aic";
1910 interrupt-controller;
1911 reg = <0xfc06e000 0x200>;
1912 atmel,external-irqs = <56>;