2 * Copyright 2013 Maxime Ripard
4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * The code contained herein is licensed under the GNU General Public
7 * License. You may obtain a copy of the GNU General Public License
8 * Version 2 or later at the following locations:
10 * http://www.opensource.org/licenses/gpl-license.html
11 * http://www.gnu.org/copyleft/gpl.html
14 /include/ "skeleton.dtsi"
17 interrupt-parent = <&gic>;
36 compatible = "arm,cortex-a7";
42 compatible = "arm,cortex-a7";
49 reg = <0x40000000 0x80000000>;
53 compatible = "arm,armv7-timer";
54 interrupts = <1 13 0xf08>,
61 compatible = "arm,cortex-a7-pmu", "arm,cortex-a15-pmu";
62 interrupts = <0 120 4>,
71 osc24M: clk@01c20050 {
73 compatible = "allwinner,sun4i-a10-osc-clk";
74 reg = <0x01c20050 0x4>;
75 clock-frequency = <24000000>;
76 clock-output-names = "osc24M";
81 compatible = "fixed-clock";
82 clock-frequency = <32768>;
83 clock-output-names = "osc32k";
88 compatible = "allwinner,sun4i-a10-pll1-clk";
89 reg = <0x01c20000 0x4>;
91 clock-output-names = "pll1";
96 compatible = "allwinner,sun7i-a20-pll4-clk";
97 reg = <0x01c20018 0x4>;
99 clock-output-names = "pll4";
104 compatible = "allwinner,sun4i-a10-pll5-clk";
105 reg = <0x01c20020 0x4>;
107 clock-output-names = "pll5_ddr", "pll5_other";
112 compatible = "allwinner,sun4i-a10-pll6-clk";
113 reg = <0x01c20028 0x4>;
115 clock-output-names = "pll6_sata", "pll6_other", "pll6";
120 compatible = "allwinner,sun7i-a20-pll4-clk";
121 reg = <0x01c20040 0x4>;
123 clock-output-names = "pll8";
128 compatible = "allwinner,sun4i-a10-cpu-clk";
129 reg = <0x01c20054 0x4>;
130 clocks = <&osc32k>, <&osc24M>, <&pll1>, <&pll6 1>;
131 clock-output-names = "cpu";
136 compatible = "allwinner,sun4i-a10-axi-clk";
137 reg = <0x01c20054 0x4>;
139 clock-output-names = "axi";
144 compatible = "allwinner,sun4i-a10-ahb-clk";
145 reg = <0x01c20054 0x4>;
147 clock-output-names = "ahb";
150 ahb_gates: clk@01c20060 {
152 compatible = "allwinner,sun7i-a20-ahb-gates-clk";
153 reg = <0x01c20060 0x8>;
155 clock-output-names = "ahb_usb0", "ahb_ehci0",
156 "ahb_ohci0", "ahb_ehci1", "ahb_ohci1",
157 "ahb_ss", "ahb_dma", "ahb_bist", "ahb_mmc0",
158 "ahb_mmc1", "ahb_mmc2", "ahb_mmc3", "ahb_ms",
159 "ahb_nand", "ahb_sdram", "ahb_ace",
160 "ahb_emac", "ahb_ts", "ahb_spi0", "ahb_spi1",
161 "ahb_spi2", "ahb_spi3", "ahb_sata",
162 "ahb_hstimer", "ahb_ve", "ahb_tvd", "ahb_tve0",
163 "ahb_tve1", "ahb_lcd0", "ahb_lcd1", "ahb_csi0",
164 "ahb_csi1", "ahb_hdmi1", "ahb_hdmi0",
165 "ahb_de_be0", "ahb_de_be1", "ahb_de_fe0",
166 "ahb_de_fe1", "ahb_gmac", "ahb_mp",
170 apb0: apb0@01c20054 {
172 compatible = "allwinner,sun4i-a10-apb0-clk";
173 reg = <0x01c20054 0x4>;
175 clock-output-names = "apb0";
178 apb0_gates: clk@01c20068 {
180 compatible = "allwinner,sun7i-a20-apb0-gates-clk";
181 reg = <0x01c20068 0x4>;
183 clock-output-names = "apb0_codec", "apb0_spdif",
184 "apb0_ac97", "apb0_iis0", "apb0_iis1",
185 "apb0_pio", "apb0_ir0", "apb0_ir1",
186 "apb0_iis2", "apb0_keypad";
189 apb1_mux: apb1_mux@01c20058 {
191 compatible = "allwinner,sun4i-a10-apb1-mux-clk";
192 reg = <0x01c20058 0x4>;
193 clocks = <&osc24M>, <&pll6 1>, <&osc32k>;
194 clock-output-names = "apb1_mux";
197 apb1: apb1@01c20058 {
199 compatible = "allwinner,sun4i-a10-apb1-clk";
200 reg = <0x01c20058 0x4>;
201 clocks = <&apb1_mux>;
202 clock-output-names = "apb1";
205 apb1_gates: clk@01c2006c {
207 compatible = "allwinner,sun7i-a20-apb1-gates-clk";
208 reg = <0x01c2006c 0x4>;
210 clock-output-names = "apb1_i2c0", "apb1_i2c1",
211 "apb1_i2c2", "apb1_i2c3", "apb1_can",
212 "apb1_scr", "apb1_ps20", "apb1_ps21",
213 "apb1_i2c4", "apb1_uart0", "apb1_uart1",
214 "apb1_uart2", "apb1_uart3", "apb1_uart4",
215 "apb1_uart5", "apb1_uart6", "apb1_uart7";
218 nand_clk: clk@01c20080 {
220 compatible = "allwinner,sun4i-a10-mod0-clk";
221 reg = <0x01c20080 0x4>;
222 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
223 clock-output-names = "nand";
226 ms_clk: clk@01c20084 {
228 compatible = "allwinner,sun4i-a10-mod0-clk";
229 reg = <0x01c20084 0x4>;
230 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
231 clock-output-names = "ms";
234 mmc0_clk: clk@01c20088 {
236 compatible = "allwinner,sun4i-a10-mod0-clk";
237 reg = <0x01c20088 0x4>;
238 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
239 clock-output-names = "mmc0";
242 mmc1_clk: clk@01c2008c {
244 compatible = "allwinner,sun4i-a10-mod0-clk";
245 reg = <0x01c2008c 0x4>;
246 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
247 clock-output-names = "mmc1";
250 mmc2_clk: clk@01c20090 {
252 compatible = "allwinner,sun4i-a10-mod0-clk";
253 reg = <0x01c20090 0x4>;
254 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
255 clock-output-names = "mmc2";
258 mmc3_clk: clk@01c20094 {
260 compatible = "allwinner,sun4i-a10-mod0-clk";
261 reg = <0x01c20094 0x4>;
262 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
263 clock-output-names = "mmc3";
266 ts_clk: clk@01c20098 {
268 compatible = "allwinner,sun4i-a10-mod0-clk";
269 reg = <0x01c20098 0x4>;
270 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
271 clock-output-names = "ts";
274 ss_clk: clk@01c2009c {
276 compatible = "allwinner,sun4i-a10-mod0-clk";
277 reg = <0x01c2009c 0x4>;
278 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
279 clock-output-names = "ss";
282 spi0_clk: clk@01c200a0 {
284 compatible = "allwinner,sun4i-a10-mod0-clk";
285 reg = <0x01c200a0 0x4>;
286 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
287 clock-output-names = "spi0";
290 spi1_clk: clk@01c200a4 {
292 compatible = "allwinner,sun4i-a10-mod0-clk";
293 reg = <0x01c200a4 0x4>;
294 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
295 clock-output-names = "spi1";
298 spi2_clk: clk@01c200a8 {
300 compatible = "allwinner,sun4i-a10-mod0-clk";
301 reg = <0x01c200a8 0x4>;
302 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
303 clock-output-names = "spi2";
306 pata_clk: clk@01c200ac {
308 compatible = "allwinner,sun4i-a10-mod0-clk";
309 reg = <0x01c200ac 0x4>;
310 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
311 clock-output-names = "pata";
314 ir0_clk: clk@01c200b0 {
316 compatible = "allwinner,sun4i-a10-mod0-clk";
317 reg = <0x01c200b0 0x4>;
318 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
319 clock-output-names = "ir0";
322 ir1_clk: clk@01c200b4 {
324 compatible = "allwinner,sun4i-a10-mod0-clk";
325 reg = <0x01c200b4 0x4>;
326 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
327 clock-output-names = "ir1";
330 usb_clk: clk@01c200cc {
333 compatible = "allwinner,sun4i-a10-usb-clk";
334 reg = <0x01c200cc 0x4>;
336 clock-output-names = "usb_ohci0", "usb_ohci1", "usb_phy";
339 spi3_clk: clk@01c200d4 {
341 compatible = "allwinner,sun4i-a10-mod0-clk";
342 reg = <0x01c200d4 0x4>;
343 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
344 clock-output-names = "spi3";
347 mbus_clk: clk@01c2015c {
349 compatible = "allwinner,sun4i-a10-mod0-clk";
350 reg = <0x01c2015c 0x4>;
351 clocks = <&osc24M>, <&pll6 2>, <&pll5 1>;
352 clock-output-names = "mbus";
356 * The following two are dummy clocks, placeholders used in the gmac_tx
357 * clock. The gmac driver will choose one parent depending on the PHY
358 * interface mode, using clk_set_rate auto-reparenting.
359 * The actual TX clock rate is not controlled by the gmac_tx clock.
361 mii_phy_tx_clk: clk@2 {
363 compatible = "fixed-clock";
364 clock-frequency = <25000000>;
365 clock-output-names = "mii_phy_tx";
368 gmac_int_tx_clk: clk@3 {
370 compatible = "fixed-clock";
371 clock-frequency = <125000000>;
372 clock-output-names = "gmac_int_tx";
375 gmac_tx_clk: clk@01c20164 {
377 compatible = "allwinner,sun7i-a20-gmac-clk";
378 reg = <0x01c20164 0x4>;
379 clocks = <&mii_phy_tx_clk>, <&gmac_int_tx_clk>;
380 clock-output-names = "gmac_tx";
384 * Dummy clock used by output clocks
388 compatible = "fixed-factor-clock";
392 clock-output-names = "osc24M_32k";
395 clk_out_a: clk@01c201f0 {
397 compatible = "allwinner,sun7i-a20-out-clk";
398 reg = <0x01c201f0 0x4>;
399 clocks = <&osc24M_32k>, <&osc32k>, <&osc24M>;
400 clock-output-names = "clk_out_a";
403 clk_out_b: clk@01c201f4 {
405 compatible = "allwinner,sun7i-a20-out-clk";
406 reg = <0x01c201f4 0x4>;
407 clocks = <&osc24M_32k>, <&osc32k>, <&osc24M>;
408 clock-output-names = "clk_out_b";
413 compatible = "simple-bus";
414 #address-cells = <1>;
418 nmi_intc: interrupt-controller@01c00030 {
419 compatible = "allwinner,sun7i-a20-sc-nmi";
420 interrupt-controller;
421 #interrupt-cells = <2>;
422 reg = <0x01c00030 0x0c>;
423 interrupts = <0 0 4>;
427 compatible = "allwinner,sun4i-a10-spi";
428 reg = <0x01c05000 0x1000>;
429 interrupts = <0 10 4>;
430 clocks = <&ahb_gates 20>, <&spi0_clk>;
431 clock-names = "ahb", "mod";
433 #address-cells = <1>;
438 compatible = "allwinner,sun4i-a10-spi";
439 reg = <0x01c06000 0x1000>;
440 interrupts = <0 11 4>;
441 clocks = <&ahb_gates 21>, <&spi1_clk>;
442 clock-names = "ahb", "mod";
444 #address-cells = <1>;
448 emac: ethernet@01c0b000 {
449 compatible = "allwinner,sun4i-a10-emac";
450 reg = <0x01c0b000 0x1000>;
451 interrupts = <0 55 4>;
452 clocks = <&ahb_gates 17>;
457 compatible = "allwinner,sun4i-a10-mdio";
458 reg = <0x01c0b080 0x14>;
460 #address-cells = <1>;
465 compatible = "allwinner,sun5i-a13-mmc";
466 reg = <0x01c0f000 0x1000>;
467 clocks = <&ahb_gates 8>, <&mmc0_clk>;
468 clock-names = "ahb", "mmc";
469 interrupts = <0 32 4>;
474 compatible = "allwinner,sun5i-a13-mmc";
475 reg = <0x01c10000 0x1000>;
476 clocks = <&ahb_gates 9>, <&mmc1_clk>;
477 clock-names = "ahb", "mmc";
478 interrupts = <0 33 4>;
483 compatible = "allwinner,sun5i-a13-mmc";
484 reg = <0x01c11000 0x1000>;
485 clocks = <&ahb_gates 10>, <&mmc2_clk>;
486 clock-names = "ahb", "mmc";
487 interrupts = <0 34 4>;
492 compatible = "allwinner,sun5i-a13-mmc";
493 reg = <0x01c12000 0x1000>;
494 clocks = <&ahb_gates 11>, <&mmc3_clk>;
495 clock-names = "ahb", "mmc";
496 interrupts = <0 35 4>;
500 usbphy: phy@01c13400 {
502 compatible = "allwinner,sun7i-a20-usb-phy";
503 reg = <0x01c13400 0x10 0x01c14800 0x4 0x01c1c800 0x4>;
504 reg-names = "phy_ctrl", "pmu1", "pmu2";
505 clocks = <&usb_clk 8>;
506 clock-names = "usb_phy";
507 resets = <&usb_clk 1>, <&usb_clk 2>;
508 reset-names = "usb1_reset", "usb2_reset";
512 ehci0: usb@01c14000 {
513 compatible = "allwinner,sun7i-a20-ehci", "generic-ehci";
514 reg = <0x01c14000 0x100>;
515 interrupts = <0 39 4>;
516 clocks = <&ahb_gates 1>;
522 ohci0: usb@01c14400 {
523 compatible = "allwinner,sun7i-a20-ohci", "generic-ohci";
524 reg = <0x01c14400 0x100>;
525 interrupts = <0 64 4>;
526 clocks = <&usb_clk 6>, <&ahb_gates 2>;
533 compatible = "allwinner,sun4i-a10-spi";
534 reg = <0x01c17000 0x1000>;
535 interrupts = <0 12 4>;
536 clocks = <&ahb_gates 22>, <&spi2_clk>;
537 clock-names = "ahb", "mod";
539 #address-cells = <1>;
543 ahci: sata@01c18000 {
544 compatible = "allwinner,sun4i-a10-ahci";
545 reg = <0x01c18000 0x1000>;
546 interrupts = <0 56 4>;
547 clocks = <&pll6 0>, <&ahb_gates 25>;
551 ehci1: usb@01c1c000 {
552 compatible = "allwinner,sun7i-a20-ehci", "generic-ehci";
553 reg = <0x01c1c000 0x100>;
554 interrupts = <0 40 4>;
555 clocks = <&ahb_gates 3>;
561 ohci1: usb@01c1c400 {
562 compatible = "allwinner,sun7i-a20-ohci", "generic-ohci";
563 reg = <0x01c1c400 0x100>;
564 interrupts = <0 65 4>;
565 clocks = <&usb_clk 7>, <&ahb_gates 4>;
572 compatible = "allwinner,sun4i-a10-spi";
573 reg = <0x01c1f000 0x1000>;
574 interrupts = <0 50 4>;
575 clocks = <&ahb_gates 23>, <&spi3_clk>;
576 clock-names = "ahb", "mod";
578 #address-cells = <1>;
582 pio: pinctrl@01c20800 {
583 compatible = "allwinner,sun7i-a20-pinctrl";
584 reg = <0x01c20800 0x400>;
585 interrupts = <0 28 4>;
586 clocks = <&apb0_gates 5>;
588 interrupt-controller;
589 #address-cells = <1>;
593 pwm0_pins_a: pwm0@0 {
594 allwinner,pins = "PB2";
595 allwinner,function = "pwm";
596 allwinner,drive = <0>;
597 allwinner,pull = <0>;
600 pwm1_pins_a: pwm1@0 {
601 allwinner,pins = "PI3";
602 allwinner,function = "pwm";
603 allwinner,drive = <0>;
604 allwinner,pull = <0>;
607 uart0_pins_a: uart0@0 {
608 allwinner,pins = "PB22", "PB23";
609 allwinner,function = "uart0";
610 allwinner,drive = <0>;
611 allwinner,pull = <0>;
614 uart2_pins_a: uart2@0 {
615 allwinner,pins = "PI16", "PI17", "PI18", "PI19";
616 allwinner,function = "uart2";
617 allwinner,drive = <0>;
618 allwinner,pull = <0>;
621 uart6_pins_a: uart6@0 {
622 allwinner,pins = "PI12", "PI13";
623 allwinner,function = "uart6";
624 allwinner,drive = <0>;
625 allwinner,pull = <0>;
628 uart7_pins_a: uart7@0 {
629 allwinner,pins = "PI20", "PI21";
630 allwinner,function = "uart7";
631 allwinner,drive = <0>;
632 allwinner,pull = <0>;
635 i2c0_pins_a: i2c0@0 {
636 allwinner,pins = "PB0", "PB1";
637 allwinner,function = "i2c0";
638 allwinner,drive = <0>;
639 allwinner,pull = <0>;
642 i2c1_pins_a: i2c1@0 {
643 allwinner,pins = "PB18", "PB19";
644 allwinner,function = "i2c1";
645 allwinner,drive = <0>;
646 allwinner,pull = <0>;
649 i2c2_pins_a: i2c2@0 {
650 allwinner,pins = "PB20", "PB21";
651 allwinner,function = "i2c2";
652 allwinner,drive = <0>;
653 allwinner,pull = <0>;
656 emac_pins_a: emac0@0 {
657 allwinner,pins = "PA0", "PA1", "PA2",
658 "PA3", "PA4", "PA5", "PA6",
659 "PA7", "PA8", "PA9", "PA10",
660 "PA11", "PA12", "PA13", "PA14",
662 allwinner,function = "emac";
663 allwinner,drive = <0>;
664 allwinner,pull = <0>;
667 clk_out_a_pins_a: clk_out_a@0 {
668 allwinner,pins = "PI12";
669 allwinner,function = "clk_out_a";
670 allwinner,drive = <0>;
671 allwinner,pull = <0>;
674 clk_out_b_pins_a: clk_out_b@0 {
675 allwinner,pins = "PI13";
676 allwinner,function = "clk_out_b";
677 allwinner,drive = <0>;
678 allwinner,pull = <0>;
681 gmac_pins_mii_a: gmac_mii@0 {
682 allwinner,pins = "PA0", "PA1", "PA2",
683 "PA3", "PA4", "PA5", "PA6",
684 "PA7", "PA8", "PA9", "PA10",
685 "PA11", "PA12", "PA13", "PA14",
687 allwinner,function = "gmac";
688 allwinner,drive = <0>;
689 allwinner,pull = <0>;
692 gmac_pins_rgmii_a: gmac_rgmii@0 {
693 allwinner,pins = "PA0", "PA1", "PA2",
694 "PA3", "PA4", "PA5", "PA6",
695 "PA7", "PA8", "PA10",
696 "PA11", "PA12", "PA13",
698 allwinner,function = "gmac";
700 * data lines in RGMII mode use DDR mode
701 * and need a higher signal drive strength
703 allwinner,drive = <3>;
704 allwinner,pull = <0>;
707 spi1_pins_a: spi1@0 {
708 allwinner,pins = "PI16", "PI17", "PI18", "PI19";
709 allwinner,function = "spi1";
710 allwinner,drive = <0>;
711 allwinner,pull = <0>;
714 spi2_pins_a: spi2@0 {
715 allwinner,pins = "PC19", "PC20", "PC21", "PC22";
716 allwinner,function = "spi2";
717 allwinner,drive = <0>;
718 allwinner,pull = <0>;
721 mmc0_pins_a: mmc0@0 {
722 allwinner,pins = "PF0","PF1","PF2","PF3","PF4","PF5";
723 allwinner,function = "mmc0";
724 allwinner,drive = <2>;
725 allwinner,pull = <0>;
728 mmc0_cd_pin_reference_design: mmc0_cd_pin@0 {
729 allwinner,pins = "PH1";
730 allwinner,function = "gpio_in";
731 allwinner,drive = <0>;
732 allwinner,pull = <1>;
735 mmc3_pins_a: mmc3@0 {
736 allwinner,pins = "PI4","PI5","PI6","PI7","PI8","PI9";
737 allwinner,function = "mmc3";
738 allwinner,drive = <2>;
739 allwinner,pull = <0>;
744 compatible = "allwinner,sun4i-a10-timer";
745 reg = <0x01c20c00 0x90>;
746 interrupts = <0 22 4>,
755 wdt: watchdog@01c20c90 {
756 compatible = "allwinner,sun4i-a10-wdt";
757 reg = <0x01c20c90 0x10>;
761 compatible = "allwinner,sun7i-a20-rtc";
762 reg = <0x01c20d00 0x20>;
763 interrupts = <0 24 4>;
767 compatible = "allwinner,sun7i-a20-pwm";
768 reg = <0x01c20e00 0xc>;
774 sid: eeprom@01c23800 {
775 compatible = "allwinner,sun7i-a20-sid";
776 reg = <0x01c23800 0x200>;
780 compatible = "allwinner,sun4i-a10-ts";
781 reg = <0x01c25000 0x100>;
782 interrupts = <0 29 4>;
785 uart0: serial@01c28000 {
786 compatible = "snps,dw-apb-uart";
787 reg = <0x01c28000 0x400>;
788 interrupts = <0 1 4>;
791 clocks = <&apb1_gates 16>;
795 uart1: serial@01c28400 {
796 compatible = "snps,dw-apb-uart";
797 reg = <0x01c28400 0x400>;
798 interrupts = <0 2 4>;
801 clocks = <&apb1_gates 17>;
805 uart2: serial@01c28800 {
806 compatible = "snps,dw-apb-uart";
807 reg = <0x01c28800 0x400>;
808 interrupts = <0 3 4>;
811 clocks = <&apb1_gates 18>;
815 uart3: serial@01c28c00 {
816 compatible = "snps,dw-apb-uart";
817 reg = <0x01c28c00 0x400>;
818 interrupts = <0 4 4>;
821 clocks = <&apb1_gates 19>;
825 uart4: serial@01c29000 {
826 compatible = "snps,dw-apb-uart";
827 reg = <0x01c29000 0x400>;
828 interrupts = <0 17 4>;
831 clocks = <&apb1_gates 20>;
835 uart5: serial@01c29400 {
836 compatible = "snps,dw-apb-uart";
837 reg = <0x01c29400 0x400>;
838 interrupts = <0 18 4>;
841 clocks = <&apb1_gates 21>;
845 uart6: serial@01c29800 {
846 compatible = "snps,dw-apb-uart";
847 reg = <0x01c29800 0x400>;
848 interrupts = <0 19 4>;
851 clocks = <&apb1_gates 22>;
855 uart7: serial@01c29c00 {
856 compatible = "snps,dw-apb-uart";
857 reg = <0x01c29c00 0x400>;
858 interrupts = <0 20 4>;
861 clocks = <&apb1_gates 23>;
866 compatible = "allwinner,sun7i-a20-i2c", "allwinner,sun4i-a10-i2c";
867 reg = <0x01c2ac00 0x400>;
868 interrupts = <0 7 4>;
869 clocks = <&apb1_gates 0>;
870 clock-frequency = <100000>;
872 #address-cells = <1>;
877 compatible = "allwinner,sun7i-a20-i2c", "allwinner,sun4i-a10-i2c";
878 reg = <0x01c2b000 0x400>;
879 interrupts = <0 8 4>;
880 clocks = <&apb1_gates 1>;
881 clock-frequency = <100000>;
883 #address-cells = <1>;
888 compatible = "allwinner,sun7i-a20-i2c", "allwinner,sun4i-a10-i2c";
889 reg = <0x01c2b400 0x400>;
890 interrupts = <0 9 4>;
891 clocks = <&apb1_gates 2>;
892 clock-frequency = <100000>;
894 #address-cells = <1>;
899 compatible = "allwinner,sun7i-a20-i2c", "allwinner,sun4i-a10-i2c";
900 reg = <0x01c2b800 0x400>;
901 interrupts = <0 88 4>;
902 clocks = <&apb1_gates 3>;
903 clock-frequency = <100000>;
905 #address-cells = <1>;
910 compatible = "allwinner,sun7i-a20-i2c", "allwinner,sun4i-a10-i2c";
911 reg = <0x01c2c000 0x400>;
912 interrupts = <0 89 4>;
913 clocks = <&apb1_gates 15>;
914 clock-frequency = <100000>;
916 #address-cells = <1>;
920 gmac: ethernet@01c50000 {
921 compatible = "allwinner,sun7i-a20-gmac";
922 reg = <0x01c50000 0x10000>;
923 interrupts = <0 85 4>;
924 interrupt-names = "macirq";
925 clocks = <&ahb_gates 49>, <&gmac_tx_clk>;
926 clock-names = "stmmaceth", "allwinner_gmac_tx";
929 snps,force_sf_dma_mode;
931 #address-cells = <1>;
936 compatible = "allwinner,sun7i-a20-hstimer";
937 reg = <0x01c60000 0x1000>;
938 interrupts = <0 81 4>,
942 clocks = <&ahb_gates 28>;
945 gic: interrupt-controller@01c81000 {
946 compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic";
947 reg = <0x01c81000 0x1000>,
951 interrupt-controller;
952 #interrupt-cells = <3>;
953 interrupts = <1 9 0xf04>;