xref: /freebsd/sys/contrib/device-tree/src/arm64/rockchip/rk3576-roc-pc.dts (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
18ccc0d23SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
28ccc0d23SEmmanuel Vadot/*
38ccc0d23SEmmanuel Vadot * Copyright (c) 2024 Firefly Technology Co. Ltd
48ccc0d23SEmmanuel Vadot * Copyright (c) 2024 Heiko Stuebner <heiko@sntech.de>
58ccc0d23SEmmanuel Vadot */
68ccc0d23SEmmanuel Vadot
78ccc0d23SEmmanuel Vadot/dts-v1/;
88ccc0d23SEmmanuel Vadot
98ccc0d23SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
108ccc0d23SEmmanuel Vadot#include <dt-bindings/input/input.h>
118ccc0d23SEmmanuel Vadot#include <dt-bindings/pinctrl/rockchip.h>
128ccc0d23SEmmanuel Vadot#include <dt-bindings/pwm/pwm.h>
13*ae5de77eSEmmanuel Vadot#include <dt-bindings/soc/rockchip,vop2.h>
148ccc0d23SEmmanuel Vadot#include <dt-bindings/usb/pd.h>
158ccc0d23SEmmanuel Vadot#include "rk3576.dtsi"
168ccc0d23SEmmanuel Vadot
178ccc0d23SEmmanuel Vadot/ {
188ccc0d23SEmmanuel Vadot	model = "Firefly ROC-RK3576-PC";
198ccc0d23SEmmanuel Vadot	compatible = "firefly,roc-rk3576-pc", "rockchip,rk3576";
208ccc0d23SEmmanuel Vadot
218ccc0d23SEmmanuel Vadot	aliases {
228ccc0d23SEmmanuel Vadot		mmc0 = &sdhci;
238ccc0d23SEmmanuel Vadot		mmc1 = &sdmmc;
248ccc0d23SEmmanuel Vadot	};
258ccc0d23SEmmanuel Vadot
268ccc0d23SEmmanuel Vadot	chosen {
278ccc0d23SEmmanuel Vadot		stdout-path = "serial0:1500000n8";
288ccc0d23SEmmanuel Vadot	};
298ccc0d23SEmmanuel Vadot
308ccc0d23SEmmanuel Vadot	adc-keys-0 {
318ccc0d23SEmmanuel Vadot		compatible = "adc-keys";
328ccc0d23SEmmanuel Vadot		io-channels = <&saradc 0>;
338ccc0d23SEmmanuel Vadot		io-channel-names = "buttons";
348ccc0d23SEmmanuel Vadot		keyup-threshold-microvolt = <1800000>;
358ccc0d23SEmmanuel Vadot		poll-interval = <100>;
368ccc0d23SEmmanuel Vadot
378ccc0d23SEmmanuel Vadot		button-maskrom {
388ccc0d23SEmmanuel Vadot			label = "Maskrom";
398ccc0d23SEmmanuel Vadot			linux,code = <KEY_SETUP>;
408ccc0d23SEmmanuel Vadot			press-threshold-microvolt = <17000>;
418ccc0d23SEmmanuel Vadot		};
428ccc0d23SEmmanuel Vadot	};
438ccc0d23SEmmanuel Vadot
448ccc0d23SEmmanuel Vadot	adc-keys-1 {
458ccc0d23SEmmanuel Vadot		compatible = "adc-keys";
468ccc0d23SEmmanuel Vadot		io-channels = <&saradc 1>;
478ccc0d23SEmmanuel Vadot		io-channel-names = "buttons";
488ccc0d23SEmmanuel Vadot		keyup-threshold-microvolt = <1800000>;
498ccc0d23SEmmanuel Vadot		poll-interval = <100>;
508ccc0d23SEmmanuel Vadot
518ccc0d23SEmmanuel Vadot		button-recovery {
528ccc0d23SEmmanuel Vadot			label = "Recovery";
538ccc0d23SEmmanuel Vadot			linux,code = <KEY_VENDOR>;
548ccc0d23SEmmanuel Vadot			press-threshold-microvolt = <17000>;
558ccc0d23SEmmanuel Vadot		};
568ccc0d23SEmmanuel Vadot	};
578ccc0d23SEmmanuel Vadot
58*ae5de77eSEmmanuel Vadot	hdmi-con {
59*ae5de77eSEmmanuel Vadot		compatible = "hdmi-connector";
60*ae5de77eSEmmanuel Vadot		type = "a";
61*ae5de77eSEmmanuel Vadot
62*ae5de77eSEmmanuel Vadot		port {
63*ae5de77eSEmmanuel Vadot			hdmi_con_in: endpoint {
64*ae5de77eSEmmanuel Vadot				remote-endpoint = <&hdmi_out_con>;
65*ae5de77eSEmmanuel Vadot			};
66*ae5de77eSEmmanuel Vadot		};
67*ae5de77eSEmmanuel Vadot	};
68*ae5de77eSEmmanuel Vadot
698ccc0d23SEmmanuel Vadot	vbus5v0_typec: regulator-vbus5v0-typec {
708ccc0d23SEmmanuel Vadot		compatible = "regulator-fixed";
718ccc0d23SEmmanuel Vadot		enable-active-high;
728ccc0d23SEmmanuel Vadot		gpio = <&gpio0 RK_PD1 GPIO_ACTIVE_HIGH>;
738ccc0d23SEmmanuel Vadot		pinctrl-names = "default";
748ccc0d23SEmmanuel Vadot		pinctrl-0 = <&usb_otg0_pwren_h>;
758ccc0d23SEmmanuel Vadot		regulator-name = "vbus5v0_typec";
768ccc0d23SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
778ccc0d23SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
788ccc0d23SEmmanuel Vadot		vin-supply = <&vcc5v0_device_s0>;
798ccc0d23SEmmanuel Vadot	};
808ccc0d23SEmmanuel Vadot
818ccc0d23SEmmanuel Vadot	vcc12v_dcin: regulator-vcc12v-dcin {
828ccc0d23SEmmanuel Vadot		compatible = "regulator-fixed";
838ccc0d23SEmmanuel Vadot		regulator-name = "vcc12v_dcin";
848ccc0d23SEmmanuel Vadot		regulator-always-on;
858ccc0d23SEmmanuel Vadot		regulator-boot-on;
868ccc0d23SEmmanuel Vadot		regulator-min-microvolt = <12000000>;
878ccc0d23SEmmanuel Vadot		regulator-max-microvolt = <12000000>;
888ccc0d23SEmmanuel Vadot	};
898ccc0d23SEmmanuel Vadot
908ccc0d23SEmmanuel Vadot	vcc1v2_ufs_vccq_s0: regulator-vcc1v2-ufs-vccq-s0 {
918ccc0d23SEmmanuel Vadot		compatible = "regulator-fixed";
928ccc0d23SEmmanuel Vadot		regulator-name = "vcc1v2_ufs_vccq_s0";
938ccc0d23SEmmanuel Vadot		regulator-boot-on;
948ccc0d23SEmmanuel Vadot		regulator-always-on;
958ccc0d23SEmmanuel Vadot		regulator-min-microvolt = <1200000>;
968ccc0d23SEmmanuel Vadot		regulator-max-microvolt = <1200000>;
978ccc0d23SEmmanuel Vadot		vin-supply = <&vcc5v0_sys_s5>;
988ccc0d23SEmmanuel Vadot	};
998ccc0d23SEmmanuel Vadot
1008ccc0d23SEmmanuel Vadot	vcc1v8_ufs_vccq2_s0: regulator-vcc1v8-ufs-vccq2-s0 {
1018ccc0d23SEmmanuel Vadot		compatible = "regulator-fixed";
1028ccc0d23SEmmanuel Vadot		regulator-name = "vcc1v8_ufs_vccq2_s0";
1038ccc0d23SEmmanuel Vadot		regulator-boot-on;
1048ccc0d23SEmmanuel Vadot		regulator-always-on;
1058ccc0d23SEmmanuel Vadot		regulator-min-microvolt = <1800000>;
1068ccc0d23SEmmanuel Vadot		regulator-max-microvolt = <1800000>;
1078ccc0d23SEmmanuel Vadot		vin-supply = <&vcc_1v8_s3>;
1088ccc0d23SEmmanuel Vadot	};
1098ccc0d23SEmmanuel Vadot
1108ccc0d23SEmmanuel Vadot	vcc3v3_pcie: regulator-vcc3v3-pcie {
1118ccc0d23SEmmanuel Vadot		compatible = "regulator-fixed";
1128ccc0d23SEmmanuel Vadot		enable-active-high;
1138ccc0d23SEmmanuel Vadot		gpio = <&gpio2 RK_PB3 GPIO_ACTIVE_HIGH>;
1148ccc0d23SEmmanuel Vadot		pinctrl-names = "default";
1158ccc0d23SEmmanuel Vadot		pinctrl-0 = <&pcie_pwren_h>;
1168ccc0d23SEmmanuel Vadot		regulator-name = "vcc3v3_pcie";
1178ccc0d23SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1188ccc0d23SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1198ccc0d23SEmmanuel Vadot		startup-delay-us = <5000>;
1208ccc0d23SEmmanuel Vadot		vin-supply = <&vcc12v_dcin>;
1218ccc0d23SEmmanuel Vadot	};
1228ccc0d23SEmmanuel Vadot
1238ccc0d23SEmmanuel Vadot	vcc3v3_rtc_s5: regulator-vcc3v3-rtc-s5 {
1248ccc0d23SEmmanuel Vadot		compatible = "regulator-fixed";
1258ccc0d23SEmmanuel Vadot		regulator-name = "vcc3v3_rtc_s5";
1268ccc0d23SEmmanuel Vadot		regulator-boot-on;
1278ccc0d23SEmmanuel Vadot		regulator-always-on;
1288ccc0d23SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1298ccc0d23SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1308ccc0d23SEmmanuel Vadot		vin-supply = <&vcc5v0_sys_s5>;
1318ccc0d23SEmmanuel Vadot	};
1328ccc0d23SEmmanuel Vadot
1338ccc0d23SEmmanuel Vadot	vcc5v0_device_s0: regulator-vcc5v0-device-s0 {
1348ccc0d23SEmmanuel Vadot		compatible = "regulator-fixed";
1358ccc0d23SEmmanuel Vadot		enable-active-high;
1368ccc0d23SEmmanuel Vadot		gpio = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>;
1378ccc0d23SEmmanuel Vadot		pinctrl-names = "default";
1388ccc0d23SEmmanuel Vadot		pinctrl-0 = <&vcc5vd_en>;
1398ccc0d23SEmmanuel Vadot		regulator-name = "vcc5v0_device";
1408ccc0d23SEmmanuel Vadot		regulator-always-on;
1418ccc0d23SEmmanuel Vadot		regulator-boot-on;
1428ccc0d23SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
1438ccc0d23SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
1448ccc0d23SEmmanuel Vadot		vin-supply = <&vcc12v_dcin>;
1458ccc0d23SEmmanuel Vadot	};
1468ccc0d23SEmmanuel Vadot
1478ccc0d23SEmmanuel Vadot	vcc5v0_sys_s5: regulator-vcc5v0-sys-s5 {
1488ccc0d23SEmmanuel Vadot		compatible = "regulator-fixed";
1498ccc0d23SEmmanuel Vadot		regulator-name = "vcc_sys";
1508ccc0d23SEmmanuel Vadot		regulator-always-on;
1518ccc0d23SEmmanuel Vadot		regulator-boot-on;
1528ccc0d23SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
1538ccc0d23SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
1548ccc0d23SEmmanuel Vadot		vin-supply = <&vcc12v_dcin>;
1558ccc0d23SEmmanuel Vadot	};
1568ccc0d23SEmmanuel Vadot
1578ccc0d23SEmmanuel Vadot	vcc5v0_usb20_host1: regulator-vcc5v0-usb20-host1 {
1588ccc0d23SEmmanuel Vadot		compatible = "regulator-fixed";
1598ccc0d23SEmmanuel Vadot		enable-active-high;
1608ccc0d23SEmmanuel Vadot		gpio = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
1618ccc0d23SEmmanuel Vadot		pinctrl-names = "default";
1628ccc0d23SEmmanuel Vadot		pinctrl-0 = <&usb3_host_pwren_h>;
1638ccc0d23SEmmanuel Vadot		regulator-name = "vcc5v0_host1";
1648ccc0d23SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
1658ccc0d23SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
1668ccc0d23SEmmanuel Vadot		vin-supply = <&vcc5v0_device_s0>;
1678ccc0d23SEmmanuel Vadot	};
1688ccc0d23SEmmanuel Vadot
1698ccc0d23SEmmanuel Vadot	vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 {
1708ccc0d23SEmmanuel Vadot		compatible = "regulator-fixed";
1718ccc0d23SEmmanuel Vadot		regulator-name = "vcc_1v1_nldo_s3";
1728ccc0d23SEmmanuel Vadot		regulator-boot-on;
1738ccc0d23SEmmanuel Vadot		regulator-always-on;
1748ccc0d23SEmmanuel Vadot		regulator-min-microvolt = <1100000>;
1758ccc0d23SEmmanuel Vadot		regulator-max-microvolt = <1100000>;
1768ccc0d23SEmmanuel Vadot		vin-supply = <&vcc5v0_sys_s5>;
1778ccc0d23SEmmanuel Vadot	};
1788ccc0d23SEmmanuel Vadot
1798ccc0d23SEmmanuel Vadot	vcc_1v8_s0: regulator-vcc-1v8-s0 {
1808ccc0d23SEmmanuel Vadot		compatible = "regulator-fixed";
1818ccc0d23SEmmanuel Vadot		regulator-name = "vcc_1v8_s0";
1828ccc0d23SEmmanuel Vadot		regulator-boot-on;
1838ccc0d23SEmmanuel Vadot		regulator-always-on;
1848ccc0d23SEmmanuel Vadot		regulator-min-microvolt = <1800000>;
1858ccc0d23SEmmanuel Vadot		regulator-max-microvolt = <1800000>;
1868ccc0d23SEmmanuel Vadot		vin-supply = <&vcc_1v8_s3>;
1878ccc0d23SEmmanuel Vadot	};
1888ccc0d23SEmmanuel Vadot
1898ccc0d23SEmmanuel Vadot	vcc_2v0_pldo_s3: regulator-vcc-2v0-pldo-s3 {
1908ccc0d23SEmmanuel Vadot		compatible = "regulator-fixed";
1918ccc0d23SEmmanuel Vadot		regulator-name = "vcc_2v0_pldo_s3";
1928ccc0d23SEmmanuel Vadot		regulator-boot-on;
1938ccc0d23SEmmanuel Vadot		regulator-always-on;
1948ccc0d23SEmmanuel Vadot		regulator-min-microvolt = <2000000>;
1958ccc0d23SEmmanuel Vadot		regulator-max-microvolt = <2000000>;
1968ccc0d23SEmmanuel Vadot		vin-supply = <&vcc5v0_sys_s5>;
1978ccc0d23SEmmanuel Vadot	};
1988ccc0d23SEmmanuel Vadot
1998ccc0d23SEmmanuel Vadot	vcc_3v3_s0: regulator-vcc-3v3-s0 {
2008ccc0d23SEmmanuel Vadot		compatible = "regulator-fixed";
2018ccc0d23SEmmanuel Vadot		regulator-name = "vcc_3v3_s0";
2028ccc0d23SEmmanuel Vadot		regulator-boot-on;
2038ccc0d23SEmmanuel Vadot		regulator-always-on;
2048ccc0d23SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
2058ccc0d23SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
2068ccc0d23SEmmanuel Vadot		vin-supply = <&vcc_3v3_s3>;
2078ccc0d23SEmmanuel Vadot	};
2088ccc0d23SEmmanuel Vadot
2098ccc0d23SEmmanuel Vadot	vcc_ufs_s0: regulator-vcc-ufs-s0 {
2108ccc0d23SEmmanuel Vadot		compatible = "regulator-fixed";
2118ccc0d23SEmmanuel Vadot		regulator-name = "vcc_ufs_s0";
2128ccc0d23SEmmanuel Vadot		regulator-boot-on;
2138ccc0d23SEmmanuel Vadot		regulator-always-on;
2148ccc0d23SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
2158ccc0d23SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
2168ccc0d23SEmmanuel Vadot		vin-supply = <&vcc5v0_sys_s5>;
2178ccc0d23SEmmanuel Vadot	};
2188ccc0d23SEmmanuel Vadot};
2198ccc0d23SEmmanuel Vadot
2208ccc0d23SEmmanuel Vadot&cpu_l0 {
2218ccc0d23SEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
2228ccc0d23SEmmanuel Vadot};
2238ccc0d23SEmmanuel Vadot
2248ccc0d23SEmmanuel Vadot&cpu_l1 {
2258ccc0d23SEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
2268ccc0d23SEmmanuel Vadot};
2278ccc0d23SEmmanuel Vadot
2288ccc0d23SEmmanuel Vadot&cpu_l2 {
2298ccc0d23SEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
2308ccc0d23SEmmanuel Vadot};
2318ccc0d23SEmmanuel Vadot
2328ccc0d23SEmmanuel Vadot&cpu_l3 {
2338ccc0d23SEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
2348ccc0d23SEmmanuel Vadot};
2358ccc0d23SEmmanuel Vadot
2368ccc0d23SEmmanuel Vadot&cpu_b0 {
2378ccc0d23SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big_s0>;
2388ccc0d23SEmmanuel Vadot};
2398ccc0d23SEmmanuel Vadot
2408ccc0d23SEmmanuel Vadot&cpu_b1 {
2418ccc0d23SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big_s0>;
2428ccc0d23SEmmanuel Vadot};
2438ccc0d23SEmmanuel Vadot
2448ccc0d23SEmmanuel Vadot&cpu_b2 {
2458ccc0d23SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big_s0>;
2468ccc0d23SEmmanuel Vadot};
2478ccc0d23SEmmanuel Vadot
2488ccc0d23SEmmanuel Vadot&cpu_b3 {
2498ccc0d23SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big_s0>;
2508ccc0d23SEmmanuel Vadot};
2518ccc0d23SEmmanuel Vadot
2528ccc0d23SEmmanuel Vadot&gpu {
2538ccc0d23SEmmanuel Vadot	mali-supply = <&vdd_gpu_s0>;
2548ccc0d23SEmmanuel Vadot	status = "okay";
2558ccc0d23SEmmanuel Vadot};
2568ccc0d23SEmmanuel Vadot
2578ccc0d23SEmmanuel Vadot&gmac0 {
2588ccc0d23SEmmanuel Vadot	clock_in_out = "output";
2598ccc0d23SEmmanuel Vadot	pinctrl-names = "default";
2608ccc0d23SEmmanuel Vadot	pinctrl-0 = <&eth0m0_miim
2618ccc0d23SEmmanuel Vadot		     &eth0m0_tx_bus2
2628ccc0d23SEmmanuel Vadot		     &eth0m0_rx_bus2
2638ccc0d23SEmmanuel Vadot		     &eth0m0_rgmii_clk
2648ccc0d23SEmmanuel Vadot		     &eth0m0_rgmii_bus
2658ccc0d23SEmmanuel Vadot		     &ethm0_clk0_25m_out>;
2668ccc0d23SEmmanuel Vadot	/* Use rgmii-rxid mode to disable rx delay inside Soc */
2678ccc0d23SEmmanuel Vadot	phy-mode = "rgmii-rxid";
2688ccc0d23SEmmanuel Vadot	phy-handle = <&rgmii_phy0>;
2698ccc0d23SEmmanuel Vadot	tx_delay = <0x21>;
2708ccc0d23SEmmanuel Vadot	status = "okay";
2718ccc0d23SEmmanuel Vadot};
2728ccc0d23SEmmanuel Vadot
273*ae5de77eSEmmanuel Vadot&hdmi {
274*ae5de77eSEmmanuel Vadot	status = "okay";
275*ae5de77eSEmmanuel Vadot};
276*ae5de77eSEmmanuel Vadot
277*ae5de77eSEmmanuel Vadot&hdmi_in {
278*ae5de77eSEmmanuel Vadot	hdmi_in_vp0: endpoint {
279*ae5de77eSEmmanuel Vadot		remote-endpoint = <&vp0_out_hdmi>;
280*ae5de77eSEmmanuel Vadot	};
281*ae5de77eSEmmanuel Vadot};
282*ae5de77eSEmmanuel Vadot
283*ae5de77eSEmmanuel Vadot&hdmi_out {
284*ae5de77eSEmmanuel Vadot	hdmi_out_con: endpoint {
285*ae5de77eSEmmanuel Vadot		remote-endpoint = <&hdmi_con_in>;
286*ae5de77eSEmmanuel Vadot	};
287*ae5de77eSEmmanuel Vadot};
288*ae5de77eSEmmanuel Vadot
289*ae5de77eSEmmanuel Vadot&hdptxphy {
290*ae5de77eSEmmanuel Vadot	status = "okay";
291*ae5de77eSEmmanuel Vadot};
292*ae5de77eSEmmanuel Vadot
2938ccc0d23SEmmanuel Vadot&mdio0 {
2948ccc0d23SEmmanuel Vadot	status = "okay";
2958ccc0d23SEmmanuel Vadot
2968ccc0d23SEmmanuel Vadot	rgmii_phy0: phy@1 {
2978ccc0d23SEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
2988ccc0d23SEmmanuel Vadot		reg = <0x1>;
2998ccc0d23SEmmanuel Vadot		clocks = <&cru REFCLKO25M_GMAC0_OUT>;
3008ccc0d23SEmmanuel Vadot		/* Reset time is 20ms, 100ms for rtl8211f */
3018ccc0d23SEmmanuel Vadot		reset-delay-us = <20000>;
3028ccc0d23SEmmanuel Vadot		reset-gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_LOW>;
3038ccc0d23SEmmanuel Vadot		reset-post-delay-us = <100000>;
3048ccc0d23SEmmanuel Vadot	};
3058ccc0d23SEmmanuel Vadot};
3068ccc0d23SEmmanuel Vadot
3078ccc0d23SEmmanuel Vadot&i2c1 {
3088ccc0d23SEmmanuel Vadot	status = "okay";
3098ccc0d23SEmmanuel Vadot
3108ccc0d23SEmmanuel Vadot	pmic@23 {
3118ccc0d23SEmmanuel Vadot		compatible = "rockchip,rk806";
3128ccc0d23SEmmanuel Vadot		reg = <0x23>;
3138ccc0d23SEmmanuel Vadot		interrupt-parent = <&gpio0>;
3148ccc0d23SEmmanuel Vadot		interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
3158ccc0d23SEmmanuel Vadot		gpio-controller;
3168ccc0d23SEmmanuel Vadot		#gpio-cells = <2>;
3178ccc0d23SEmmanuel Vadot		pinctrl-names = "default";
3188ccc0d23SEmmanuel Vadot		pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
3198ccc0d23SEmmanuel Vadot			    <&rk806_dvs2_null>, <&rk806_dvs3_null>;
3208ccc0d23SEmmanuel Vadot		system-power-controller;
3218ccc0d23SEmmanuel Vadot
3228ccc0d23SEmmanuel Vadot		vcc1-supply = <&vcc5v0_sys_s5>;
3238ccc0d23SEmmanuel Vadot		vcc2-supply = <&vcc5v0_sys_s5>;
3248ccc0d23SEmmanuel Vadot		vcc3-supply = <&vcc5v0_sys_s5>;
3258ccc0d23SEmmanuel Vadot		vcc4-supply = <&vcc5v0_sys_s5>;
3268ccc0d23SEmmanuel Vadot		vcc5-supply = <&vcc5v0_sys_s5>;
3278ccc0d23SEmmanuel Vadot		vcc6-supply = <&vcc5v0_sys_s5>;
3288ccc0d23SEmmanuel Vadot		vcc7-supply = <&vcc5v0_sys_s5>;
3298ccc0d23SEmmanuel Vadot		vcc8-supply = <&vcc5v0_sys_s5>;
3308ccc0d23SEmmanuel Vadot		vcc9-supply = <&vcc5v0_sys_s5>;
3318ccc0d23SEmmanuel Vadot		vcc10-supply = <&vcc5v0_sys_s5>;
3328ccc0d23SEmmanuel Vadot		vcc11-supply = <&vcc_2v0_pldo_s3>;
3338ccc0d23SEmmanuel Vadot		vcc12-supply = <&vcc5v0_sys_s5>;
3348ccc0d23SEmmanuel Vadot		vcc13-supply = <&vcc_1v1_nldo_s3>;
3358ccc0d23SEmmanuel Vadot		vcc14-supply = <&vcc_1v1_nldo_s3>;
3368ccc0d23SEmmanuel Vadot		vcca-supply = <&vcc5v0_sys_s5>;
3378ccc0d23SEmmanuel Vadot
3388ccc0d23SEmmanuel Vadot		rk806_dvs1_null: dvs1-null-pins {
3398ccc0d23SEmmanuel Vadot			pins = "gpio_pwrctrl1";
3408ccc0d23SEmmanuel Vadot			function = "pin_fun0";
3418ccc0d23SEmmanuel Vadot		};
3428ccc0d23SEmmanuel Vadot
3438ccc0d23SEmmanuel Vadot		rk806_dvs2_null: dvs2-null-pins {
3448ccc0d23SEmmanuel Vadot			pins = "gpio_pwrctrl2";
3458ccc0d23SEmmanuel Vadot			function = "pin_fun0";
3468ccc0d23SEmmanuel Vadot		};
3478ccc0d23SEmmanuel Vadot
3488ccc0d23SEmmanuel Vadot		rk806_dvs3_null: dvs3-null-pins {
3498ccc0d23SEmmanuel Vadot			pins = "gpio_pwrctrl3";
3508ccc0d23SEmmanuel Vadot			function = "pin_fun0";
3518ccc0d23SEmmanuel Vadot		};
3528ccc0d23SEmmanuel Vadot
3538ccc0d23SEmmanuel Vadot		rk806_dvs1_slp: dvs1-slp-pins {
3548ccc0d23SEmmanuel Vadot			pins = "gpio_pwrctrl1";
3558ccc0d23SEmmanuel Vadot			function = "pin_fun1";
3568ccc0d23SEmmanuel Vadot		};
3578ccc0d23SEmmanuel Vadot
3588ccc0d23SEmmanuel Vadot		rk806_dvs1_pwrdn: dvs1-pwrdn-pins {
3598ccc0d23SEmmanuel Vadot			pins = "gpio_pwrctrl1";
3608ccc0d23SEmmanuel Vadot			function = "pin_fun2";
3618ccc0d23SEmmanuel Vadot		};
3628ccc0d23SEmmanuel Vadot
3638ccc0d23SEmmanuel Vadot		rk806_dvs1_rst: dvs1-rst-pins {
3648ccc0d23SEmmanuel Vadot			pins = "gpio_pwrctrl1";
3658ccc0d23SEmmanuel Vadot			function = "pin_fun3";
3668ccc0d23SEmmanuel Vadot		};
3678ccc0d23SEmmanuel Vadot
3688ccc0d23SEmmanuel Vadot		rk806_dvs2_slp: dvs2-slp-pins {
3698ccc0d23SEmmanuel Vadot			pins = "gpio_pwrctrl2";
3708ccc0d23SEmmanuel Vadot			function = "pin_fun1";
3718ccc0d23SEmmanuel Vadot		};
3728ccc0d23SEmmanuel Vadot
3738ccc0d23SEmmanuel Vadot		rk806_dvs2_pwrdn: dvs2-pwrdn-pins {
3748ccc0d23SEmmanuel Vadot			pins = "gpio_pwrctrl2";
3758ccc0d23SEmmanuel Vadot			function = "pin_fun2";
3768ccc0d23SEmmanuel Vadot		};
3778ccc0d23SEmmanuel Vadot
3788ccc0d23SEmmanuel Vadot		rk806_dvs2_rst: dvs2-rst-pins {
3798ccc0d23SEmmanuel Vadot			pins = "gpio_pwrctrl2";
3808ccc0d23SEmmanuel Vadot			function = "pin_fun3";
3818ccc0d23SEmmanuel Vadot		};
3828ccc0d23SEmmanuel Vadot
3838ccc0d23SEmmanuel Vadot		rk806_dvs2_dvs: dvs2-dvs-pins {
3848ccc0d23SEmmanuel Vadot			pins = "gpio_pwrctrl2";
3858ccc0d23SEmmanuel Vadot			function = "pin_fun4";
3868ccc0d23SEmmanuel Vadot		};
3878ccc0d23SEmmanuel Vadot
3888ccc0d23SEmmanuel Vadot		rk806_dvs2_gpio: dvs2-gpio-pins {
3898ccc0d23SEmmanuel Vadot			pins = "gpio_pwrctrl2";
3908ccc0d23SEmmanuel Vadot			function = "pin_fun5";
3918ccc0d23SEmmanuel Vadot		};
3928ccc0d23SEmmanuel Vadot
3938ccc0d23SEmmanuel Vadot		rk806_dvs3_slp: dvs3-slp-pins {
3948ccc0d23SEmmanuel Vadot			pins = "gpio_pwrctrl3";
3958ccc0d23SEmmanuel Vadot			function = "pin_fun1";
3968ccc0d23SEmmanuel Vadot		};
3978ccc0d23SEmmanuel Vadot
3988ccc0d23SEmmanuel Vadot		rk806_dvs3_pwrdn: dvs3-pwrdn-pins {
3998ccc0d23SEmmanuel Vadot			pins = "gpio_pwrctrl3";
4008ccc0d23SEmmanuel Vadot			function = "pin_fun2";
4018ccc0d23SEmmanuel Vadot		};
4028ccc0d23SEmmanuel Vadot
4038ccc0d23SEmmanuel Vadot		rk806_dvs3_rst: dvs3-rst-pins {
4048ccc0d23SEmmanuel Vadot			pins = "gpio_pwrctrl3";
4058ccc0d23SEmmanuel Vadot			function = "pin_fun3";
4068ccc0d23SEmmanuel Vadot		};
4078ccc0d23SEmmanuel Vadot
4088ccc0d23SEmmanuel Vadot		rk806_dvs3_dvs: dvs3-dvs-pins {
4098ccc0d23SEmmanuel Vadot			pins = "gpio_pwrctrl3";
4108ccc0d23SEmmanuel Vadot			function = "pin_fun4";
4118ccc0d23SEmmanuel Vadot		};
4128ccc0d23SEmmanuel Vadot
4138ccc0d23SEmmanuel Vadot		rk806_dvs3_gpio: dvs3-gpio-pins {
4148ccc0d23SEmmanuel Vadot			pins = "gpio_pwrctrl3";
4158ccc0d23SEmmanuel Vadot			function = "pin_fun5";
4168ccc0d23SEmmanuel Vadot		};
4178ccc0d23SEmmanuel Vadot
4188ccc0d23SEmmanuel Vadot		regulators {
4198ccc0d23SEmmanuel Vadot			vdd_cpu_big_s0: dcdc-reg1 {
4208ccc0d23SEmmanuel Vadot				regulator-always-on;
4218ccc0d23SEmmanuel Vadot				regulator-boot-on;
4228ccc0d23SEmmanuel Vadot				regulator-min-microvolt = <550000>;
4238ccc0d23SEmmanuel Vadot				regulator-max-microvolt = <950000>;
4248ccc0d23SEmmanuel Vadot				regulator-ramp-delay = <12500>;
4258ccc0d23SEmmanuel Vadot				regulator-name = "vdd_cpu_big_s0";
4268ccc0d23SEmmanuel Vadot				regulator-enable-ramp-delay = <400>;
4278ccc0d23SEmmanuel Vadot				regulator-state-mem {
4288ccc0d23SEmmanuel Vadot					regulator-off-in-suspend;
4298ccc0d23SEmmanuel Vadot				};
4308ccc0d23SEmmanuel Vadot			};
4318ccc0d23SEmmanuel Vadot
4328ccc0d23SEmmanuel Vadot			vdd_npu_s0: dcdc-reg2 {
4338ccc0d23SEmmanuel Vadot				regulator-boot-on;
4348ccc0d23SEmmanuel Vadot				regulator-min-microvolt = <550000>;
4358ccc0d23SEmmanuel Vadot				regulator-max-microvolt = <950000>;
4368ccc0d23SEmmanuel Vadot				regulator-ramp-delay = <12500>;
4378ccc0d23SEmmanuel Vadot				regulator-name = "vdd_npu_s0";
4388ccc0d23SEmmanuel Vadot				regulator-enable-ramp-delay = <400>;
4398ccc0d23SEmmanuel Vadot				regulator-state-mem {
4408ccc0d23SEmmanuel Vadot					regulator-off-in-suspend;
4418ccc0d23SEmmanuel Vadot				};
4428ccc0d23SEmmanuel Vadot			};
4438ccc0d23SEmmanuel Vadot
4448ccc0d23SEmmanuel Vadot			vdd_cpu_lit_s0: dcdc-reg3 {
4458ccc0d23SEmmanuel Vadot				regulator-always-on;
4468ccc0d23SEmmanuel Vadot				regulator-boot-on;
4478ccc0d23SEmmanuel Vadot				regulator-min-microvolt = <550000>;
4488ccc0d23SEmmanuel Vadot				regulator-max-microvolt = <950000>;
4498ccc0d23SEmmanuel Vadot				regulator-ramp-delay = <12500>;
4508ccc0d23SEmmanuel Vadot				regulator-name = "vdd_cpu_lit_s0";
4518ccc0d23SEmmanuel Vadot				regulator-state-mem {
4528ccc0d23SEmmanuel Vadot					regulator-off-in-suspend;
4538ccc0d23SEmmanuel Vadot					regulator-suspend-microvolt = <750000>;
4548ccc0d23SEmmanuel Vadot				};
4558ccc0d23SEmmanuel Vadot			};
4568ccc0d23SEmmanuel Vadot
4578ccc0d23SEmmanuel Vadot			vcc_3v3_s3: dcdc-reg4 {
4588ccc0d23SEmmanuel Vadot				regulator-always-on;
4598ccc0d23SEmmanuel Vadot				regulator-boot-on;
4608ccc0d23SEmmanuel Vadot				regulator-min-microvolt = <3300000>;
4618ccc0d23SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
4628ccc0d23SEmmanuel Vadot				regulator-name = "vcc_3v3_s3";
4638ccc0d23SEmmanuel Vadot				regulator-state-mem {
4648ccc0d23SEmmanuel Vadot					regulator-on-in-suspend;
4658ccc0d23SEmmanuel Vadot					regulator-suspend-microvolt = <3300000>;
4668ccc0d23SEmmanuel Vadot				};
4678ccc0d23SEmmanuel Vadot			};
4688ccc0d23SEmmanuel Vadot
4698ccc0d23SEmmanuel Vadot			vdd_gpu_s0: dcdc-reg5 {
4708ccc0d23SEmmanuel Vadot				regulator-boot-on;
4718ccc0d23SEmmanuel Vadot				regulator-min-microvolt = <550000>;
4728ccc0d23SEmmanuel Vadot				regulator-max-microvolt = <900000>;
4738ccc0d23SEmmanuel Vadot				regulator-ramp-delay = <12500>;
4748ccc0d23SEmmanuel Vadot				regulator-name = "vdd_gpu_s0";
4758ccc0d23SEmmanuel Vadot				regulator-enable-ramp-delay = <400>;
4768ccc0d23SEmmanuel Vadot				regulator-state-mem {
4778ccc0d23SEmmanuel Vadot					regulator-off-in-suspend;
4788ccc0d23SEmmanuel Vadot					regulator-suspend-microvolt = <850000>;
4798ccc0d23SEmmanuel Vadot				};
4808ccc0d23SEmmanuel Vadot			};
4818ccc0d23SEmmanuel Vadot
4828ccc0d23SEmmanuel Vadot			vddq_ddr_s0: dcdc-reg6 {
4838ccc0d23SEmmanuel Vadot				regulator-always-on;
4848ccc0d23SEmmanuel Vadot				regulator-boot-on;
4858ccc0d23SEmmanuel Vadot				regulator-name = "vddq_ddr_s0";
4868ccc0d23SEmmanuel Vadot				regulator-state-mem {
4878ccc0d23SEmmanuel Vadot					regulator-off-in-suspend;
4888ccc0d23SEmmanuel Vadot				};
4898ccc0d23SEmmanuel Vadot			};
4908ccc0d23SEmmanuel Vadot
4918ccc0d23SEmmanuel Vadot			vdd_logic_s0: dcdc-reg7 {
4928ccc0d23SEmmanuel Vadot				regulator-always-on;
4938ccc0d23SEmmanuel Vadot				regulator-boot-on;
4948ccc0d23SEmmanuel Vadot				regulator-min-microvolt = <550000>;
4958ccc0d23SEmmanuel Vadot				regulator-max-microvolt = <800000>;
4968ccc0d23SEmmanuel Vadot				regulator-name = "vdd_logic_s0";
4978ccc0d23SEmmanuel Vadot				regulator-state-mem {
4988ccc0d23SEmmanuel Vadot					regulator-off-in-suspend;
4998ccc0d23SEmmanuel Vadot				};
5008ccc0d23SEmmanuel Vadot			};
5018ccc0d23SEmmanuel Vadot
5028ccc0d23SEmmanuel Vadot			vcc_1v8_s3: dcdc-reg8 {
5038ccc0d23SEmmanuel Vadot				regulator-always-on;
5048ccc0d23SEmmanuel Vadot				regulator-boot-on;
5058ccc0d23SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
5068ccc0d23SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
5078ccc0d23SEmmanuel Vadot				regulator-name = "vcc_1v8_s3";
5088ccc0d23SEmmanuel Vadot				regulator-state-mem {
5098ccc0d23SEmmanuel Vadot					regulator-on-in-suspend;
5108ccc0d23SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
5118ccc0d23SEmmanuel Vadot				};
5128ccc0d23SEmmanuel Vadot			};
5138ccc0d23SEmmanuel Vadot
5148ccc0d23SEmmanuel Vadot			vdd2_ddr_s3: dcdc-reg9 {
5158ccc0d23SEmmanuel Vadot				regulator-always-on;
5168ccc0d23SEmmanuel Vadot				regulator-boot-on;
5178ccc0d23SEmmanuel Vadot				regulator-name = "vdd2_ddr_s3";
5188ccc0d23SEmmanuel Vadot				regulator-state-mem {
5198ccc0d23SEmmanuel Vadot					regulator-on-in-suspend;
5208ccc0d23SEmmanuel Vadot				};
5218ccc0d23SEmmanuel Vadot			};
5228ccc0d23SEmmanuel Vadot
5238ccc0d23SEmmanuel Vadot			vdd_ddr_s0: dcdc-reg10 {
5248ccc0d23SEmmanuel Vadot				regulator-always-on;
5258ccc0d23SEmmanuel Vadot				regulator-boot-on;
5268ccc0d23SEmmanuel Vadot				regulator-min-microvolt = <550000>;
5278ccc0d23SEmmanuel Vadot				regulator-max-microvolt = <1200000>;
5288ccc0d23SEmmanuel Vadot				regulator-name = "vdd_ddr_s0";
5298ccc0d23SEmmanuel Vadot				regulator-state-mem {
5308ccc0d23SEmmanuel Vadot					regulator-off-in-suspend;
5318ccc0d23SEmmanuel Vadot				};
5328ccc0d23SEmmanuel Vadot			};
5338ccc0d23SEmmanuel Vadot
5348ccc0d23SEmmanuel Vadot			vcca_1v8_s0: pldo-reg1 {
5358ccc0d23SEmmanuel Vadot				regulator-always-on;
5368ccc0d23SEmmanuel Vadot				regulator-boot-on;
5378ccc0d23SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
5388ccc0d23SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
5398ccc0d23SEmmanuel Vadot				regulator-name = "vcca_1v8_s0";
5408ccc0d23SEmmanuel Vadot				regulator-state-mem {
5418ccc0d23SEmmanuel Vadot					regulator-off-in-suspend;
5428ccc0d23SEmmanuel Vadot				};
5438ccc0d23SEmmanuel Vadot			};
5448ccc0d23SEmmanuel Vadot
5458ccc0d23SEmmanuel Vadot			vcca1v8_pldo2_s0: pldo-reg2 {
5468ccc0d23SEmmanuel Vadot				regulator-always-on;
5478ccc0d23SEmmanuel Vadot				regulator-boot-on;
5488ccc0d23SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
5498ccc0d23SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
5508ccc0d23SEmmanuel Vadot				regulator-name = "vcca1v8_pldo2_s0";
5518ccc0d23SEmmanuel Vadot				regulator-state-mem {
5528ccc0d23SEmmanuel Vadot					regulator-off-in-suspend;
5538ccc0d23SEmmanuel Vadot				};
5548ccc0d23SEmmanuel Vadot			};
5558ccc0d23SEmmanuel Vadot
5568ccc0d23SEmmanuel Vadot			vdda_1v2_s0: pldo-reg3 {
5578ccc0d23SEmmanuel Vadot				regulator-always-on;
5588ccc0d23SEmmanuel Vadot				regulator-boot-on;
5598ccc0d23SEmmanuel Vadot				regulator-min-microvolt = <1200000>;
5608ccc0d23SEmmanuel Vadot				regulator-max-microvolt = <1200000>;
5618ccc0d23SEmmanuel Vadot				regulator-name = "vdda_1v2_s0";
5628ccc0d23SEmmanuel Vadot				regulator-state-mem {
5638ccc0d23SEmmanuel Vadot					regulator-off-in-suspend;
5648ccc0d23SEmmanuel Vadot				};
5658ccc0d23SEmmanuel Vadot			};
5668ccc0d23SEmmanuel Vadot
5678ccc0d23SEmmanuel Vadot			vcca_3v3_s0: pldo-reg4 {
5688ccc0d23SEmmanuel Vadot				regulator-always-on;
5698ccc0d23SEmmanuel Vadot				regulator-boot-on;
5708ccc0d23SEmmanuel Vadot				regulator-min-microvolt = <3300000>;
5718ccc0d23SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
5728ccc0d23SEmmanuel Vadot				regulator-name = "vcca_3v3_s0";
5738ccc0d23SEmmanuel Vadot				regulator-state-mem {
5748ccc0d23SEmmanuel Vadot					regulator-off-in-suspend;
5758ccc0d23SEmmanuel Vadot				};
5768ccc0d23SEmmanuel Vadot			};
5778ccc0d23SEmmanuel Vadot
5788ccc0d23SEmmanuel Vadot			vccio_sd_s0: pldo-reg5 {
5798ccc0d23SEmmanuel Vadot				regulator-always-on;
5808ccc0d23SEmmanuel Vadot				regulator-boot-on;
5818ccc0d23SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
5828ccc0d23SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
5838ccc0d23SEmmanuel Vadot				regulator-name = "vccio_sd_s0";
5848ccc0d23SEmmanuel Vadot				regulator-state-mem {
5858ccc0d23SEmmanuel Vadot					regulator-off-in-suspend;
5868ccc0d23SEmmanuel Vadot				};
5878ccc0d23SEmmanuel Vadot			};
5888ccc0d23SEmmanuel Vadot
5898ccc0d23SEmmanuel Vadot			vcca1v8_pldo6_s3: pldo-reg6 {
5908ccc0d23SEmmanuel Vadot				regulator-always-on;
5918ccc0d23SEmmanuel Vadot				regulator-boot-on;
5928ccc0d23SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
5938ccc0d23SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
5948ccc0d23SEmmanuel Vadot				regulator-name = "vcca1v8_pldo6_s3";
5958ccc0d23SEmmanuel Vadot				regulator-state-mem {
5968ccc0d23SEmmanuel Vadot					regulator-on-in-suspend;
5978ccc0d23SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
5988ccc0d23SEmmanuel Vadot				};
5998ccc0d23SEmmanuel Vadot			};
6008ccc0d23SEmmanuel Vadot
6018ccc0d23SEmmanuel Vadot			vdd_0v75_s3: nldo-reg1 {
6028ccc0d23SEmmanuel Vadot				regulator-always-on;
6038ccc0d23SEmmanuel Vadot				regulator-boot-on;
6048ccc0d23SEmmanuel Vadot				regulator-min-microvolt = <750000>;
6058ccc0d23SEmmanuel Vadot				regulator-max-microvolt = <750000>;
6068ccc0d23SEmmanuel Vadot				regulator-name = "vdd_0v75_s3";
6078ccc0d23SEmmanuel Vadot				regulator-state-mem {
6088ccc0d23SEmmanuel Vadot					regulator-on-in-suspend;
6098ccc0d23SEmmanuel Vadot					regulator-suspend-microvolt = <750000>;
6108ccc0d23SEmmanuel Vadot				};
6118ccc0d23SEmmanuel Vadot			};
6128ccc0d23SEmmanuel Vadot
6138ccc0d23SEmmanuel Vadot			vdda_ddr_pll_s0: nldo-reg2 {
6148ccc0d23SEmmanuel Vadot				regulator-always-on;
6158ccc0d23SEmmanuel Vadot				regulator-boot-on;
6168ccc0d23SEmmanuel Vadot				regulator-min-microvolt = <850000>;
6178ccc0d23SEmmanuel Vadot				regulator-max-microvolt = <850000>;
6188ccc0d23SEmmanuel Vadot				regulator-name = "vdda_ddr_pll_s0";
6198ccc0d23SEmmanuel Vadot				regulator-state-mem {
6208ccc0d23SEmmanuel Vadot					regulator-off-in-suspend;
6218ccc0d23SEmmanuel Vadot				};
6228ccc0d23SEmmanuel Vadot			};
6238ccc0d23SEmmanuel Vadot
6248ccc0d23SEmmanuel Vadot			vdda0v75_hdmi_s0: nldo-reg3 {
6258ccc0d23SEmmanuel Vadot				regulator-always-on;
6268ccc0d23SEmmanuel Vadot				regulator-boot-on;
6278ccc0d23SEmmanuel Vadot				regulator-min-microvolt = <837500>;
6288ccc0d23SEmmanuel Vadot				regulator-max-microvolt = <837500>;
6298ccc0d23SEmmanuel Vadot				regulator-name = "vdda0v75_hdmi_s0";
6308ccc0d23SEmmanuel Vadot				regulator-state-mem {
6318ccc0d23SEmmanuel Vadot					regulator-off-in-suspend;
6328ccc0d23SEmmanuel Vadot				};
6338ccc0d23SEmmanuel Vadot			};
6348ccc0d23SEmmanuel Vadot
6358ccc0d23SEmmanuel Vadot			vdda_0v85_s0: nldo-reg4 {
6368ccc0d23SEmmanuel Vadot				regulator-always-on;
6378ccc0d23SEmmanuel Vadot				regulator-boot-on;
6388ccc0d23SEmmanuel Vadot				regulator-min-microvolt = <850000>;
6398ccc0d23SEmmanuel Vadot				regulator-max-microvolt = <850000>;
6408ccc0d23SEmmanuel Vadot				regulator-name = "vdda_0v85_s0";
6418ccc0d23SEmmanuel Vadot				regulator-state-mem {
6428ccc0d23SEmmanuel Vadot					regulator-off-in-suspend;
6438ccc0d23SEmmanuel Vadot				};
6448ccc0d23SEmmanuel Vadot			};
6458ccc0d23SEmmanuel Vadot
6468ccc0d23SEmmanuel Vadot			vdda_0v75_s0: nldo-reg5 {
6478ccc0d23SEmmanuel Vadot				regulator-always-on;
6488ccc0d23SEmmanuel Vadot				regulator-boot-on;
6498ccc0d23SEmmanuel Vadot				regulator-min-microvolt = <750000>;
6508ccc0d23SEmmanuel Vadot				regulator-max-microvolt = <750000>;
6518ccc0d23SEmmanuel Vadot				regulator-name = "vdda_0v75_s0";
6528ccc0d23SEmmanuel Vadot				regulator-state-mem {
6538ccc0d23SEmmanuel Vadot					regulator-off-in-suspend;
6548ccc0d23SEmmanuel Vadot				};
6558ccc0d23SEmmanuel Vadot			};
6568ccc0d23SEmmanuel Vadot		};
6578ccc0d23SEmmanuel Vadot	};
6588ccc0d23SEmmanuel Vadot};
6598ccc0d23SEmmanuel Vadot
6608ccc0d23SEmmanuel Vadot&i2c2 {
6618ccc0d23SEmmanuel Vadot	status = "okay";
6628ccc0d23SEmmanuel Vadot
6638ccc0d23SEmmanuel Vadot	/* pc9202 watchdog@3c with enable-gpio gpio0-c3 */
6648ccc0d23SEmmanuel Vadot
6658ccc0d23SEmmanuel Vadot	/* hnyetek,husb311 typec-portc@4e */
6668ccc0d23SEmmanuel Vadot
6678ccc0d23SEmmanuel Vadot	hym8563: rtc@51 {
6688ccc0d23SEmmanuel Vadot		compatible = "haoyu,hym8563";
6698ccc0d23SEmmanuel Vadot		reg = <0x51>;
6708ccc0d23SEmmanuel Vadot		#clock-cells = <0>;
6718ccc0d23SEmmanuel Vadot		clock-output-names = "hym8563";
6728ccc0d23SEmmanuel Vadot		pinctrl-names = "default";
6738ccc0d23SEmmanuel Vadot		pinctrl-0 = <&rtc_int_l>;
6748ccc0d23SEmmanuel Vadot		interrupt-parent = <&gpio0>;
6758ccc0d23SEmmanuel Vadot		interrupts = <RK_PA0 IRQ_TYPE_LEVEL_LOW>;
6768ccc0d23SEmmanuel Vadot		wakeup-source;
6778ccc0d23SEmmanuel Vadot	};
6788ccc0d23SEmmanuel Vadot};
6798ccc0d23SEmmanuel Vadot
6808ccc0d23SEmmanuel Vadot&saradc {
6818ccc0d23SEmmanuel Vadot	vref-supply = <&vcca_1v8_s0>;
6828ccc0d23SEmmanuel Vadot	status = "okay";
6838ccc0d23SEmmanuel Vadot};
6848ccc0d23SEmmanuel Vadot
6858ccc0d23SEmmanuel Vadot&sdhci {
6868ccc0d23SEmmanuel Vadot	bus-width = <8>;
6878ccc0d23SEmmanuel Vadot	no-sdio;
6888ccc0d23SEmmanuel Vadot	no-sd;
6898ccc0d23SEmmanuel Vadot	non-removable;
6908ccc0d23SEmmanuel Vadot	max-frequency = <200000000>;
6918ccc0d23SEmmanuel Vadot	mmc-hs400-1_8v;
6928ccc0d23SEmmanuel Vadot	mmc-hs400-enhanced-strobe;
6938ccc0d23SEmmanuel Vadot	full-pwr-cycle-in-suspend;
6948ccc0d23SEmmanuel Vadot	status = "okay";
6958ccc0d23SEmmanuel Vadot};
6968ccc0d23SEmmanuel Vadot
6978ccc0d23SEmmanuel Vadot&sdmmc {
6988ccc0d23SEmmanuel Vadot	max-frequency = <200000000>;
6998ccc0d23SEmmanuel Vadot	no-sdio;
7008ccc0d23SEmmanuel Vadot	no-mmc;
7018ccc0d23SEmmanuel Vadot	bus-width = <4>;
7028ccc0d23SEmmanuel Vadot	cap-mmc-highspeed;
7038ccc0d23SEmmanuel Vadot	cap-sd-highspeed;
7048ccc0d23SEmmanuel Vadot	disable-wp;
7058ccc0d23SEmmanuel Vadot	sd-uhs-sdr104;
7068ccc0d23SEmmanuel Vadot	vqmmc-supply = <&vccio_sd_s0>;
7078ccc0d23SEmmanuel Vadot	status = "okay";
7088ccc0d23SEmmanuel Vadot};
7098ccc0d23SEmmanuel Vadot
7108ccc0d23SEmmanuel Vadot&pinctrl {
7118ccc0d23SEmmanuel Vadot	hym8563 {
7128ccc0d23SEmmanuel Vadot		rtc_int_l: rtc-int-l {
7138ccc0d23SEmmanuel Vadot			rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>;
7148ccc0d23SEmmanuel Vadot		};
7158ccc0d23SEmmanuel Vadot	};
7168ccc0d23SEmmanuel Vadot
7178ccc0d23SEmmanuel Vadot	power {
7188ccc0d23SEmmanuel Vadot		vcc5vd_en: vcc5vd-en {
7198ccc0d23SEmmanuel Vadot			rockchip,pins = <2 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
7208ccc0d23SEmmanuel Vadot		};
7218ccc0d23SEmmanuel Vadot
7228ccc0d23SEmmanuel Vadot		pcie_pwren_h: pcie-pwren-h {
7238ccc0d23SEmmanuel Vadot			rockchip,pins = <2 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
7248ccc0d23SEmmanuel Vadot		};
7258ccc0d23SEmmanuel Vadot	};
7268ccc0d23SEmmanuel Vadot
7278ccc0d23SEmmanuel Vadot	usb {
7288ccc0d23SEmmanuel Vadot		hub_reset_h: hub-reset-h {
7298ccc0d23SEmmanuel Vadot			rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
7308ccc0d23SEmmanuel Vadot		};
7318ccc0d23SEmmanuel Vadot
7328ccc0d23SEmmanuel Vadot		usb3_host_pwren_h: usb3-host-pwren-h {
7338ccc0d23SEmmanuel Vadot			rockchip,pins = <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>;
7348ccc0d23SEmmanuel Vadot		};
7358ccc0d23SEmmanuel Vadot
7368ccc0d23SEmmanuel Vadot		usb_otg0_pwren_h: usb-otg0-pwren-h {
7378ccc0d23SEmmanuel Vadot			rockchip,pins = <0 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
7388ccc0d23SEmmanuel Vadot		};
7398ccc0d23SEmmanuel Vadot
7408ccc0d23SEmmanuel Vadot		usbc0_int_l: usbc0-int-l {
7418ccc0d23SEmmanuel Vadot			rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
7428ccc0d23SEmmanuel Vadot		};
7438ccc0d23SEmmanuel Vadot	};
7448ccc0d23SEmmanuel Vadot
7458ccc0d23SEmmanuel Vadot	watchdog {
7468ccc0d23SEmmanuel Vadot		wd_en: wd-en {
7478ccc0d23SEmmanuel Vadot			rockchip,pins = <0 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>;
7488ccc0d23SEmmanuel Vadot		};
7498ccc0d23SEmmanuel Vadot	};
7508ccc0d23SEmmanuel Vadot};
7518ccc0d23SEmmanuel Vadot
7528ccc0d23SEmmanuel Vadot&uart0 {
7538ccc0d23SEmmanuel Vadot	pinctrl-0 = <&uart0m0_xfer>;
7548ccc0d23SEmmanuel Vadot	status = "okay";
7558ccc0d23SEmmanuel Vadot};
7568ccc0d23SEmmanuel Vadot
7578ccc0d23SEmmanuel Vadot&uart4 {
7588ccc0d23SEmmanuel Vadot	pinctrl-names = "default";
7598ccc0d23SEmmanuel Vadot	pinctrl-0 = <&uart4m1_xfer &uart4m1_ctsn>;
7608ccc0d23SEmmanuel Vadot	status = "okay";
7618ccc0d23SEmmanuel Vadot};
7628ccc0d23SEmmanuel Vadot
7638ccc0d23SEmmanuel Vadot/* On the extension pin header */
7648ccc0d23SEmmanuel Vadot&uart6 {
7658ccc0d23SEmmanuel Vadot	pinctrl-names = "default";
7668ccc0d23SEmmanuel Vadot	pinctrl-0 = <&uart6m3_xfer>;
7678ccc0d23SEmmanuel Vadot	status = "okay";
7688ccc0d23SEmmanuel Vadot};
769*ae5de77eSEmmanuel Vadot
770*ae5de77eSEmmanuel Vadot&vop {
771*ae5de77eSEmmanuel Vadot	status = "okay";
772*ae5de77eSEmmanuel Vadot};
773*ae5de77eSEmmanuel Vadot
774*ae5de77eSEmmanuel Vadot&vop_mmu {
775*ae5de77eSEmmanuel Vadot	status = "okay";
776*ae5de77eSEmmanuel Vadot};
777*ae5de77eSEmmanuel Vadot
778*ae5de77eSEmmanuel Vadot&vp0 {
779*ae5de77eSEmmanuel Vadot	vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
780*ae5de77eSEmmanuel Vadot		reg = <ROCKCHIP_VOP2_EP_HDMI0>;
781*ae5de77eSEmmanuel Vadot		remote-endpoint = <&hdmi_in_vp0>;
782*ae5de77eSEmmanuel Vadot	};
783*ae5de77eSEmmanuel Vadot};
784