2 * Copyright 2013 Maxime Ripard
4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
7 * of the GPL or the X11 license, at your option. Note that this dual
8 * licensing only applies to this file, and not this project as a
11 * a) This file is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License as
13 * published by the Free Software Foundation; either version 2 of the
14 * License, or (at your option) any later version.
16 * This file is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
23 * b) Permission is hereby granted, free of charge, to any person
24 * obtaining a copy of this software and associated documentation
25 * files (the "Software"), to deal in the Software without
26 * restriction, including without limitation the rights to use,
27 * copy, modify, merge, publish, distribute, sublicense, and/or
28 * sell copies of the Software, and to permit persons to whom the
29 * Software is furnished to do so, subject to the following
32 * The above copyright notice and this permission notice shall be
33 * included in all copies or substantial portions of the Software.
35 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
36 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
37 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
38 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
39 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
40 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
41 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
42 * OTHER DEALINGS IN THE SOFTWARE.
45 #include "skeleton.dtsi"
47 #include <dt-bindings/interrupt-controller/arm-gic.h>
48 #include <dt-bindings/thermal/thermal.h>
50 #include <dt-bindings/clock/sun4i-a10-pll2.h>
51 #include <dt-bindings/dma/sun4i-a10.h>
52 #include <dt-bindings/pinctrl/sun4i-a10.h>
55 interrupt-parent = <&gic>;
67 compatible = "allwinner,simple-framebuffer",
69 allwinner,pipeline = "de_be0-lcd0-hdmi";
70 clocks = <&pll3>, <&pll5 1>, <&ahb_gates 36>,
71 <&ahb_gates 43>, <&ahb_gates 44>,
77 compatible = "allwinner,simple-framebuffer",
79 allwinner,pipeline = "de_be0-lcd0";
80 clocks = <&pll3>, <&pll5 1>, <&ahb_gates 36>,
81 <&ahb_gates 44>, <&dram_gates 26>;
86 compatible = "allwinner,simple-framebuffer",
88 allwinner,pipeline = "de_be0-lcd0-tve0";
89 clocks = <&pll3>, <&pll5 1>,
90 <&ahb_gates 34>, <&ahb_gates 36>, <&ahb_gates 44>,
91 <&dram_gates 5>, <&dram_gates 26>;
101 compatible = "arm,cortex-a7";
105 clock-latency = <244144>; /* 8 32k periods */
116 #cooling-cells = <2>;
117 cooling-min-level = <0>;
118 cooling-max-level = <6>;
122 compatible = "arm,cortex-a7";
131 polling-delay-passive = <250>;
132 polling-delay = <1000>;
133 thermal-sensors = <&rtp>;
137 trip = <&cpu_alert0>;
138 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
143 cpu_alert0: cpu_alert0 {
145 temperature = <75000>;
152 temperature = <100000>;
161 reg = <0x40000000 0x80000000>;
165 compatible = "arm,armv7-timer";
166 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
167 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
168 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
169 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
173 compatible = "arm,cortex-a7-pmu", "arm,cortex-a15-pmu";
174 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
175 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
179 #address-cells = <1>;
183 osc24M: clk@01c20050 {
185 compatible = "allwinner,sun4i-a10-osc-clk";
186 reg = <0x01c20050 0x4>;
187 clock-frequency = <24000000>;
188 clock-output-names = "osc24M";
193 compatible = "fixed-factor-clock";
197 clock-output-names = "osc3M";
202 compatible = "fixed-clock";
203 clock-frequency = <32768>;
204 clock-output-names = "osc32k";
209 compatible = "allwinner,sun4i-a10-pll1-clk";
210 reg = <0x01c20000 0x4>;
212 clock-output-names = "pll1";
217 compatible = "allwinner,sun4i-a10-pll2-clk";
218 reg = <0x01c20008 0x8>;
220 clock-output-names = "pll2-1x", "pll2-2x",
221 "pll2-4x", "pll2-8x";
226 compatible = "allwinner,sun4i-a10-pll3-clk";
227 reg = <0x01c20010 0x4>;
229 clock-output-names = "pll3";
234 compatible = "fixed-factor-clock";
238 clock-output-names = "pll3-2x";
243 compatible = "allwinner,sun7i-a20-pll4-clk";
244 reg = <0x01c20018 0x4>;
246 clock-output-names = "pll4";
251 compatible = "allwinner,sun4i-a10-pll5-clk";
252 reg = <0x01c20020 0x4>;
254 clock-output-names = "pll5_ddr", "pll5_other";
259 compatible = "allwinner,sun4i-a10-pll6-clk";
260 reg = <0x01c20028 0x4>;
262 clock-output-names = "pll6_sata", "pll6_other", "pll6",
268 compatible = "allwinner,sun4i-a10-pll3-clk";
269 reg = <0x01c20030 0x4>;
271 clock-output-names = "pll7";
276 compatible = "fixed-factor-clock";
280 clock-output-names = "pll7-2x";
285 compatible = "allwinner,sun7i-a20-pll4-clk";
286 reg = <0x01c20040 0x4>;
288 clock-output-names = "pll8";
293 compatible = "allwinner,sun4i-a10-cpu-clk";
294 reg = <0x01c20054 0x4>;
295 clocks = <&osc32k>, <&osc24M>, <&pll1>, <&pll6 1>;
296 clock-output-names = "cpu";
301 compatible = "allwinner,sun4i-a10-axi-clk";
302 reg = <0x01c20054 0x4>;
304 clock-output-names = "axi";
309 compatible = "allwinner,sun5i-a13-ahb-clk";
310 reg = <0x01c20054 0x4>;
311 clocks = <&axi>, <&pll6 3>, <&pll6 1>;
312 clock-output-names = "ahb";
314 * Use PLL6 as parent, instead of CPU/AXI
315 * which has rate changes due to cpufreq
317 assigned-clocks = <&ahb>;
318 assigned-clock-parents = <&pll6 3>;
321 ahb_gates: clk@01c20060 {
323 compatible = "allwinner,sun7i-a20-ahb-gates-clk";
324 reg = <0x01c20060 0x8>;
326 clock-indices = <0>, <1>,
329 <9>, <10>, <11>, <12>,
331 <17>, <18>, <20>, <21>,
333 <28>, <32>, <33>, <34>,
334 <35>, <36>, <37>, <40>,
339 clock-output-names = "ahb_usb0", "ahb_ehci0",
340 "ahb_ohci0", "ahb_ehci1", "ahb_ohci1",
341 "ahb_ss", "ahb_dma", "ahb_bist", "ahb_mmc0",
342 "ahb_mmc1", "ahb_mmc2", "ahb_mmc3", "ahb_ms",
343 "ahb_nand", "ahb_sdram", "ahb_ace",
344 "ahb_emac", "ahb_ts", "ahb_spi0", "ahb_spi1",
345 "ahb_spi2", "ahb_spi3", "ahb_sata",
346 "ahb_hstimer", "ahb_ve", "ahb_tvd", "ahb_tve0",
347 "ahb_tve1", "ahb_lcd0", "ahb_lcd1", "ahb_csi0",
348 "ahb_csi1", "ahb_hdmi1", "ahb_hdmi0",
349 "ahb_de_be0", "ahb_de_be1", "ahb_de_fe0",
350 "ahb_de_fe1", "ahb_gmac", "ahb_mp",
354 apb0: apb0@01c20054 {
356 compatible = "allwinner,sun4i-a10-apb0-clk";
357 reg = <0x01c20054 0x4>;
359 clock-output-names = "apb0";
362 apb0_gates: clk@01c20068 {
364 compatible = "allwinner,sun7i-a20-apb0-gates-clk";
365 reg = <0x01c20068 0x4>;
367 clock-indices = <0>, <1>,
371 clock-output-names = "apb0_codec", "apb0_spdif",
372 "apb0_ac97", "apb0_iis0", "apb0_iis1",
373 "apb0_pio", "apb0_ir0", "apb0_ir1",
374 "apb0_iis2", "apb0_keypad";
379 compatible = "allwinner,sun4i-a10-apb1-clk";
380 reg = <0x01c20058 0x4>;
381 clocks = <&osc24M>, <&pll6 1>, <&osc32k>;
382 clock-output-names = "apb1";
385 apb1_gates: clk@01c2006c {
387 compatible = "allwinner,sun7i-a20-apb1-gates-clk";
388 reg = <0x01c2006c 0x4>;
390 clock-indices = <0>, <1>,
396 clock-output-names = "apb1_i2c0", "apb1_i2c1",
397 "apb1_i2c2", "apb1_i2c3", "apb1_can",
398 "apb1_scr", "apb1_ps20", "apb1_ps21",
399 "apb1_i2c4", "apb1_uart0", "apb1_uart1",
400 "apb1_uart2", "apb1_uart3", "apb1_uart4",
401 "apb1_uart5", "apb1_uart6", "apb1_uart7";
404 nand_clk: clk@01c20080 {
406 compatible = "allwinner,sun4i-a10-mod0-clk";
407 reg = <0x01c20080 0x4>;
408 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
409 clock-output-names = "nand";
412 ms_clk: clk@01c20084 {
414 compatible = "allwinner,sun4i-a10-mod0-clk";
415 reg = <0x01c20084 0x4>;
416 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
417 clock-output-names = "ms";
420 mmc0_clk: clk@01c20088 {
422 compatible = "allwinner,sun4i-a10-mmc-clk";
423 reg = <0x01c20088 0x4>;
424 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
425 clock-output-names = "mmc0",
430 mmc1_clk: clk@01c2008c {
432 compatible = "allwinner,sun4i-a10-mmc-clk";
433 reg = <0x01c2008c 0x4>;
434 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
435 clock-output-names = "mmc1",
440 mmc2_clk: clk@01c20090 {
442 compatible = "allwinner,sun4i-a10-mmc-clk";
443 reg = <0x01c20090 0x4>;
444 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
445 clock-output-names = "mmc2",
450 mmc3_clk: clk@01c20094 {
452 compatible = "allwinner,sun4i-a10-mmc-clk";
453 reg = <0x01c20094 0x4>;
454 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
455 clock-output-names = "mmc3",
460 ts_clk: clk@01c20098 {
462 compatible = "allwinner,sun4i-a10-mod0-clk";
463 reg = <0x01c20098 0x4>;
464 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
465 clock-output-names = "ts";
468 ss_clk: clk@01c2009c {
470 compatible = "allwinner,sun4i-a10-mod0-clk";
471 reg = <0x01c2009c 0x4>;
472 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
473 clock-output-names = "ss";
476 spi0_clk: clk@01c200a0 {
478 compatible = "allwinner,sun4i-a10-mod0-clk";
479 reg = <0x01c200a0 0x4>;
480 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
481 clock-output-names = "spi0";
484 spi1_clk: clk@01c200a4 {
486 compatible = "allwinner,sun4i-a10-mod0-clk";
487 reg = <0x01c200a4 0x4>;
488 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
489 clock-output-names = "spi1";
492 spi2_clk: clk@01c200a8 {
494 compatible = "allwinner,sun4i-a10-mod0-clk";
495 reg = <0x01c200a8 0x4>;
496 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
497 clock-output-names = "spi2";
500 pata_clk: clk@01c200ac {
502 compatible = "allwinner,sun4i-a10-mod0-clk";
503 reg = <0x01c200ac 0x4>;
504 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
505 clock-output-names = "pata";
508 ir0_clk: clk@01c200b0 {
510 compatible = "allwinner,sun4i-a10-mod0-clk";
511 reg = <0x01c200b0 0x4>;
512 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
513 clock-output-names = "ir0";
516 ir1_clk: clk@01c200b4 {
518 compatible = "allwinner,sun4i-a10-mod0-clk";
519 reg = <0x01c200b4 0x4>;
520 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
521 clock-output-names = "ir1";
524 spdif_clk: clk@01c200c0 {
526 compatible = "allwinner,sun4i-a10-mod1-clk";
527 reg = <0x01c200c0 0x4>;
528 clocks = <&pll2 SUN4I_A10_PLL2_8X>,
529 <&pll2 SUN4I_A10_PLL2_4X>,
530 <&pll2 SUN4I_A10_PLL2_2X>,
531 <&pll2 SUN4I_A10_PLL2_1X>;
532 clock-output-names = "spdif";
535 keypad_clk: clk@01c200c4 {
537 compatible = "allwinner,sun4i-a10-mod0-clk";
538 reg = <0x01c200c4 0x4>;
540 clock-output-names = "keypad";
543 usb_clk: clk@01c200cc {
546 compatible = "allwinner,sun4i-a10-usb-clk";
547 reg = <0x01c200cc 0x4>;
549 clock-output-names = "usb_ohci0", "usb_ohci1",
553 spi3_clk: clk@01c200d4 {
555 compatible = "allwinner,sun4i-a10-mod0-clk";
556 reg = <0x01c200d4 0x4>;
557 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
558 clock-output-names = "spi3";
561 dram_gates: clk@01c20100 {
563 compatible = "allwinner,sun4i-a10-dram-gates-clk";
564 reg = <0x01c20100 0x4>;
575 clock-output-names = "dram_ve",
576 "dram_csi0", "dram_csi1",
579 "dram_tve0", "dram_tve1",
581 "dram_de_fe1", "dram_de_fe0",
582 "dram_de_be0", "dram_de_be1",
583 "dram_de_mp", "dram_ace";
586 ve_clk: clk@01c2013c {
589 compatible = "allwinner,sun4i-a10-ve-clk";
590 reg = <0x01c2013c 0x4>;
592 clock-output-names = "ve";
595 codec_clk: clk@01c20140 {
597 compatible = "allwinner,sun4i-a10-codec-clk";
598 reg = <0x01c20140 0x4>;
599 clocks = <&pll2 SUN4I_A10_PLL2_1X>;
600 clock-output-names = "codec";
603 mbus_clk: clk@01c2015c {
605 compatible = "allwinner,sun5i-a13-mbus-clk";
606 reg = <0x01c2015c 0x4>;
607 clocks = <&osc24M>, <&pll6 2>, <&pll5 1>;
608 clock-output-names = "mbus";
612 * The following two are dummy clocks, placeholders
613 * used in the gmac_tx clock. The gmac driver will
614 * choose one parent depending on the PHY interface
615 * mode, using clk_set_rate auto-reparenting.
617 * The actual TX clock rate is not controlled by the
620 mii_phy_tx_clk: clk@2 {
622 compatible = "fixed-clock";
623 clock-frequency = <25000000>;
624 clock-output-names = "mii_phy_tx";
627 gmac_int_tx_clk: clk@3 {
629 compatible = "fixed-clock";
630 clock-frequency = <125000000>;
631 clock-output-names = "gmac_int_tx";
634 gmac_tx_clk: clk@01c20164 {
636 compatible = "allwinner,sun7i-a20-gmac-clk";
637 reg = <0x01c20164 0x4>;
638 clocks = <&mii_phy_tx_clk>, <&gmac_int_tx_clk>;
639 clock-output-names = "gmac_tx";
643 * Dummy clock used by output clocks
647 compatible = "fixed-factor-clock";
651 clock-output-names = "osc24M_32k";
654 clk_out_a: clk@01c201f0 {
656 compatible = "allwinner,sun7i-a20-out-clk";
657 reg = <0x01c201f0 0x4>;
658 clocks = <&osc24M_32k>, <&osc32k>, <&osc24M>;
659 clock-output-names = "clk_out_a";
662 clk_out_b: clk@01c201f4 {
664 compatible = "allwinner,sun7i-a20-out-clk";
665 reg = <0x01c201f4 0x4>;
666 clocks = <&osc24M_32k>, <&osc32k>, <&osc24M>;
667 clock-output-names = "clk_out_b";
672 compatible = "simple-bus";
673 #address-cells = <1>;
677 sram-controller@01c00000 {
678 compatible = "allwinner,sun4i-a10-sram-controller";
679 reg = <0x01c00000 0x30>;
680 #address-cells = <1>;
684 sram_a: sram@00000000 {
685 compatible = "mmio-sram";
686 reg = <0x00000000 0xc000>;
687 #address-cells = <1>;
689 ranges = <0 0x00000000 0xc000>;
691 emac_sram: sram-section@8000 {
692 compatible = "allwinner,sun4i-a10-sram-a3-a4";
693 reg = <0x8000 0x4000>;
698 sram_d: sram@00010000 {
699 compatible = "mmio-sram";
700 reg = <0x00010000 0x1000>;
701 #address-cells = <1>;
703 ranges = <0 0x00010000 0x1000>;
705 otg_sram: sram-section@0000 {
706 compatible = "allwinner,sun4i-a10-sram-d";
707 reg = <0x0000 0x1000>;
713 nmi_intc: interrupt-controller@01c00030 {
714 compatible = "allwinner,sun7i-a20-sc-nmi";
715 interrupt-controller;
716 #interrupt-cells = <2>;
717 reg = <0x01c00030 0x0c>;
718 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
721 dma: dma-controller@01c02000 {
722 compatible = "allwinner,sun4i-a10-dma";
723 reg = <0x01c02000 0x1000>;
724 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
725 clocks = <&ahb_gates 6>;
730 compatible = "allwinner,sun4i-a10-spi";
731 reg = <0x01c05000 0x1000>;
732 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
733 clocks = <&ahb_gates 20>, <&spi0_clk>;
734 clock-names = "ahb", "mod";
735 dmas = <&dma SUN4I_DMA_DEDICATED 27>,
736 <&dma SUN4I_DMA_DEDICATED 26>;
737 dma-names = "rx", "tx";
739 #address-cells = <1>;
744 compatible = "allwinner,sun4i-a10-spi";
745 reg = <0x01c06000 0x1000>;
746 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
747 clocks = <&ahb_gates 21>, <&spi1_clk>;
748 clock-names = "ahb", "mod";
749 dmas = <&dma SUN4I_DMA_DEDICATED 9>,
750 <&dma SUN4I_DMA_DEDICATED 8>;
751 dma-names = "rx", "tx";
753 #address-cells = <1>;
757 emac: ethernet@01c0b000 {
758 compatible = "allwinner,sun4i-a10-emac";
759 reg = <0x01c0b000 0x1000>;
760 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
761 clocks = <&ahb_gates 17>;
762 allwinner,sram = <&emac_sram 1>;
766 mdio: mdio@01c0b080 {
767 compatible = "allwinner,sun4i-a10-mdio";
768 reg = <0x01c0b080 0x14>;
770 #address-cells = <1>;
775 compatible = "allwinner,sun5i-a13-mmc";
776 reg = <0x01c0f000 0x1000>;
777 clocks = <&ahb_gates 8>,
785 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
787 #address-cells = <1>;
792 compatible = "allwinner,sun5i-a13-mmc";
793 reg = <0x01c10000 0x1000>;
794 clocks = <&ahb_gates 9>,
802 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
804 #address-cells = <1>;
809 compatible = "allwinner,sun5i-a13-mmc";
810 reg = <0x01c11000 0x1000>;
811 clocks = <&ahb_gates 10>,
819 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
821 #address-cells = <1>;
826 compatible = "allwinner,sun5i-a13-mmc";
827 reg = <0x01c12000 0x1000>;
828 clocks = <&ahb_gates 11>,
836 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
838 #address-cells = <1>;
842 usb_otg: usb@01c13000 {
843 compatible = "allwinner,sun4i-a10-musb";
844 reg = <0x01c13000 0x0400>;
845 clocks = <&ahb_gates 0>;
846 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
847 interrupt-names = "mc";
850 extcon = <&usbphy 0>;
851 allwinner,sram = <&otg_sram 1>;
855 usbphy: phy@01c13400 {
857 compatible = "allwinner,sun7i-a20-usb-phy";
858 reg = <0x01c13400 0x10 0x01c14800 0x4 0x01c1c800 0x4>;
859 reg-names = "phy_ctrl", "pmu1", "pmu2";
860 clocks = <&usb_clk 8>;
861 clock-names = "usb_phy";
862 resets = <&usb_clk 0>, <&usb_clk 1>, <&usb_clk 2>;
863 reset-names = "usb0_reset", "usb1_reset", "usb2_reset";
867 ehci0: usb@01c14000 {
868 compatible = "allwinner,sun7i-a20-ehci", "generic-ehci";
869 reg = <0x01c14000 0x100>;
870 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
871 clocks = <&ahb_gates 1>;
877 ohci0: usb@01c14400 {
878 compatible = "allwinner,sun7i-a20-ohci", "generic-ohci";
879 reg = <0x01c14400 0x100>;
880 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
881 clocks = <&usb_clk 6>, <&ahb_gates 2>;
887 crypto: crypto-engine@01c15000 {
888 compatible = "allwinner,sun4i-a10-crypto";
889 reg = <0x01c15000 0x1000>;
890 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
891 clocks = <&ahb_gates 5>, <&ss_clk>;
892 clock-names = "ahb", "mod";
896 compatible = "allwinner,sun4i-a10-spi";
897 reg = <0x01c17000 0x1000>;
898 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
899 clocks = <&ahb_gates 22>, <&spi2_clk>;
900 clock-names = "ahb", "mod";
901 dmas = <&dma SUN4I_DMA_DEDICATED 29>,
902 <&dma SUN4I_DMA_DEDICATED 28>;
903 dma-names = "rx", "tx";
905 #address-cells = <1>;
909 ahci: sata@01c18000 {
910 compatible = "allwinner,sun4i-a10-ahci";
911 reg = <0x01c18000 0x1000>;
912 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
913 clocks = <&pll6 0>, <&ahb_gates 25>;
917 ehci1: usb@01c1c000 {
918 compatible = "allwinner,sun7i-a20-ehci", "generic-ehci";
919 reg = <0x01c1c000 0x100>;
920 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
921 clocks = <&ahb_gates 3>;
927 ohci1: usb@01c1c400 {
928 compatible = "allwinner,sun7i-a20-ohci", "generic-ohci";
929 reg = <0x01c1c400 0x100>;
930 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
931 clocks = <&usb_clk 7>, <&ahb_gates 4>;
938 compatible = "allwinner,sun4i-a10-spi";
939 reg = <0x01c1f000 0x1000>;
940 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
941 clocks = <&ahb_gates 23>, <&spi3_clk>;
942 clock-names = "ahb", "mod";
943 dmas = <&dma SUN4I_DMA_DEDICATED 31>,
944 <&dma SUN4I_DMA_DEDICATED 30>;
945 dma-names = "rx", "tx";
947 #address-cells = <1>;
951 pio: pinctrl@01c20800 {
952 compatible = "allwinner,sun7i-a20-pinctrl";
953 reg = <0x01c20800 0x400>;
954 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
955 clocks = <&apb0_gates 5>;
957 interrupt-controller;
958 #interrupt-cells = <3>;
961 pwm0_pins_a: pwm0@0 {
962 allwinner,pins = "PB2";
963 allwinner,function = "pwm";
964 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
965 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
968 pwm1_pins_a: pwm1@0 {
969 allwinner,pins = "PI3";
970 allwinner,function = "pwm";
971 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
972 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
975 uart0_pins_a: uart0@0 {
976 allwinner,pins = "PB22", "PB23";
977 allwinner,function = "uart0";
978 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
979 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
982 uart2_pins_a: uart2@0 {
983 allwinner,pins = "PI16", "PI17", "PI18", "PI19";
984 allwinner,function = "uart2";
985 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
986 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
989 uart3_pins_a: uart3@0 {
990 allwinner,pins = "PG6", "PG7", "PG8", "PG9";
991 allwinner,function = "uart3";
992 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
993 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
996 uart3_pins_b: uart3@1 {
997 allwinner,pins = "PH0", "PH1";
998 allwinner,function = "uart3";
999 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1000 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1003 uart4_pins_a: uart4@0 {
1004 allwinner,pins = "PG10", "PG11";
1005 allwinner,function = "uart4";
1006 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1007 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1010 uart4_pins_b: uart4@1 {
1011 allwinner,pins = "PH4", "PH5";
1012 allwinner,function = "uart4";
1013 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1014 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1017 uart5_pins_a: uart5@0 {
1018 allwinner,pins = "PI10", "PI11";
1019 allwinner,function = "uart5";
1020 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1021 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1024 uart6_pins_a: uart6@0 {
1025 allwinner,pins = "PI12", "PI13";
1026 allwinner,function = "uart6";
1027 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1028 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1031 uart7_pins_a: uart7@0 {
1032 allwinner,pins = "PI20", "PI21";
1033 allwinner,function = "uart7";
1034 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1035 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1038 i2c0_pins_a: i2c0@0 {
1039 allwinner,pins = "PB0", "PB1";
1040 allwinner,function = "i2c0";
1041 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1042 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1045 i2c1_pins_a: i2c1@0 {
1046 allwinner,pins = "PB18", "PB19";
1047 allwinner,function = "i2c1";
1048 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1049 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1052 i2c2_pins_a: i2c2@0 {
1053 allwinner,pins = "PB20", "PB21";
1054 allwinner,function = "i2c2";
1055 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1056 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1059 i2c3_pins_a: i2c3@0 {
1060 allwinner,pins = "PI0", "PI1";
1061 allwinner,function = "i2c3";
1062 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1063 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1066 emac_pins_a: emac0@0 {
1067 allwinner,pins = "PA0", "PA1", "PA2",
1068 "PA3", "PA4", "PA5", "PA6",
1069 "PA7", "PA8", "PA9", "PA10",
1070 "PA11", "PA12", "PA13", "PA14",
1072 allwinner,function = "emac";
1073 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1074 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1077 clk_out_a_pins_a: clk_out_a@0 {
1078 allwinner,pins = "PI12";
1079 allwinner,function = "clk_out_a";
1080 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1081 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1084 clk_out_b_pins_a: clk_out_b@0 {
1085 allwinner,pins = "PI13";
1086 allwinner,function = "clk_out_b";
1087 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1088 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1091 gmac_pins_mii_a: gmac_mii@0 {
1092 allwinner,pins = "PA0", "PA1", "PA2",
1093 "PA3", "PA4", "PA5", "PA6",
1094 "PA7", "PA8", "PA9", "PA10",
1095 "PA11", "PA12", "PA13", "PA14",
1097 allwinner,function = "gmac";
1098 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1099 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1102 gmac_pins_rgmii_a: gmac_rgmii@0 {
1103 allwinner,pins = "PA0", "PA1", "PA2",
1104 "PA3", "PA4", "PA5", "PA6",
1105 "PA7", "PA8", "PA10",
1106 "PA11", "PA12", "PA13",
1108 allwinner,function = "gmac";
1110 * data lines in RGMII mode use DDR mode
1111 * and need a higher signal drive strength
1113 allwinner,drive = <SUN4I_PINCTRL_40_MA>;
1114 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1117 spi0_pins_a: spi0@0 {
1118 allwinner,pins = "PI11", "PI12", "PI13";
1119 allwinner,function = "spi0";
1120 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1121 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1124 spi0_cs0_pins_a: spi0_cs0@0 {
1125 allwinner,pins = "PI10";
1126 allwinner,function = "spi0";
1127 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1128 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1131 spi0_cs1_pins_a: spi0_cs1@0 {
1132 allwinner,pins = "PI14";
1133 allwinner,function = "spi0";
1134 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1135 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1138 spi1_pins_a: spi1@0 {
1139 allwinner,pins = "PI17", "PI18", "PI19";
1140 allwinner,function = "spi1";
1141 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1142 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1145 spi1_cs0_pins_a: spi1_cs0@0 {
1146 allwinner,pins = "PI16";
1147 allwinner,function = "spi1";
1148 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1149 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1152 spi2_pins_a: spi2@0 {
1153 allwinner,pins = "PC20", "PC21", "PC22";
1154 allwinner,function = "spi2";
1155 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1156 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1159 spi2_pins_b: spi2@1 {
1160 allwinner,pins = "PB15", "PB16", "PB17";
1161 allwinner,function = "spi2";
1162 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1163 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1166 spi2_cs0_pins_a: spi2_cs0@0 {
1167 allwinner,pins = "PC19";
1168 allwinner,function = "spi2";
1169 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1170 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1173 spi2_cs0_pins_b: spi2_cs0@1 {
1174 allwinner,pins = "PB14";
1175 allwinner,function = "spi2";
1176 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1177 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1180 mmc0_pins_a: mmc0@0 {
1181 allwinner,pins = "PF0", "PF1", "PF2",
1182 "PF3", "PF4", "PF5";
1183 allwinner,function = "mmc0";
1184 allwinner,drive = <SUN4I_PINCTRL_30_MA>;
1185 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1188 mmc0_cd_pin_reference_design: mmc0_cd_pin@0 {
1189 allwinner,pins = "PH1";
1190 allwinner,function = "gpio_in";
1191 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1192 allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
1195 mmc2_pins_a: mmc2@0 {
1196 allwinner,pins = "PC6", "PC7", "PC8",
1197 "PC9", "PC10", "PC11";
1198 allwinner,function = "mmc2";
1199 allwinner,drive = <SUN4I_PINCTRL_30_MA>;
1200 allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
1203 mmc3_pins_a: mmc3@0 {
1204 allwinner,pins = "PI4", "PI5", "PI6",
1205 "PI7", "PI8", "PI9";
1206 allwinner,function = "mmc3";
1207 allwinner,drive = <SUN4I_PINCTRL_30_MA>;
1208 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1211 ir0_rx_pins_a: ir0@0 {
1212 allwinner,pins = "PB4";
1213 allwinner,function = "ir0";
1214 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1215 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1218 ir0_tx_pins_a: ir0@1 {
1219 allwinner,pins = "PB3";
1220 allwinner,function = "ir0";
1221 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1222 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1225 ir1_rx_pins_a: ir1@0 {
1226 allwinner,pins = "PB23";
1227 allwinner,function = "ir1";
1228 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1229 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1232 ir1_tx_pins_a: ir1@1 {
1233 allwinner,pins = "PB22";
1234 allwinner,function = "ir1";
1235 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1236 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1239 ps20_pins_a: ps20@0 {
1240 allwinner,pins = "PI20", "PI21";
1241 allwinner,function = "ps2";
1242 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1243 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1246 ps21_pins_a: ps21@0 {
1247 allwinner,pins = "PH12", "PH13";
1248 allwinner,function = "ps2";
1249 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1250 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
1253 spdif_tx_pins_a: spdif@0 {
1254 allwinner,pins = "PB13";
1255 allwinner,function = "spdif";
1256 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
1257 allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
1262 compatible = "allwinner,sun4i-a10-timer";
1263 reg = <0x01c20c00 0x90>;
1264 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
1265 <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>,
1266 <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
1267 <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>,
1268 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
1269 <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
1273 wdt: watchdog@01c20c90 {
1274 compatible = "allwinner,sun4i-a10-wdt";
1275 reg = <0x01c20c90 0x10>;
1279 compatible = "allwinner,sun7i-a20-rtc";
1280 reg = <0x01c20d00 0x20>;
1281 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
1285 compatible = "allwinner,sun7i-a20-pwm";
1286 reg = <0x01c20e00 0xc>;
1289 status = "disabled";
1292 spdif: spdif@01c21000 {
1293 #sound-dai-cells = <0>;
1294 compatible = "allwinner,sun4i-a10-spdif";
1295 reg = <0x01c21000 0x400>;
1296 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
1297 clocks = <&apb0_gates 1>, <&spdif_clk>;
1298 clock-names = "apb", "spdif";
1299 dmas = <&dma SUN4I_DMA_NORMAL 2>,
1300 <&dma SUN4I_DMA_NORMAL 2>;
1301 dma-names = "rx", "tx";
1302 status = "disabled";
1306 compatible = "allwinner,sun4i-a10-ir";
1307 clocks = <&apb0_gates 6>, <&ir0_clk>;
1308 clock-names = "apb", "ir";
1309 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1310 reg = <0x01c21800 0x40>;
1311 status = "disabled";
1315 compatible = "allwinner,sun4i-a10-ir";
1316 clocks = <&apb0_gates 7>, <&ir1_clk>;
1317 clock-names = "apb", "ir";
1318 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
1319 reg = <0x01c21c00 0x40>;
1320 status = "disabled";
1323 lradc: lradc@01c22800 {
1324 compatible = "allwinner,sun4i-a10-lradc-keys";
1325 reg = <0x01c22800 0x100>;
1326 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
1327 status = "disabled";
1330 codec: codec@01c22c00 {
1331 #sound-dai-cells = <0>;
1332 compatible = "allwinner,sun7i-a20-codec";
1333 reg = <0x01c22c00 0x40>;
1334 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
1335 clocks = <&apb0_gates 0>, <&codec_clk>;
1336 clock-names = "apb", "codec";
1337 dmas = <&dma SUN4I_DMA_NORMAL 19>,
1338 <&dma SUN4I_DMA_NORMAL 19>;
1339 dma-names = "rx", "tx";
1340 status = "disabled";
1343 sid: eeprom@01c23800 {
1344 compatible = "allwinner,sun7i-a20-sid";
1345 reg = <0x01c23800 0x200>;
1349 compatible = "allwinner,sun5i-a13-ts";
1350 reg = <0x01c25000 0x100>;
1351 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
1352 #thermal-sensor-cells = <0>;
1355 uart0: serial@01c28000 {
1356 compatible = "snps,dw-apb-uart";
1357 reg = <0x01c28000 0x400>;
1358 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
1361 clocks = <&apb1_gates 16>;
1362 status = "disabled";
1365 uart1: serial@01c28400 {
1366 compatible = "snps,dw-apb-uart";
1367 reg = <0x01c28400 0x400>;
1368 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
1371 clocks = <&apb1_gates 17>;
1372 status = "disabled";
1375 uart2: serial@01c28800 {
1376 compatible = "snps,dw-apb-uart";
1377 reg = <0x01c28800 0x400>;
1378 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
1381 clocks = <&apb1_gates 18>;
1382 status = "disabled";
1385 uart3: serial@01c28c00 {
1386 compatible = "snps,dw-apb-uart";
1387 reg = <0x01c28c00 0x400>;
1388 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
1391 clocks = <&apb1_gates 19>;
1392 status = "disabled";
1395 uart4: serial@01c29000 {
1396 compatible = "snps,dw-apb-uart";
1397 reg = <0x01c29000 0x400>;
1398 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1401 clocks = <&apb1_gates 20>;
1402 status = "disabled";
1405 uart5: serial@01c29400 {
1406 compatible = "snps,dw-apb-uart";
1407 reg = <0x01c29400 0x400>;
1408 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
1411 clocks = <&apb1_gates 21>;
1412 status = "disabled";
1415 uart6: serial@01c29800 {
1416 compatible = "snps,dw-apb-uart";
1417 reg = <0x01c29800 0x400>;
1418 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
1421 clocks = <&apb1_gates 22>;
1422 status = "disabled";
1425 uart7: serial@01c29c00 {
1426 compatible = "snps,dw-apb-uart";
1427 reg = <0x01c29c00 0x400>;
1428 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
1431 clocks = <&apb1_gates 23>;
1432 status = "disabled";
1435 i2c0: i2c@01c2ac00 {
1436 compatible = "allwinner,sun7i-a20-i2c",
1437 "allwinner,sun4i-a10-i2c";
1438 reg = <0x01c2ac00 0x400>;
1439 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
1440 clocks = <&apb1_gates 0>;
1441 status = "disabled";
1442 #address-cells = <1>;
1446 i2c1: i2c@01c2b000 {
1447 compatible = "allwinner,sun7i-a20-i2c",
1448 "allwinner,sun4i-a10-i2c";
1449 reg = <0x01c2b000 0x400>;
1450 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
1451 clocks = <&apb1_gates 1>;
1452 status = "disabled";
1453 #address-cells = <1>;
1457 i2c2: i2c@01c2b400 {
1458 compatible = "allwinner,sun7i-a20-i2c",
1459 "allwinner,sun4i-a10-i2c";
1460 reg = <0x01c2b400 0x400>;
1461 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
1462 clocks = <&apb1_gates 2>;
1463 status = "disabled";
1464 #address-cells = <1>;
1468 i2c3: i2c@01c2b800 {
1469 compatible = "allwinner,sun7i-a20-i2c",
1470 "allwinner,sun4i-a10-i2c";
1471 reg = <0x01c2b800 0x400>;
1472 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
1473 clocks = <&apb1_gates 3>;
1474 status = "disabled";
1475 #address-cells = <1>;
1479 i2c4: i2c@01c2c000 {
1480 compatible = "allwinner,sun7i-a20-i2c",
1481 "allwinner,sun4i-a10-i2c";
1482 reg = <0x01c2c000 0x400>;
1483 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
1484 clocks = <&apb1_gates 15>;
1485 status = "disabled";
1486 #address-cells = <1>;
1490 gmac: ethernet@01c50000 {
1491 compatible = "allwinner,sun7i-a20-gmac";
1492 reg = <0x01c50000 0x10000>;
1493 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
1494 interrupt-names = "macirq";
1495 clocks = <&ahb_gates 49>, <&gmac_tx_clk>;
1496 clock-names = "stmmaceth", "allwinner_gmac_tx";
1499 snps,force_sf_dma_mode;
1500 status = "disabled";
1501 #address-cells = <1>;
1506 compatible = "allwinner,sun7i-a20-hstimer";
1507 reg = <0x01c60000 0x1000>;
1508 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>,
1509 <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>,
1510 <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>,
1511 <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
1512 clocks = <&ahb_gates 28>;
1515 gic: interrupt-controller@01c81000 {
1516 compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic";
1517 reg = <0x01c81000 0x1000>,
1518 <0x01c82000 0x1000>,
1519 <0x01c84000 0x2000>,
1520 <0x01c86000 0x2000>;
1521 interrupt-controller;
1522 #interrupt-cells = <3>;
1523 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
1526 ps20: ps2@01c2a000 {
1527 compatible = "allwinner,sun4i-a10-ps2";
1528 reg = <0x01c2a000 0x400>;
1529 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
1530 clocks = <&apb1_gates 6>;
1531 status = "disabled";
1534 ps21: ps2@01c2a400 {
1535 compatible = "allwinner,sun4i-a10-ps2";
1536 reg = <0x01c2a400 0x400>;
1537 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
1538 clocks = <&apb1_gates 7>;
1539 status = "disabled";