arm64: dts: rockchip: rv1126b-evb4-v10: Add usb support

Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: Id77fc879565ab364024af21b7c67db7c90cd0765
This commit is contained in:
William Wu
2025-03-25 14:59:33 +08:00
committed by Tao Huang
parent 771c7d7b8d
commit 4e7370285c

View File

@@ -30,6 +30,32 @@
status = "okay";
};
vbus5v0_typec: vbus5v0-typec {
compatible = "regulator-fixed";
regulator-name = "vbus5v0_typec";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
enable-active-high;
gpio = <&gpio5 RK_PD6 GPIO_ACTIVE_HIGH>;
vin-supply = <&vcc5v0_sys>;
pinctrl-names = "default";
pinctrl-0 = <&typec5v_pwren>;
};
vcc5v0_host: vcc5v0-host {
compatible = "regulator-fixed";
regulator-name = "vcc5v0_host";
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
enable-active-high;
gpio = <&gpio6 RK_PA3 GPIO_ACTIVE_HIGH>;
vin-supply = <&vcc5v0_sys>;
pinctrl-names = "default";
pinctrl-0 = <&vcc5v0_host_en>;
};
vdd_npu: vdd-npu {
compatible = "pwm-regulator";
pwms = <&pwm0_8ch_0 0 25000 1>;
@@ -215,6 +241,16 @@
rockchip,pins = <0 RK_PC0 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
usb {
typec5v_pwren: typec5v-pwren {
rockchip,pins = <5 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
};
vcc5v0_host_en: vcc5v0-host-en {
rockchip,pins = <6 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
};
&pwm0_8ch_0 {
@@ -232,3 +268,16 @@
&route_dsi {
status = "okay";
};
&usb2phy_host {
phy-supply = <&vcc5v0_host>;
};
&usb2phy_otg {
vbus-supply = <&vbus5v0_typec>;
};
&usb_drd_dwc3 {
dr_mode = "otg";
extcon = <&usb2phy>;
};