Commit 88e0b782 authored by Markus Reichl's avatar Markus Reichl Committed by Heiko Stuebner
Browse files

arm64: dts: rockchip: Add vcc_sys enable pin on rk3399-roc-pc



rk3399-roc-pc has vcc_sys 5V supply for USB and other peripherals.
Add the GPIO pin to enable the regulator.

Signed-off-by: default avatarMarkus Reichl <m.reichl@fivetechno.de>
Link: https://lore.kernel.org/r/c72db0ad-c261-af4f-efe6-22bbcf4a0b7b@fivetechno.de


Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 38998927
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -170,6 +170,10 @@

	vcc_sys: vcc-sys {
		compatible = "regulator-fixed";
		enable-active-high;
		gpio = <&gpio2 RK_PA6 GPIO_ACTIVE_HIGH>;
		pinctrl-names = "default";
		pinctrl-0 = <&vcc_sys_en>;
		regulator-name = "vcc_sys";
		regulator-always-on;
		regulator-boot-on;
@@ -598,6 +602,10 @@
			rockchip,pins = <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
		};

		vcc_sys_en: vcc-sys-en {
			rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
		};

		hub_rst: hub-rst {
			rockchip,pins = <2 RK_PA4 RK_FUNC_GPIO &pcfg_output_high>;
		};