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.
21 * You should have received a copy of the GNU General Public
22 * License along with this file; if not, write to the Free
23 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
28 * b) Permission is hereby granted, free of charge, to any person
29 * obtaining a copy of this software and associated documentation
30 * files (the "Software"), to deal in the Software without
31 * restriction, including without limitation the rights to use,
32 * copy, modify, merge, publish, distribute, sublicense, and/or
33 * sell copies of the Software, and to permit persons to whom the
34 * Software is furnished to do so, subject to the following
37 * The above copyright notice and this permission notice shall be
38 * included in all copies or substantial portions of the Software.
40 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
41 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
42 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
43 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
44 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
45 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
46 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
47 * OTHER DEALINGS IN THE SOFTWARE.
50 /include/ "skeleton.dtsi"
53 interrupt-parent = <&gic>;
73 compatible = "allwinner,simple-framebuffer", "simple-framebuffer";
74 allwinner,pipeline = "de_be0-lcd0-hdmi";
75 clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 43>,
86 compatible = "arm,cortex-a7";
92 compatible = "arm,cortex-a7";
99 reg = <0x40000000 0x80000000>;
103 compatible = "arm,armv7-timer";
104 interrupts = <1 13 0xf08>,
111 compatible = "arm,cortex-a7-pmu", "arm,cortex-a15-pmu";
112 interrupts = <0 120 4>,
117 #address-cells = <1>;
121 osc24M: clk@01c20050 {
123 compatible = "allwinner,sun4i-a10-osc-clk";
124 reg = <0x01c20050 0x4>;
125 clock-frequency = <24000000>;
126 clock-output-names = "osc24M";
131 compatible = "fixed-clock";
132 clock-frequency = <32768>;
133 clock-output-names = "osc32k";
138 compatible = "allwinner,sun4i-a10-pll1-clk";
139 reg = <0x01c20000 0x4>;
141 clock-output-names = "pll1";
146 compatible = "allwinner,sun7i-a20-pll4-clk";
147 reg = <0x01c20018 0x4>;
149 clock-output-names = "pll4";
154 compatible = "allwinner,sun4i-a10-pll5-clk";
155 reg = <0x01c20020 0x4>;
157 clock-output-names = "pll5_ddr", "pll5_other";
162 compatible = "allwinner,sun4i-a10-pll6-clk";
163 reg = <0x01c20028 0x4>;
165 clock-output-names = "pll6_sata", "pll6_other", "pll6";
170 compatible = "allwinner,sun7i-a20-pll4-clk";
171 reg = <0x01c20040 0x4>;
173 clock-output-names = "pll8";
178 compatible = "allwinner,sun4i-a10-cpu-clk";
179 reg = <0x01c20054 0x4>;
180 clocks = <&osc32k>, <&osc24M>, <&pll1>, <&pll6 1>;
181 clock-output-names = "cpu";
186 compatible = "allwinner,sun4i-a10-axi-clk";
187 reg = <0x01c20054 0x4>;
189 clock-output-names = "axi";
194 compatible = "allwinner,sun4i-a10-ahb-clk";
195 reg = <0x01c20054 0x4>;
197 clock-output-names = "ahb";
200 ahb_gates: clk@01c20060 {
202 compatible = "allwinner,sun7i-a20-ahb-gates-clk";
203 reg = <0x01c20060 0x8>;
205 clock-output-names = "ahb_usb0", "ahb_ehci0",
206 "ahb_ohci0", "ahb_ehci1", "ahb_ohci1",
207 "ahb_ss", "ahb_dma", "ahb_bist", "ahb_mmc0",
208 "ahb_mmc1", "ahb_mmc2", "ahb_mmc3", "ahb_ms",
209 "ahb_nand", "ahb_sdram", "ahb_ace",
210 "ahb_emac", "ahb_ts", "ahb_spi0", "ahb_spi1",
211 "ahb_spi2", "ahb_spi3", "ahb_sata",
212 "ahb_hstimer", "ahb_ve", "ahb_tvd", "ahb_tve0",
213 "ahb_tve1", "ahb_lcd0", "ahb_lcd1", "ahb_csi0",
214 "ahb_csi1", "ahb_hdmi1", "ahb_hdmi0",
215 "ahb_de_be0", "ahb_de_be1", "ahb_de_fe0",
216 "ahb_de_fe1", "ahb_gmac", "ahb_mp",
220 apb0: apb0@01c20054 {
222 compatible = "allwinner,sun4i-a10-apb0-clk";
223 reg = <0x01c20054 0x4>;
225 clock-output-names = "apb0";
228 apb0_gates: clk@01c20068 {
230 compatible = "allwinner,sun7i-a20-apb0-gates-clk";
231 reg = <0x01c20068 0x4>;
233 clock-output-names = "apb0_codec", "apb0_spdif",
234 "apb0_ac97", "apb0_iis0", "apb0_iis1",
235 "apb0_pio", "apb0_ir0", "apb0_ir1",
236 "apb0_iis2", "apb0_keypad";
241 compatible = "allwinner,sun4i-a10-apb1-clk";
242 reg = <0x01c20058 0x4>;
243 clocks = <&osc24M>, <&pll6 1>, <&osc32k>;
244 clock-output-names = "apb1";
247 apb1_gates: clk@01c2006c {
249 compatible = "allwinner,sun7i-a20-apb1-gates-clk";
250 reg = <0x01c2006c 0x4>;
252 clock-output-names = "apb1_i2c0", "apb1_i2c1",
253 "apb1_i2c2", "apb1_i2c3", "apb1_can",
254 "apb1_scr", "apb1_ps20", "apb1_ps21",
255 "apb1_i2c4", "apb1_uart0", "apb1_uart1",
256 "apb1_uart2", "apb1_uart3", "apb1_uart4",
257 "apb1_uart5", "apb1_uart6", "apb1_uart7";
260 nand_clk: clk@01c20080 {
262 compatible = "allwinner,sun4i-a10-mod0-clk";
263 reg = <0x01c20080 0x4>;
264 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
265 clock-output-names = "nand";
268 ms_clk: clk@01c20084 {
270 compatible = "allwinner,sun4i-a10-mod0-clk";
271 reg = <0x01c20084 0x4>;
272 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
273 clock-output-names = "ms";
276 mmc0_clk: clk@01c20088 {
278 compatible = "allwinner,sun4i-a10-mod0-clk";
279 reg = <0x01c20088 0x4>;
280 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
281 clock-output-names = "mmc0";
284 mmc1_clk: clk@01c2008c {
286 compatible = "allwinner,sun4i-a10-mod0-clk";
287 reg = <0x01c2008c 0x4>;
288 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
289 clock-output-names = "mmc1";
292 mmc2_clk: clk@01c20090 {
294 compatible = "allwinner,sun4i-a10-mod0-clk";
295 reg = <0x01c20090 0x4>;
296 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
297 clock-output-names = "mmc2";
300 mmc3_clk: clk@01c20094 {
302 compatible = "allwinner,sun4i-a10-mod0-clk";
303 reg = <0x01c20094 0x4>;
304 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
305 clock-output-names = "mmc3";
308 ts_clk: clk@01c20098 {
310 compatible = "allwinner,sun4i-a10-mod0-clk";
311 reg = <0x01c20098 0x4>;
312 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
313 clock-output-names = "ts";
316 ss_clk: clk@01c2009c {
318 compatible = "allwinner,sun4i-a10-mod0-clk";
319 reg = <0x01c2009c 0x4>;
320 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
321 clock-output-names = "ss";
324 spi0_clk: clk@01c200a0 {
326 compatible = "allwinner,sun4i-a10-mod0-clk";
327 reg = <0x01c200a0 0x4>;
328 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
329 clock-output-names = "spi0";
332 spi1_clk: clk@01c200a4 {
334 compatible = "allwinner,sun4i-a10-mod0-clk";
335 reg = <0x01c200a4 0x4>;
336 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
337 clock-output-names = "spi1";
340 spi2_clk: clk@01c200a8 {
342 compatible = "allwinner,sun4i-a10-mod0-clk";
343 reg = <0x01c200a8 0x4>;
344 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
345 clock-output-names = "spi2";
348 pata_clk: clk@01c200ac {
350 compatible = "allwinner,sun4i-a10-mod0-clk";
351 reg = <0x01c200ac 0x4>;
352 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
353 clock-output-names = "pata";
356 ir0_clk: clk@01c200b0 {
358 compatible = "allwinner,sun4i-a10-mod0-clk";
359 reg = <0x01c200b0 0x4>;
360 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
361 clock-output-names = "ir0";
364 ir1_clk: clk@01c200b4 {
366 compatible = "allwinner,sun4i-a10-mod0-clk";
367 reg = <0x01c200b4 0x4>;
368 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
369 clock-output-names = "ir1";
372 usb_clk: clk@01c200cc {
375 compatible = "allwinner,sun4i-a10-usb-clk";
376 reg = <0x01c200cc 0x4>;
378 clock-output-names = "usb_ohci0", "usb_ohci1", "usb_phy";
381 spi3_clk: clk@01c200d4 {
383 compatible = "allwinner,sun4i-a10-mod0-clk";
384 reg = <0x01c200d4 0x4>;
385 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
386 clock-output-names = "spi3";
389 mbus_clk: clk@01c2015c {
391 compatible = "allwinner,sun5i-a13-mbus-clk";
392 reg = <0x01c2015c 0x4>;
393 clocks = <&osc24M>, <&pll6 2>, <&pll5 1>;
394 clock-output-names = "mbus";
398 * The following two are dummy clocks, placeholders used in the gmac_tx
399 * clock. The gmac driver will choose one parent depending on the PHY
400 * interface mode, using clk_set_rate auto-reparenting.
401 * The actual TX clock rate is not controlled by the gmac_tx clock.
403 mii_phy_tx_clk: clk@2 {
405 compatible = "fixed-clock";
406 clock-frequency = <25000000>;
407 clock-output-names = "mii_phy_tx";
410 gmac_int_tx_clk: clk@3 {
412 compatible = "fixed-clock";
413 clock-frequency = <125000000>;
414 clock-output-names = "gmac_int_tx";
417 gmac_tx_clk: clk@01c20164 {
419 compatible = "allwinner,sun7i-a20-gmac-clk";
420 reg = <0x01c20164 0x4>;
421 clocks = <&mii_phy_tx_clk>, <&gmac_int_tx_clk>;
422 clock-output-names = "gmac_tx";
426 * Dummy clock used by output clocks
430 compatible = "fixed-factor-clock";
434 clock-output-names = "osc24M_32k";
437 clk_out_a: clk@01c201f0 {
439 compatible = "allwinner,sun7i-a20-out-clk";
440 reg = <0x01c201f0 0x4>;
441 clocks = <&osc24M_32k>, <&osc32k>, <&osc24M>;
442 clock-output-names = "clk_out_a";
445 clk_out_b: clk@01c201f4 {
447 compatible = "allwinner,sun7i-a20-out-clk";
448 reg = <0x01c201f4 0x4>;
449 clocks = <&osc24M_32k>, <&osc32k>, <&osc24M>;
450 clock-output-names = "clk_out_b";
455 compatible = "simple-bus";
456 #address-cells = <1>;
460 nmi_intc: interrupt-controller@01c00030 {
461 compatible = "allwinner,sun7i-a20-sc-nmi";
462 interrupt-controller;
463 #interrupt-cells = <2>;
464 reg = <0x01c00030 0x0c>;
465 interrupts = <0 0 4>;
468 dma: dma-controller@01c02000 {
469 compatible = "allwinner,sun4i-a10-dma";
470 reg = <0x01c02000 0x1000>;
471 interrupts = <0 27 4>;
472 clocks = <&ahb_gates 6>;
477 compatible = "allwinner,sun4i-a10-spi";
478 reg = <0x01c05000 0x1000>;
479 interrupts = <0 10 4>;
480 clocks = <&ahb_gates 20>, <&spi0_clk>;
481 clock-names = "ahb", "mod";
482 dmas = <&dma 1 27>, <&dma 1 26>;
483 dma-names = "rx", "tx";
485 #address-cells = <1>;
490 compatible = "allwinner,sun4i-a10-spi";
491 reg = <0x01c06000 0x1000>;
492 interrupts = <0 11 4>;
493 clocks = <&ahb_gates 21>, <&spi1_clk>;
494 clock-names = "ahb", "mod";
495 dmas = <&dma 1 9>, <&dma 1 8>;
496 dma-names = "rx", "tx";
498 #address-cells = <1>;
502 emac: ethernet@01c0b000 {
503 compatible = "allwinner,sun4i-a10-emac";
504 reg = <0x01c0b000 0x1000>;
505 interrupts = <0 55 4>;
506 clocks = <&ahb_gates 17>;
511 compatible = "allwinner,sun4i-a10-mdio";
512 reg = <0x01c0b080 0x14>;
514 #address-cells = <1>;
519 compatible = "allwinner,sun5i-a13-mmc";
520 reg = <0x01c0f000 0x1000>;
521 clocks = <&ahb_gates 8>, <&mmc0_clk>;
522 clock-names = "ahb", "mmc";
523 interrupts = <0 32 4>;
528 compatible = "allwinner,sun5i-a13-mmc";
529 reg = <0x01c10000 0x1000>;
530 clocks = <&ahb_gates 9>, <&mmc1_clk>;
531 clock-names = "ahb", "mmc";
532 interrupts = <0 33 4>;
537 compatible = "allwinner,sun5i-a13-mmc";
538 reg = <0x01c11000 0x1000>;
539 clocks = <&ahb_gates 10>, <&mmc2_clk>;
540 clock-names = "ahb", "mmc";
541 interrupts = <0 34 4>;
546 compatible = "allwinner,sun5i-a13-mmc";
547 reg = <0x01c12000 0x1000>;
548 clocks = <&ahb_gates 11>, <&mmc3_clk>;
549 clock-names = "ahb", "mmc";
550 interrupts = <0 35 4>;
554 usbphy: phy@01c13400 {
556 compatible = "allwinner,sun7i-a20-usb-phy";
557 reg = <0x01c13400 0x10 0x01c14800 0x4 0x01c1c800 0x4>;
558 reg-names = "phy_ctrl", "pmu1", "pmu2";
559 clocks = <&usb_clk 8>;
560 clock-names = "usb_phy";
561 resets = <&usb_clk 0>, <&usb_clk 1>, <&usb_clk 2>;
562 reset-names = "usb0_reset", "usb1_reset", "usb2_reset";
566 ehci0: usb@01c14000 {
567 compatible = "allwinner,sun7i-a20-ehci", "generic-ehci";
568 reg = <0x01c14000 0x100>;
569 interrupts = <0 39 4>;
570 clocks = <&ahb_gates 1>;
576 ohci0: usb@01c14400 {
577 compatible = "allwinner,sun7i-a20-ohci", "generic-ohci";
578 reg = <0x01c14400 0x100>;
579 interrupts = <0 64 4>;
580 clocks = <&usb_clk 6>, <&ahb_gates 2>;
587 compatible = "allwinner,sun4i-a10-spi";
588 reg = <0x01c17000 0x1000>;
589 interrupts = <0 12 4>;
590 clocks = <&ahb_gates 22>, <&spi2_clk>;
591 clock-names = "ahb", "mod";
592 dmas = <&dma 1 29>, <&dma 1 28>;
593 dma-names = "rx", "tx";
595 #address-cells = <1>;
599 ahci: sata@01c18000 {
600 compatible = "allwinner,sun4i-a10-ahci";
601 reg = <0x01c18000 0x1000>;
602 interrupts = <0 56 4>;
603 clocks = <&pll6 0>, <&ahb_gates 25>;
607 ehci1: usb@01c1c000 {
608 compatible = "allwinner,sun7i-a20-ehci", "generic-ehci";
609 reg = <0x01c1c000 0x100>;
610 interrupts = <0 40 4>;
611 clocks = <&ahb_gates 3>;
617 ohci1: usb@01c1c400 {
618 compatible = "allwinner,sun7i-a20-ohci", "generic-ohci";
619 reg = <0x01c1c400 0x100>;
620 interrupts = <0 65 4>;
621 clocks = <&usb_clk 7>, <&ahb_gates 4>;
628 compatible = "allwinner,sun4i-a10-spi";
629 reg = <0x01c1f000 0x1000>;
630 interrupts = <0 50 4>;
631 clocks = <&ahb_gates 23>, <&spi3_clk>;
632 clock-names = "ahb", "mod";
633 dmas = <&dma 1 31>, <&dma 1 30>;
634 dma-names = "rx", "tx";
636 #address-cells = <1>;
640 pio: pinctrl@01c20800 {
641 compatible = "allwinner,sun7i-a20-pinctrl";
642 reg = <0x01c20800 0x400>;
643 interrupts = <0 28 4>;
644 clocks = <&apb0_gates 5>;
646 interrupt-controller;
647 #interrupt-cells = <2>;
651 pwm0_pins_a: pwm0@0 {
652 allwinner,pins = "PB2";
653 allwinner,function = "pwm";
654 allwinner,drive = <0>;
655 allwinner,pull = <0>;
658 pwm1_pins_a: pwm1@0 {
659 allwinner,pins = "PI3";
660 allwinner,function = "pwm";
661 allwinner,drive = <0>;
662 allwinner,pull = <0>;
665 uart0_pins_a: uart0@0 {
666 allwinner,pins = "PB22", "PB23";
667 allwinner,function = "uart0";
668 allwinner,drive = <0>;
669 allwinner,pull = <0>;
672 uart2_pins_a: uart2@0 {
673 allwinner,pins = "PI16", "PI17", "PI18", "PI19";
674 allwinner,function = "uart2";
675 allwinner,drive = <0>;
676 allwinner,pull = <0>;
679 uart3_pins_a: uart3@0 {
680 allwinner,pins = "PG6", "PG7", "PG8", "PG9";
681 allwinner,function = "uart3";
682 allwinner,drive = <0>;
683 allwinner,pull = <0>;
686 uart3_pins_b: uart3@1 {
687 allwinner,pins = "PH0", "PH1";
688 allwinner,function = "uart3";
689 allwinner,drive = <0>;
690 allwinner,pull = <0>;
693 uart4_pins_a: uart4@0 {
694 allwinner,pins = "PG10", "PG11";
695 allwinner,function = "uart4";
696 allwinner,drive = <0>;
697 allwinner,pull = <0>;
700 uart5_pins_a: uart5@0 {
701 allwinner,pins = "PI10", "PI11";
702 allwinner,function = "uart5";
703 allwinner,drive = <0>;
704 allwinner,pull = <0>;
707 uart6_pins_a: uart6@0 {
708 allwinner,pins = "PI12", "PI13";
709 allwinner,function = "uart6";
710 allwinner,drive = <0>;
711 allwinner,pull = <0>;
714 uart7_pins_a: uart7@0 {
715 allwinner,pins = "PI20", "PI21";
716 allwinner,function = "uart7";
717 allwinner,drive = <0>;
718 allwinner,pull = <0>;
721 i2c0_pins_a: i2c0@0 {
722 allwinner,pins = "PB0", "PB1";
723 allwinner,function = "i2c0";
724 allwinner,drive = <0>;
725 allwinner,pull = <0>;
728 i2c1_pins_a: i2c1@0 {
729 allwinner,pins = "PB18", "PB19";
730 allwinner,function = "i2c1";
731 allwinner,drive = <0>;
732 allwinner,pull = <0>;
735 i2c2_pins_a: i2c2@0 {
736 allwinner,pins = "PB20", "PB21";
737 allwinner,function = "i2c2";
738 allwinner,drive = <0>;
739 allwinner,pull = <0>;
742 i2c3_pins_a: i2c3@0 {
743 allwinner,pins = "PI0", "PI1";
744 allwinner,function = "i2c3";
745 allwinner,drive = <0>;
746 allwinner,pull = <0>;
749 emac_pins_a: emac0@0 {
750 allwinner,pins = "PA0", "PA1", "PA2",
751 "PA3", "PA4", "PA5", "PA6",
752 "PA7", "PA8", "PA9", "PA10",
753 "PA11", "PA12", "PA13", "PA14",
755 allwinner,function = "emac";
756 allwinner,drive = <0>;
757 allwinner,pull = <0>;
760 clk_out_a_pins_a: clk_out_a@0 {
761 allwinner,pins = "PI12";
762 allwinner,function = "clk_out_a";
763 allwinner,drive = <0>;
764 allwinner,pull = <0>;
767 clk_out_b_pins_a: clk_out_b@0 {
768 allwinner,pins = "PI13";
769 allwinner,function = "clk_out_b";
770 allwinner,drive = <0>;
771 allwinner,pull = <0>;
774 gmac_pins_mii_a: gmac_mii@0 {
775 allwinner,pins = "PA0", "PA1", "PA2",
776 "PA3", "PA4", "PA5", "PA6",
777 "PA7", "PA8", "PA9", "PA10",
778 "PA11", "PA12", "PA13", "PA14",
780 allwinner,function = "gmac";
781 allwinner,drive = <0>;
782 allwinner,pull = <0>;
785 gmac_pins_rgmii_a: gmac_rgmii@0 {
786 allwinner,pins = "PA0", "PA1", "PA2",
787 "PA3", "PA4", "PA5", "PA6",
788 "PA7", "PA8", "PA10",
789 "PA11", "PA12", "PA13",
791 allwinner,function = "gmac";
793 * data lines in RGMII mode use DDR mode
794 * and need a higher signal drive strength
796 allwinner,drive = <3>;
797 allwinner,pull = <0>;
800 spi0_pins_a: spi0@0 {
801 allwinner,pins = "PI10", "PI11", "PI12", "PI13", "PI14";
802 allwinner,function = "spi0";
803 allwinner,drive = <0>;
804 allwinner,pull = <0>;
807 spi1_pins_a: spi1@0 {
808 allwinner,pins = "PI16", "PI17", "PI18", "PI19";
809 allwinner,function = "spi1";
810 allwinner,drive = <0>;
811 allwinner,pull = <0>;
814 spi2_pins_a: spi2@0 {
815 allwinner,pins = "PC19", "PC20", "PC21", "PC22";
816 allwinner,function = "spi2";
817 allwinner,drive = <0>;
818 allwinner,pull = <0>;
821 spi2_pins_b: spi2@1 {
822 allwinner,pins = "PB14", "PB15", "PB16", "PB17";
823 allwinner,function = "spi2";
824 allwinner,drive = <0>;
825 allwinner,pull = <0>;
828 mmc0_pins_a: mmc0@0 {
829 allwinner,pins = "PF0","PF1","PF2","PF3","PF4","PF5";
830 allwinner,function = "mmc0";
831 allwinner,drive = <2>;
832 allwinner,pull = <0>;
835 mmc0_cd_pin_reference_design: mmc0_cd_pin@0 {
836 allwinner,pins = "PH1";
837 allwinner,function = "gpio_in";
838 allwinner,drive = <0>;
839 allwinner,pull = <1>;
842 mmc2_pins_a: mmc2@0 {
843 allwinner,pins = "PC6","PC7","PC8","PC9","PC10","PC11";
844 allwinner,function = "mmc2";
845 allwinner,drive = <2>;
846 allwinner,pull = <1>;
849 mmc3_pins_a: mmc3@0 {
850 allwinner,pins = "PI4","PI5","PI6","PI7","PI8","PI9";
851 allwinner,function = "mmc3";
852 allwinner,drive = <2>;
853 allwinner,pull = <0>;
857 allwinner,pins = "PB3","PB4";
858 allwinner,function = "ir0";
859 allwinner,drive = <0>;
860 allwinner,pull = <0>;
864 allwinner,pins = "PB22","PB23";
865 allwinner,function = "ir1";
866 allwinner,drive = <0>;
867 allwinner,pull = <0>;
872 compatible = "allwinner,sun4i-a10-timer";
873 reg = <0x01c20c00 0x90>;
874 interrupts = <0 22 4>,
883 wdt: watchdog@01c20c90 {
884 compatible = "allwinner,sun4i-a10-wdt";
885 reg = <0x01c20c90 0x10>;
889 compatible = "allwinner,sun7i-a20-rtc";
890 reg = <0x01c20d00 0x20>;
891 interrupts = <0 24 4>;
895 compatible = "allwinner,sun7i-a20-pwm";
896 reg = <0x01c20e00 0xc>;
903 compatible = "allwinner,sun4i-a10-ir";
904 clocks = <&apb0_gates 6>, <&ir0_clk>;
905 clock-names = "apb", "ir";
906 interrupts = <0 5 4>;
907 reg = <0x01c21800 0x40>;
912 compatible = "allwinner,sun4i-a10-ir";
913 clocks = <&apb0_gates 7>, <&ir1_clk>;
914 clock-names = "apb", "ir";
915 interrupts = <0 6 4>;
916 reg = <0x01c21c00 0x40>;
920 sid: eeprom@01c23800 {
921 compatible = "allwinner,sun7i-a20-sid";
922 reg = <0x01c23800 0x200>;
926 compatible = "allwinner,sun4i-a10-ts";
927 reg = <0x01c25000 0x100>;
928 interrupts = <0 29 4>;
931 uart0: serial@01c28000 {
932 compatible = "snps,dw-apb-uart";
933 reg = <0x01c28000 0x400>;
934 interrupts = <0 1 4>;
937 clocks = <&apb1_gates 16>;
941 uart1: serial@01c28400 {
942 compatible = "snps,dw-apb-uart";
943 reg = <0x01c28400 0x400>;
944 interrupts = <0 2 4>;
947 clocks = <&apb1_gates 17>;
951 uart2: serial@01c28800 {
952 compatible = "snps,dw-apb-uart";
953 reg = <0x01c28800 0x400>;
954 interrupts = <0 3 4>;
957 clocks = <&apb1_gates 18>;
961 uart3: serial@01c28c00 {
962 compatible = "snps,dw-apb-uart";
963 reg = <0x01c28c00 0x400>;
964 interrupts = <0 4 4>;
967 clocks = <&apb1_gates 19>;
971 uart4: serial@01c29000 {
972 compatible = "snps,dw-apb-uart";
973 reg = <0x01c29000 0x400>;
974 interrupts = <0 17 4>;
977 clocks = <&apb1_gates 20>;
981 uart5: serial@01c29400 {
982 compatible = "snps,dw-apb-uart";
983 reg = <0x01c29400 0x400>;
984 interrupts = <0 18 4>;
987 clocks = <&apb1_gates 21>;
991 uart6: serial@01c29800 {
992 compatible = "snps,dw-apb-uart";
993 reg = <0x01c29800 0x400>;
994 interrupts = <0 19 4>;
997 clocks = <&apb1_gates 22>;
1001 uart7: serial@01c29c00 {
1002 compatible = "snps,dw-apb-uart";
1003 reg = <0x01c29c00 0x400>;
1004 interrupts = <0 20 4>;
1007 clocks = <&apb1_gates 23>;
1008 status = "disabled";
1011 i2c0: i2c@01c2ac00 {
1012 compatible = "allwinner,sun7i-a20-i2c", "allwinner,sun4i-a10-i2c";
1013 reg = <0x01c2ac00 0x400>;
1014 interrupts = <0 7 4>;
1015 clocks = <&apb1_gates 0>;
1016 status = "disabled";
1017 #address-cells = <1>;
1021 i2c1: i2c@01c2b000 {
1022 compatible = "allwinner,sun7i-a20-i2c", "allwinner,sun4i-a10-i2c";
1023 reg = <0x01c2b000 0x400>;
1024 interrupts = <0 8 4>;
1025 clocks = <&apb1_gates 1>;
1026 status = "disabled";
1027 #address-cells = <1>;
1031 i2c2: i2c@01c2b400 {
1032 compatible = "allwinner,sun7i-a20-i2c", "allwinner,sun4i-a10-i2c";
1033 reg = <0x01c2b400 0x400>;
1034 interrupts = <0 9 4>;
1035 clocks = <&apb1_gates 2>;
1036 status = "disabled";
1037 #address-cells = <1>;
1041 i2c3: i2c@01c2b800 {
1042 compatible = "allwinner,sun7i-a20-i2c", "allwinner,sun4i-a10-i2c";
1043 reg = <0x01c2b800 0x400>;
1044 interrupts = <0 88 4>;
1045 clocks = <&apb1_gates 3>;
1046 status = "disabled";
1047 #address-cells = <1>;
1051 i2c4: i2c@01c2c000 {
1052 compatible = "allwinner,sun7i-a20-i2c", "allwinner,sun4i-a10-i2c";
1053 reg = <0x01c2c000 0x400>;
1054 interrupts = <0 89 4>;
1055 clocks = <&apb1_gates 15>;
1056 status = "disabled";
1057 #address-cells = <1>;
1061 gmac: ethernet@01c50000 {
1062 compatible = "allwinner,sun7i-a20-gmac";
1063 reg = <0x01c50000 0x10000>;
1064 interrupts = <0 85 4>;
1065 interrupt-names = "macirq";
1066 clocks = <&ahb_gates 49>, <&gmac_tx_clk>;
1067 clock-names = "stmmaceth", "allwinner_gmac_tx";
1070 snps,force_sf_dma_mode;
1071 status = "disabled";
1072 #address-cells = <1>;
1077 compatible = "allwinner,sun7i-a20-hstimer";
1078 reg = <0x01c60000 0x1000>;
1079 interrupts = <0 81 4>,
1083 clocks = <&ahb_gates 28>;
1086 gic: interrupt-controller@01c81000 {
1087 compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic";
1088 reg = <0x01c81000 0x1000>,
1089 <0x01c82000 0x1000>,
1090 <0x01c84000 0x2000>,
1091 <0x01c86000 0x2000>;
1092 interrupt-controller;
1093 #interrupt-cells = <3>;
1094 interrupts = <1 9 0xf04>;