xref: /freebsd/sys/contrib/device-tree/src/arm64/rockchip/rk3588s-nanopi-r6.dtsi (revision 8ccc0d235c226d84112561d453c49904398d085c)
15f62a964SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
25f62a964SEmmanuel Vadot
35f62a964SEmmanuel Vadot/dts-v1/;
45f62a964SEmmanuel Vadot
55f62a964SEmmanuel Vadot#include <dt-bindings/pinctrl/rockchip.h>
65f62a964SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
75f62a964SEmmanuel Vadot#include <dt-bindings/input/input.h>
85f62a964SEmmanuel Vadot#include <dt-bindings/soc/rockchip,vop2.h>
95f62a964SEmmanuel Vadot#include "rk3588s.dtsi"
105f62a964SEmmanuel Vadot
115f62a964SEmmanuel Vadot/ {
125f62a964SEmmanuel Vadot	aliases {
135f62a964SEmmanuel Vadot		ethernet0 = &gmac1;
145f62a964SEmmanuel Vadot		mmc0 = &sdmmc;
155f62a964SEmmanuel Vadot		mmc1 = &sdhci;
165f62a964SEmmanuel Vadot	};
175f62a964SEmmanuel Vadot
185f62a964SEmmanuel Vadot	chosen {
195f62a964SEmmanuel Vadot		stdout-path = "serial2:1500000n8";
205f62a964SEmmanuel Vadot	};
215f62a964SEmmanuel Vadot
225f62a964SEmmanuel Vadot	adc-keys {
235f62a964SEmmanuel Vadot		compatible = "adc-keys";
245f62a964SEmmanuel Vadot		io-channels = <&saradc 0>;
255f62a964SEmmanuel Vadot		io-channel-names = "buttons";
265f62a964SEmmanuel Vadot		keyup-threshold-microvolt = <1800000>;
275f62a964SEmmanuel Vadot		poll-interval = <100>;
285f62a964SEmmanuel Vadot
295f62a964SEmmanuel Vadot		button-maskrom {
305f62a964SEmmanuel Vadot			label = "Maskrom";
315f62a964SEmmanuel Vadot			linux,code = <KEY_VENDOR>;
325f62a964SEmmanuel Vadot			press-threshold-microvolt = <1800>;
335f62a964SEmmanuel Vadot		};
345f62a964SEmmanuel Vadot	};
355f62a964SEmmanuel Vadot
365f62a964SEmmanuel Vadot	gpio-keys {
375f62a964SEmmanuel Vadot		compatible = "gpio-keys";
385f62a964SEmmanuel Vadot		pinctrl-names = "default";
395f62a964SEmmanuel Vadot		pinctrl-0 = <&key1_pin>;
405f62a964SEmmanuel Vadot
415f62a964SEmmanuel Vadot		button-user {
425f62a964SEmmanuel Vadot			label = "User";
435f62a964SEmmanuel Vadot			linux,code = <BTN_1>;
445f62a964SEmmanuel Vadot			gpios = <&gpio1 RK_PC0 GPIO_ACTIVE_LOW>;
455f62a964SEmmanuel Vadot			debounce-interval = <50>;
465f62a964SEmmanuel Vadot		};
475f62a964SEmmanuel Vadot	};
485f62a964SEmmanuel Vadot
495f62a964SEmmanuel Vadot	hdmi-con {
505f62a964SEmmanuel Vadot		compatible = "hdmi-connector";
515f62a964SEmmanuel Vadot		type = "a";
525f62a964SEmmanuel Vadot
535f62a964SEmmanuel Vadot		port {
545f62a964SEmmanuel Vadot			hdmi_con_in: endpoint {
555f62a964SEmmanuel Vadot				remote-endpoint = <&hdmi0_out_con>;
565f62a964SEmmanuel Vadot			};
575f62a964SEmmanuel Vadot		};
585f62a964SEmmanuel Vadot	};
595f62a964SEmmanuel Vadot
605f62a964SEmmanuel Vadot	leds {
615f62a964SEmmanuel Vadot		compatible = "gpio-leds";
625f62a964SEmmanuel Vadot
635f62a964SEmmanuel Vadot		sys_led: led-0 {
645f62a964SEmmanuel Vadot			label = "sys_led";
655f62a964SEmmanuel Vadot			gpios = <&gpio1 RK_PC1 GPIO_ACTIVE_HIGH>;
665f62a964SEmmanuel Vadot			linux,default-trigger = "heartbeat";
675f62a964SEmmanuel Vadot			pinctrl-names = "default";
685f62a964SEmmanuel Vadot			pinctrl-0 = <&sys_led_pin>;
695f62a964SEmmanuel Vadot		};
705f62a964SEmmanuel Vadot
715f62a964SEmmanuel Vadot		wan_led: led-1 {
725f62a964SEmmanuel Vadot			label = "wan_led";
735f62a964SEmmanuel Vadot			gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_HIGH>;
745f62a964SEmmanuel Vadot			pinctrl-names = "default";
755f62a964SEmmanuel Vadot			pinctrl-0 = <&wan_led_pin>;
765f62a964SEmmanuel Vadot		};
775f62a964SEmmanuel Vadot
785f62a964SEmmanuel Vadot		lan1_led: led-2 {
795f62a964SEmmanuel Vadot			label = "lan1_led";
805f62a964SEmmanuel Vadot			gpios = <&gpio1 RK_PC3 GPIO_ACTIVE_HIGH>;
815f62a964SEmmanuel Vadot			pinctrl-names = "default";
825f62a964SEmmanuel Vadot			pinctrl-0 = <&lan1_led_pin>;
835f62a964SEmmanuel Vadot		};
845f62a964SEmmanuel Vadot
855f62a964SEmmanuel Vadot		lan2_led: led-3 {
865f62a964SEmmanuel Vadot			gpios = <&gpio1 RK_PC4 GPIO_ACTIVE_HIGH>;
875f62a964SEmmanuel Vadot			pinctrl-names = "default";
885f62a964SEmmanuel Vadot			pinctrl-0 = <&lan2_led_pin>;
895f62a964SEmmanuel Vadot		};
905f62a964SEmmanuel Vadot	};
915f62a964SEmmanuel Vadot
925f62a964SEmmanuel Vadot	vcc5v0_sys: regulator-vcc5v0-sys {
935f62a964SEmmanuel Vadot		compatible = "regulator-fixed";
945f62a964SEmmanuel Vadot		regulator-name = "vcc5v0_sys";
955f62a964SEmmanuel Vadot		regulator-always-on;
965f62a964SEmmanuel Vadot		regulator-boot-on;
975f62a964SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
985f62a964SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
995f62a964SEmmanuel Vadot	};
1005f62a964SEmmanuel Vadot
1015f62a964SEmmanuel Vadot	vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 {
1025f62a964SEmmanuel Vadot		compatible = "regulator-fixed";
1035f62a964SEmmanuel Vadot		regulator-name = "vcc_1v1_nldo_s3";
1045f62a964SEmmanuel Vadot		regulator-always-on;
1055f62a964SEmmanuel Vadot		regulator-boot-on;
1065f62a964SEmmanuel Vadot		regulator-min-microvolt = <1100000>;
1075f62a964SEmmanuel Vadot		regulator-max-microvolt = <1100000>;
1085f62a964SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
1095f62a964SEmmanuel Vadot	};
1105f62a964SEmmanuel Vadot
1115f62a964SEmmanuel Vadot	vcc_3v3_s0: regulator-vcc-3v3-s0 {
1125f62a964SEmmanuel Vadot		compatible = "regulator-fixed";
1135f62a964SEmmanuel Vadot		regulator-always-on;
1145f62a964SEmmanuel Vadot		regulator-boot-on;
1155f62a964SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1165f62a964SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1175f62a964SEmmanuel Vadot		regulator-name = "vcc_3v3_s0";
1185f62a964SEmmanuel Vadot		vin-supply = <&vcc_3v3_s3>;
1195f62a964SEmmanuel Vadot	};
1205f62a964SEmmanuel Vadot
1215f62a964SEmmanuel Vadot	vcc_3v3_sd_s0: regulator-vcc-3v3-sd-s0 {
1225f62a964SEmmanuel Vadot		compatible = "regulator-fixed";
1235f62a964SEmmanuel Vadot		enable-active-high;
1245f62a964SEmmanuel Vadot		gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>;
1255f62a964SEmmanuel Vadot		pinctrl-names = "default";
1265f62a964SEmmanuel Vadot		pinctrl-0 = <&sd_s0_pwr>;
1275f62a964SEmmanuel Vadot		regulator-name = "vcc_3v3_sd_s0";
1285f62a964SEmmanuel Vadot		regulator-boot-on;
1295f62a964SEmmanuel Vadot		regulator-max-microvolt = <3000000>;
1305f62a964SEmmanuel Vadot		regulator-min-microvolt = <3000000>;
1315f62a964SEmmanuel Vadot		vin-supply = <&vcc_3v3_s3>;
1325f62a964SEmmanuel Vadot	};
1335f62a964SEmmanuel Vadot
1345f62a964SEmmanuel Vadot	vcc_3v3_pcie20: regulator-vcc3v3-pcie20 {
1355f62a964SEmmanuel Vadot		compatible = "regulator-fixed";
1365f62a964SEmmanuel Vadot		regulator-name = "vcc_3v3_pcie20";
1375f62a964SEmmanuel Vadot		regulator-always-on;
1385f62a964SEmmanuel Vadot		regulator-boot-on;
1395f62a964SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1405f62a964SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1415f62a964SEmmanuel Vadot		vin-supply = <&vcc_3v3_s3>;
1425f62a964SEmmanuel Vadot	};
1435f62a964SEmmanuel Vadot
1445f62a964SEmmanuel Vadot	vcc5v0_usb: regulator-vcc5v0-usb {
1455f62a964SEmmanuel Vadot		compatible = "regulator-fixed";
1465f62a964SEmmanuel Vadot		regulator-name = "vcc5v0_usb";
1475f62a964SEmmanuel Vadot		regulator-always-on;
1485f62a964SEmmanuel Vadot		regulator-boot-on;
1495f62a964SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
1505f62a964SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
1515f62a964SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
1525f62a964SEmmanuel Vadot	};
1535f62a964SEmmanuel Vadot
1545f62a964SEmmanuel Vadot	vcc5v0_usb_otg0: regulator-vcc5v0-usb-otg0 {
1555f62a964SEmmanuel Vadot		compatible = "regulator-fixed";
1565f62a964SEmmanuel Vadot		enable-active-high;
1575f62a964SEmmanuel Vadot		gpios = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>;
1585f62a964SEmmanuel Vadot		pinctrl-names = "default";
1595f62a964SEmmanuel Vadot		pinctrl-0 = <&typec5v_pwren>;
1605f62a964SEmmanuel Vadot		regulator-name = "vcc5v0_usb_otg0";
1615f62a964SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
1625f62a964SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
1635f62a964SEmmanuel Vadot		vin-supply = <&vcc5v0_usb>;
1645f62a964SEmmanuel Vadot	};
1655f62a964SEmmanuel Vadot
1665f62a964SEmmanuel Vadot	vcc5v0_host_20: regulator-vcc5v0-host-20 {
1675f62a964SEmmanuel Vadot		compatible = "regulator-fixed";
1685f62a964SEmmanuel Vadot		enable-active-high;
1695f62a964SEmmanuel Vadot		gpios = <&gpio4 RK_PB5 GPIO_ACTIVE_HIGH>;
1705f62a964SEmmanuel Vadot		pinctrl-names = "default";
1715f62a964SEmmanuel Vadot		pinctrl-0 = <&vcc5v0_host20_en>;
1725f62a964SEmmanuel Vadot		regulator-name = "vcc5v0_host_20";
1735f62a964SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
1745f62a964SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
1755f62a964SEmmanuel Vadot		vin-supply = <&vcc5v0_usb>;
1765f62a964SEmmanuel Vadot	};
1775f62a964SEmmanuel Vadot};
1785f62a964SEmmanuel Vadot
1795f62a964SEmmanuel Vadot&combphy0_ps {
1805f62a964SEmmanuel Vadot	status = "okay";
1815f62a964SEmmanuel Vadot};
1825f62a964SEmmanuel Vadot
1835f62a964SEmmanuel Vadot&combphy2_psu {
1845f62a964SEmmanuel Vadot	status = "okay";
1855f62a964SEmmanuel Vadot};
1865f62a964SEmmanuel Vadot
1875f62a964SEmmanuel Vadot&cpu_b0 {
1885f62a964SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big0_s0>;
1895f62a964SEmmanuel Vadot};
1905f62a964SEmmanuel Vadot
1915f62a964SEmmanuel Vadot&cpu_b1 {
1925f62a964SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big0_s0>;
1935f62a964SEmmanuel Vadot};
1945f62a964SEmmanuel Vadot
1955f62a964SEmmanuel Vadot&cpu_b2 {
1965f62a964SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big1_s0>;
1975f62a964SEmmanuel Vadot};
1985f62a964SEmmanuel Vadot
1995f62a964SEmmanuel Vadot&cpu_b3 {
2005f62a964SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big1_s0>;
2015f62a964SEmmanuel Vadot};
2025f62a964SEmmanuel Vadot
2035f62a964SEmmanuel Vadot&cpu_l0 {
2045f62a964SEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
2055f62a964SEmmanuel Vadot};
2065f62a964SEmmanuel Vadot
2075f62a964SEmmanuel Vadot&cpu_l1 {
2085f62a964SEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
2095f62a964SEmmanuel Vadot};
2105f62a964SEmmanuel Vadot
2115f62a964SEmmanuel Vadot&cpu_l2 {
2125f62a964SEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
2135f62a964SEmmanuel Vadot};
2145f62a964SEmmanuel Vadot
2155f62a964SEmmanuel Vadot&cpu_l3 {
2165f62a964SEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
2175f62a964SEmmanuel Vadot};
2185f62a964SEmmanuel Vadot
2195f62a964SEmmanuel Vadot&gmac1 {
2205f62a964SEmmanuel Vadot	clock_in_out = "output";
2215f62a964SEmmanuel Vadot	phy-handle = <&rgmii_phy1>;
2225f62a964SEmmanuel Vadot	phy-mode = "rgmii-rxid";
2235f62a964SEmmanuel Vadot	pinctrl-0 = <&gmac1_miim
2245f62a964SEmmanuel Vadot		     &gmac1_tx_bus2
2255f62a964SEmmanuel Vadot		     &gmac1_rx_bus2
2265f62a964SEmmanuel Vadot		     &gmac1_rgmii_clk
2275f62a964SEmmanuel Vadot		     &gmac1_rgmii_bus>;
2285f62a964SEmmanuel Vadot	pinctrl-names = "default";
2295f62a964SEmmanuel Vadot	tx_delay = <0x42>;
2305f62a964SEmmanuel Vadot	status = "okay";
2315f62a964SEmmanuel Vadot};
2325f62a964SEmmanuel Vadot
2335f62a964SEmmanuel Vadot&gpu {
2345f62a964SEmmanuel Vadot	mali-supply = <&vdd_gpu_s0>;
2355f62a964SEmmanuel Vadot	status = "okay";
2365f62a964SEmmanuel Vadot};
2375f62a964SEmmanuel Vadot
2385f62a964SEmmanuel Vadot&hdmi0 {
2395f62a964SEmmanuel Vadot	status = "okay";
2405f62a964SEmmanuel Vadot};
2415f62a964SEmmanuel Vadot
2425f62a964SEmmanuel Vadot&hdmi0_in {
2435f62a964SEmmanuel Vadot	hdmi0_in_vp0: endpoint {
2445f62a964SEmmanuel Vadot		remote-endpoint = <&vp0_out_hdmi0>;
2455f62a964SEmmanuel Vadot	};
2465f62a964SEmmanuel Vadot};
2475f62a964SEmmanuel Vadot
2485f62a964SEmmanuel Vadot&hdmi0_out {
2495f62a964SEmmanuel Vadot	hdmi0_out_con: endpoint {
2505f62a964SEmmanuel Vadot		remote-endpoint = <&hdmi_con_in>;
2515f62a964SEmmanuel Vadot	};
2525f62a964SEmmanuel Vadot};
2535f62a964SEmmanuel Vadot
254*8ccc0d23SEmmanuel Vadot&hdptxphy0 {
2555f62a964SEmmanuel Vadot	status = "okay";
2565f62a964SEmmanuel Vadot};
2575f62a964SEmmanuel Vadot
2585f62a964SEmmanuel Vadot&i2c0 {
2595f62a964SEmmanuel Vadot	pinctrl-names = "default";
2605f62a964SEmmanuel Vadot	pinctrl-0 = <&i2c0m2_xfer>;
2615f62a964SEmmanuel Vadot	status = "okay";
2625f62a964SEmmanuel Vadot
2635f62a964SEmmanuel Vadot	vdd_cpu_big0_s0: regulator@42 {
2645f62a964SEmmanuel Vadot		compatible = "rockchip,rk8602";
2655f62a964SEmmanuel Vadot		reg = <0x42>;
2665f62a964SEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
2675f62a964SEmmanuel Vadot		regulator-name = "vdd_cpu_big0_s0";
2685f62a964SEmmanuel Vadot		regulator-always-on;
2695f62a964SEmmanuel Vadot		regulator-boot-on;
2705f62a964SEmmanuel Vadot		regulator-min-microvolt = <550000>;
2715f62a964SEmmanuel Vadot		regulator-max-microvolt = <1050000>;
2725f62a964SEmmanuel Vadot		regulator-ramp-delay = <2300>;
2735f62a964SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
2745f62a964SEmmanuel Vadot
2755f62a964SEmmanuel Vadot		regulator-state-mem {
2765f62a964SEmmanuel Vadot			regulator-off-in-suspend;
2775f62a964SEmmanuel Vadot		};
2785f62a964SEmmanuel Vadot	};
2795f62a964SEmmanuel Vadot
2805f62a964SEmmanuel Vadot	vdd_cpu_big1_s0: regulator@43 {
2815f62a964SEmmanuel Vadot		compatible = "rockchip,rk8603", "rockchip,rk8602";
2825f62a964SEmmanuel Vadot		reg = <0x43>;
2835f62a964SEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
2845f62a964SEmmanuel Vadot		regulator-name = "vdd_cpu_big1_s0";
2855f62a964SEmmanuel Vadot		regulator-always-on;
2865f62a964SEmmanuel Vadot		regulator-boot-on;
2875f62a964SEmmanuel Vadot		regulator-min-microvolt = <550000>;
2885f62a964SEmmanuel Vadot		regulator-max-microvolt = <1050000>;
2895f62a964SEmmanuel Vadot		regulator-ramp-delay = <2300>;
2905f62a964SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
2915f62a964SEmmanuel Vadot
2925f62a964SEmmanuel Vadot		regulator-state-mem {
2935f62a964SEmmanuel Vadot			regulator-off-in-suspend;
2945f62a964SEmmanuel Vadot		};
2955f62a964SEmmanuel Vadot	};
2965f62a964SEmmanuel Vadot};
2975f62a964SEmmanuel Vadot
2985f62a964SEmmanuel Vadot&i2c2 {
2995f62a964SEmmanuel Vadot	status = "okay";
3005f62a964SEmmanuel Vadot
3015f62a964SEmmanuel Vadot	vdd_npu_s0: regulator@42 {
3025f62a964SEmmanuel Vadot		compatible = "rockchip,rk8602";
3035f62a964SEmmanuel Vadot		reg = <0x42>;
3045f62a964SEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
3055f62a964SEmmanuel Vadot		regulator-name = "vdd_npu_s0";
3065f62a964SEmmanuel Vadot		regulator-min-microvolt = <550000>;
3075f62a964SEmmanuel Vadot		regulator-max-microvolt = <950000>;
3085f62a964SEmmanuel Vadot		regulator-ramp-delay = <2300>;
3095f62a964SEmmanuel Vadot		regulator-boot-on;
3105f62a964SEmmanuel Vadot		regulator-always-on;
3115f62a964SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
3125f62a964SEmmanuel Vadot
3135f62a964SEmmanuel Vadot		regulator-state-mem {
3145f62a964SEmmanuel Vadot			regulator-off-in-suspend;
3155f62a964SEmmanuel Vadot		};
3165f62a964SEmmanuel Vadot	};
3175f62a964SEmmanuel Vadot};
3185f62a964SEmmanuel Vadot
3195f62a964SEmmanuel Vadot&i2c6 {
3205f62a964SEmmanuel Vadot	clock-frequency = <200000>;
3215f62a964SEmmanuel Vadot	pinctrl-names = "default";
3225f62a964SEmmanuel Vadot	pinctrl-0 = <&i2c6m0_xfer>;
3235f62a964SEmmanuel Vadot	status = "okay";
3245f62a964SEmmanuel Vadot
3255f62a964SEmmanuel Vadot	hym8563: rtc@51 {
3265f62a964SEmmanuel Vadot		compatible = "haoyu,hym8563";
3275f62a964SEmmanuel Vadot		reg = <0x51>;
3285f62a964SEmmanuel Vadot		#clock-cells = <0>;
3295f62a964SEmmanuel Vadot		clock-output-names = "hym8563";
3305f62a964SEmmanuel Vadot		pinctrl-names = "default";
3315f62a964SEmmanuel Vadot		pinctrl-0 = <&rtc_int>;
3325f62a964SEmmanuel Vadot		interrupt-parent = <&gpio0>;
3335f62a964SEmmanuel Vadot		interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>;
3345f62a964SEmmanuel Vadot		wakeup-source;
3355f62a964SEmmanuel Vadot	};
3365f62a964SEmmanuel Vadot};
3375f62a964SEmmanuel Vadot
3385f62a964SEmmanuel Vadot&mdio1 {
3395f62a964SEmmanuel Vadot	rgmii_phy1: ethernet-phy@1 {
3405f62a964SEmmanuel Vadot		compatible = "ethernet-phy-id001c.c916";
3415f62a964SEmmanuel Vadot		reg = <0x1>;
3425f62a964SEmmanuel Vadot		pinctrl-names = "default";
3435f62a964SEmmanuel Vadot		pinctrl-0 = <&rtl8211f_rst>;
3445f62a964SEmmanuel Vadot		reset-assert-us = <20000>;
3455f62a964SEmmanuel Vadot		reset-deassert-us = <100000>;
3465f62a964SEmmanuel Vadot		reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
3475f62a964SEmmanuel Vadot	};
3485f62a964SEmmanuel Vadot};
3495f62a964SEmmanuel Vadot
3505f62a964SEmmanuel Vadot&pcie2x1l1 {
3515f62a964SEmmanuel Vadot	reset-gpios = <&gpio1 RK_PA7 GPIO_ACTIVE_HIGH>;
3525f62a964SEmmanuel Vadot	vpcie3v3-supply = <&vcc_3v3_pcie20>;
3535f62a964SEmmanuel Vadot	status = "okay";
3545f62a964SEmmanuel Vadot};
3555f62a964SEmmanuel Vadot
3565f62a964SEmmanuel Vadot&pcie2x1l2 {
3575f62a964SEmmanuel Vadot	reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>;
3585f62a964SEmmanuel Vadot	vpcie3v3-supply = <&vcc_3v3_pcie20>;
3595f62a964SEmmanuel Vadot	status = "okay";
3605f62a964SEmmanuel Vadot};
3615f62a964SEmmanuel Vadot
362*8ccc0d23SEmmanuel Vadot&pd_gpu {
363*8ccc0d23SEmmanuel Vadot	domain-supply = <&vdd_gpu_s0>;
364*8ccc0d23SEmmanuel Vadot};
365*8ccc0d23SEmmanuel Vadot
3665f62a964SEmmanuel Vadot&pinctrl {
3675f62a964SEmmanuel Vadot	gpio-key {
3685f62a964SEmmanuel Vadot		key1_pin: key1-pin {
3695f62a964SEmmanuel Vadot			rockchip,pins = <1 RK_PC0 RK_FUNC_GPIO &pcfg_pull_up>;
3705f62a964SEmmanuel Vadot		};
3715f62a964SEmmanuel Vadot	};
3725f62a964SEmmanuel Vadot
3735f62a964SEmmanuel Vadot	gpio-leds {
3745f62a964SEmmanuel Vadot		sys_led_pin: sys-led-pin {
3755f62a964SEmmanuel Vadot			rockchip,pins =
3765f62a964SEmmanuel Vadot				<1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
3775f62a964SEmmanuel Vadot		};
3785f62a964SEmmanuel Vadot
3795f62a964SEmmanuel Vadot		wan_led_pin: wan-led-pin {
3805f62a964SEmmanuel Vadot			rockchip,pins =
3815f62a964SEmmanuel Vadot				<1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
3825f62a964SEmmanuel Vadot		};
3835f62a964SEmmanuel Vadot
3845f62a964SEmmanuel Vadot		lan1_led_pin: lan1-led-pin {
3855f62a964SEmmanuel Vadot			rockchip,pins =
3865f62a964SEmmanuel Vadot				<1 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>;
3875f62a964SEmmanuel Vadot		};
3885f62a964SEmmanuel Vadot
3895f62a964SEmmanuel Vadot		lan2_led_pin: lan2-led-pin {
3905f62a964SEmmanuel Vadot			rockchip,pins =
3915f62a964SEmmanuel Vadot				<1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
3925f62a964SEmmanuel Vadot		};
3935f62a964SEmmanuel Vadot	};
3945f62a964SEmmanuel Vadot
3955f62a964SEmmanuel Vadot	hym8563 {
3965f62a964SEmmanuel Vadot		rtc_int: rtc-int {
3975f62a964SEmmanuel Vadot			rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
3985f62a964SEmmanuel Vadot		};
3995f62a964SEmmanuel Vadot	};
4005f62a964SEmmanuel Vadot
4015f62a964SEmmanuel Vadot	sdmmc {
4025f62a964SEmmanuel Vadot		sd_s0_pwr: sd-s0-pwr {
4035f62a964SEmmanuel Vadot			rockchip,pins = <4 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>;
4045f62a964SEmmanuel Vadot		};
4055f62a964SEmmanuel Vadot	};
4065f62a964SEmmanuel Vadot
4075f62a964SEmmanuel Vadot	usb {
4085f62a964SEmmanuel Vadot		typec5v_pwren: typec5v-pwren {
4095f62a964SEmmanuel Vadot			rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
4105f62a964SEmmanuel Vadot		};
4115f62a964SEmmanuel Vadot
4125f62a964SEmmanuel Vadot		vcc5v0_host20_en: vcc5v0-host20-en {
4135f62a964SEmmanuel Vadot			rockchip,pins = <4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
4145f62a964SEmmanuel Vadot		};
4155f62a964SEmmanuel Vadot	};
4165f62a964SEmmanuel Vadot
4175f62a964SEmmanuel Vadot	rtl8211f {
4185f62a964SEmmanuel Vadot		rtl8211f_rst: rtl8211f-rst {
4195f62a964SEmmanuel Vadot			rockchip,pins = <3 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
4205f62a964SEmmanuel Vadot		};
4215f62a964SEmmanuel Vadot	};
4225f62a964SEmmanuel Vadot};
4235f62a964SEmmanuel Vadot
4245f62a964SEmmanuel Vadot&saradc {
4255f62a964SEmmanuel Vadot	vref-supply = <&avcc_1v8_s0>;
4265f62a964SEmmanuel Vadot	status = "okay";
4275f62a964SEmmanuel Vadot};
4285f62a964SEmmanuel Vadot
4295f62a964SEmmanuel Vadot&sdhci {
4305f62a964SEmmanuel Vadot	bus-width = <8>;
4315f62a964SEmmanuel Vadot	no-sdio;
4325f62a964SEmmanuel Vadot	no-sd;
4335f62a964SEmmanuel Vadot	non-removable;
4345f62a964SEmmanuel Vadot	mmc-hs200-1_8v;
4355f62a964SEmmanuel Vadot	status = "okay";
4365f62a964SEmmanuel Vadot};
4375f62a964SEmmanuel Vadot
4385f62a964SEmmanuel Vadot&sdmmc {
4395f62a964SEmmanuel Vadot	bus-width = <4>;
4405f62a964SEmmanuel Vadot	cap-sd-highspeed;
4415f62a964SEmmanuel Vadot	cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
4425f62a964SEmmanuel Vadot	disable-wp;
4435f62a964SEmmanuel Vadot	max-frequency = <150000000>;
4445f62a964SEmmanuel Vadot	no-mmc;
4455f62a964SEmmanuel Vadot	no-sdio;
4465f62a964SEmmanuel Vadot	sd-uhs-sdr104;
4475f62a964SEmmanuel Vadot	vmmc-supply = <&vcc_3v3_sd_s0>;
4485f62a964SEmmanuel Vadot	vqmmc-supply = <&vccio_sd_s0>;
4495f62a964SEmmanuel Vadot	status = "okay";
4505f62a964SEmmanuel Vadot};
4515f62a964SEmmanuel Vadot
4525f62a964SEmmanuel Vadot&spi2 {
4535f62a964SEmmanuel Vadot	status = "okay";
4545f62a964SEmmanuel Vadot	assigned-clocks = <&cru CLK_SPI2>;
4555f62a964SEmmanuel Vadot	assigned-clock-rates = <200000000>;
4565f62a964SEmmanuel Vadot	pinctrl-names = "default";
4575f62a964SEmmanuel Vadot	pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
4585f62a964SEmmanuel Vadot	num-cs = <1>;
4595f62a964SEmmanuel Vadot
4605f62a964SEmmanuel Vadot	pmic@0 {
4615f62a964SEmmanuel Vadot		compatible = "rockchip,rk806";
4625f62a964SEmmanuel Vadot		spi-max-frequency = <1000000>;
4635f62a964SEmmanuel Vadot		reg = <0x0>;
4645f62a964SEmmanuel Vadot
4655f62a964SEmmanuel Vadot		interrupt-parent = <&gpio0>;
4665f62a964SEmmanuel Vadot		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
4675f62a964SEmmanuel Vadot
4685f62a964SEmmanuel Vadot		pinctrl-names = "default";
4695f62a964SEmmanuel Vadot		pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
4705f62a964SEmmanuel Vadot			    <&rk806_dvs2_null>, <&rk806_dvs3_null>;
4715f62a964SEmmanuel Vadot
4725f62a964SEmmanuel Vadot		system-power-controller;
4735f62a964SEmmanuel Vadot
4745f62a964SEmmanuel Vadot		vcc1-supply = <&vcc5v0_sys>;
4755f62a964SEmmanuel Vadot		vcc2-supply = <&vcc5v0_sys>;
4765f62a964SEmmanuel Vadot		vcc3-supply = <&vcc5v0_sys>;
4775f62a964SEmmanuel Vadot		vcc4-supply = <&vcc5v0_sys>;
4785f62a964SEmmanuel Vadot		vcc5-supply = <&vcc5v0_sys>;
4795f62a964SEmmanuel Vadot		vcc6-supply = <&vcc5v0_sys>;
4805f62a964SEmmanuel Vadot		vcc7-supply = <&vcc5v0_sys>;
4815f62a964SEmmanuel Vadot		vcc8-supply = <&vcc5v0_sys>;
4825f62a964SEmmanuel Vadot		vcc9-supply = <&vcc5v0_sys>;
4835f62a964SEmmanuel Vadot		vcc10-supply = <&vcc5v0_sys>;
4845f62a964SEmmanuel Vadot		vcc11-supply = <&vcc_2v0_pldo_s3>;
4855f62a964SEmmanuel Vadot		vcc12-supply = <&vcc5v0_sys>;
4865f62a964SEmmanuel Vadot		vcc13-supply = <&vcc_1v1_nldo_s3>;
4875f62a964SEmmanuel Vadot		vcc14-supply = <&vcc_1v1_nldo_s3>;
4885f62a964SEmmanuel Vadot		vcca-supply = <&vcc5v0_sys>;
4895f62a964SEmmanuel Vadot
4905f62a964SEmmanuel Vadot		gpio-controller;
4915f62a964SEmmanuel Vadot		#gpio-cells = <2>;
4925f62a964SEmmanuel Vadot
4935f62a964SEmmanuel Vadot		rk806_dvs1_null: dvs1-null-pins {
4945f62a964SEmmanuel Vadot			pins = "gpio_pwrctrl1";
4955f62a964SEmmanuel Vadot			function = "pin_fun0";
4965f62a964SEmmanuel Vadot		};
4975f62a964SEmmanuel Vadot
4985f62a964SEmmanuel Vadot		rk806_dvs2_null: dvs2-null-pins {
4995f62a964SEmmanuel Vadot			pins = "gpio_pwrctrl2";
5005f62a964SEmmanuel Vadot			function = "pin_fun0";
5015f62a964SEmmanuel Vadot		};
5025f62a964SEmmanuel Vadot
5035f62a964SEmmanuel Vadot		rk806_dvs3_null: dvs3-null-pins {
5045f62a964SEmmanuel Vadot			pins = "gpio_pwrctrl3";
5055f62a964SEmmanuel Vadot			function = "pin_fun0";
5065f62a964SEmmanuel Vadot		};
5075f62a964SEmmanuel Vadot
5085f62a964SEmmanuel Vadot		regulators {
5095f62a964SEmmanuel Vadot			vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 {
5105f62a964SEmmanuel Vadot				regulator-boot-on;
5115f62a964SEmmanuel Vadot				regulator-min-microvolt = <550000>;
5125f62a964SEmmanuel Vadot				regulator-max-microvolt = <950000>;
5135f62a964SEmmanuel Vadot				regulator-ramp-delay = <12500>;
5145f62a964SEmmanuel Vadot				regulator-name = "vdd_gpu_s0";
5155f62a964SEmmanuel Vadot				regulator-enable-ramp-delay = <400>;
5165f62a964SEmmanuel Vadot
5175f62a964SEmmanuel Vadot				regulator-state-mem {
5185f62a964SEmmanuel Vadot					regulator-off-in-suspend;
5195f62a964SEmmanuel Vadot				};
5205f62a964SEmmanuel Vadot			};
5215f62a964SEmmanuel Vadot
5225f62a964SEmmanuel Vadot			vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 {
5235f62a964SEmmanuel Vadot				regulator-always-on;
5245f62a964SEmmanuel Vadot				regulator-boot-on;
5255f62a964SEmmanuel Vadot				regulator-min-microvolt = <550000>;
5265f62a964SEmmanuel Vadot				regulator-max-microvolt = <950000>;
5275f62a964SEmmanuel Vadot				regulator-ramp-delay = <12500>;
5285f62a964SEmmanuel Vadot				regulator-name = "vdd_cpu_lit_s0";
5295f62a964SEmmanuel Vadot
5305f62a964SEmmanuel Vadot				regulator-state-mem {
5315f62a964SEmmanuel Vadot					regulator-off-in-suspend;
5325f62a964SEmmanuel Vadot				};
5335f62a964SEmmanuel Vadot			};
5345f62a964SEmmanuel Vadot
5355f62a964SEmmanuel Vadot			vdd_log_s0: dcdc-reg3 {
5365f62a964SEmmanuel Vadot				regulator-always-on;
5375f62a964SEmmanuel Vadot				regulator-boot-on;
5385f62a964SEmmanuel Vadot				regulator-min-microvolt = <675000>;
5395f62a964SEmmanuel Vadot				regulator-max-microvolt = <750000>;
5405f62a964SEmmanuel Vadot				regulator-ramp-delay = <12500>;
5415f62a964SEmmanuel Vadot				regulator-name = "vdd_log_s0";
5425f62a964SEmmanuel Vadot
5435f62a964SEmmanuel Vadot				regulator-state-mem {
5445f62a964SEmmanuel Vadot					regulator-off-in-suspend;
5455f62a964SEmmanuel Vadot					regulator-suspend-microvolt = <750000>;
5465f62a964SEmmanuel Vadot				};
5475f62a964SEmmanuel Vadot			};
5485f62a964SEmmanuel Vadot
5495f62a964SEmmanuel Vadot			vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 {
5505f62a964SEmmanuel Vadot				regulator-always-on;
5515f62a964SEmmanuel Vadot				regulator-boot-on;
5525f62a964SEmmanuel Vadot				regulator-min-microvolt = <550000>;
5535f62a964SEmmanuel Vadot				regulator-max-microvolt = <950000>;
5545f62a964SEmmanuel Vadot				regulator-ramp-delay = <12500>;
5555f62a964SEmmanuel Vadot				regulator-name = "vdd_vdenc_s0";
5565f62a964SEmmanuel Vadot
5575f62a964SEmmanuel Vadot				regulator-state-mem {
5585f62a964SEmmanuel Vadot					regulator-off-in-suspend;
5595f62a964SEmmanuel Vadot				};
5605f62a964SEmmanuel Vadot			};
5615f62a964SEmmanuel Vadot
5625f62a964SEmmanuel Vadot			vdd_ddr_s0: dcdc-reg5 {
5635f62a964SEmmanuel Vadot				regulator-always-on;
5645f62a964SEmmanuel Vadot				regulator-boot-on;
5655f62a964SEmmanuel Vadot				regulator-min-microvolt = <675000>;
5665f62a964SEmmanuel Vadot				regulator-max-microvolt = <900000>;
5675f62a964SEmmanuel Vadot				regulator-ramp-delay = <12500>;
5685f62a964SEmmanuel Vadot				regulator-name = "vdd_ddr_s0";
5695f62a964SEmmanuel Vadot
5705f62a964SEmmanuel Vadot				regulator-state-mem {
5715f62a964SEmmanuel Vadot					regulator-off-in-suspend;
5725f62a964SEmmanuel Vadot					regulator-suspend-microvolt = <850000>;
5735f62a964SEmmanuel Vadot				};
5745f62a964SEmmanuel Vadot			};
5755f62a964SEmmanuel Vadot
5765f62a964SEmmanuel Vadot			vdd2_ddr_s3: dcdc-reg6 {
5775f62a964SEmmanuel Vadot				regulator-always-on;
5785f62a964SEmmanuel Vadot				regulator-boot-on;
5795f62a964SEmmanuel Vadot				regulator-name = "vdd2_ddr_s3";
5805f62a964SEmmanuel Vadot
5815f62a964SEmmanuel Vadot				regulator-state-mem {
5825f62a964SEmmanuel Vadot					regulator-on-in-suspend;
5835f62a964SEmmanuel Vadot				};
5845f62a964SEmmanuel Vadot			};
5855f62a964SEmmanuel Vadot
5865f62a964SEmmanuel Vadot			vcc_2v0_pldo_s3: dcdc-reg7 {
5875f62a964SEmmanuel Vadot				regulator-always-on;
5885f62a964SEmmanuel Vadot				regulator-boot-on;
5895f62a964SEmmanuel Vadot				regulator-min-microvolt = <2000000>;
5905f62a964SEmmanuel Vadot				regulator-max-microvolt = <2000000>;
5915f62a964SEmmanuel Vadot				regulator-ramp-delay = <12500>;
5925f62a964SEmmanuel Vadot				regulator-name = "vdd_2v0_pldo_s3";
5935f62a964SEmmanuel Vadot
5945f62a964SEmmanuel Vadot				regulator-state-mem {
5955f62a964SEmmanuel Vadot					regulator-on-in-suspend;
5965f62a964SEmmanuel Vadot					regulator-suspend-microvolt = <2000000>;
5975f62a964SEmmanuel Vadot				};
5985f62a964SEmmanuel Vadot			};
5995f62a964SEmmanuel Vadot
6005f62a964SEmmanuel Vadot			vcc_3v3_s3: dcdc-reg8 {
6015f62a964SEmmanuel Vadot				regulator-always-on;
6025f62a964SEmmanuel Vadot				regulator-boot-on;
6035f62a964SEmmanuel Vadot				regulator-min-microvolt = <3300000>;
6045f62a964SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
6055f62a964SEmmanuel Vadot				regulator-name = "vcc_3v3_s3";
6065f62a964SEmmanuel Vadot
6075f62a964SEmmanuel Vadot				regulator-state-mem {
6085f62a964SEmmanuel Vadot					regulator-on-in-suspend;
6095f62a964SEmmanuel Vadot					regulator-suspend-microvolt = <3300000>;
6105f62a964SEmmanuel Vadot				};
6115f62a964SEmmanuel Vadot			};
6125f62a964SEmmanuel Vadot
6135f62a964SEmmanuel Vadot			vddq_ddr_s0: dcdc-reg9 {
6145f62a964SEmmanuel Vadot				regulator-always-on;
6155f62a964SEmmanuel Vadot				regulator-boot-on;
6165f62a964SEmmanuel Vadot				regulator-name = "vddq_ddr_s0";
6175f62a964SEmmanuel Vadot
6185f62a964SEmmanuel Vadot				regulator-state-mem {
6195f62a964SEmmanuel Vadot					regulator-off-in-suspend;
6205f62a964SEmmanuel Vadot				};
6215f62a964SEmmanuel Vadot			};
6225f62a964SEmmanuel Vadot
6235f62a964SEmmanuel Vadot			vcc_1v8_s3: dcdc-reg10 {
6245f62a964SEmmanuel Vadot				regulator-always-on;
6255f62a964SEmmanuel Vadot				regulator-boot-on;
6265f62a964SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
6275f62a964SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
6285f62a964SEmmanuel Vadot				regulator-name = "vcc_1v8_s3";
6295f62a964SEmmanuel Vadot
6305f62a964SEmmanuel Vadot				regulator-state-mem {
6315f62a964SEmmanuel Vadot					regulator-on-in-suspend;
6325f62a964SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
6335f62a964SEmmanuel Vadot				};
6345f62a964SEmmanuel Vadot			};
6355f62a964SEmmanuel Vadot
6365f62a964SEmmanuel Vadot			avcc_1v8_s0: pldo-reg1 {
6375f62a964SEmmanuel Vadot				regulator-always-on;
6385f62a964SEmmanuel Vadot				regulator-boot-on;
6395f62a964SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
6405f62a964SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
6415f62a964SEmmanuel Vadot				regulator-name = "avcc_1v8_s0";
6425f62a964SEmmanuel Vadot
6435f62a964SEmmanuel Vadot				regulator-state-mem {
6445f62a964SEmmanuel Vadot					regulator-off-in-suspend;
6455f62a964SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
6465f62a964SEmmanuel Vadot				};
6475f62a964SEmmanuel Vadot			};
6485f62a964SEmmanuel Vadot
6495f62a964SEmmanuel Vadot			vcc_1v8_s0: pldo-reg2 {
6505f62a964SEmmanuel Vadot				regulator-always-on;
6515f62a964SEmmanuel Vadot				regulator-boot-on;
6525f62a964SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
6535f62a964SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
6545f62a964SEmmanuel Vadot				regulator-name = "vcc_1v8_s0";
6555f62a964SEmmanuel Vadot
6565f62a964SEmmanuel Vadot				regulator-state-mem {
6575f62a964SEmmanuel Vadot					regulator-off-in-suspend;
6585f62a964SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
6595f62a964SEmmanuel Vadot				};
6605f62a964SEmmanuel Vadot			};
6615f62a964SEmmanuel Vadot
6625f62a964SEmmanuel Vadot			avdd_1v2_s0: pldo-reg3 {
6635f62a964SEmmanuel Vadot				regulator-always-on;
6645f62a964SEmmanuel Vadot				regulator-boot-on;
6655f62a964SEmmanuel Vadot				regulator-min-microvolt = <1200000>;
6665f62a964SEmmanuel Vadot				regulator-max-microvolt = <1200000>;
6675f62a964SEmmanuel Vadot				regulator-name = "avdd_1v2_s0";
6685f62a964SEmmanuel Vadot
6695f62a964SEmmanuel Vadot				regulator-state-mem {
6705f62a964SEmmanuel Vadot					regulator-off-in-suspend;
6715f62a964SEmmanuel Vadot				};
6725f62a964SEmmanuel Vadot			};
6735f62a964SEmmanuel Vadot
6745f62a964SEmmanuel Vadot			avcc_3v3_s0: pldo-reg4 {
6755f62a964SEmmanuel Vadot				regulator-always-on;
6765f62a964SEmmanuel Vadot				regulator-boot-on;
6775f62a964SEmmanuel Vadot				regulator-min-microvolt = <3300000>;
6785f62a964SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
6795f62a964SEmmanuel Vadot				regulator-ramp-delay = <12500>;
6805f62a964SEmmanuel Vadot				regulator-name = "avcc_3v3_s0";
6815f62a964SEmmanuel Vadot
6825f62a964SEmmanuel Vadot				regulator-state-mem {
6835f62a964SEmmanuel Vadot					regulator-off-in-suspend;
6845f62a964SEmmanuel Vadot				};
6855f62a964SEmmanuel Vadot			};
6865f62a964SEmmanuel Vadot
6875f62a964SEmmanuel Vadot			vccio_sd_s0: pldo-reg5 {
6885f62a964SEmmanuel Vadot				regulator-always-on;
6895f62a964SEmmanuel Vadot				regulator-boot-on;
6905f62a964SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
6915f62a964SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
6925f62a964SEmmanuel Vadot				regulator-ramp-delay = <12500>;
6935f62a964SEmmanuel Vadot				regulator-name = "vccio_sd_s0";
6945f62a964SEmmanuel Vadot
6955f62a964SEmmanuel Vadot				regulator-state-mem {
6965f62a964SEmmanuel Vadot					regulator-off-in-suspend;
6975f62a964SEmmanuel Vadot				};
6985f62a964SEmmanuel Vadot			};
6995f62a964SEmmanuel Vadot
7005f62a964SEmmanuel Vadot			pldo6_s3: pldo-reg6 {
7015f62a964SEmmanuel Vadot				regulator-always-on;
7025f62a964SEmmanuel Vadot				regulator-boot-on;
7035f62a964SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
7045f62a964SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
7055f62a964SEmmanuel Vadot				regulator-name = "pldo6_s3";
7065f62a964SEmmanuel Vadot
7075f62a964SEmmanuel Vadot				regulator-state-mem {
7085f62a964SEmmanuel Vadot					regulator-on-in-suspend;
7095f62a964SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
7105f62a964SEmmanuel Vadot				};
7115f62a964SEmmanuel Vadot			};
7125f62a964SEmmanuel Vadot
7135f62a964SEmmanuel Vadot			vdd_0v75_s3: nldo-reg1 {
7145f62a964SEmmanuel Vadot				regulator-always-on;
7155f62a964SEmmanuel Vadot				regulator-boot-on;
7165f62a964SEmmanuel Vadot				regulator-min-microvolt = <750000>;
7175f62a964SEmmanuel Vadot				regulator-max-microvolt = <750000>;
7185f62a964SEmmanuel Vadot				regulator-name = "vdd_0v75_s3";
7195f62a964SEmmanuel Vadot
7205f62a964SEmmanuel Vadot				regulator-state-mem {
7215f62a964SEmmanuel Vadot					regulator-on-in-suspend;
7225f62a964SEmmanuel Vadot					regulator-suspend-microvolt = <750000>;
7235f62a964SEmmanuel Vadot				};
7245f62a964SEmmanuel Vadot			};
7255f62a964SEmmanuel Vadot
7265f62a964SEmmanuel Vadot			avdd_ddr_pll_s0: nldo-reg2 {
7275f62a964SEmmanuel Vadot				regulator-always-on;
7285f62a964SEmmanuel Vadot				regulator-boot-on;
7295f62a964SEmmanuel Vadot				regulator-min-microvolt = <850000>;
7305f62a964SEmmanuel Vadot				regulator-max-microvolt = <850000>;
7315f62a964SEmmanuel Vadot				regulator-name = "avdd_ddr_pll_s0";
7325f62a964SEmmanuel Vadot
7335f62a964SEmmanuel Vadot				regulator-state-mem {
7345f62a964SEmmanuel Vadot					regulator-off-in-suspend;
7355f62a964SEmmanuel Vadot					regulator-suspend-microvolt = <850000>;
7365f62a964SEmmanuel Vadot				};
7375f62a964SEmmanuel Vadot			};
7385f62a964SEmmanuel Vadot
7395f62a964SEmmanuel Vadot			avdd_0v75_s0: nldo-reg3 {
7405f62a964SEmmanuel Vadot				regulator-always-on;
7415f62a964SEmmanuel Vadot				regulator-boot-on;
7425f62a964SEmmanuel Vadot				regulator-min-microvolt = <750000>;
7435f62a964SEmmanuel Vadot				regulator-max-microvolt = <750000>;
7445f62a964SEmmanuel Vadot				regulator-name = "avdd_0v75_s0";
7455f62a964SEmmanuel Vadot
7465f62a964SEmmanuel Vadot				regulator-state-mem {
7475f62a964SEmmanuel Vadot					regulator-off-in-suspend;
7485f62a964SEmmanuel Vadot				};
7495f62a964SEmmanuel Vadot			};
7505f62a964SEmmanuel Vadot
7515f62a964SEmmanuel Vadot			avdd_0v85_s0: nldo-reg4 {
7525f62a964SEmmanuel Vadot				regulator-always-on;
7535f62a964SEmmanuel Vadot				regulator-boot-on;
7545f62a964SEmmanuel Vadot				regulator-min-microvolt = <850000>;
7555f62a964SEmmanuel Vadot				regulator-max-microvolt = <850000>;
7565f62a964SEmmanuel Vadot				regulator-name = "avdd_0v85_s0";
7575f62a964SEmmanuel Vadot
7585f62a964SEmmanuel Vadot				regulator-state-mem {
7595f62a964SEmmanuel Vadot					regulator-off-in-suspend;
7605f62a964SEmmanuel Vadot				};
7615f62a964SEmmanuel Vadot			};
7625f62a964SEmmanuel Vadot
7635f62a964SEmmanuel Vadot			vdd_0v75_s0: nldo-reg5 {
7645f62a964SEmmanuel Vadot				regulator-always-on;
7655f62a964SEmmanuel Vadot				regulator-boot-on;
7665f62a964SEmmanuel Vadot				regulator-min-microvolt = <750000>;
7675f62a964SEmmanuel Vadot				regulator-max-microvolt = <750000>;
7685f62a964SEmmanuel Vadot				regulator-name = "vdd_0v75_s0";
7695f62a964SEmmanuel Vadot
7705f62a964SEmmanuel Vadot				regulator-state-mem {
7715f62a964SEmmanuel Vadot					regulator-off-in-suspend;
7725f62a964SEmmanuel Vadot				};
7735f62a964SEmmanuel Vadot			};
7745f62a964SEmmanuel Vadot		};
7755f62a964SEmmanuel Vadot	};
7765f62a964SEmmanuel Vadot};
7775f62a964SEmmanuel Vadot
7785f62a964SEmmanuel Vadot&tsadc {
7795f62a964SEmmanuel Vadot	status = "okay";
7805f62a964SEmmanuel Vadot};
7815f62a964SEmmanuel Vadot
7822846c905SEmmanuel Vadot&u2phy0 {
7832846c905SEmmanuel Vadot	status = "okay";
7842846c905SEmmanuel Vadot};
7852846c905SEmmanuel Vadot
7862846c905SEmmanuel Vadot&u2phy0_otg {
7872846c905SEmmanuel Vadot	phy-supply = <&vcc5v0_usb_otg0>;
7882846c905SEmmanuel Vadot	status = "okay";
7892846c905SEmmanuel Vadot};
7902846c905SEmmanuel Vadot
7915f62a964SEmmanuel Vadot&u2phy2 {
7925f62a964SEmmanuel Vadot	status = "okay";
7935f62a964SEmmanuel Vadot};
7945f62a964SEmmanuel Vadot
7955f62a964SEmmanuel Vadot&u2phy2_host {
7965f62a964SEmmanuel Vadot	phy-supply = <&vcc5v0_host_20>;
7975f62a964SEmmanuel Vadot	status = "okay";
7985f62a964SEmmanuel Vadot};
7995f62a964SEmmanuel Vadot
8005f62a964SEmmanuel Vadot&uart2 {
8015f62a964SEmmanuel Vadot	pinctrl-0 = <&uart2m0_xfer>;
8025f62a964SEmmanuel Vadot	status = "okay";
8035f62a964SEmmanuel Vadot};
8045f62a964SEmmanuel Vadot
8055f62a964SEmmanuel Vadot&usb_host0_ehci {
8065f62a964SEmmanuel Vadot	status = "okay";
8075f62a964SEmmanuel Vadot};
8085f62a964SEmmanuel Vadot
8095f62a964SEmmanuel Vadot&usb_host0_ohci {
8105f62a964SEmmanuel Vadot	status = "okay";
8115f62a964SEmmanuel Vadot};
8125f62a964SEmmanuel Vadot
8132846c905SEmmanuel Vadot&usb_host0_xhci {
8142846c905SEmmanuel Vadot	dr_mode = "host";
8152846c905SEmmanuel Vadot	status = "okay";
8162846c905SEmmanuel Vadot};
8172846c905SEmmanuel Vadot
8182846c905SEmmanuel Vadot&usbdp_phy0 {
8192846c905SEmmanuel Vadot	status = "okay";
8202846c905SEmmanuel Vadot};
8212846c905SEmmanuel Vadot
8225f62a964SEmmanuel Vadot&vop {
8235f62a964SEmmanuel Vadot	status = "okay";
8245f62a964SEmmanuel Vadot};
8255f62a964SEmmanuel Vadot
8265f62a964SEmmanuel Vadot&vop_mmu {
8275f62a964SEmmanuel Vadot	status = "okay";
8285f62a964SEmmanuel Vadot};
8295f62a964SEmmanuel Vadot
8305f62a964SEmmanuel Vadot&vp0 {
8315f62a964SEmmanuel Vadot	vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
8325f62a964SEmmanuel Vadot		reg = <ROCKCHIP_VOP2_EP_HDMI0>;
8335f62a964SEmmanuel Vadot		remote-endpoint = <&hdmi0_in_vp0>;
8345f62a964SEmmanuel Vadot	};
8355f62a964SEmmanuel Vadot};
836