1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * sama5d4.dtsi - Device Tree Include file for SAMA5D4 family SoC
5 * Copyright (C) 2014 Atmel,
6 * 2014 Nicolas Ferre <nicolas.ferre@atmel.com>
9 #include <dt-bindings/clock/at91.h>
10 #include <dt-bindings/dma/at91.h>
11 #include <dt-bindings/pinctrl/at91.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
13 #include <dt-bindings/gpio/gpio.h>
18 model = "Atmel SAMA5D4 family SoC";
19 compatible = "atmel,sama5d4";
20 interrupt-parent = <&aic>;
50 compatible = "arm,cortex-a5";
52 next-level-cache = <&L2>;
57 device_type = "memory";
58 reg = <0x20000000 0x20000000>;
62 slow_xtal: slow_xtal {
63 compatible = "fixed-clock";
65 clock-frequency = <0>;
68 main_xtal: main_xtal {
69 compatible = "fixed-clock";
71 clock-frequency = <0>;
74 adc_op_clk: adc_op_clk{
75 compatible = "fixed-clock";
77 clock-frequency = <1000000>;
81 ns_sram: sram@210000 {
82 compatible = "mmio-sram";
83 reg = <0x00210000 0x10000>;
87 compatible = "simple-bus";
92 nfc_sram: sram@100000 {
93 compatible = "mmio-sram";
95 reg = <0x100000 0x2400>;
101 compatible = "atmel,sama5d3-udc";
102 reg = <0x00400000 0x100000
104 interrupts = <47 IRQ_TYPE_LEVEL_HIGH 2>;
105 clocks = <&pmc PMC_TYPE_PERIPHERAL 47>, <&pmc PMC_TYPE_CORE PMC_UTMI>;
106 clock-names = "pclk", "hclk";
111 atmel,fifo-size = <64>;
112 atmel,nb-banks = <1>;
117 atmel,fifo-size = <1024>;
118 atmel,nb-banks = <3>;
125 atmel,fifo-size = <1024>;
126 atmel,nb-banks = <3>;
133 atmel,fifo-size = <1024>;
134 atmel,nb-banks = <2>;
141 atmel,fifo-size = <1024>;
142 atmel,nb-banks = <2>;
149 atmel,fifo-size = <1024>;
150 atmel,nb-banks = <2>;
157 atmel,fifo-size = <1024>;
158 atmel,nb-banks = <2>;
165 atmel,fifo-size = <1024>;
166 atmel,nb-banks = <2>;
173 atmel,fifo-size = <1024>;
174 atmel,nb-banks = <2>;
180 atmel,fifo-size = <1024>;
181 atmel,nb-banks = <2>;
187 atmel,fifo-size = <1024>;
188 atmel,nb-banks = <2>;
194 atmel,fifo-size = <1024>;
195 atmel,nb-banks = <2>;
201 atmel,fifo-size = <1024>;
202 atmel,nb-banks = <2>;
208 atmel,fifo-size = <1024>;
209 atmel,nb-banks = <2>;
215 atmel,fifo-size = <1024>;
216 atmel,nb-banks = <2>;
222 atmel,fifo-size = <1024>;
223 atmel,nb-banks = <2>;
229 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
230 reg = <0x00500000 0x100000>;
231 interrupts = <46 IRQ_TYPE_LEVEL_HIGH 2>;
232 clocks = <&pmc PMC_TYPE_PERIPHERAL 46>, <&pmc PMC_TYPE_PERIPHERAL 46>, <&pmc PMC_TYPE_SYSTEM 6>;
233 clock-names = "ohci_clk", "hclk", "uhpck";
238 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
239 reg = <0x00600000 0x100000>;
240 interrupts = <46 IRQ_TYPE_LEVEL_HIGH 2>;
241 clocks = <&pmc PMC_TYPE_CORE PMC_UTMI>, <&pmc PMC_TYPE_PERIPHERAL 46>;
242 clock-names = "usb_clk", "ehci_clk";
246 L2: cache-controller@a00000 {
247 compatible = "arm,pl310-cache";
248 reg = <0x00a00000 0x1000>;
249 interrupts = <67 IRQ_TYPE_LEVEL_HIGH 4>;
255 compatible = "atmel,sama5d3-ebi";
256 #address-cells = <2>;
259 reg = <0x10000000 0x10000000
260 0x60000000 0x28000000>;
261 ranges = <0x0 0x0 0x10000000 0x10000000
262 0x1 0x0 0x60000000 0x10000000
263 0x2 0x0 0x70000000 0x10000000
264 0x3 0x0 0x80000000 0x8000000>;
265 clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
268 nand_controller: nand-controller {
269 compatible = "atmel,sama5d3-nand-controller";
270 atmel,nfc-sram = <&nfc_sram>;
271 atmel,nfc-io = <&nfc_io>;
272 ecc-engine = <&pmecc>;
273 #address-cells = <2>;
280 nfc_io: nfc-io@90000000 {
281 compatible = "atmel,sama5d3-nfc-io", "syscon";
282 reg = <0x90000000 0x8000000>;
286 compatible = "simple-bus";
287 #address-cells = <1>;
291 hlcdc: hlcdc@f0000000 {
292 compatible = "atmel,sama5d4-hlcdc";
293 reg = <0xf0000000 0x4000>;
294 interrupts = <51 IRQ_TYPE_LEVEL_HIGH 0>;
295 clocks = <&pmc PMC_TYPE_PERIPHERAL 51>, <&pmc PMC_TYPE_SYSTEM 3>, <&clk32k>;
296 clock-names = "periph_clk","sys_clk", "slow_clk";
299 hlcdc-display-controller {
300 compatible = "atmel,hlcdc-display-controller";
301 #address-cells = <1>;
305 #address-cells = <1>;
311 hlcdc_pwm: hlcdc-pwm {
312 compatible = "atmel,hlcdc-pwm";
313 pinctrl-names = "default";
314 pinctrl-0 = <&pinctrl_lcd_pwm>;
319 dma1: dma-controller@f0004000 {
320 compatible = "atmel,sama5d4-dma";
321 reg = <0xf0004000 0x200>;
322 interrupts = <50 IRQ_TYPE_LEVEL_HIGH 0>;
324 clocks = <&pmc PMC_TYPE_PERIPHERAL 50>;
325 clock-names = "dma_clk";
329 compatible = "atmel,at91sam9g45-isi";
330 reg = <0xf0008000 0x4000>;
331 interrupts = <52 IRQ_TYPE_LEVEL_HIGH 5>;
332 pinctrl-names = "default";
333 pinctrl-0 = <&pinctrl_isi_data_0_7>;
334 clocks = <&pmc PMC_TYPE_PERIPHERAL 52>;
335 clock-names = "isi_clk";
338 #address-cells = <1>;
343 ramc0: ramc@f0010000 {
344 compatible = "atmel,sama5d3-ddramc";
345 reg = <0xf0010000 0x200>;
346 clocks = <&pmc PMC_TYPE_SYSTEM 2>, <&pmc PMC_TYPE_PERIPHERAL 16>;
347 clock-names = "ddrck", "mpddr";
350 dma0: dma-controller@f0014000 {
351 compatible = "atmel,sama5d4-dma";
352 reg = <0xf0014000 0x200>;
353 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 0>;
355 clocks = <&pmc PMC_TYPE_PERIPHERAL 8>;
356 clock-names = "dma_clk";
360 compatible = "atmel,sama5d4-pmc", "syscon";
361 reg = <0xf0018000 0x120>;
362 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
364 clocks = <&clk32k>, <&main_xtal>;
365 clock-names = "slow_clk", "main_xtal";
369 compatible = "atmel,hsmci";
370 reg = <0xf8000000 0x600>;
371 interrupts = <35 IRQ_TYPE_LEVEL_HIGH 0>;
373 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
374 | AT91_XDMAC_DT_PERID(0))>;
376 pinctrl-names = "default";
377 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3>;
379 #address-cells = <1>;
381 clocks = <&pmc PMC_TYPE_PERIPHERAL 35>;
382 clock-names = "mci_clk";
385 uart0: serial@f8004000 {
386 compatible = "atmel,at91sam9260-usart";
387 reg = <0xf8004000 0x100>;
388 interrupts = <27 IRQ_TYPE_LEVEL_HIGH 5>;
390 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
391 | AT91_XDMAC_DT_PERID(22))>,
393 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
394 | AT91_XDMAC_DT_PERID(23))>;
395 dma-names = "tx", "rx";
396 pinctrl-names = "default";
397 pinctrl-0 = <&pinctrl_uart0>;
398 clocks = <&pmc PMC_TYPE_PERIPHERAL 27>;
399 clock-names = "usart";
404 compatible = "atmel,at91sam9g45-ssc";
405 reg = <0xf8008000 0x4000>;
406 interrupts = <48 IRQ_TYPE_LEVEL_HIGH 0>;
407 pinctrl-names = "default";
408 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
410 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
411 | AT91_XDMAC_DT_PERID(26))>,
413 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
414 | AT91_XDMAC_DT_PERID(27))>;
415 dma-names = "tx", "rx";
416 clocks = <&pmc PMC_TYPE_PERIPHERAL 48>;
417 clock-names = "pclk";
422 compatible = "atmel,sama5d3-pwm";
423 reg = <0xf800c000 0x300>;
424 interrupts = <43 IRQ_TYPE_LEVEL_HIGH 4>;
426 clocks = <&pmc PMC_TYPE_PERIPHERAL 43>;
431 #address-cells = <1>;
433 compatible = "atmel,at91rm9200-spi";
434 reg = <0xf8010000 0x100>;
435 interrupts = <37 IRQ_TYPE_LEVEL_HIGH 3>;
437 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
438 | AT91_XDMAC_DT_PERID(10))>,
440 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
441 | AT91_XDMAC_DT_PERID(11))>;
442 dma-names = "tx", "rx";
443 pinctrl-names = "default";
444 pinctrl-0 = <&pinctrl_spi0>;
445 clocks = <&pmc PMC_TYPE_PERIPHERAL 37>;
446 clock-names = "spi_clk";
451 compatible = "atmel,sama5d4-i2c";
452 reg = <0xf8014000 0x4000>;
453 interrupts = <32 IRQ_TYPE_LEVEL_HIGH 6>;
455 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
456 | AT91_XDMAC_DT_PERID(2))>,
458 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
459 | AT91_XDMAC_DT_PERID(3))>;
460 dma-names = "tx", "rx";
461 pinctrl-names = "default";
462 pinctrl-0 = <&pinctrl_i2c0>;
463 #address-cells = <1>;
465 clocks = <&pmc PMC_TYPE_PERIPHERAL 32>;
470 compatible = "atmel,sama5d4-i2c";
471 reg = <0xf8018000 0x4000>;
472 interrupts = <33 IRQ_TYPE_LEVEL_HIGH 6>;
474 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
475 | AT91_XDMAC_DT_PERID(4))>,
477 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
478 | AT91_XDMAC_DT_PERID(5))>;
479 dma-names = "tx", "rx";
480 pinctrl-names = "default";
481 pinctrl-0 = <&pinctrl_i2c1>;
482 #address-cells = <1>;
484 clocks = <&pmc PMC_TYPE_PERIPHERAL 33>;
488 tcb0: timer@f801c000 {
489 compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
490 #address-cells = <1>;
492 reg = <0xf801c000 0x100>;
493 interrupts = <40 IRQ_TYPE_LEVEL_HIGH 0>;
494 clocks = <&pmc PMC_TYPE_PERIPHERAL 40>, <&clk32k>;
495 clock-names = "t0_clk", "slow_clk";
498 macb0: ethernet@f8020000 {
499 compatible = "atmel,sama5d4-gem";
500 reg = <0xf8020000 0x100>;
501 interrupts = <54 IRQ_TYPE_LEVEL_HIGH 3>;
502 pinctrl-names = "default";
503 pinctrl-0 = <&pinctrl_macb0_rmii>;
504 #address-cells = <1>;
506 clocks = <&pmc PMC_TYPE_PERIPHERAL 54>, <&pmc PMC_TYPE_PERIPHERAL 54>;
507 clock-names = "hclk", "pclk";
512 compatible = "atmel,sama5d4-i2c";
513 reg = <0xf8024000 0x4000>;
514 interrupts = <34 IRQ_TYPE_LEVEL_HIGH 6>;
516 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
517 | AT91_XDMAC_DT_PERID(6))>,
519 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
520 | AT91_XDMAC_DT_PERID(7))>;
521 dma-names = "tx", "rx";
522 pinctrl-names = "default";
523 pinctrl-0 = <&pinctrl_i2c2>;
524 #address-cells = <1>;
526 clocks = <&pmc PMC_TYPE_PERIPHERAL 34>;
531 compatible = "atmel,sama5d4-sfr", "syscon";
532 reg = <0xf8028000 0x60>;
535 usart0: serial@f802c000 {
536 compatible = "atmel,at91sam9260-usart";
537 reg = <0xf802c000 0x100>;
538 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
540 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
541 | AT91_XDMAC_DT_PERID(36))>,
543 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
544 | AT91_XDMAC_DT_PERID(37))>;
545 dma-names = "tx", "rx";
546 pinctrl-names = "default";
547 pinctrl-0 = <&pinctrl_usart0 &pinctrl_usart0_rts &pinctrl_usart0_cts>;
548 clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
549 clock-names = "usart";
553 usart1: serial@f8030000 {
554 compatible = "atmel,at91sam9260-usart";
555 reg = <0xf8030000 0x100>;
556 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
558 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
559 | AT91_XDMAC_DT_PERID(38))>,
561 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
562 | AT91_XDMAC_DT_PERID(39))>;
563 dma-names = "tx", "rx";
564 pinctrl-names = "default";
565 pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts &pinctrl_usart1_cts>;
566 clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
567 clock-names = "usart";
572 compatible = "atmel,hsmci";
573 reg = <0xfc000000 0x600>;
574 interrupts = <36 IRQ_TYPE_LEVEL_HIGH 0>;
576 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
577 | AT91_XDMAC_DT_PERID(1))>;
579 pinctrl-names = "default";
580 pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3>;
582 #address-cells = <1>;
584 clocks = <&pmc PMC_TYPE_PERIPHERAL 36>;
585 clock-names = "mci_clk";
588 uart1: serial@fc004000 {
589 compatible = "atmel,at91sam9260-usart";
590 reg = <0xfc004000 0x100>;
591 interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>;
593 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
594 | AT91_XDMAC_DT_PERID(24))>,
596 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
597 | AT91_XDMAC_DT_PERID(25))>;
598 dma-names = "tx", "rx";
599 pinctrl-names = "default";
600 pinctrl-0 = <&pinctrl_uart1>;
601 clocks = <&pmc PMC_TYPE_PERIPHERAL 28>;
602 clock-names = "usart";
606 usart2: serial@fc008000 {
607 compatible = "atmel,at91sam9260-usart";
608 reg = <0xfc008000 0x100>;
609 interrupts = <29 IRQ_TYPE_LEVEL_HIGH 5>;
611 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
612 | AT91_XDMAC_DT_PERID(16))>,
614 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
615 | AT91_XDMAC_DT_PERID(17))>;
616 dma-names = "tx", "rx";
617 pinctrl-names = "default";
618 pinctrl-0 = <&pinctrl_usart2 &pinctrl_usart2_rts &pinctrl_usart2_cts>;
619 clocks = <&pmc PMC_TYPE_PERIPHERAL 29>;
620 clock-names = "usart";
624 usart3: serial@fc00c000 {
625 compatible = "atmel,at91sam9260-usart";
626 reg = <0xfc00c000 0x100>;
627 interrupts = <30 IRQ_TYPE_LEVEL_HIGH 5>;
629 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
630 | AT91_XDMAC_DT_PERID(18))>,
632 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
633 | AT91_XDMAC_DT_PERID(19))>;
634 dma-names = "tx", "rx";
635 pinctrl-names = "default";
636 pinctrl-0 = <&pinctrl_usart3>;
637 clocks = <&pmc PMC_TYPE_PERIPHERAL 30>;
638 clock-names = "usart";
642 usart4: serial@fc010000 {
643 compatible = "atmel,at91sam9260-usart";
644 reg = <0xfc010000 0x100>;
645 interrupts = <31 IRQ_TYPE_LEVEL_HIGH 5>;
647 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
648 | AT91_XDMAC_DT_PERID(20))>,
650 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
651 | AT91_XDMAC_DT_PERID(21))>;
652 dma-names = "tx", "rx";
653 pinctrl-names = "default";
654 pinctrl-0 = <&pinctrl_usart4>;
655 clocks = <&pmc PMC_TYPE_PERIPHERAL 31>;
656 clock-names = "usart";
661 compatible = "atmel,at91sam9g45-ssc";
662 reg = <0xfc014000 0x4000>;
663 interrupts = <49 IRQ_TYPE_LEVEL_HIGH 0>;
664 pinctrl-names = "default";
665 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
667 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
668 | AT91_XDMAC_DT_PERID(28))>,
670 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
671 | AT91_XDMAC_DT_PERID(29))>;
672 dma-names = "tx", "rx";
673 clocks = <&pmc PMC_TYPE_PERIPHERAL 49>;
674 clock-names = "pclk";
679 #address-cells = <1>;
681 compatible = "atmel,at91rm9200-spi";
682 reg = <0xfc018000 0x100>;
683 interrupts = <38 IRQ_TYPE_LEVEL_HIGH 3>;
685 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
686 | AT91_XDMAC_DT_PERID(12))>,
688 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
689 | AT91_XDMAC_DT_PERID(13))>;
690 dma-names = "tx", "rx";
691 pinctrl-names = "default";
692 pinctrl-0 = <&pinctrl_spi1>;
693 clocks = <&pmc PMC_TYPE_PERIPHERAL 38>;
694 clock-names = "spi_clk";
699 #address-cells = <1>;
701 compatible = "atmel,at91rm9200-spi";
702 reg = <0xfc01c000 0x100>;
703 interrupts = <39 IRQ_TYPE_LEVEL_HIGH 3>;
705 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
706 | AT91_XDMAC_DT_PERID(14))>,
708 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
709 | AT91_XDMAC_DT_PERID(15))>;
710 dma-names = "tx", "rx";
711 pinctrl-names = "default";
712 pinctrl-0 = <&pinctrl_spi2>;
713 clocks = <&pmc PMC_TYPE_PERIPHERAL 39>;
714 clock-names = "spi_clk";
718 tcb1: timer@fc020000 {
719 compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
720 #address-cells = <1>;
722 reg = <0xfc020000 0x100>;
723 interrupts = <41 IRQ_TYPE_LEVEL_HIGH 0>;
724 clocks = <&pmc PMC_TYPE_PERIPHERAL 41>, <&clk32k>;
725 clock-names = "t0_clk", "slow_clk";
728 tcb2: timer@fc024000 {
729 compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
730 #address-cells = <1>;
732 reg = <0xfc024000 0x100>;
733 interrupts = <42 IRQ_TYPE_LEVEL_HIGH 0>;
734 clocks = <&pmc PMC_TYPE_PERIPHERAL 42>, <&clk32k>;
735 clock-names = "t0_clk", "slow_clk";
738 macb1: ethernet@fc028000 {
739 compatible = "atmel,sama5d4-gem";
740 reg = <0xfc028000 0x100>;
741 interrupts = <55 IRQ_TYPE_LEVEL_HIGH 3>;
742 pinctrl-names = "default";
743 pinctrl-0 = <&pinctrl_macb1_rmii>;
744 #address-cells = <1>;
746 clocks = <&pmc PMC_TYPE_PERIPHERAL 55>, <&pmc PMC_TYPE_PERIPHERAL 55>;
747 clock-names = "hclk", "pclk";
752 compatible = "atmel,at91sam9g45-trng";
753 reg = <0xfc030000 0x100>;
754 interrupts = <53 IRQ_TYPE_LEVEL_HIGH 0>;
755 clocks = <&pmc PMC_TYPE_PERIPHERAL 53>;
759 compatible = "atmel,at91sam9x5-adc";
760 reg = <0xfc034000 0x100>;
761 interrupts = <44 IRQ_TYPE_LEVEL_HIGH 5>;
762 clocks = <&pmc PMC_TYPE_PERIPHERAL 44>,
764 clock-names = "adc_clk", "adc_op_clk";
765 atmel,adc-channels-used = <0x01f>;
766 atmel,adc-startup-time = <40>;
767 atmel,adc-use-external-triggers;
768 atmel,adc-vref = <3000>;
769 atmel,adc-res = <8 10>;
770 atmel,adc-sample-hold-time = <11>;
771 atmel,adc-res-names = "lowres", "highres";
772 atmel,adc-ts-pressure-threshold = <10000>;
776 trigger-name = "external-rising";
777 trigger-value = <0x1>;
781 trigger-name = "external-falling";
782 trigger-value = <0x2>;
786 trigger-name = "external-any";
787 trigger-value = <0x3>;
791 trigger-name = "continuous";
792 trigger-value = <0x6>;
797 compatible = "atmel,at91sam9g46-aes";
798 reg = <0xfc044000 0x100>;
799 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>;
800 dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
801 | AT91_XDMAC_DT_PERID(41))>,
802 <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
803 | AT91_XDMAC_DT_PERID(40))>;
804 dma-names = "tx", "rx";
805 clocks = <&pmc PMC_TYPE_PERIPHERAL 12>;
806 clock-names = "aes_clk";
811 compatible = "atmel,at91sam9g46-tdes";
812 reg = <0xfc04c000 0x100>;
813 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 0>;
814 dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
815 | AT91_XDMAC_DT_PERID(42))>,
816 <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
817 | AT91_XDMAC_DT_PERID(43))>;
818 dma-names = "tx", "rx";
819 clocks = <&pmc PMC_TYPE_PERIPHERAL 14>;
820 clock-names = "tdes_clk";
825 compatible = "atmel,at91sam9g46-sha";
826 reg = <0xfc050000 0x100>;
827 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 0>;
828 dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
829 | AT91_XDMAC_DT_PERID(44))>;
831 clocks = <&pmc PMC_TYPE_PERIPHERAL 15>;
832 clock-names = "sha_clk";
837 compatible = "atmel,sama5d3-smc", "syscon", "simple-mfd";
838 reg = <0xfc05c000 0x1000>;
839 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 6>;
840 clocks = <&pmc PMC_TYPE_PERIPHERAL 22>;
841 #address-cells = <1>;
845 pmecc: ecc-engine@ffffc070 {
846 compatible = "atmel,sama5d4-pmecc";
847 reg = <0xfc05c070 0x490>,
852 reset_controller: rstc@fc068600 {
853 compatible = "atmel,sama5d3-rstc", "atmel,at91sam9g45-rstc";
854 reg = <0xfc068600 0x10>;
858 shutdown_controller: shdwc@fc068610 {
859 compatible = "atmel,at91sam9x5-shdwc";
860 reg = <0xfc068610 0x10>;
864 pit: timer@fc068630 {
865 compatible = "atmel,at91sam9260-pit";
866 reg = <0xfc068630 0x10>;
867 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 5>;
868 clocks = <&pmc PMC_TYPE_CORE PMC_MCK2>;
871 watchdog: watchdog@fc068640 {
872 compatible = "atmel,sama5d4-wdt";
873 reg = <0xfc068640 0x10>;
874 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 7>;
879 clk32k: sckc@fc068650 {
880 compatible = "atmel,sama5d4-sckc";
881 reg = <0xfc068650 0x4>;
883 clocks = <&slow_xtal>;
887 compatible = "atmel,at91rm9200-rtc";
888 reg = <0xfc0686b0 0x30>;
889 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
893 dbgu: serial@fc069000 {
894 compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
895 reg = <0xfc069000 0x200>;
896 interrupts = <45 IRQ_TYPE_LEVEL_HIGH 7>;
897 pinctrl-names = "default";
898 pinctrl-0 = <&pinctrl_dbgu>;
899 clocks = <&pmc PMC_TYPE_PERIPHERAL 45>;
900 clock-names = "usart";
905 pinctrl: pinctrl@fc06a000 {
906 #address-cells = <1>;
908 compatible = "atmel,sama5d3-pinctrl", "atmel,at91sam9x5-pinctrl", "simple-bus";
909 ranges = <0xfc068000 0xfc068000 0x100
910 0xfc06a000 0xfc06a000 0x4000>;
911 /* WARNING: revisit as pin spec has changed */
914 0xffffffff 0x3ffcfe7c 0x1c010101 /* pioA */
915 0x7fffffff 0xfffccc3a 0x3f00cc3a /* pioB */
916 0xffffffff 0x3ff83fff 0xff00ffff /* pioC */
917 0x0003ff00 0x8002a800 0x00000000 /* pioD */
918 0xffffffff 0x7fffffff 0x76fff1bf /* pioE */
921 pioA: gpio@fc06a000 {
922 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
923 reg = <0xfc06a000 0x100>;
924 interrupts = <23 IRQ_TYPE_LEVEL_HIGH 1>;
927 interrupt-controller;
928 #interrupt-cells = <2>;
929 clocks = <&pmc PMC_TYPE_PERIPHERAL 23>;
932 pioB: gpio@fc06b000 {
933 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
934 reg = <0xfc06b000 0x100>;
935 interrupts = <24 IRQ_TYPE_LEVEL_HIGH 1>;
938 interrupt-controller;
939 #interrupt-cells = <2>;
940 clocks = <&pmc PMC_TYPE_PERIPHERAL 24>;
943 pioC: gpio@fc06c000 {
944 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
945 reg = <0xfc06c000 0x100>;
946 interrupts = <25 IRQ_TYPE_LEVEL_HIGH 1>;
949 interrupt-controller;
950 #interrupt-cells = <2>;
951 clocks = <&pmc PMC_TYPE_PERIPHERAL 25>;
954 pioD: gpio@fc068000 {
955 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
956 reg = <0xfc068000 0x100>;
957 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
960 interrupt-controller;
961 #interrupt-cells = <2>;
962 clocks = <&pmc PMC_TYPE_PERIPHERAL 5>;
965 pioE: gpio@fc06d000 {
966 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
967 reg = <0xfc06d000 0x100>;
968 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 1>;
971 interrupt-controller;
972 #interrupt-cells = <2>;
973 clocks = <&pmc PMC_TYPE_PERIPHERAL 26>;
976 /* pinctrl pin settings */
978 pinctrl_adc0_adtrg: adc0_adtrg {
980 <AT91_PIOE 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* conflicts with USBA_VBUS */
982 pinctrl_adc0_ad0: adc0_ad0 {
984 <AT91_PIOC 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;
986 pinctrl_adc0_ad1: adc0_ad1 {
988 <AT91_PIOC 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
990 pinctrl_adc0_ad2: adc0_ad2 {
992 <AT91_PIOC 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
994 pinctrl_adc0_ad3: adc0_ad3 {
996 <AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_NONE>;
998 pinctrl_adc0_ad4: adc0_ad4 {
1000 <AT91_PIOC 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1005 pinctrl_dbgu: dbgu-0 {
1007 <AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* conflicts with D14 and TDI */
1008 AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* conflicts with D15 and TDO */
1013 pinctrl_ebi_addr: ebi-addr-0 {
1015 <AT91_PIOE 0 AT91_PERIPH_A AT91_PINCTRL_NONE
1016 AT91_PIOE 1 AT91_PERIPH_A AT91_PINCTRL_NONE
1017 AT91_PIOE 2 AT91_PERIPH_A AT91_PINCTRL_NONE
1018 AT91_PIOE 3 AT91_PERIPH_A AT91_PINCTRL_NONE
1019 AT91_PIOE 4 AT91_PERIPH_A AT91_PINCTRL_NONE
1020 AT91_PIOE 5 AT91_PERIPH_A AT91_PINCTRL_NONE
1021 AT91_PIOE 6 AT91_PERIPH_A AT91_PINCTRL_NONE
1022 AT91_PIOE 7 AT91_PERIPH_A AT91_PINCTRL_NONE
1023 AT91_PIOE 8 AT91_PERIPH_A AT91_PINCTRL_NONE
1024 AT91_PIOE 9 AT91_PERIPH_A AT91_PINCTRL_NONE
1025 AT91_PIOE 10 AT91_PERIPH_A AT91_PINCTRL_NONE
1026 AT91_PIOE 11 AT91_PERIPH_A AT91_PINCTRL_NONE
1027 AT91_PIOE 12 AT91_PERIPH_A AT91_PINCTRL_NONE
1028 AT91_PIOE 13 AT91_PERIPH_A AT91_PINCTRL_NONE
1029 AT91_PIOE 14 AT91_PERIPH_A AT91_PINCTRL_NONE
1030 AT91_PIOE 15 AT91_PERIPH_A AT91_PINCTRL_NONE
1031 AT91_PIOE 16 AT91_PERIPH_A AT91_PINCTRL_NONE
1032 AT91_PIOE 17 AT91_PERIPH_A AT91_PINCTRL_NONE
1033 AT91_PIOE 18 AT91_PERIPH_A AT91_PINCTRL_NONE
1034 AT91_PIOE 19 AT91_PERIPH_A AT91_PINCTRL_NONE
1035 AT91_PIOE 20 AT91_PERIPH_A AT91_PINCTRL_NONE
1036 AT91_PIOC 17 AT91_PERIPH_A AT91_PINCTRL_NONE
1037 AT91_PIOC 18 AT91_PERIPH_A AT91_PINCTRL_NONE
1038 AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_NONE
1039 AT91_PIOE 22 AT91_PERIPH_A AT91_PINCTRL_NONE
1040 AT91_PIOE 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1043 pinctrl_ebi_nand_addr: ebi-addr-1 {
1045 <AT91_PIOC 17 AT91_PERIPH_A AT91_PINCTRL_NONE
1046 AT91_PIOC 18 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1049 pinctrl_ebi_cs0: ebi-cs0-0 {
1051 <AT91_PIOE 26 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1054 pinctrl_ebi_cs1: ebi-cs1-0 {
1056 <AT91_PIOE 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1059 pinctrl_ebi_cs2: ebi-cs2-0 {
1061 <AT91_PIOE 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1064 pinctrl_ebi_cs3: ebi-cs3-0 {
1066 <AT91_PIOC 15 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1069 pinctrl_ebi_data_0_7: ebi-data-lsb-0 {
1071 <AT91_PIOC 5 AT91_PERIPH_A AT91_PINCTRL_NONE
1072 AT91_PIOC 6 AT91_PERIPH_A AT91_PINCTRL_NONE
1073 AT91_PIOC 7 AT91_PERIPH_A AT91_PINCTRL_NONE
1074 AT91_PIOC 8 AT91_PERIPH_A AT91_PINCTRL_NONE
1075 AT91_PIOC 9 AT91_PERIPH_A AT91_PINCTRL_NONE
1076 AT91_PIOC 10 AT91_PERIPH_A AT91_PINCTRL_NONE
1077 AT91_PIOC 11 AT91_PERIPH_A AT91_PINCTRL_NONE
1078 AT91_PIOC 12 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1081 pinctrl_ebi_data_8_15: ebi-data-msb-0 {
1083 <AT91_PIOB 18 AT91_PERIPH_B AT91_PINCTRL_NONE
1084 AT91_PIOB 19 AT91_PERIPH_B AT91_PINCTRL_NONE
1085 AT91_PIOB 20 AT91_PERIPH_B AT91_PINCTRL_NONE
1086 AT91_PIOB 21 AT91_PERIPH_B AT91_PINCTRL_NONE
1087 AT91_PIOB 22 AT91_PERIPH_B AT91_PINCTRL_NONE
1088 AT91_PIOB 23 AT91_PERIPH_B AT91_PINCTRL_NONE
1089 AT91_PIOB 24 AT91_PERIPH_B AT91_PINCTRL_NONE
1090 AT91_PIOB 25 AT91_PERIPH_B AT91_PINCTRL_NONE>;
1093 pinctrl_ebi_nandrdy: ebi-nandrdy-0 {
1095 <AT91_PIOC 16 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1098 pinctrl_ebi_nrd_nandoe: ebi-nrd-nandoe-0 {
1100 <AT91_PIOC 13 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1103 pinctrl_ebi_nwait: ebi-nwait-0 {
1105 <AT91_PIOE 30 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1108 pinctrl_ebi_nwe_nandwe: ebi-nwe-nandwe-0 {
1110 <AT91_PIOC 14 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1113 pinctrl_ebi_nwr1_nbs1: ebi-nwr1-nbs1-0 {
1115 <AT91_PIOE 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1120 pinctrl_i2c0: i2c0-0 {
1122 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE
1123 AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1128 pinctrl_i2c1: i2c1-0 {
1130 <AT91_PIOE 29 AT91_PERIPH_C AT91_PINCTRL_NONE /* TWD1, conflicts with UART0 RX and DIBP */
1131 AT91_PIOE 30 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* TWCK1, conflicts with UART0 TX and DIBN */
1136 pinctrl_i2c2: i2c2-0 {
1138 <AT91_PIOB 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* TWD2, conflicts with RD0 and PWML1 */
1139 AT91_PIOB 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* TWCK2, conflicts with RF0 */
1144 pinctrl_isi_data_0_7: isi-0-data-0-7 {
1146 <AT91_PIOC 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* ISI_D0 */
1147 AT91_PIOC 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* ISI_D1 */
1148 AT91_PIOC 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* ISI_D2 */
1149 AT91_PIOC 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* ISI_D3 */
1150 AT91_PIOC 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* ISI_D4 */
1151 AT91_PIOC 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* ISI_D5 */
1152 AT91_PIOC 25 AT91_PERIPH_A AT91_PINCTRL_NONE /* ISI_D6 */
1153 AT91_PIOC 26 AT91_PERIPH_A AT91_PINCTRL_NONE /* ISI_D7 */
1154 AT91_PIOB 1 AT91_PERIPH_C AT91_PINCTRL_NONE /* ISI_PCK, conflict with G0_RXCK */
1155 AT91_PIOB 3 AT91_PERIPH_C AT91_PINCTRL_NONE /* ISI_VSYNC */
1156 AT91_PIOB 4 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* ISI_HSYNC */
1158 pinctrl_isi_data_8_9: isi-0-data-8-9 {
1160 <AT91_PIOC 0 AT91_PERIPH_C AT91_PINCTRL_NONE /* ISI_D8, conflicts with SPI0_MISO, PWMH2 */
1161 AT91_PIOC 1 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* ISI_D9, conflicts with SPI0_MOSI, PWML2 */
1163 pinctrl_isi_data_10_11: isi-0-data-10-11 {
1165 <AT91_PIOC 2 AT91_PERIPH_C AT91_PINCTRL_NONE /* ISI_D10, conflicts with SPI0_SPCK, PWMH3 */
1166 AT91_PIOC 3 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* ISI_D11, conflicts with SPI0_NPCS0, PWML3 */
1171 pinctrl_lcd_base: lcd-base-0 {
1173 <AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDVSYNC */
1174 AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDHSYNC */
1175 AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDDEN */
1176 AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* LCDPCK */
1178 pinctrl_lcd_pwm: lcd-pwm-0 {
1179 atmel,pins = <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* LCDPWM */
1181 pinctrl_lcd_rgb444: lcd-rgb-0 {
1183 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD0 pin */
1184 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD1 pin */
1185 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD2 pin */
1186 AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD3 pin */
1187 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD4 pin */
1188 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD5 pin */
1189 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD6 pin */
1190 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD7 pin */
1191 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD8 pin */
1192 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD9 pin */
1193 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD10 pin */
1194 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* LCDD11 pin */
1196 pinctrl_lcd_rgb565: lcd-rgb-1 {
1198 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD0 pin */
1199 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD1 pin */
1200 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD2 pin */
1201 AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD3 pin */
1202 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD4 pin */
1203 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD5 pin */
1204 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD6 pin */
1205 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD7 pin */
1206 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD8 pin */
1207 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD9 pin */
1208 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD10 pin */
1209 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD11 pin */
1210 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD12 pin */
1211 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD13 pin */
1212 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD14 pin */
1213 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* LCDD15 pin */
1215 pinctrl_lcd_rgb666: lcd-rgb-2 {
1217 <AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD2 pin */
1218 AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD3 pin */
1219 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD4 pin */
1220 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD5 pin */
1221 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD6 pin */
1222 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD7 pin */
1223 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD10 pin */
1224 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD11 pin */
1225 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD12 pin */
1226 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD13 pin */
1227 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD14 pin */
1228 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD15 pin */
1229 AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD18 pin */
1230 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD19 pin */
1231 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD20 pin */
1232 AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD21 pin */
1233 AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD22 pin */
1234 AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* LCDD23 pin */
1236 pinctrl_lcd_rgb777: lcd-rgb-3 {
1238 /* LCDDAT0 conflicts with TMS */
1239 <AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD1 pin */
1240 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD2 pin */
1241 AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD3 pin */
1242 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD4 pin */
1243 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD5 pin */
1244 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD6 pin */
1245 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD7 pin */
1246 /* LCDDAT8 conflicts with TCK */
1247 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD9 pin */
1248 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD10 pin */
1249 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD11 pin */
1250 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD12 pin */
1251 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD13 pin */
1252 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD14 pin */
1253 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD15 pin */
1254 /* LCDDAT16 conflicts with NTRST */
1255 AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD17 pin */
1256 AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD18 pin */
1257 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD19 pin */
1258 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD20 pin */
1259 AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD21 pin */
1260 AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD22 pin */
1261 AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* LCDD23 pin */
1263 pinctrl_lcd_rgb888: lcd-rgb-4 {
1265 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD0 pin */
1266 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD1 pin */
1267 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD2 pin */
1268 AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD3 pin */
1269 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD4 pin */
1270 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD5 pin */
1271 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD6 pin */
1272 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD7 pin */
1273 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD8 pin */
1274 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD9 pin */
1275 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD10 pin */
1276 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD11 pin */
1277 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD12 pin */
1278 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD13 pin */
1279 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD14 pin */
1280 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD15 pin */
1281 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD16 pin */
1282 AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD17 pin */
1283 AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD18 pin */
1284 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD19 pin */
1285 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD20 pin */
1286 AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD21 pin */
1287 AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD22 pin */
1288 AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* LCDD23 pin */
1293 pinctrl_macb0_rmii: macb0_rmii-0 {
1295 <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* G0_TX0 */
1296 AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* G0_TX1 */
1297 AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* G0_RX0 */
1298 AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* G0_RX1 */
1299 AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* G0_RXDV */
1300 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* G0_RXER */
1301 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* G0_TXEN */
1302 AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* G0_TXCK */
1303 AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* G0_MDC */
1304 AT91_PIOB 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* G0_MDIO */
1310 pinctrl_macb1_rmii: macb1_rmii-0 {
1312 <AT91_PIOA 14 AT91_PERIPH_B AT91_PINCTRL_NONE /* G1_TX0 */
1313 AT91_PIOA 15 AT91_PERIPH_B AT91_PINCTRL_NONE /* G1_TX1 */
1314 AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_NONE /* G1_RX0 */
1315 AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE /* G1_RX1 */
1316 AT91_PIOA 10 AT91_PERIPH_B AT91_PINCTRL_NONE /* G1_RXDV */
1317 AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_NONE /* G1_RXER */
1318 AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_NONE /* G1_TXEN */
1319 AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_NONE /* G1_TXCK */
1320 AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE /* G1_MDC */
1321 AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE /* G1_MDIO */
1327 pinctrl_mmc0_clk_cmd_dat0: mmc0_clk_cmd_dat0 {
1329 <AT91_PIOC 4 AT91_PERIPH_B AT91_PINCTRL_NONE /* MCI0_CK, conflict with PCK1(ISI_MCK) */
1330 AT91_PIOC 5 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* MCI0_CDA, conflict with NAND_D0 */
1331 AT91_PIOC 6 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* MCI0_DA0, conflict with NAND_D1 */
1334 pinctrl_mmc0_dat1_3: mmc0_dat1_3 {
1336 <AT91_PIOC 7 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* MCI0_DA1, conflict with NAND_D2 */
1337 AT91_PIOC 8 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* MCI0_DA2, conflict with NAND_D3 */
1338 AT91_PIOC 9 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* MCI0_DA3, conflict with NAND_D4 */
1341 pinctrl_mmc0_dat4_7: mmc0_dat4_7 {
1343 <AT91_PIOC 10 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* MCI0_DA4, conflict with NAND_D5 */
1344 AT91_PIOC 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* MCI0_DA5, conflict with NAND_D6 */
1345 AT91_PIOC 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* MCI0_DA6, conflict with NAND_D7 */
1346 AT91_PIOC 13 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* MCI0_DA7, conflict with NAND_OE */
1352 pinctrl_mmc1_clk_cmd_dat0: mmc1_clk_cmd_dat0 {
1354 <AT91_PIOE 18 AT91_PERIPH_C AT91_PINCTRL_NONE /* MCI1_CK */
1355 AT91_PIOE 19 AT91_PERIPH_C AT91_PINCTRL_PULL_UP /* MCI1_CDA */
1356 AT91_PIOE 20 AT91_PERIPH_C AT91_PINCTRL_PULL_UP /* MCI1_DA0 */
1359 pinctrl_mmc1_dat1_3: mmc1_dat1_3 {
1361 <AT91_PIOE 21 AT91_PERIPH_C AT91_PINCTRL_PULL_UP /* MCI1_DA1 */
1362 AT91_PIOE 22 AT91_PERIPH_C AT91_PINCTRL_PULL_UP /* MCI1_DA2 */
1363 AT91_PIOE 23 AT91_PERIPH_C AT91_PINCTRL_PULL_UP /* MCI1_DA3 */
1369 pinctrl_nand: nand-0 {
1371 <AT91_PIOC 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC13 periph A Read Enable */
1372 AT91_PIOC 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC14 periph A Write Enable */
1374 AT91_PIOC 17 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PC17 ALE */
1375 AT91_PIOC 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PC18 CLE */
1377 AT91_PIOC 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PC15 NCS3/Chip Enable */
1378 AT91_PIOC 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PC16 NANDRDY */
1379 AT91_PIOC 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC5 Data bit 0 */
1380 AT91_PIOC 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC6 Data bit 1 */
1381 AT91_PIOC 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC7 Data bit 2 */
1382 AT91_PIOC 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC8 Data bit 3 */
1383 AT91_PIOC 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC9 Data bit 4 */
1384 AT91_PIOC 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC10 Data bit 5 */
1385 AT91_PIOC 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC11 periph A Data bit 6 */
1386 AT91_PIOC 12 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PC12 periph A Data bit 7 */
1391 pinctrl_spi0: spi0-0 {
1393 <AT91_PIOC 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* SPI0_MISO */
1394 AT91_PIOC 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* SPI0_MOSI */
1395 AT91_PIOC 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* SPI0_SPCK */
1401 pinctrl_ssc0_tx: ssc0_tx {
1403 <AT91_PIOB 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* TK0 */
1404 AT91_PIOB 31 AT91_PERIPH_B AT91_PINCTRL_NONE /* TF0 */
1405 AT91_PIOB 28 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* TD0 */
1408 pinctrl_ssc0_rx: ssc0_rx {
1410 <AT91_PIOB 26 AT91_PERIPH_B AT91_PINCTRL_NONE /* RK0 */
1411 AT91_PIOB 30 AT91_PERIPH_B AT91_PINCTRL_NONE /* RF0 */
1412 AT91_PIOB 29 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* RD0 */
1417 pinctrl_ssc1_tx: ssc1_tx {
1419 <AT91_PIOC 19 AT91_PERIPH_B AT91_PINCTRL_NONE /* TK1 */
1420 AT91_PIOC 20 AT91_PERIPH_B AT91_PINCTRL_NONE /* TF1 */
1421 AT91_PIOC 21 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* TD1 */
1424 pinctrl_ssc1_rx: ssc1_rx {
1426 <AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE /* RK1 */
1427 AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_NONE /* RF1 */
1428 AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* RD1 */
1433 pinctrl_spi1: spi1-0 {
1435 <AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* SPI1_MISO */
1436 AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* SPI1_MOSI */
1437 AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* SPI1_SPCK */
1443 pinctrl_spi2: spi2-0 {
1445 <AT91_PIOD 11 AT91_PERIPH_B AT91_PINCTRL_NONE /* SPI2_MISO conflicts with RTS0 */
1446 AT91_PIOD 13 AT91_PERIPH_B AT91_PINCTRL_NONE /* SPI2_MOSI conflicts with TXD0 */
1447 AT91_PIOD 15 AT91_PERIPH_B AT91_PINCTRL_NONE /* SPI2_SPCK conflicts with RTS1 */
1453 pinctrl_uart0: uart0-0 {
1455 <AT91_PIOE 29 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* RXD */
1456 AT91_PIOE 30 AT91_PERIPH_B AT91_PINCTRL_NONE /* TXD */
1462 pinctrl_uart1: uart1-0 {
1464 <AT91_PIOC 25 AT91_PERIPH_C AT91_PINCTRL_PULL_UP /* RXD */
1465 AT91_PIOC 26 AT91_PERIPH_C AT91_PINCTRL_NONE /* TXD */
1471 pinctrl_usart0: usart0-0 {
1473 <AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* RXD */
1474 AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* TXD */
1477 pinctrl_usart0_rts: usart0_rts-0 {
1478 atmel,pins = <AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1480 pinctrl_usart0_cts: usart0_cts-0 {
1481 atmel,pins = <AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1486 pinctrl_usart1: usart1-0 {
1488 <AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* RXD */
1489 AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* TXD */
1492 pinctrl_usart1_rts: usart1_rts-0 {
1493 atmel,pins = <AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1495 pinctrl_usart1_cts: usart1_cts-0 {
1496 atmel,pins = <AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1501 pinctrl_usart2: usart2-0 {
1503 <AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* RXD - conflicts with G0_CRS, ISI_HSYNC */
1504 AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE /* TXD - conflicts with G0_COL, PCK2 */
1507 pinctrl_usart2_rts: usart2_rts-0 {
1508 atmel,pins = <AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with G0_RX3, PWMH1 */
1510 pinctrl_usart2_cts: usart2_cts-0 {
1511 atmel,pins = <AT91_PIOB 3 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with G0_TXER, ISI_VSYNC */
1516 pinctrl_usart3: usart3-0 {
1518 <AT91_PIOE 16 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* RXD */
1519 AT91_PIOE 17 AT91_PERIPH_B AT91_PINCTRL_NONE /* TXD */
1525 pinctrl_usart4: usart4-0 {
1527 <AT91_PIOE 26 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* RXD */
1528 AT91_PIOE 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* TXD */
1531 pinctrl_usart4_rts: usart4_rts-0 {
1532 atmel,pins = <AT91_PIOE 28 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with NWAIT, A19 */
1534 pinctrl_usart4_cts: usart4_cts-0 {
1535 atmel,pins = <AT91_PIOE 0 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* conflicts with A0/NBS0, MCI0_CDB */
1540 aic: interrupt-controller@fc06e000 {
1541 #interrupt-cells = <3>;
1542 compatible = "atmel,sama5d4-aic";
1543 interrupt-controller;
1544 reg = <0xfc06e000 0x200>;
1545 atmel,external-irqs = <56>;