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-output-names = "osc24M";
94 compatible = "fixed-clock";
95 clock-frequency = <32768>;
96 clock-output-names = "osc32k";
99 iosc: internal-osc-clk {
101 compatible = "fixed-clock";
102 clock-frequency = <16000000>;
103 clock-accuracy = <300000000>;
104 clock-output-names = "iosc";
109 compatible = "allwinner,sun8i-h3-display-engine";
110 allwinner,pipelines = <&mixer0>;
115 compatible = "simple-bus";
116 #address-cells = <1>;
120 display_clocks: clock@1000000 {
121 /* compatible is in per SoC .dtsi file */
122 reg = <0x01000000 0x100000>;
123 clocks = <&ccu CLK_DE>,
127 resets = <&ccu RST_BUS_DE>;
132 mixer0: mixer@1100000 {
133 compatible = "allwinner,sun8i-h3-de2-mixer-0";
134 reg = <0x01100000 0x100000>;
135 clocks = <&display_clocks CLK_BUS_MIXER0>,
136 <&display_clocks CLK_MIXER0>;
139 resets = <&display_clocks RST_MIXER0>;
142 #address-cells = <1>;
148 mixer0_out_tcon0: endpoint {
149 remote-endpoint = <&tcon0_in_mixer0>;
155 syscon: syscon@1c00000 {
156 compatible = "allwinner,sun8i-h3-system-controller",
158 reg = <0x01c00000 0x1000>;
161 dma: dma-controller@1c02000 {
162 compatible = "allwinner,sun8i-h3-dma";
163 reg = <0x01c02000 0x1000>;
164 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
165 clocks = <&ccu CLK_BUS_DMA>;
166 resets = <&ccu RST_BUS_DMA>;
170 tcon0: lcd-controller@1c0c000 {
171 compatible = "allwinner,sun8i-h3-tcon-tv",
172 "allwinner,sun8i-a83t-tcon-tv";
173 reg = <0x01c0c000 0x1000>;
174 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
175 clocks = <&ccu CLK_BUS_TCON0>, <&ccu CLK_TCON0>;
176 clock-names = "ahb", "tcon-ch1";
177 resets = <&ccu RST_BUS_TCON0>;
181 #address-cells = <1>;
187 tcon0_in_mixer0: endpoint {
188 remote-endpoint = <&mixer0_out_tcon0>;
193 #address-cells = <1>;
197 tcon0_out_hdmi: endpoint@1 {
199 remote-endpoint = <&hdmi_in_tcon0>;
206 /* compatible and clocks are in per SoC .dtsi file */
207 reg = <0x01c0f000 0x1000>;
208 pinctrl-names = "default";
209 pinctrl-0 = <&mmc0_pins>;
210 resets = <&ccu RST_BUS_MMC0>;
212 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
214 #address-cells = <1>;
219 /* compatible and clocks are in per SoC .dtsi file */
220 reg = <0x01c10000 0x1000>;
221 pinctrl-names = "default";
222 pinctrl-0 = <&mmc1_pins>;
223 resets = <&ccu RST_BUS_MMC1>;
225 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
227 #address-cells = <1>;
232 /* compatible and clocks are in per SoC .dtsi file */
233 reg = <0x01c11000 0x1000>;
234 resets = <&ccu RST_BUS_MMC2>;
236 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
238 #address-cells = <1>;
242 usb_otg: usb@1c19000 {
243 compatible = "allwinner,sun8i-h3-musb";
244 reg = <0x01c19000 0x400>;
245 clocks = <&ccu CLK_BUS_OTG>;
246 resets = <&ccu RST_BUS_OTG>;
247 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
248 interrupt-names = "mc";
251 extcon = <&usbphy 0>;
255 usbphy: phy@1c19400 {
256 compatible = "allwinner,sun8i-h3-usb-phy";
257 reg = <0x01c19400 0x2c>,
262 reg-names = "phy_ctrl",
267 clocks = <&ccu CLK_USB_PHY0>,
271 clock-names = "usb0_phy",
275 resets = <&ccu RST_USB_PHY0>,
279 reset-names = "usb0_reset",
288 compatible = "allwinner,sun8i-h3-ehci", "generic-ehci";
289 reg = <0x01c1a000 0x100>;
290 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
291 clocks = <&ccu CLK_BUS_EHCI0>, <&ccu CLK_BUS_OHCI0>;
292 resets = <&ccu RST_BUS_EHCI0>, <&ccu RST_BUS_OHCI0>;
297 compatible = "allwinner,sun8i-h3-ohci", "generic-ohci";
298 reg = <0x01c1a400 0x100>;
299 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
300 clocks = <&ccu CLK_BUS_EHCI0>, <&ccu CLK_BUS_OHCI0>,
301 <&ccu CLK_USB_OHCI0>;
302 resets = <&ccu RST_BUS_EHCI0>, <&ccu RST_BUS_OHCI0>;
307 compatible = "allwinner,sun8i-h3-ehci", "generic-ehci";
308 reg = <0x01c1b000 0x100>;
309 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
310 clocks = <&ccu CLK_BUS_EHCI1>, <&ccu CLK_BUS_OHCI1>;
311 resets = <&ccu RST_BUS_EHCI1>, <&ccu RST_BUS_OHCI1>;
318 compatible = "allwinner,sun8i-h3-ohci", "generic-ohci";
319 reg = <0x01c1b400 0x100>;
320 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
321 clocks = <&ccu CLK_BUS_EHCI1>, <&ccu CLK_BUS_OHCI1>,
322 <&ccu CLK_USB_OHCI1>;
323 resets = <&ccu RST_BUS_EHCI1>, <&ccu RST_BUS_OHCI1>;
330 compatible = "allwinner,sun8i-h3-ehci", "generic-ehci";
331 reg = <0x01c1c000 0x100>;
332 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
333 clocks = <&ccu CLK_BUS_EHCI2>, <&ccu CLK_BUS_OHCI2>;
334 resets = <&ccu RST_BUS_EHCI2>, <&ccu RST_BUS_OHCI2>;
341 compatible = "allwinner,sun8i-h3-ohci", "generic-ohci";
342 reg = <0x01c1c400 0x100>;
343 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
344 clocks = <&ccu CLK_BUS_EHCI2>, <&ccu CLK_BUS_OHCI2>,
345 <&ccu CLK_USB_OHCI2>;
346 resets = <&ccu RST_BUS_EHCI2>, <&ccu RST_BUS_OHCI2>;
353 compatible = "allwinner,sun8i-h3-ehci", "generic-ehci";
354 reg = <0x01c1d000 0x100>;
355 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
356 clocks = <&ccu CLK_BUS_EHCI3>, <&ccu CLK_BUS_OHCI3>;
357 resets = <&ccu RST_BUS_EHCI3>, <&ccu RST_BUS_OHCI3>;
364 compatible = "allwinner,sun8i-h3-ohci", "generic-ohci";
365 reg = <0x01c1d400 0x100>;
366 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
367 clocks = <&ccu CLK_BUS_EHCI3>, <&ccu CLK_BUS_OHCI3>,
368 <&ccu CLK_USB_OHCI3>;
369 resets = <&ccu RST_BUS_EHCI3>, <&ccu RST_BUS_OHCI3>;
376 /* compatible is in per SoC .dtsi file */
377 reg = <0x01c20000 0x400>;
378 clocks = <&osc24M>, <&osc32k>;
379 clock-names = "hosc", "losc";
384 pio: pinctrl@1c20800 {
385 /* compatible is in per SoC .dtsi file */
386 reg = <0x01c20800 0x400>;
387 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
388 <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
389 clocks = <&ccu CLK_BUS_PIO>, <&osc24M>, <&osc32k>;
390 clock-names = "apb", "hosc", "losc";
393 interrupt-controller;
394 #interrupt-cells = <3>;
396 emac_rgmii_pins: emac0 {
397 pins = "PD0", "PD1", "PD2", "PD3", "PD4",
398 "PD5", "PD7", "PD8", "PD9", "PD10",
399 "PD12", "PD13", "PD15", "PD16", "PD17";
401 drive-strength = <40>;
405 pins = "PA11", "PA12";
410 pins = "PA18", "PA19";
415 pins = "PE12", "PE13";
420 pins = "PF0", "PF1", "PF2", "PF3",
423 drive-strength = <30>;
428 pins = "PG0", "PG1", "PG2", "PG3",
431 drive-strength = <30>;
435 mmc2_8bit_pins: mmc2_8bit {
436 pins = "PC5", "PC6", "PC8",
437 "PC9", "PC10", "PC11",
438 "PC12", "PC13", "PC14",
441 drive-strength = <30>;
445 spdif_tx_pins_a: spdif {
451 pins = "PC0", "PC1", "PC2", "PC3";
456 pins = "PA15", "PA16", "PA14", "PA13";
460 uart0_pins_a: uart0 {
470 uart1_rts_cts_pins: uart1_rts_cts {
481 pins = "PA13", "PA14";
485 uart3_rts_cts_pins: uart3_rts_cts {
486 pins = "PA15", "PA16";
492 compatible = "allwinner,sun4i-a10-timer";
493 reg = <0x01c20c00 0xa0>;
494 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
495 <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
499 emac: ethernet@1c30000 {
500 compatible = "allwinner,sun8i-h3-emac";
502 reg = <0x01c30000 0x10000>;
503 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
504 interrupt-names = "macirq";
505 resets = <&ccu RST_BUS_EMAC>;
506 reset-names = "stmmaceth";
507 clocks = <&ccu CLK_BUS_EMAC>;
508 clock-names = "stmmaceth";
512 #address-cells = <1>;
514 compatible = "snps,dwmac-mdio";
518 compatible = "allwinner,sun8i-h3-mdio-mux";
519 #address-cells = <1>;
522 mdio-parent-bus = <&mdio>;
523 /* Only one MDIO is usable at the time */
524 internal_mdio: mdio@1 {
525 compatible = "allwinner,sun8i-h3-mdio-internal";
527 #address-cells = <1>;
530 int_mii_phy: ethernet-phy@1 {
531 compatible = "ethernet-phy-ieee802.3-c22";
533 clocks = <&ccu CLK_BUS_EPHY>;
534 resets = <&ccu RST_BUS_EPHY>;
538 external_mdio: mdio@2 {
540 #address-cells = <1>;
547 compatible = "allwinner,sun8i-h3-spi";
548 reg = <0x01c68000 0x1000>;
549 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
550 clocks = <&ccu CLK_BUS_SPI0>, <&ccu CLK_SPI0>;
551 clock-names = "ahb", "mod";
552 dmas = <&dma 23>, <&dma 23>;
553 dma-names = "rx", "tx";
554 pinctrl-names = "default";
555 pinctrl-0 = <&spi0_pins>;
556 resets = <&ccu RST_BUS_SPI0>;
558 #address-cells = <1>;
563 compatible = "allwinner,sun8i-h3-spi";
564 reg = <0x01c69000 0x1000>;
565 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
566 clocks = <&ccu CLK_BUS_SPI1>, <&ccu CLK_SPI1>;
567 clock-names = "ahb", "mod";
568 dmas = <&dma 24>, <&dma 24>;
569 dma-names = "rx", "tx";
570 pinctrl-names = "default";
571 pinctrl-0 = <&spi1_pins>;
572 resets = <&ccu RST_BUS_SPI1>;
574 #address-cells = <1>;
578 wdt0: watchdog@1c20ca0 {
579 compatible = "allwinner,sun6i-a31-wdt";
580 reg = <0x01c20ca0 0x20>;
581 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
584 spdif: spdif@1c21000 {
585 #sound-dai-cells = <0>;
586 compatible = "allwinner,sun8i-h3-spdif";
587 reg = <0x01c21000 0x400>;
588 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
589 clocks = <&ccu CLK_BUS_SPDIF>, <&ccu CLK_SPDIF>;
590 resets = <&ccu RST_BUS_SPDIF>;
591 clock-names = "apb", "spdif";
598 compatible = "allwinner,sun8i-h3-pwm";
599 reg = <0x01c21400 0x8>;
606 #sound-dai-cells = <0>;
607 compatible = "allwinner,sun8i-h3-i2s";
608 reg = <0x01c22000 0x400>;
609 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
610 clocks = <&ccu CLK_BUS_I2S0>, <&ccu CLK_I2S0>;
611 clock-names = "apb", "mod";
612 dmas = <&dma 3>, <&dma 3>;
613 resets = <&ccu RST_BUS_I2S0>;
614 dma-names = "rx", "tx";
619 #sound-dai-cells = <0>;
620 compatible = "allwinner,sun8i-h3-i2s";
621 reg = <0x01c22400 0x400>;
622 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
623 clocks = <&ccu CLK_BUS_I2S1>, <&ccu CLK_I2S1>;
624 clock-names = "apb", "mod";
625 dmas = <&dma 4>, <&dma 4>;
626 resets = <&ccu RST_BUS_I2S1>;
627 dma-names = "rx", "tx";
631 codec: codec@1c22c00 {
632 #sound-dai-cells = <0>;
633 compatible = "allwinner,sun8i-h3-codec";
634 reg = <0x01c22c00 0x400>;
635 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
636 clocks = <&ccu CLK_BUS_CODEC>, <&ccu CLK_AC_DIG>;
637 clock-names = "apb", "codec";
638 resets = <&ccu RST_BUS_CODEC>;
639 dmas = <&dma 15>, <&dma 15>;
640 dma-names = "rx", "tx";
641 allwinner,codec-analog-controls = <&codec_analog>;
645 uart0: serial@1c28000 {
646 compatible = "snps,dw-apb-uart";
647 reg = <0x01c28000 0x400>;
648 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
651 clocks = <&ccu CLK_BUS_UART0>;
652 resets = <&ccu RST_BUS_UART0>;
653 dmas = <&dma 6>, <&dma 6>;
654 dma-names = "rx", "tx";
658 uart1: serial@1c28400 {
659 compatible = "snps,dw-apb-uart";
660 reg = <0x01c28400 0x400>;
661 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
664 clocks = <&ccu CLK_BUS_UART1>;
665 resets = <&ccu RST_BUS_UART1>;
666 dmas = <&dma 7>, <&dma 7>;
667 dma-names = "rx", "tx";
671 uart2: serial@1c28800 {
672 compatible = "snps,dw-apb-uart";
673 reg = <0x01c28800 0x400>;
674 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
677 clocks = <&ccu CLK_BUS_UART2>;
678 resets = <&ccu RST_BUS_UART2>;
679 dmas = <&dma 8>, <&dma 8>;
680 dma-names = "rx", "tx";
684 uart3: serial@1c28c00 {
685 compatible = "snps,dw-apb-uart";
686 reg = <0x01c28c00 0x400>;
687 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
690 clocks = <&ccu CLK_BUS_UART3>;
691 resets = <&ccu RST_BUS_UART3>;
692 dmas = <&dma 9>, <&dma 9>;
693 dma-names = "rx", "tx";
698 compatible = "allwinner,sun6i-a31-i2c";
699 reg = <0x01c2ac00 0x400>;
700 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
701 clocks = <&ccu CLK_BUS_I2C0>;
702 resets = <&ccu RST_BUS_I2C0>;
703 pinctrl-names = "default";
704 pinctrl-0 = <&i2c0_pins>;
706 #address-cells = <1>;
711 compatible = "allwinner,sun6i-a31-i2c";
712 reg = <0x01c2b000 0x400>;
713 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
714 clocks = <&ccu CLK_BUS_I2C1>;
715 resets = <&ccu RST_BUS_I2C1>;
716 pinctrl-names = "default";
717 pinctrl-0 = <&i2c1_pins>;
719 #address-cells = <1>;
724 compatible = "allwinner,sun6i-a31-i2c";
725 reg = <0x01c2b400 0x400>;
726 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
727 clocks = <&ccu CLK_BUS_I2C2>;
728 resets = <&ccu RST_BUS_I2C2>;
729 pinctrl-names = "default";
730 pinctrl-0 = <&i2c2_pins>;
732 #address-cells = <1>;
736 gic: interrupt-controller@1c81000 {
737 compatible = "arm,gic-400";
738 reg = <0x01c81000 0x1000>,
742 interrupt-controller;
743 #interrupt-cells = <3>;
744 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
748 compatible = "allwinner,sun8i-h3-dw-hdmi",
749 "allwinner,sun8i-a83t-dw-hdmi";
750 reg = <0x01ee0000 0x10000>;
752 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
753 clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_DDC>,
755 clock-names = "iahb", "isfr", "tmds";
756 resets = <&ccu RST_BUS_HDMI1>;
757 reset-names = "ctrl";
759 phy-names = "hdmi-phy";
763 #address-cells = <1>;
769 hdmi_in_tcon0: endpoint {
770 remote-endpoint = <&tcon0_out_hdmi>;
780 hdmi_phy: hdmi-phy@1ef0000 {
781 compatible = "allwinner,sun8i-h3-hdmi-phy";
782 reg = <0x01ef0000 0x10000>;
783 clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_DDC>,
785 clock-names = "bus", "mod", "pll-0";
786 resets = <&ccu RST_BUS_HDMI0>;
792 compatible = "allwinner,sun6i-a31-rtc";
793 reg = <0x01f00000 0x54>;
794 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
795 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
798 r_ccu: clock@1f01400 {
799 compatible = "allwinner,sun8i-h3-r-ccu";
800 reg = <0x01f01400 0x100>;
801 clocks = <&osc24M>, <&osc32k>, <&iosc>,
803 clock-names = "hosc", "losc", "iosc", "pll-periph";
808 codec_analog: codec-analog@1f015c0 {
809 compatible = "allwinner,sun8i-h3-codec-analog";
810 reg = <0x01f015c0 0x4>;
814 compatible = "allwinner,sun5i-a13-ir";
815 clocks = <&r_ccu CLK_APB0_IR>, <&r_ccu CLK_IR>;
816 clock-names = "apb", "ir";
817 resets = <&r_ccu RST_APB0_IR>;
818 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
819 reg = <0x01f02000 0x400>;
824 compatible = "allwinner,sun6i-a31-i2c";
825 reg = <0x01f02400 0x400>;
826 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
827 pinctrl-names = "default";
828 pinctrl-0 = <&r_i2c_pins>;
829 clocks = <&r_ccu CLK_APB0_I2C>;
830 resets = <&r_ccu RST_APB0_I2C>;
832 #address-cells = <1>;
836 r_pio: pinctrl@1f02c00 {
837 compatible = "allwinner,sun8i-h3-r-pinctrl";
838 reg = <0x01f02c00 0x400>;
839 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
840 clocks = <&r_ccu CLK_APB0_PIO>, <&osc24M>, <&osc32k>;
841 clock-names = "apb", "hosc", "losc";
844 interrupt-controller;
845 #interrupt-cells = <3>;
849 function = "s_cir_rx";