2 * Copyright (C) 2015 Jens Kuske <jenskuske@gmail.com>
4 * This file is dual-licensed: you can use it either under the terms
5 * of the GPL or the X11 license, at your option. Note that this dual
6 * licensing only applies to this file, and not this project as a
9 * a) This file is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of the
12 * License, or (at your option) any later version.
14 * This file is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
21 * b) Permission is hereby granted, free of charge, to any person
22 * obtaining a copy of this software and associated documentation
23 * files (the "Software"), to deal in the Software without
24 * restriction, including without limitation the rights to use,
25 * copy, modify, merge, publish, distribute, sublicense, and/or
26 * sell copies of the Software, and to permit persons to whom the
27 * Software is furnished to do so, subject to the following
30 * The above copyright notice and this permission notice shall be
31 * included in all copies or substantial portions of the Software.
33 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40 * OTHER DEALINGS IN THE SOFTWARE.
43 #include <dt-bindings/clock/sun8i-de2.h>
44 #include <dt-bindings/clock/sun8i-h3-ccu.h>
45 #include <dt-bindings/clock/sun8i-r-ccu.h>
46 #include <dt-bindings/interrupt-controller/arm-gic.h>
47 #include <dt-bindings/reset/sun8i-de2.h>
48 #include <dt-bindings/reset/sun8i-h3-ccu.h>
49 #include <dt-bindings/reset/sun8i-r-ccu.h>
52 interrupt-parent = <&gic>;
62 compatible = "allwinner,simple-framebuffer",
64 allwinner,pipeline = "mixer0-lcd0-hdmi";
65 clocks = <&display_clocks CLK_MIXER0>,
66 <&ccu CLK_TCON0>, <&ccu CLK_HDMI>;
71 compatible = "allwinner,simple-framebuffer",
73 allwinner,pipeline = "mixer1-lcd1-tve";
74 clocks = <&display_clocks CLK_MIXER1>,
87 compatible = "fixed-clock";
88 clock-frequency = <24000000>;
89 clock-accuracy = <50000>;
90 clock-output-names = "osc24M";
95 compatible = "fixed-clock";
96 clock-frequency = <32768>;
97 clock-accuracy = <50000>;
98 clock-output-names = "ext_osc32k";
103 compatible = "allwinner,sun8i-h3-display-engine";
104 allwinner,pipelines = <&mixer0>;
109 compatible = "simple-bus";
110 #address-cells = <1>;
114 display_clocks: clock@1000000 {
115 /* compatible is in per SoC .dtsi file */
116 reg = <0x01000000 0x100000>;
117 clocks = <&ccu CLK_DE>,
121 resets = <&ccu RST_BUS_DE>;
126 mixer0: mixer@1100000 {
127 compatible = "allwinner,sun8i-h3-de2-mixer-0";
128 reg = <0x01100000 0x100000>;
129 clocks = <&display_clocks CLK_BUS_MIXER0>,
130 <&display_clocks CLK_MIXER0>;
133 resets = <&display_clocks RST_MIXER0>;
136 #address-cells = <1>;
142 mixer0_out_tcon0: endpoint {
143 remote-endpoint = <&tcon0_in_mixer0>;
149 dma: dma-controller@1c02000 {
150 compatible = "allwinner,sun8i-h3-dma";
151 reg = <0x01c02000 0x1000>;
152 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
153 clocks = <&ccu CLK_BUS_DMA>;
154 resets = <&ccu RST_BUS_DMA>;
158 tcon0: lcd-controller@1c0c000 {
159 compatible = "allwinner,sun8i-h3-tcon-tv",
160 "allwinner,sun8i-a83t-tcon-tv";
161 reg = <0x01c0c000 0x1000>;
162 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
163 clocks = <&ccu CLK_BUS_TCON0>, <&ccu CLK_TCON0>;
164 clock-names = "ahb", "tcon-ch1";
165 resets = <&ccu RST_BUS_TCON0>;
169 #address-cells = <1>;
175 tcon0_in_mixer0: endpoint {
176 remote-endpoint = <&mixer0_out_tcon0>;
181 #address-cells = <1>;
185 tcon0_out_hdmi: endpoint@1 {
187 remote-endpoint = <&hdmi_in_tcon0>;
194 /* compatible and clocks are in per SoC .dtsi file */
195 reg = <0x01c0f000 0x1000>;
196 pinctrl-names = "default";
197 pinctrl-0 = <&mmc0_pins>;
198 resets = <&ccu RST_BUS_MMC0>;
200 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
202 #address-cells = <1>;
207 /* compatible and clocks are in per SoC .dtsi file */
208 reg = <0x01c10000 0x1000>;
209 pinctrl-names = "default";
210 pinctrl-0 = <&mmc1_pins>;
211 resets = <&ccu RST_BUS_MMC1>;
213 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
215 #address-cells = <1>;
220 /* compatible and clocks are in per SoC .dtsi file */
221 reg = <0x01c11000 0x1000>;
222 resets = <&ccu RST_BUS_MMC2>;
224 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
226 #address-cells = <1>;
230 usb_otg: usb@1c19000 {
231 compatible = "allwinner,sun8i-h3-musb";
232 reg = <0x01c19000 0x400>;
233 clocks = <&ccu CLK_BUS_OTG>;
234 resets = <&ccu RST_BUS_OTG>;
235 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
236 interrupt-names = "mc";
239 extcon = <&usbphy 0>;
243 usbphy: phy@1c19400 {
244 compatible = "allwinner,sun8i-h3-usb-phy";
245 reg = <0x01c19400 0x2c>,
250 reg-names = "phy_ctrl",
255 clocks = <&ccu CLK_USB_PHY0>,
259 clock-names = "usb0_phy",
263 resets = <&ccu RST_USB_PHY0>,
267 reset-names = "usb0_reset",
276 compatible = "allwinner,sun8i-h3-ehci", "generic-ehci";
277 reg = <0x01c1a000 0x100>;
278 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
279 clocks = <&ccu CLK_BUS_EHCI0>, <&ccu CLK_BUS_OHCI0>;
280 resets = <&ccu RST_BUS_EHCI0>, <&ccu RST_BUS_OHCI0>;
285 compatible = "allwinner,sun8i-h3-ohci", "generic-ohci";
286 reg = <0x01c1a400 0x100>;
287 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
288 clocks = <&ccu CLK_BUS_EHCI0>, <&ccu CLK_BUS_OHCI0>,
289 <&ccu CLK_USB_OHCI0>;
290 resets = <&ccu RST_BUS_EHCI0>, <&ccu RST_BUS_OHCI0>;
295 compatible = "allwinner,sun8i-h3-ehci", "generic-ehci";
296 reg = <0x01c1b000 0x100>;
297 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
298 clocks = <&ccu CLK_BUS_EHCI1>, <&ccu CLK_BUS_OHCI1>;
299 resets = <&ccu RST_BUS_EHCI1>, <&ccu RST_BUS_OHCI1>;
306 compatible = "allwinner,sun8i-h3-ohci", "generic-ohci";
307 reg = <0x01c1b400 0x100>;
308 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
309 clocks = <&ccu CLK_BUS_EHCI1>, <&ccu CLK_BUS_OHCI1>,
310 <&ccu CLK_USB_OHCI1>;
311 resets = <&ccu RST_BUS_EHCI1>, <&ccu RST_BUS_OHCI1>;
318 compatible = "allwinner,sun8i-h3-ehci", "generic-ehci";
319 reg = <0x01c1c000 0x100>;
320 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
321 clocks = <&ccu CLK_BUS_EHCI2>, <&ccu CLK_BUS_OHCI2>;
322 resets = <&ccu RST_BUS_EHCI2>, <&ccu RST_BUS_OHCI2>;
329 compatible = "allwinner,sun8i-h3-ohci", "generic-ohci";
330 reg = <0x01c1c400 0x100>;
331 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
332 clocks = <&ccu CLK_BUS_EHCI2>, <&ccu CLK_BUS_OHCI2>,
333 <&ccu CLK_USB_OHCI2>;
334 resets = <&ccu RST_BUS_EHCI2>, <&ccu RST_BUS_OHCI2>;
341 compatible = "allwinner,sun8i-h3-ehci", "generic-ehci";
342 reg = <0x01c1d000 0x100>;
343 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
344 clocks = <&ccu CLK_BUS_EHCI3>, <&ccu CLK_BUS_OHCI3>;
345 resets = <&ccu RST_BUS_EHCI3>, <&ccu RST_BUS_OHCI3>;
352 compatible = "allwinner,sun8i-h3-ohci", "generic-ohci";
353 reg = <0x01c1d400 0x100>;
354 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
355 clocks = <&ccu CLK_BUS_EHCI3>, <&ccu CLK_BUS_OHCI3>,
356 <&ccu CLK_USB_OHCI3>;
357 resets = <&ccu RST_BUS_EHCI3>, <&ccu RST_BUS_OHCI3>;
364 /* compatible is in per SoC .dtsi file */
365 reg = <0x01c20000 0x400>;
366 clocks = <&osc24M>, <&rtc 0>;
367 clock-names = "hosc", "losc";
372 pio: pinctrl@1c20800 {
373 /* compatible is in per SoC .dtsi file */
374 reg = <0x01c20800 0x400>;
375 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
376 <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
377 clocks = <&ccu CLK_BUS_PIO>, <&osc24M>, <&rtc 0>;
378 clock-names = "apb", "hosc", "losc";
381 interrupt-controller;
382 #interrupt-cells = <3>;
385 pins = "PE0", "PE2", "PE3", "PE4", "PE5",
386 "PE6", "PE7", "PE8", "PE9", "PE10",
391 emac_rgmii_pins: emac0 {
392 pins = "PD0", "PD1", "PD2", "PD3", "PD4",
393 "PD5", "PD7", "PD8", "PD9", "PD10",
394 "PD12", "PD13", "PD15", "PD16", "PD17";
396 drive-strength = <40>;
400 pins = "PA11", "PA12";
405 pins = "PA18", "PA19";
410 pins = "PE12", "PE13";
415 pins = "PF0", "PF1", "PF2", "PF3",
418 drive-strength = <30>;
423 pins = "PG0", "PG1", "PG2", "PG3",
426 drive-strength = <30>;
430 mmc2_8bit_pins: mmc2_8bit {
431 pins = "PC5", "PC6", "PC8",
432 "PC9", "PC10", "PC11",
433 "PC12", "PC13", "PC14",
436 drive-strength = <30>;
440 spdif_tx_pins_a: spdif {
446 pins = "PC0", "PC1", "PC2", "PC3";
451 pins = "PA15", "PA16", "PA14", "PA13";
455 uart0_pins_a: uart0 {
465 uart1_rts_cts_pins: uart1_rts_cts {
476 pins = "PA13", "PA14";
480 uart3_rts_cts_pins: uart3_rts_cts {
481 pins = "PA15", "PA16";
487 compatible = "allwinner,sun4i-a10-timer";
488 reg = <0x01c20c00 0xa0>;
489 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
490 <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
494 emac: ethernet@1c30000 {
495 compatible = "allwinner,sun8i-h3-emac";
497 reg = <0x01c30000 0x10000>;
498 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
499 interrupt-names = "macirq";
500 resets = <&ccu RST_BUS_EMAC>;
501 reset-names = "stmmaceth";
502 clocks = <&ccu CLK_BUS_EMAC>;
503 clock-names = "stmmaceth";
507 #address-cells = <1>;
509 compatible = "snps,dwmac-mdio";
513 compatible = "allwinner,sun8i-h3-mdio-mux";
514 #address-cells = <1>;
517 mdio-parent-bus = <&mdio>;
518 /* Only one MDIO is usable at the time */
519 internal_mdio: mdio@1 {
520 compatible = "allwinner,sun8i-h3-mdio-internal";
522 #address-cells = <1>;
525 int_mii_phy: ethernet-phy@1 {
526 compatible = "ethernet-phy-ieee802.3-c22";
528 clocks = <&ccu CLK_BUS_EPHY>;
529 resets = <&ccu RST_BUS_EPHY>;
533 external_mdio: mdio@2 {
535 #address-cells = <1>;
542 compatible = "allwinner,sun8i-h3-spi";
543 reg = <0x01c68000 0x1000>;
544 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
545 clocks = <&ccu CLK_BUS_SPI0>, <&ccu CLK_SPI0>;
546 clock-names = "ahb", "mod";
547 dmas = <&dma 23>, <&dma 23>;
548 dma-names = "rx", "tx";
549 pinctrl-names = "default";
550 pinctrl-0 = <&spi0_pins>;
551 resets = <&ccu RST_BUS_SPI0>;
553 #address-cells = <1>;
558 compatible = "allwinner,sun8i-h3-spi";
559 reg = <0x01c69000 0x1000>;
560 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
561 clocks = <&ccu CLK_BUS_SPI1>, <&ccu CLK_SPI1>;
562 clock-names = "ahb", "mod";
563 dmas = <&dma 24>, <&dma 24>;
564 dma-names = "rx", "tx";
565 pinctrl-names = "default";
566 pinctrl-0 = <&spi1_pins>;
567 resets = <&ccu RST_BUS_SPI1>;
569 #address-cells = <1>;
573 wdt0: watchdog@1c20ca0 {
574 compatible = "allwinner,sun6i-a31-wdt";
575 reg = <0x01c20ca0 0x20>;
576 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
579 spdif: spdif@1c21000 {
580 #sound-dai-cells = <0>;
581 compatible = "allwinner,sun8i-h3-spdif";
582 reg = <0x01c21000 0x400>;
583 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
584 clocks = <&ccu CLK_BUS_SPDIF>, <&ccu CLK_SPDIF>;
585 resets = <&ccu RST_BUS_SPDIF>;
586 clock-names = "apb", "spdif";
593 compatible = "allwinner,sun8i-h3-pwm";
594 reg = <0x01c21400 0x8>;
601 #sound-dai-cells = <0>;
602 compatible = "allwinner,sun8i-h3-i2s";
603 reg = <0x01c22000 0x400>;
604 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
605 clocks = <&ccu CLK_BUS_I2S0>, <&ccu CLK_I2S0>;
606 clock-names = "apb", "mod";
607 dmas = <&dma 3>, <&dma 3>;
608 resets = <&ccu RST_BUS_I2S0>;
609 dma-names = "rx", "tx";
614 #sound-dai-cells = <0>;
615 compatible = "allwinner,sun8i-h3-i2s";
616 reg = <0x01c22400 0x400>;
617 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
618 clocks = <&ccu CLK_BUS_I2S1>, <&ccu CLK_I2S1>;
619 clock-names = "apb", "mod";
620 dmas = <&dma 4>, <&dma 4>;
621 resets = <&ccu RST_BUS_I2S1>;
622 dma-names = "rx", "tx";
626 codec: codec@1c22c00 {
627 #sound-dai-cells = <0>;
628 compatible = "allwinner,sun8i-h3-codec";
629 reg = <0x01c22c00 0x400>;
630 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
631 clocks = <&ccu CLK_BUS_CODEC>, <&ccu CLK_AC_DIG>;
632 clock-names = "apb", "codec";
633 resets = <&ccu RST_BUS_CODEC>;
634 dmas = <&dma 15>, <&dma 15>;
635 dma-names = "rx", "tx";
636 allwinner,codec-analog-controls = <&codec_analog>;
640 uart0: serial@1c28000 {
641 compatible = "snps,dw-apb-uart";
642 reg = <0x01c28000 0x400>;
643 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
646 clocks = <&ccu CLK_BUS_UART0>;
647 resets = <&ccu RST_BUS_UART0>;
648 dmas = <&dma 6>, <&dma 6>;
649 dma-names = "rx", "tx";
653 uart1: serial@1c28400 {
654 compatible = "snps,dw-apb-uart";
655 reg = <0x01c28400 0x400>;
656 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
659 clocks = <&ccu CLK_BUS_UART1>;
660 resets = <&ccu RST_BUS_UART1>;
661 dmas = <&dma 7>, <&dma 7>;
662 dma-names = "rx", "tx";
666 uart2: serial@1c28800 {
667 compatible = "snps,dw-apb-uart";
668 reg = <0x01c28800 0x400>;
669 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
672 clocks = <&ccu CLK_BUS_UART2>;
673 resets = <&ccu RST_BUS_UART2>;
674 dmas = <&dma 8>, <&dma 8>;
675 dma-names = "rx", "tx";
679 uart3: serial@1c28c00 {
680 compatible = "snps,dw-apb-uart";
681 reg = <0x01c28c00 0x400>;
682 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
685 clocks = <&ccu CLK_BUS_UART3>;
686 resets = <&ccu RST_BUS_UART3>;
687 dmas = <&dma 9>, <&dma 9>;
688 dma-names = "rx", "tx";
693 compatible = "allwinner,sun6i-a31-i2c";
694 reg = <0x01c2ac00 0x400>;
695 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
696 clocks = <&ccu CLK_BUS_I2C0>;
697 resets = <&ccu RST_BUS_I2C0>;
698 pinctrl-names = "default";
699 pinctrl-0 = <&i2c0_pins>;
701 #address-cells = <1>;
706 compatible = "allwinner,sun6i-a31-i2c";
707 reg = <0x01c2b000 0x400>;
708 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
709 clocks = <&ccu CLK_BUS_I2C1>;
710 resets = <&ccu RST_BUS_I2C1>;
711 pinctrl-names = "default";
712 pinctrl-0 = <&i2c1_pins>;
714 #address-cells = <1>;
719 compatible = "allwinner,sun6i-a31-i2c";
720 reg = <0x01c2b400 0x400>;
721 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
722 clocks = <&ccu CLK_BUS_I2C2>;
723 resets = <&ccu RST_BUS_I2C2>;
724 pinctrl-names = "default";
725 pinctrl-0 = <&i2c2_pins>;
727 #address-cells = <1>;
731 gic: interrupt-controller@1c81000 {
732 compatible = "arm,gic-400";
733 reg = <0x01c81000 0x1000>,
737 interrupt-controller;
738 #interrupt-cells = <3>;
739 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
742 csi: camera@1cb0000 {
743 compatible = "allwinner,sun8i-h3-csi";
744 reg = <0x01cb0000 0x1000>;
745 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
746 clocks = <&ccu CLK_BUS_CSI>,
749 clock-names = "bus", "mod", "ram";
750 resets = <&ccu RST_BUS_CSI>;
751 pinctrl-names = "default";
752 pinctrl-0 = <&csi_pins>;
757 compatible = "allwinner,sun8i-h3-dw-hdmi",
758 "allwinner,sun8i-a83t-dw-hdmi";
759 reg = <0x01ee0000 0x10000>;
761 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
762 clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_DDC>,
764 clock-names = "iahb", "isfr", "tmds";
765 resets = <&ccu RST_BUS_HDMI1>;
766 reset-names = "ctrl";
768 phy-names = "hdmi-phy";
772 #address-cells = <1>;
778 hdmi_in_tcon0: endpoint {
779 remote-endpoint = <&tcon0_out_hdmi>;
789 hdmi_phy: hdmi-phy@1ef0000 {
790 compatible = "allwinner,sun8i-h3-hdmi-phy";
791 reg = <0x01ef0000 0x10000>;
792 clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_DDC>,
794 clock-names = "bus", "mod", "pll-0";
795 resets = <&ccu RST_BUS_HDMI0>;
801 /* compatible is in per SoC .dtsi file */
802 reg = <0x01f00000 0x400>;
803 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
804 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
805 clock-output-names = "osc32k", "osc32k-out", "iosc";
810 r_ccu: clock@1f01400 {
811 compatible = "allwinner,sun8i-h3-r-ccu";
812 reg = <0x01f01400 0x100>;
813 clocks = <&osc24M>, <&rtc 0>, <&rtc 2>, <&ccu 9>;
814 clock-names = "hosc", "losc", "iosc", "pll-periph";
819 codec_analog: codec-analog@1f015c0 {
820 compatible = "allwinner,sun8i-h3-codec-analog";
821 reg = <0x01f015c0 0x4>;
825 compatible = "allwinner,sun5i-a13-ir";
826 clocks = <&r_ccu CLK_APB0_IR>, <&r_ccu CLK_IR>;
827 clock-names = "apb", "ir";
828 resets = <&r_ccu RST_APB0_IR>;
829 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
830 reg = <0x01f02000 0x400>;
835 compatible = "allwinner,sun6i-a31-i2c";
836 reg = <0x01f02400 0x400>;
837 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
838 pinctrl-names = "default";
839 pinctrl-0 = <&r_i2c_pins>;
840 clocks = <&r_ccu CLK_APB0_I2C>;
841 resets = <&r_ccu RST_APB0_I2C>;
843 #address-cells = <1>;
847 r_pio: pinctrl@1f02c00 {
848 compatible = "allwinner,sun8i-h3-r-pinctrl";
849 reg = <0x01f02c00 0x400>;
850 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
851 clocks = <&r_ccu CLK_APB0_PIO>, <&osc24M>, <&rtc 0>;
852 clock-names = "apb", "hosc", "losc";
855 interrupt-controller;
856 #interrupt-cells = <3>;
860 function = "s_cir_rx";