2 * Copyright 2015 Vishnu Patekar
4 * Vishnu Patekar <vishnupatekar0510@gmail.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 <dt-bindings/interrupt-controller/arm-gic.h>
47 #include <dt-bindings/clock/sun8i-a83t-ccu.h>
48 #include <dt-bindings/clock/sun8i-de2.h>
49 #include <dt-bindings/clock/sun8i-r-ccu.h>
50 #include <dt-bindings/reset/sun8i-a83t-ccu.h>
51 #include <dt-bindings/reset/sun8i-de2.h>
52 #include <dt-bindings/reset/sun8i-r-ccu.h>
55 interrupt-parent = <&gic>;
64 clocks = <&ccu CLK_C0CPUX>;
66 compatible = "arm,cortex-a7";
68 operating-points-v2 = <&cpu0_opp_table>;
69 cci-control-port = <&cci_control0>;
70 enable-method = "allwinner,sun8i-a83t-smp";
75 compatible = "arm,cortex-a7";
77 operating-points-v2 = <&cpu0_opp_table>;
78 cci-control-port = <&cci_control0>;
79 enable-method = "allwinner,sun8i-a83t-smp";
84 compatible = "arm,cortex-a7";
86 operating-points-v2 = <&cpu0_opp_table>;
87 cci-control-port = <&cci_control0>;
88 enable-method = "allwinner,sun8i-a83t-smp";
93 compatible = "arm,cortex-a7";
95 operating-points-v2 = <&cpu0_opp_table>;
96 cci-control-port = <&cci_control0>;
97 enable-method = "allwinner,sun8i-a83t-smp";
102 clocks = <&ccu CLK_C1CPUX>;
104 compatible = "arm,cortex-a7";
106 operating-points-v2 = <&cpu1_opp_table>;
107 cci-control-port = <&cci_control1>;
108 enable-method = "allwinner,sun8i-a83t-smp";
113 compatible = "arm,cortex-a7";
115 operating-points-v2 = <&cpu1_opp_table>;
116 cci-control-port = <&cci_control1>;
117 enable-method = "allwinner,sun8i-a83t-smp";
122 compatible = "arm,cortex-a7";
124 operating-points-v2 = <&cpu1_opp_table>;
125 cci-control-port = <&cci_control1>;
126 enable-method = "allwinner,sun8i-a83t-smp";
131 compatible = "arm,cortex-a7";
133 operating-points-v2 = <&cpu1_opp_table>;
134 cci-control-port = <&cci_control1>;
135 enable-method = "allwinner,sun8i-a83t-smp";
141 compatible = "arm,armv7-timer";
142 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
143 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
144 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
145 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
149 #address-cells = <1>;
153 /* TODO: PRCM block has a mux for this. */
156 compatible = "fixed-clock";
157 clock-frequency = <24000000>;
158 clock-accuracy = <50000>;
159 clock-output-names = "osc24M";
163 * This is called "internal OSC" in some places.
164 * It is an internal RC-based oscillator.
165 * TODO: Its controls are in the PRCM block.
169 compatible = "fixed-clock";
170 clock-frequency = <16000000>;
171 clock-output-names = "osc16M";
174 osc16Md512: osc16Md512_clk {
176 compatible = "fixed-factor-clock";
180 clock-output-names = "osc16M-d512";
185 compatible = "allwinner,sun8i-a83t-display-engine";
186 allwinner,pipelines = <&mixer0>, <&mixer1>;
191 reg = <0x40000000 0x80000000>;
192 device_type = "memory";
195 cpu0_opp_table: opp_table0 {
196 compatible = "operating-points-v2";
200 opp-hz = /bits/ 64 <480000000>;
201 opp-microvolt = <840000>;
202 clock-latency-ns = <244144>; /* 8 32k periods */
206 opp-hz = /bits/ 64 <600000000>;
207 opp-microvolt = <840000>;
208 clock-latency-ns = <244144>; /* 8 32k periods */
212 opp-hz = /bits/ 64 <720000000>;
213 opp-microvolt = <840000>;
214 clock-latency-ns = <244144>; /* 8 32k periods */
218 opp-hz = /bits/ 64 <864000000>;
219 opp-microvolt = <840000>;
220 clock-latency-ns = <244144>; /* 8 32k periods */
224 opp-hz = /bits/ 64 <912000000>;
225 opp-microvolt = <840000>;
226 clock-latency-ns = <244144>; /* 8 32k periods */
230 opp-hz = /bits/ 64 <1008000000>;
231 opp-microvolt = <840000>;
232 clock-latency-ns = <244144>; /* 8 32k periods */
236 opp-hz = /bits/ 64 <1128000000>;
237 opp-microvolt = <840000>;
238 clock-latency-ns = <244144>; /* 8 32k periods */
242 opp-hz = /bits/ 64 <1200000000>;
243 opp-microvolt = <840000>;
244 clock-latency-ns = <244144>; /* 8 32k periods */
248 cpu1_opp_table: opp_table1 {
249 compatible = "operating-points-v2";
253 opp-hz = /bits/ 64 <480000000>;
254 opp-microvolt = <840000>;
255 clock-latency-ns = <244144>; /* 8 32k periods */
259 opp-hz = /bits/ 64 <600000000>;
260 opp-microvolt = <840000>;
261 clock-latency-ns = <244144>; /* 8 32k periods */
265 opp-hz = /bits/ 64 <720000000>;
266 opp-microvolt = <840000>;
267 clock-latency-ns = <244144>; /* 8 32k periods */
271 opp-hz = /bits/ 64 <864000000>;
272 opp-microvolt = <840000>;
273 clock-latency-ns = <244144>; /* 8 32k periods */
277 opp-hz = /bits/ 64 <912000000>;
278 opp-microvolt = <840000>;
279 clock-latency-ns = <244144>; /* 8 32k periods */
283 opp-hz = /bits/ 64 <1008000000>;
284 opp-microvolt = <840000>;
285 clock-latency-ns = <244144>; /* 8 32k periods */
289 opp-hz = /bits/ 64 <1128000000>;
290 opp-microvolt = <840000>;
291 clock-latency-ns = <244144>; /* 8 32k periods */
295 opp-hz = /bits/ 64 <1200000000>;
296 opp-microvolt = <840000>;
297 clock-latency-ns = <244144>; /* 8 32k periods */
302 compatible = "simple-bus";
303 #address-cells = <1>;
307 display_clocks: clock@1000000 {
308 compatible = "allwinner,sun8i-a83t-de2-clk";
309 reg = <0x01000000 0x100000>;
310 clocks = <&ccu CLK_PLL_DE>,
314 resets = <&ccu RST_BUS_DE>;
319 mixer0: mixer@1100000 {
320 compatible = "allwinner,sun8i-a83t-de2-mixer-0";
321 reg = <0x01100000 0x100000>;
322 clocks = <&display_clocks CLK_BUS_MIXER0>,
323 <&display_clocks CLK_MIXER0>;
326 resets = <&display_clocks RST_MIXER0>;
329 #address-cells = <1>;
333 #address-cells = <1>;
337 mixer0_out_tcon0: endpoint@0 {
339 remote-endpoint = <&tcon0_in_mixer0>;
345 mixer1: mixer@1200000 {
346 compatible = "allwinner,sun8i-a83t-de2-mixer-1";
347 reg = <0x01200000 0x100000>;
348 clocks = <&display_clocks CLK_BUS_MIXER1>,
349 <&display_clocks CLK_MIXER1>;
352 resets = <&display_clocks RST_WB>;
355 #address-cells = <1>;
361 mixer1_out_tcon1: endpoint {
362 remote-endpoint = <&tcon1_in_mixer1>;
369 compatible = "allwinner,sun8i-a83t-cpucfg";
370 reg = <0x01700000 0x400>;
374 compatible = "arm,cci-400";
375 #address-cells = <1>;
377 reg = <0x01790000 0x10000>;
378 ranges = <0x0 0x01790000 0x10000>;
380 cci_control0: slave-if@4000 {
381 compatible = "arm,cci-400-ctrl-if";
382 interface-type = "ace";
383 reg = <0x4000 0x1000>;
386 cci_control1: slave-if@5000 {
387 compatible = "arm,cci-400-ctrl-if";
388 interface-type = "ace";
389 reg = <0x5000 0x1000>;
393 compatible = "arm,cci-400-pmu,r1";
394 reg = <0x9000 0x5000>;
395 interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
396 <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>,
397 <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
398 <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
399 <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>,
400 <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>,
401 <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
402 <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
406 syscon: syscon@1c00000 {
407 compatible = "allwinner,sun8i-a83t-system-controller",
409 reg = <0x01c00000 0x1000>;
412 dma: dma-controller@1c02000 {
413 compatible = "allwinner,sun8i-a83t-dma";
414 reg = <0x01c02000 0x1000>;
415 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
416 clocks = <&ccu CLK_BUS_DMA>;
417 resets = <&ccu RST_BUS_DMA>;
421 tcon0: lcd-controller@1c0c000 {
422 compatible = "allwinner,sun8i-a83t-tcon-lcd";
423 reg = <0x01c0c000 0x1000>;
424 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
425 clocks = <&ccu CLK_BUS_TCON0>, <&ccu CLK_TCON0>;
426 clock-names = "ahb", "tcon-ch0";
427 clock-output-names = "tcon-pixel-clock";
428 resets = <&ccu RST_BUS_TCON0>, <&ccu RST_BUS_LVDS>;
429 reset-names = "lcd", "lvds";
432 #address-cells = <1>;
436 #address-cells = <1>;
440 tcon0_in_mixer0: endpoint@0 {
442 remote-endpoint = <&mixer0_out_tcon0>;
447 #address-cells = <1>;
454 tcon1: lcd-controller@1c0d000 {
455 compatible = "allwinner,sun8i-a83t-tcon-tv";
456 reg = <0x01c0d000 0x1000>;
457 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
458 clocks = <&ccu CLK_BUS_TCON1>, <&ccu CLK_TCON1>;
459 clock-names = "ahb", "tcon-ch1";
460 resets = <&ccu RST_BUS_TCON1>;
464 #address-cells = <1>;
470 tcon1_in_mixer1: endpoint {
471 remote-endpoint = <&mixer1_out_tcon1>;
476 #address-cells = <1>;
480 tcon1_out_hdmi: endpoint@1 {
482 remote-endpoint = <&hdmi_in_tcon1>;
489 compatible = "allwinner,sun8i-a83t-mmc",
490 "allwinner,sun7i-a20-mmc";
491 reg = <0x01c0f000 0x1000>;
492 clocks = <&ccu CLK_BUS_MMC0>,
494 <&ccu CLK_MMC0_OUTPUT>,
495 <&ccu CLK_MMC0_SAMPLE>;
500 resets = <&ccu RST_BUS_MMC0>;
502 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
504 #address-cells = <1>;
509 compatible = "allwinner,sun8i-a83t-mmc",
510 "allwinner,sun7i-a20-mmc";
511 reg = <0x01c10000 0x1000>;
512 clocks = <&ccu CLK_BUS_MMC1>,
514 <&ccu CLK_MMC1_OUTPUT>,
515 <&ccu CLK_MMC1_SAMPLE>;
520 resets = <&ccu RST_BUS_MMC1>;
522 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
523 pinctrl-names = "default";
524 pinctrl-0 = <&mmc1_pins>;
526 #address-cells = <1>;
531 compatible = "allwinner,sun8i-a83t-emmc";
532 reg = <0x01c11000 0x1000>;
533 clocks = <&ccu CLK_BUS_MMC2>,
535 <&ccu CLK_MMC2_OUTPUT>,
536 <&ccu CLK_MMC2_SAMPLE>;
541 resets = <&ccu RST_BUS_MMC2>;
543 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
545 #address-cells = <1>;
549 sid: eeprom@1c14000 {
550 compatible = "allwinner,sun8i-a83t-sid";
551 reg = <0x1c14000 0x400>;
554 usb_otg: usb@1c19000 {
555 compatible = "allwinner,sun8i-a83t-musb",
556 "allwinner,sun8i-a33-musb";
557 reg = <0x01c19000 0x0400>;
558 clocks = <&ccu CLK_BUS_OTG>;
559 resets = <&ccu RST_BUS_OTG>;
560 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
561 interrupt-names = "mc";
564 extcon = <&usbphy 0>;
568 usbphy: phy@1c19400 {
569 compatible = "allwinner,sun8i-a83t-usb-phy";
570 reg = <0x01c19400 0x10>,
573 reg-names = "phy_ctrl",
576 clocks = <&ccu CLK_USB_PHY0>,
579 <&ccu CLK_USB_HSIC_12M>;
580 clock-names = "usb0_phy",
584 resets = <&ccu RST_USB_PHY0>,
587 reset-names = "usb0_reset",
595 compatible = "allwinner,sun8i-a83t-ehci",
597 reg = <0x01c1a000 0x100>;
598 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
599 clocks = <&ccu CLK_BUS_EHCI0>;
600 resets = <&ccu RST_BUS_EHCI0>;
607 compatible = "allwinner,sun8i-a83t-ohci",
609 reg = <0x01c1a400 0x100>;
610 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
611 clocks = <&ccu CLK_BUS_OHCI0>, <&ccu CLK_USB_OHCI0>;
612 resets = <&ccu RST_BUS_OHCI0>;
619 compatible = "allwinner,sun8i-a83t-ehci",
621 reg = <0x01c1b000 0x100>;
622 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
623 clocks = <&ccu CLK_BUS_EHCI1>;
624 resets = <&ccu RST_BUS_EHCI1>;
631 compatible = "allwinner,sun8i-a83t-ccu";
632 reg = <0x01c20000 0x400>;
633 clocks = <&osc24M>, <&osc16Md512>;
634 clock-names = "hosc", "losc";
639 pio: pinctrl@1c20800 {
640 compatible = "allwinner,sun8i-a83t-pinctrl";
641 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
642 <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>,
643 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
644 reg = <0x01c20800 0x400>;
645 clocks = <&ccu CLK_BUS_PIO>, <&osc24M>, <&osc16Md512>;
646 clock-names = "apb", "hosc", "losc";
648 interrupt-controller;
649 #interrupt-cells = <3>;
652 emac_rgmii_pins: emac-rgmii-pins {
653 pins = "PD2", "PD3", "PD4", "PD5", "PD6", "PD7",
654 "PD11", "PD12", "PD13", "PD14", "PD18",
655 "PD19", "PD21", "PD22", "PD23";
658 * data lines in RGMII mode use DDR mode
659 * and need a higher signal drive strength
661 drive-strength = <40>;
664 hdmi_pins: hdmi-pins {
665 pins = "PH6", "PH7", "PH8";
669 i2c0_pins: i2c0-pins {
674 i2c1_pins: i2c1-pins {
679 i2c2_ph_pins: i2c2-ph-pins {
684 i2s1_pins: i2s1-pins {
685 /* I2S1 does not have external MCLK pin */
686 pins = "PG10", "PG11", "PG12", "PG13";
690 lcd_lvds_pins: lcd-lvds-pins {
691 pins = "PD18", "PD19", "PD20", "PD21", "PD22",
692 "PD23", "PD24", "PD25", "PD26", "PD27";
696 mmc0_pins: mmc0-pins {
697 pins = "PF0", "PF1", "PF2",
700 drive-strength = <30>;
704 mmc1_pins: mmc1-pins {
705 pins = "PG0", "PG1", "PG2",
708 drive-strength = <30>;
712 mmc2_8bit_emmc_pins: mmc2-8bit-emmc-pins {
713 pins = "PC5", "PC6", "PC8", "PC9",
714 "PC10", "PC11", "PC12", "PC13",
715 "PC14", "PC15", "PC16";
717 drive-strength = <30>;
726 spdif_tx_pin: spdif-tx-pin {
731 uart0_pb_pins: uart0-pb-pins {
732 pins = "PB9", "PB10";
736 uart0_pf_pins: uart0-pf-pins {
741 uart1_pins: uart1-pins {
746 uart1_rts_cts_pins: uart1-rts-cts-pins {
753 compatible = "allwinner,sun4i-a10-timer";
754 reg = <0x01c20c00 0xa0>;
755 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
756 <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
761 compatible = "allwinner,sun6i-a31-wdt";
762 reg = <0x01c20ca0 0x20>;
763 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
767 spdif: spdif@1c21000 {
768 #sound-dai-cells = <0>;
769 compatible = "allwinner,sun8i-a83t-spdif",
770 "allwinner,sun8i-h3-spdif";
771 reg = <0x01c21000 0x400>;
772 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
773 clocks = <&ccu CLK_BUS_SPDIF>, <&ccu CLK_SPDIF>;
774 resets = <&ccu RST_BUS_SPDIF>;
775 clock-names = "apb", "spdif";
778 pinctrl-names = "default";
779 pinctrl-0 = <&spdif_tx_pin>;
784 #sound-dai-cells = <0>;
785 compatible = "allwinner,sun8i-a83t-i2s";
786 reg = <0x01c22000 0x400>;
787 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
788 clocks = <&ccu CLK_BUS_I2S0>, <&ccu CLK_I2S0>;
789 clock-names = "apb", "mod";
790 dmas = <&dma 3>, <&dma 3>;
791 resets = <&ccu RST_BUS_I2S0>;
792 dma-names = "rx", "tx";
797 #sound-dai-cells = <0>;
798 compatible = "allwinner,sun8i-a83t-i2s";
799 reg = <0x01c22400 0x400>;
800 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
801 clocks = <&ccu CLK_BUS_I2S1>, <&ccu CLK_I2S1>;
802 clock-names = "apb", "mod";
803 dmas = <&dma 4>, <&dma 4>;
804 resets = <&ccu RST_BUS_I2S1>;
805 dma-names = "rx", "tx";
806 pinctrl-names = "default";
807 pinctrl-0 = <&i2s1_pins>;
812 #sound-dai-cells = <0>;
813 compatible = "allwinner,sun8i-a83t-i2s";
814 reg = <0x01c22800 0x400>;
815 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
816 clocks = <&ccu CLK_BUS_I2S2>, <&ccu CLK_I2S2>;
817 clock-names = "apb", "mod";
819 resets = <&ccu RST_BUS_I2S2>;
825 compatible = "allwinner,sun8i-a83t-pwm",
826 "allwinner,sun8i-h3-pwm";
827 reg = <0x01c21400 0x400>;
833 uart0: serial@1c28000 {
834 compatible = "snps,dw-apb-uart";
835 reg = <0x01c28000 0x400>;
836 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
839 clocks = <&ccu CLK_BUS_UART0>;
840 resets = <&ccu RST_BUS_UART0>;
844 uart1: serial@1c28400 {
845 compatible = "snps,dw-apb-uart";
846 reg = <0x01c28400 0x400>;
847 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
850 clocks = <&ccu CLK_BUS_UART1>;
851 resets = <&ccu RST_BUS_UART1>;
856 compatible = "allwinner,sun8i-a83t-i2c",
857 "allwinner,sun6i-a31-i2c";
858 reg = <0x01c2ac00 0x400>;
859 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
860 clocks = <&ccu CLK_BUS_I2C0>;
861 resets = <&ccu RST_BUS_I2C0>;
862 pinctrl-names = "default";
863 pinctrl-0 = <&i2c0_pins>;
865 #address-cells = <1>;
870 compatible = "allwinner,sun8i-a83t-i2c",
871 "allwinner,sun6i-a31-i2c";
872 reg = <0x01c2b000 0x400>;
873 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
874 clocks = <&ccu CLK_BUS_I2C1>;
875 resets = <&ccu RST_BUS_I2C1>;
876 pinctrl-names = "default";
877 pinctrl-0 = <&i2c1_pins>;
879 #address-cells = <1>;
884 compatible = "allwinner,sun8i-a83t-i2c",
885 "allwinner,sun6i-a31-i2c";
886 reg = <0x01c2b400 0x400>;
887 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
888 clocks = <&ccu CLK_BUS_I2C2>;
889 resets = <&ccu RST_BUS_I2C2>;
891 #address-cells = <1>;
895 emac: ethernet@1c30000 {
896 compatible = "allwinner,sun8i-a83t-emac";
898 reg = <0x01c30000 0x104>;
899 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
900 interrupt-names = "macirq";
902 reset-names = "stmmaceth";
904 clock-names = "stmmaceth";
908 compatible = "snps,dwmac-mdio";
909 #address-cells = <1>;
914 gic: interrupt-controller@1c81000 {
915 compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic";
916 reg = <0x01c81000 0x1000>,
920 interrupt-controller;
921 #interrupt-cells = <3>;
922 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
926 compatible = "allwinner,sun8i-a83t-dw-hdmi";
927 reg = <0x01ee0000 0x10000>;
929 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
930 clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_SLOW>,
932 clock-names = "iahb", "isfr", "tmds";
933 resets = <&ccu RST_BUS_HDMI1>;
934 reset-names = "ctrl";
936 phy-names = "hdmi-phy";
937 pinctrl-names = "default";
938 pinctrl-0 = <&hdmi_pins>;
942 #address-cells = <1>;
948 hdmi_in_tcon1: endpoint {
949 remote-endpoint = <&tcon1_out_hdmi>;
959 hdmi_phy: hdmi-phy@1ef0000 {
960 compatible = "allwinner,sun8i-a83t-hdmi-phy";
961 reg = <0x01ef0000 0x10000>;
962 clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_SLOW>;
963 clock-names = "bus", "mod";
964 resets = <&ccu RST_BUS_HDMI0>;
969 r_intc: interrupt-controller@1f00c00 {
970 compatible = "allwinner,sun8i-a83t-r-intc",
971 "allwinner,sun6i-a31-r-intc";
972 interrupt-controller;
973 #interrupt-cells = <2>;
974 reg = <0x01f00c00 0x400>;
975 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
978 r_ccu: clock@1f01400 {
979 compatible = "allwinner,sun8i-a83t-r-ccu";
980 reg = <0x01f01400 0x400>;
981 clocks = <&osc24M>, <&osc16Md512>, <&osc16M>,
983 clock-names = "hosc", "losc", "iosc", "pll-periph";
989 compatible = "allwinner,sun8i-a83t-r-cpucfg";
990 reg = <0x1f01c00 0x400>;
993 r_pio: pinctrl@1f02c00 {
994 compatible = "allwinner,sun8i-a83t-r-pinctrl";
995 reg = <0x01f02c00 0x400>;
996 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
997 clocks = <&r_ccu CLK_APB0_PIO>, <&osc24M>,
999 clock-names = "apb", "hosc", "losc";
1002 interrupt-controller;
1003 #interrupt-cells = <3>;
1005 r_rsb_pins: r-rsb-pins {
1006 pins = "PL0", "PL1";
1008 drive-strength = <20>;
1013 r_rsb: rsb@1f03400 {
1014 compatible = "allwinner,sun8i-a83t-rsb",
1015 "allwinner,sun8i-a23-rsb";
1016 reg = <0x01f03400 0x400>;
1017 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
1018 clocks = <&r_ccu CLK_APB0_RSB>;
1019 clock-frequency = <3000000>;
1020 resets = <&r_ccu RST_APB0_RSB>;
1021 pinctrl-names = "default";
1022 pinctrl-0 = <&r_rsb_pins>;
1023 status = "disabled";
1024 #address-cells = <1>;