xref: /linux/arch/arm64/boot/dts/rockchip/rk3566-lubancat-1.dts (revision 2e1b3cc9d7f790145a80cb705b168f05dab65df2)
18d94da58SWenhao Cui// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
28d94da58SWenhao Cui
38d94da58SWenhao Cui/dts-v1/;
48d94da58SWenhao Cui#include <dt-bindings/gpio/gpio.h>
58d94da58SWenhao Cui#include <dt-bindings/leds/common.h>
68d94da58SWenhao Cui#include <dt-bindings/pinctrl/rockchip.h>
78d94da58SWenhao Cui#include <dt-bindings/soc/rockchip,vop2.h>
88d94da58SWenhao Cui#include "rk3566.dtsi"
98d94da58SWenhao Cui
108d94da58SWenhao Cui/ {
118d94da58SWenhao Cui	model = "EmbedFire LubanCat 1";
128d94da58SWenhao Cui	compatible = "embedfire,lubancat-1", "rockchip,rk3566";
138d94da58SWenhao Cui
148d94da58SWenhao Cui	aliases {
158d94da58SWenhao Cui		ethernet0 = &gmac1;
168d94da58SWenhao Cui		mmc0 = &sdmmc0;
178d94da58SWenhao Cui		mmc1 = &sdhci;
188d94da58SWenhao Cui	};
198d94da58SWenhao Cui
208d94da58SWenhao Cui	chosen: chosen {
218d94da58SWenhao Cui		stdout-path = "serial2:1500000n8";
228d94da58SWenhao Cui	};
238d94da58SWenhao Cui
248d94da58SWenhao Cui	gmac1_clkin: external-gmac1-clock {
258d94da58SWenhao Cui		compatible = "fixed-clock";
268d94da58SWenhao Cui		clock-frequency = <125000000>;
278d94da58SWenhao Cui		clock-output-names = "gmac1_clkin";
288d94da58SWenhao Cui		#clock-cells = <0>;
298d94da58SWenhao Cui	};
308d94da58SWenhao Cui
318d94da58SWenhao Cui	hdmi-con {
328d94da58SWenhao Cui		compatible = "hdmi-connector";
338d94da58SWenhao Cui		type = "a";
348d94da58SWenhao Cui
358d94da58SWenhao Cui		port {
368d94da58SWenhao Cui			hdmi_con_in: endpoint {
378d94da58SWenhao Cui				remote-endpoint = <&hdmi_out_con>;
388d94da58SWenhao Cui			};
398d94da58SWenhao Cui		};
408d94da58SWenhao Cui	};
418d94da58SWenhao Cui
428d94da58SWenhao Cui	gpio-leds {
438d94da58SWenhao Cui		compatible = "gpio-leds";
448d94da58SWenhao Cui
458d94da58SWenhao Cui		sys_led: sys-led {
468d94da58SWenhao Cui			label = "sys_led";
478d94da58SWenhao Cui			linux,default-trigger = "heartbeat";
488d94da58SWenhao Cui			default-state = "on";
498d94da58SWenhao Cui			gpios = <&gpio0 RK_PC5 GPIO_ACTIVE_LOW>;
508d94da58SWenhao Cui			pinctrl-names = "default";
518d94da58SWenhao Cui			pinctrl-0 = <&sys_led_pin>;
528d94da58SWenhao Cui		};
538d94da58SWenhao Cui	};
548d94da58SWenhao Cui
558d94da58SWenhao Cui	usb_5v: usb-5v-regulator {
568d94da58SWenhao Cui		compatible = "regulator-fixed";
578d94da58SWenhao Cui		regulator-name = "usb_5v";
588d94da58SWenhao Cui		regulator-always-on;
598d94da58SWenhao Cui		regulator-boot-on;
608d94da58SWenhao Cui		regulator-min-microvolt = <5000000>;
618d94da58SWenhao Cui		regulator-max-microvolt = <5000000>;
628d94da58SWenhao Cui	};
638d94da58SWenhao Cui
648d94da58SWenhao Cui	vcc5v0_sys: vcc5v0-sys-regulator {
658d94da58SWenhao Cui		compatible = "regulator-fixed";
668d94da58SWenhao Cui		regulator-name = "vcc5v0_sys";
678d94da58SWenhao Cui		regulator-always-on;
688d94da58SWenhao Cui		regulator-boot-on;
698d94da58SWenhao Cui		regulator-min-microvolt = <5000000>;
708d94da58SWenhao Cui		regulator-max-microvolt = <5000000>;
718d94da58SWenhao Cui		vin-supply = <&usb_5v>;
728d94da58SWenhao Cui	};
738d94da58SWenhao Cui
748d94da58SWenhao Cui	vcc3v3_sys: vcc3v3-sys-regulator {
758d94da58SWenhao Cui		compatible = "regulator-fixed";
768d94da58SWenhao Cui		regulator-name = "vcc3v3_sys";
778d94da58SWenhao Cui		regulator-always-on;
788d94da58SWenhao Cui		regulator-boot-on;
798d94da58SWenhao Cui		regulator-min-microvolt = <3300000>;
808d94da58SWenhao Cui		regulator-max-microvolt = <3300000>;
818d94da58SWenhao Cui		vin-supply = <&vcc5v0_sys>;
828d94da58SWenhao Cui	};
838d94da58SWenhao Cui
848d94da58SWenhao Cui	vcc3v3_pcie: vcc3v3-pcie-regulator {
858d94da58SWenhao Cui		compatible = "regulator-fixed";
868d94da58SWenhao Cui		regulator-name = "vcc3v3_pcie";
878d94da58SWenhao Cui		regulator-min-microvolt = <3300000>;
888d94da58SWenhao Cui		regulator-max-microvolt = <3300000>;
898d94da58SWenhao Cui		enable-active-high;
908d94da58SWenhao Cui		gpio = <&gpio0 RK_PD3 GPIO_ACTIVE_HIGH>;
918d94da58SWenhao Cui		startup-delay-us = <5000>;
928d94da58SWenhao Cui		vin-supply = <&vcc5v0_sys>;
938d94da58SWenhao Cui	};
948d94da58SWenhao Cui
958d94da58SWenhao Cui	vcc5v0_usb20_host: vcc5v0-usb20-host-regulator {
968d94da58SWenhao Cui		compatible = "regulator-fixed";
978d94da58SWenhao Cui		enable-active-high;
988d94da58SWenhao Cui		gpio = <&gpio2 RK_PB6 GPIO_ACTIVE_HIGH>;
998d94da58SWenhao Cui		pinctrl-names = "default";
1008d94da58SWenhao Cui		pinctrl-0 = <&vcc5v0_usb20_host_en>;
1018d94da58SWenhao Cui		regulator-name = "vcc5v0_usb20_host";
1028d94da58SWenhao Cui		regulator-always-on;
1038d94da58SWenhao Cui	};
1048d94da58SWenhao Cui
1058d94da58SWenhao Cui	vcc5v0_usb30_host: vcc5v0-usb30-host-regulator {
1068d94da58SWenhao Cui		compatible = "regulator-fixed";
1078d94da58SWenhao Cui		enable-active-high;
1088d94da58SWenhao Cui		gpio = <&gpio2 RK_PB5 GPIO_ACTIVE_HIGH>;
1098d94da58SWenhao Cui		pinctrl-names = "default";
1108d94da58SWenhao Cui		pinctrl-0 = <&vcc5v0_usb30_host_en>;
1118d94da58SWenhao Cui		regulator-name = "vcc5v0_usb30_host";
1128d94da58SWenhao Cui		regulator-always-on;
1138d94da58SWenhao Cui	};
1148d94da58SWenhao Cui};
1158d94da58SWenhao Cui
1168d94da58SWenhao Cui&uart2 {
1178d94da58SWenhao Cui	status = "okay";
1188d94da58SWenhao Cui};
1198d94da58SWenhao Cui
1208d94da58SWenhao Cui&combphy1 {
1218d94da58SWenhao Cui	status = "okay";
1228d94da58SWenhao Cui};
1238d94da58SWenhao Cui
1248d94da58SWenhao Cui&combphy2 {
1258d94da58SWenhao Cui	status = "okay";
1268d94da58SWenhao Cui};
1278d94da58SWenhao Cui
1288d94da58SWenhao Cui&cpu0 {
1298d94da58SWenhao Cui	cpu-supply = <&vdd_cpu>;
1308d94da58SWenhao Cui};
1318d94da58SWenhao Cui
1328d94da58SWenhao Cui&cpu1 {
1338d94da58SWenhao Cui	cpu-supply = <&vdd_cpu>;
1348d94da58SWenhao Cui};
1358d94da58SWenhao Cui
1368d94da58SWenhao Cui&cpu2 {
1378d94da58SWenhao Cui	cpu-supply = <&vdd_cpu>;
1388d94da58SWenhao Cui};
1398d94da58SWenhao Cui
1408d94da58SWenhao Cui&cpu3 {
1418d94da58SWenhao Cui	cpu-supply = <&vdd_cpu>;
1428d94da58SWenhao Cui};
1438d94da58SWenhao Cui
1448d94da58SWenhao Cui&gpu {
1458d94da58SWenhao Cui	mali-supply = <&vdd_gpu>;
1468d94da58SWenhao Cui	status = "okay";
1478d94da58SWenhao Cui};
1488d94da58SWenhao Cui
1498d94da58SWenhao Cui&hdmi {
1508d94da58SWenhao Cui	avdd-0v9-supply = <&vdda0v9_image>;
1518d94da58SWenhao Cui	avdd-1v8-supply = <&vcca1v8_image>;
1528d94da58SWenhao Cui	status = "okay";
1538d94da58SWenhao Cui};
1548d94da58SWenhao Cui
1558d94da58SWenhao Cui&hdmi_in {
1568d94da58SWenhao Cui	hdmi_in_vp0: endpoint {
1578d94da58SWenhao Cui		remote-endpoint = <&vp0_out_hdmi>;
1588d94da58SWenhao Cui	};
1598d94da58SWenhao Cui};
1608d94da58SWenhao Cui
1618d94da58SWenhao Cui&hdmi_out {
1628d94da58SWenhao Cui	hdmi_out_con: endpoint {
1638d94da58SWenhao Cui		remote-endpoint = <&hdmi_con_in>;
1648d94da58SWenhao Cui	};
1658d94da58SWenhao Cui};
1668d94da58SWenhao Cui
1678d94da58SWenhao Cui&hdmi_sound {
1688d94da58SWenhao Cui	status = "okay";
1698d94da58SWenhao Cui};
1708d94da58SWenhao Cui
1718d94da58SWenhao Cui&i2c0 {
1728d94da58SWenhao Cui	status = "okay";
1738d94da58SWenhao Cui
1748d94da58SWenhao Cui	vdd_cpu: regulator@1c {
1758d94da58SWenhao Cui		compatible = "tcs,tcs4525";
1768d94da58SWenhao Cui		reg = <0x1c>;
1778d94da58SWenhao Cui		fcs,suspend-voltage-selector = <1>;
1788d94da58SWenhao Cui		regulator-name = "vdd_cpu";
1798d94da58SWenhao Cui		regulator-always-on;
1808d94da58SWenhao Cui		regulator-boot-on;
1818d94da58SWenhao Cui		regulator-min-microvolt = <800000>;
1828d94da58SWenhao Cui		regulator-max-microvolt = <1150000>;
1838d94da58SWenhao Cui		regulator-ramp-delay = <2300>;
1848d94da58SWenhao Cui		vin-supply = <&vcc5v0_sys>;
1858d94da58SWenhao Cui
1868d94da58SWenhao Cui		regulator-state-mem {
1878d94da58SWenhao Cui			regulator-off-in-suspend;
1888d94da58SWenhao Cui		};
1898d94da58SWenhao Cui	};
1908d94da58SWenhao Cui
1918d94da58SWenhao Cui	rk809: pmic@20 {
1928d94da58SWenhao Cui		compatible = "rockchip,rk809";
1938d94da58SWenhao Cui		reg = <0x20>;
1948d94da58SWenhao Cui		interrupt-parent = <&gpio0>;
1958d94da58SWenhao Cui		interrupts = <RK_PA3 IRQ_TYPE_LEVEL_LOW>;
1968d94da58SWenhao Cui		clock-output-names = "rk808-clkout1", "rk808-clkout2";
1978d94da58SWenhao Cui
1988d94da58SWenhao Cui		pinctrl-names = "default";
1998d94da58SWenhao Cui		pinctrl-0 = <&pmic_int>;
2008d94da58SWenhao Cui		rockchip,system-power-controller;
2018d94da58SWenhao Cui		wakeup-source;
2028d94da58SWenhao Cui		#clock-cells = <1>;
2038d94da58SWenhao Cui
2048d94da58SWenhao Cui		vcc1-supply = <&vcc3v3_sys>;
2058d94da58SWenhao Cui		vcc2-supply = <&vcc3v3_sys>;
2068d94da58SWenhao Cui		vcc3-supply = <&vcc3v3_sys>;
2078d94da58SWenhao Cui		vcc4-supply = <&vcc3v3_sys>;
2088d94da58SWenhao Cui		vcc5-supply = <&vcc3v3_sys>;
2098d94da58SWenhao Cui		vcc6-supply = <&vcc3v3_sys>;
2108d94da58SWenhao Cui		vcc7-supply = <&vcc3v3_sys>;
2118d94da58SWenhao Cui		vcc8-supply = <&vcc3v3_sys>;
2128d94da58SWenhao Cui		vcc9-supply = <&vcc3v3_sys>;
2138d94da58SWenhao Cui
2148d94da58SWenhao Cui		regulators {
2158d94da58SWenhao Cui			vdd_logic: DCDC_REG1 {
2168d94da58SWenhao Cui				regulator-name = "vdd_logic";
2178d94da58SWenhao Cui				regulator-always-on;
2188d94da58SWenhao Cui				regulator-boot-on;
2198d94da58SWenhao Cui				regulator-min-microvolt = <500000>;
2208d94da58SWenhao Cui				regulator-max-microvolt = <1350000>;
2218d94da58SWenhao Cui				regulator-ramp-delay = <6001>;
2228d94da58SWenhao Cui				regulator-initial-mode = <0x2>;
2238d94da58SWenhao Cui
2248d94da58SWenhao Cui				regulator-state-mem {
2258d94da58SWenhao Cui					regulator-off-in-suspend;
2268d94da58SWenhao Cui				};
2278d94da58SWenhao Cui			};
2288d94da58SWenhao Cui
2298d94da58SWenhao Cui			vdd_gpu: DCDC_REG2 {
2308d94da58SWenhao Cui				regulator-name = "vdd_gpu";
2318d94da58SWenhao Cui				regulator-always-on;
2328d94da58SWenhao Cui				regulator-boot-on;
2338d94da58SWenhao Cui				regulator-min-microvolt = <500000>;
2348d94da58SWenhao Cui				regulator-max-microvolt = <1350000>;
2358d94da58SWenhao Cui				regulator-ramp-delay = <6001>;
2368d94da58SWenhao Cui				regulator-initial-mode = <0x2>;
2378d94da58SWenhao Cui
2388d94da58SWenhao Cui				regulator-state-mem {
2398d94da58SWenhao Cui					regulator-off-in-suspend;
2408d94da58SWenhao Cui				};
2418d94da58SWenhao Cui			};
2428d94da58SWenhao Cui
2438d94da58SWenhao Cui			vcc_ddr: DCDC_REG3 {
2448d94da58SWenhao Cui				regulator-name = "vcc_ddr";
2458d94da58SWenhao Cui				regulator-always-on;
2468d94da58SWenhao Cui				regulator-boot-on;
2478d94da58SWenhao Cui				regulator-initial-mode = <0x2>;
2488d94da58SWenhao Cui
2498d94da58SWenhao Cui				regulator-state-mem {
2508d94da58SWenhao Cui					regulator-on-in-suspend;
2518d94da58SWenhao Cui				};
2528d94da58SWenhao Cui			};
2538d94da58SWenhao Cui
2548d94da58SWenhao Cui			vdd_npu: DCDC_REG4 {
2558d94da58SWenhao Cui				regulator-name = "vdd_npu";
2568d94da58SWenhao Cui				regulator-always-on;
2578d94da58SWenhao Cui				regulator-boot-on;
2588d94da58SWenhao Cui				regulator-min-microvolt = <500000>;
2598d94da58SWenhao Cui				regulator-max-microvolt = <1350000>;
2608d94da58SWenhao Cui				regulator-ramp-delay = <6001>;
2618d94da58SWenhao Cui				regulator-initial-mode = <0x2>;
2628d94da58SWenhao Cui
2638d94da58SWenhao Cui				regulator-state-mem {
2648d94da58SWenhao Cui					regulator-off-in-suspend;
2658d94da58SWenhao Cui				};
2668d94da58SWenhao Cui			};
2678d94da58SWenhao Cui
2688d94da58SWenhao Cui			vcc_1v8: DCDC_REG5 {
2698d94da58SWenhao Cui				regulator-name = "vcc_1v8";
2708d94da58SWenhao Cui				regulator-always-on;
2718d94da58SWenhao Cui				regulator-boot-on;
2728d94da58SWenhao Cui				regulator-min-microvolt = <1800000>;
2738d94da58SWenhao Cui				regulator-max-microvolt = <1800000>;
2748d94da58SWenhao Cui
2758d94da58SWenhao Cui				regulator-state-mem {
2768d94da58SWenhao Cui					regulator-off-in-suspend;
2778d94da58SWenhao Cui				};
2788d94da58SWenhao Cui			};
2798d94da58SWenhao Cui
2808d94da58SWenhao Cui			vdda0v9_image: LDO_REG1 {
2818d94da58SWenhao Cui				regulator-name = "vdda0v9_image";
2828d94da58SWenhao Cui				regulator-boot-on;
2838d94da58SWenhao Cui				regulator-always-on;
2848d94da58SWenhao Cui				regulator-min-microvolt = <900000>;
2858d94da58SWenhao Cui				regulator-max-microvolt = <900000>;
2868d94da58SWenhao Cui
2878d94da58SWenhao Cui				regulator-state-mem {
2888d94da58SWenhao Cui					regulator-off-in-suspend;
2898d94da58SWenhao Cui				};
2908d94da58SWenhao Cui			};
2918d94da58SWenhao Cui
2928d94da58SWenhao Cui			vdda_0v9: LDO_REG2 {
2938d94da58SWenhao Cui				regulator-name = "vdda_0v9";
2948d94da58SWenhao Cui				regulator-always-on;
2958d94da58SWenhao Cui				regulator-boot-on;
2968d94da58SWenhao Cui				regulator-min-microvolt = <900000>;
2978d94da58SWenhao Cui				regulator-max-microvolt = <900000>;
2988d94da58SWenhao Cui
2998d94da58SWenhao Cui				regulator-state-mem {
3008d94da58SWenhao Cui					regulator-off-in-suspend;
3018d94da58SWenhao Cui				};
3028d94da58SWenhao Cui			};
3038d94da58SWenhao Cui
3048d94da58SWenhao Cui			vdda0v9_pmu: LDO_REG3 {
3058d94da58SWenhao Cui				regulator-name = "vdda0v9_pmu";
3068d94da58SWenhao Cui				regulator-always-on;
3078d94da58SWenhao Cui				regulator-boot-on;
3088d94da58SWenhao Cui				regulator-min-microvolt = <900000>;
3098d94da58SWenhao Cui				regulator-max-microvolt = <900000>;
3108d94da58SWenhao Cui
3118d94da58SWenhao Cui				regulator-state-mem {
3128d94da58SWenhao Cui					regulator-on-in-suspend;
3138d94da58SWenhao Cui					regulator-suspend-microvolt = <900000>;
3148d94da58SWenhao Cui				};
3158d94da58SWenhao Cui			};
3168d94da58SWenhao Cui
3178d94da58SWenhao Cui			vccio_acodec: LDO_REG4 {
3188d94da58SWenhao Cui				regulator-name = "vccio_acodec";
3198d94da58SWenhao Cui				regulator-always-on;
3208d94da58SWenhao Cui				regulator-boot-on;
3218d94da58SWenhao Cui				regulator-min-microvolt = <3300000>;
3228d94da58SWenhao Cui				regulator-max-microvolt = <3300000>;
3238d94da58SWenhao Cui
3248d94da58SWenhao Cui				regulator-state-mem {
3258d94da58SWenhao Cui					regulator-off-in-suspend;
3268d94da58SWenhao Cui				};
3278d94da58SWenhao Cui			};
3288d94da58SWenhao Cui
3298d94da58SWenhao Cui			vccio_sd: LDO_REG5 {
3308d94da58SWenhao Cui				regulator-name = "vccio_sd";
3318d94da58SWenhao Cui				regulator-always-on;
3328d94da58SWenhao Cui				regulator-boot-on;
3338d94da58SWenhao Cui				regulator-min-microvolt = <1800000>;
3348d94da58SWenhao Cui				regulator-max-microvolt = <3300000>;
3358d94da58SWenhao Cui
3368d94da58SWenhao Cui				regulator-state-mem {
3378d94da58SWenhao Cui					regulator-off-in-suspend;
3388d94da58SWenhao Cui				};
3398d94da58SWenhao Cui			};
3408d94da58SWenhao Cui
3418d94da58SWenhao Cui			vcc3v3_pmu: LDO_REG6 {
3428d94da58SWenhao Cui				regulator-name = "vcc3v3_pmu";
3438d94da58SWenhao Cui				regulator-always-on;
3448d94da58SWenhao Cui				regulator-boot-on;
3458d94da58SWenhao Cui				regulator-min-microvolt = <3300000>;
3468d94da58SWenhao Cui				regulator-max-microvolt = <3300000>;
3478d94da58SWenhao Cui
3488d94da58SWenhao Cui				regulator-state-mem {
3498d94da58SWenhao Cui					regulator-on-in-suspend;
3508d94da58SWenhao Cui					regulator-suspend-microvolt = <3300000>;
3518d94da58SWenhao Cui				};
3528d94da58SWenhao Cui			};
3538d94da58SWenhao Cui
3548d94da58SWenhao Cui			vcca_1v8: LDO_REG7 {
3558d94da58SWenhao Cui				regulator-name = "vcca_1v8";
3568d94da58SWenhao Cui				regulator-always-on;
3578d94da58SWenhao Cui				regulator-boot-on;
3588d94da58SWenhao Cui				regulator-min-microvolt = <1800000>;
3598d94da58SWenhao Cui				regulator-max-microvolt = <1800000>;
3608d94da58SWenhao Cui
3618d94da58SWenhao Cui				regulator-state-mem {
3628d94da58SWenhao Cui					regulator-off-in-suspend;
3638d94da58SWenhao Cui				};
3648d94da58SWenhao Cui			};
3658d94da58SWenhao Cui
3668d94da58SWenhao Cui			vcca1v8_pmu: LDO_REG8 {
3678d94da58SWenhao Cui				regulator-name = "vcca1v8_pmu";
3688d94da58SWenhao Cui				regulator-always-on;
3698d94da58SWenhao Cui				regulator-boot-on;
3708d94da58SWenhao Cui				regulator-min-microvolt = <1800000>;
3718d94da58SWenhao Cui				regulator-max-microvolt = <1800000>;
3728d94da58SWenhao Cui
3738d94da58SWenhao Cui				regulator-state-mem {
3748d94da58SWenhao Cui					regulator-on-in-suspend;
3758d94da58SWenhao Cui					regulator-suspend-microvolt = <1800000>;
3768d94da58SWenhao Cui				};
3778d94da58SWenhao Cui			};
3788d94da58SWenhao Cui
3798d94da58SWenhao Cui			vcca1v8_image: LDO_REG9 {
3808d94da58SWenhao Cui				regulator-name = "vcca1v8_image";
3818d94da58SWenhao Cui				regulator-always-on;
3828d94da58SWenhao Cui				regulator-boot-on;
3838d94da58SWenhao Cui				regulator-min-microvolt = <1800000>;
3848d94da58SWenhao Cui				regulator-max-microvolt = <1800000>;
3858d94da58SWenhao Cui
3868d94da58SWenhao Cui				regulator-state-mem {
3878d94da58SWenhao Cui					regulator-off-in-suspend;
3888d94da58SWenhao Cui				};
3898d94da58SWenhao Cui			};
3908d94da58SWenhao Cui
3918d94da58SWenhao Cui			vcc_3v3: SWITCH_REG1 {
3928d94da58SWenhao Cui				regulator-name = "vcc_3v3";
3938d94da58SWenhao Cui				regulator-always-on;
3948d94da58SWenhao Cui				regulator-boot-on;
3958d94da58SWenhao Cui
3968d94da58SWenhao Cui				regulator-state-mem {
3978d94da58SWenhao Cui					regulator-off-in-suspend;
3988d94da58SWenhao Cui				};
3998d94da58SWenhao Cui			};
4008d94da58SWenhao Cui
4018d94da58SWenhao Cui			vcc3v3_sd: SWITCH_REG2 {
4028d94da58SWenhao Cui				regulator-name = "vcc3v3_sd";
4038d94da58SWenhao Cui				regulator-always-on;
4048d94da58SWenhao Cui				regulator-boot-on;
4058d94da58SWenhao Cui
4068d94da58SWenhao Cui				regulator-state-mem {
4078d94da58SWenhao Cui					regulator-off-in-suspend;
4088d94da58SWenhao Cui				};
4098d94da58SWenhao Cui			};
4108d94da58SWenhao Cui		};
4118d94da58SWenhao Cui	};
4128d94da58SWenhao Cui};
4138d94da58SWenhao Cui
4148d94da58SWenhao Cui&i2s1_8ch {
4158d94da58SWenhao Cui	rockchip,trcm-sync-tx-only;
4168d94da58SWenhao Cui	status = "okay";
4178d94da58SWenhao Cui};
4188d94da58SWenhao Cui
4198d94da58SWenhao Cui&gmac1 {
4208d94da58SWenhao Cui	phy-mode = "rgmii";
4218d94da58SWenhao Cui	clock_in_out = "output";
4228d94da58SWenhao Cui	snps,reset-gpio = <&gpio2 RK_PB0 GPIO_ACTIVE_LOW>;
4238d94da58SWenhao Cui	snps,reset-active-low;
4248d94da58SWenhao Cui	/* Reset time is 75ms, 100ms */
4258d94da58SWenhao Cui	snps,reset-delays-us = <0 75000 100000>;
4268d94da58SWenhao Cui	assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>;
4278d94da58SWenhao Cui	assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru CLK_MAC1_2TOP>;
4288d94da58SWenhao Cui	assigned-clock-rates = <0>, <125000000>;
4298d94da58SWenhao Cui	pinctrl-names = "default";
4308d94da58SWenhao Cui	pinctrl-0 = <&gmac1m1_miim
4318d94da58SWenhao Cui			&gmac1m1_tx_bus2_level3
4328d94da58SWenhao Cui			&gmac1m1_rx_bus2
4338d94da58SWenhao Cui			&gmac1m1_rgmii_clk_level2
4348d94da58SWenhao Cui			&gmac1m1_rgmii_bus_level3>;
4358d94da58SWenhao Cui	tx_delay = <0x1a>;
4368d94da58SWenhao Cui	rx_delay = <0x0c>;
4378d94da58SWenhao Cui	phy-handle = <&rgmii_phy1>;
4388d94da58SWenhao Cui	status = "okay";
4398d94da58SWenhao Cui};
4408d94da58SWenhao Cui
4418d94da58SWenhao Cui&mdio1 {
4428d94da58SWenhao Cui	rgmii_phy1: phy@0 {
4438d94da58SWenhao Cui		compatible = "ethernet-phy-ieee802.3-c22";
4448d94da58SWenhao Cui		reg = <0x0>;
4458d94da58SWenhao Cui	};
4468d94da58SWenhao Cui};
4478d94da58SWenhao Cui
4488d94da58SWenhao Cui&pcie2x1 {
4498d94da58SWenhao Cui	reset-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
4508d94da58SWenhao Cui	vpcie3v3-supply = <&vcc3v3_pcie>;
4518d94da58SWenhao Cui	status = "okay";
4528d94da58SWenhao Cui};
4538d94da58SWenhao Cui
4548d94da58SWenhao Cui&pinctrl {
4558d94da58SWenhao Cui	leds {
4568d94da58SWenhao Cui		sys_led_pin: sys-status-led-pin {
457*8586a5d2SAndy Yan			rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
4588d94da58SWenhao Cui		};
4598d94da58SWenhao Cui	};
4608d94da58SWenhao Cui
4618d94da58SWenhao Cui	usb {
4628d94da58SWenhao Cui		vcc5v0_usb20_host_en: vcc5v0-usb20-host-en {
4638d94da58SWenhao Cui			rockchip,pins = <2 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
4648d94da58SWenhao Cui		};
4658d94da58SWenhao Cui
4668d94da58SWenhao Cui		vcc5v0_usb30_host_en: vcc5v0-usb30-host-en {
4678d94da58SWenhao Cui			rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
4688d94da58SWenhao Cui		};
4698d94da58SWenhao Cui	};
4708d94da58SWenhao Cui
4718d94da58SWenhao Cui	pmic {
4728d94da58SWenhao Cui		pmic_int: pmic_int {
4738d94da58SWenhao Cui			rockchip,pins =
4748d94da58SWenhao Cui				<0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
4758d94da58SWenhao Cui		};
4768d94da58SWenhao Cui	};
4778d94da58SWenhao Cui};
4788d94da58SWenhao Cui
4798d94da58SWenhao Cui&pmu_io_domains {
4808d94da58SWenhao Cui	pmuio2-supply = <&vcc3v3_pmu>;
4818d94da58SWenhao Cui	vccio1-supply = <&vccio_acodec>;
4828d94da58SWenhao Cui	vccio3-supply = <&vccio_sd>;
4838d94da58SWenhao Cui	vccio4-supply = <&vcc_3v3>;
4848d94da58SWenhao Cui	vccio5-supply = <&vcc_3v3>;
4858d94da58SWenhao Cui	vccio6-supply = <&vcc_1v8>;
4868d94da58SWenhao Cui	vccio7-supply = <&vcc_3v3>;
4878d94da58SWenhao Cui	status = "okay";
4888d94da58SWenhao Cui};
4898d94da58SWenhao Cui
4908d94da58SWenhao Cui&saradc {
4918d94da58SWenhao Cui	vref-supply = <&vcca_1v8>;
4928d94da58SWenhao Cui	status = "okay";
4938d94da58SWenhao Cui};
4948d94da58SWenhao Cui
4958d94da58SWenhao Cui&tsadc {
4968d94da58SWenhao Cui	rockchip,hw-tshut-mode = <1>;
4978d94da58SWenhao Cui	rockchip,hw-tshut-polarity = <0>;
4988d94da58SWenhao Cui	status = "okay";
4998d94da58SWenhao Cui};
5008d94da58SWenhao Cui
5018d94da58SWenhao Cui&sdhci {
5028d94da58SWenhao Cui	assigned-clocks = <&cru BCLK_EMMC>, <&cru TCLK_EMMC>, <&cru CCLK_EMMC>;
5038d94da58SWenhao Cui	assigned-clock-rates = <200000000>, <24000000>, <200000000>;
5048d94da58SWenhao Cui	bus-width = <8>;
5058d94da58SWenhao Cui	max-frequency = <200000000>;
5068d94da58SWenhao Cui	mmc-hs200-1_8v;
5078d94da58SWenhao Cui	non-removable;
5088d94da58SWenhao Cui	pinctrl-names = "default";
5098d94da58SWenhao Cui	pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd>;
5108d94da58SWenhao Cui	status = "okay";
5118d94da58SWenhao Cui};
5128d94da58SWenhao Cui
5138d94da58SWenhao Cui&sdmmc0 {
5148d94da58SWenhao Cui	max-frequency = <150000000>;
5158d94da58SWenhao Cui	supports-sd;
5168d94da58SWenhao Cui	bus-width = <4>;
5178d94da58SWenhao Cui	cap-mmc-highspeed;
5188d94da58SWenhao Cui	cap-sd-highspeed;
5198d94da58SWenhao Cui	disable-wp;
5208d94da58SWenhao Cui	sd-uhs-sdr104;
5218d94da58SWenhao Cui	vmmc-supply = <&vcc3v3_sd>;
5228d94da58SWenhao Cui	vqmmc-supply = <&vccio_sd>;
5238d94da58SWenhao Cui	pinctrl-names = "default";
5248d94da58SWenhao Cui	pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
5258d94da58SWenhao Cui	status = "okay";
5268d94da58SWenhao Cui};
5278d94da58SWenhao Cui
5288d94da58SWenhao Cui/* USB OTG/USB Host_1 USB 2.0 Comb */
5298d94da58SWenhao Cui&usb2phy0 {
5308d94da58SWenhao Cui	status = "okay";
5318d94da58SWenhao Cui};
5328d94da58SWenhao Cui
5338d94da58SWenhao Cui&usb2phy0_host {
5348d94da58SWenhao Cui	status = "okay";
5358d94da58SWenhao Cui};
5368d94da58SWenhao Cui
5378d94da58SWenhao Cui&usb2phy0_otg {
5388d94da58SWenhao Cui	status = "okay";
5398d94da58SWenhao Cui};
5408d94da58SWenhao Cui
5418d94da58SWenhao Cui&usb_host0_ehci {
5428d94da58SWenhao Cui	status = "okay";
5438d94da58SWenhao Cui};
5448d94da58SWenhao Cui
5458d94da58SWenhao Cui&usb_host0_ohci {
5468d94da58SWenhao Cui	status = "okay";
5478d94da58SWenhao Cui};
5488d94da58SWenhao Cui
5498d94da58SWenhao Cui/* USB Host_2/USB Host_3 USB 2.0 Comb */
5508d94da58SWenhao Cui&usb2phy1 {
5518d94da58SWenhao Cui	status = "okay";
5528d94da58SWenhao Cui};
5538d94da58SWenhao Cui
5548d94da58SWenhao Cui&usb2phy1_host {
5558d94da58SWenhao Cui	status = "okay";
5568d94da58SWenhao Cui};
5578d94da58SWenhao Cui
5588d94da58SWenhao Cui&usb2phy1_otg {
5598d94da58SWenhao Cui	status = "okay";
5608d94da58SWenhao Cui};
5618d94da58SWenhao Cui
5628d94da58SWenhao Cui&usb_host1_ehci {
5638d94da58SWenhao Cui	status = "okay";
5648d94da58SWenhao Cui};
5658d94da58SWenhao Cui
5668d94da58SWenhao Cui&usb_host1_ohci {
5678d94da58SWenhao Cui	status = "okay";
5688d94da58SWenhao Cui};
5698d94da58SWenhao Cui
5708d94da58SWenhao Cui/* USB3.0 Host */
5718d94da58SWenhao Cui&usb_host1_xhci {
5728d94da58SWenhao Cui	status = "okay";
5738d94da58SWenhao Cui};
5748d94da58SWenhao Cui
5758d94da58SWenhao Cui&vop {
5768d94da58SWenhao Cui	assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
5778d94da58SWenhao Cui	assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
5788d94da58SWenhao Cui	status = "okay";
5798d94da58SWenhao Cui};
5808d94da58SWenhao Cui
5818d94da58SWenhao Cui&vop_mmu {
5828d94da58SWenhao Cui	status = "okay";
5838d94da58SWenhao Cui};
5848d94da58SWenhao Cui
5858d94da58SWenhao Cui&vp0 {
5868d94da58SWenhao Cui	vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
5878d94da58SWenhao Cui		reg = <ROCKCHIP_VOP2_EP_HDMI0>;
5888d94da58SWenhao Cui		remote-endpoint = <&hdmi_in_vp0>;
5898d94da58SWenhao Cui	};
5908d94da58SWenhao Cui};
591