Skip to content
Snippets Groups Projects
Commit 45c067a3 authored by Alessandro Pecugi's avatar Alessandro Pecugi
Browse files

[C31] add regulator for usb hub reset

Add regulator that keeps usb hub reset signal low
parent 27ee526c
No related branches found
No related tags found
No related merge requests found
...@@ -144,6 +144,18 @@ vcca1v8_run: vcca1v8-run { ...@@ -144,6 +144,18 @@ vcca1v8_run: vcca1v8-run {
vin-supply = <&vcc3v3_sys>; vin-supply = <&vcc3v3_sys>;
}; };
usb2_hub_host: usb2-hub-host {
compatible = "regulator-fixed";
gpio = <&gpio1 RK_PA2 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&host_hub_enable>;
regulator-name = "usb2_hub_host";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
enable-active-down;
regulator-always-on;
};
sdio_pwrseq: sdio-pwrseq { sdio_pwrseq: sdio-pwrseq {
compatible = "mmc-pwrseq-sd8997"; compatible = "mmc-pwrseq-sd8997";
clocks = <&rk808 1>; clocks = <&rk808 1>;
...@@ -1006,6 +1018,13 @@ vcc5v0_host_usb3_en: vcc5v0-host-usb3-en { ...@@ -1006,6 +1018,13 @@ vcc5v0_host_usb3_en: vcc5v0-host-usb3-en {
}; };
}; };
usb2 {
host_hub_enable: host-vbus-drv {
rockchip,pins =
<1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
usb_typec_en { usb_typec_en {
vcc5v0_typec0_en: vcc5v0-typec0-en { vcc5v0_typec0_en: vcc5v0-typec0-en {
rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment