Skip to content
Snippets Groups Projects
Commit 296bd19e authored by Meng Dongyang's avatar Meng Dongyang Committed by Philipp Tomsich
Browse files

rockchip: dts: rk3328: add fixed regulator node for xhci


The driver changes gpio to fixed regulator to control vbus, so add
fixed regulator node in DTS for xhci driver.

Signed-off-by: default avatarMeng Dongyang <daniel.meng@rock-chips.com>
Reviewed-by: default avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: default avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
parent 26a8b80f
No related branches found
No related tags found
No related merge requests found
...@@ -14,6 +14,15 @@ ...@@ -14,6 +14,15 @@
chosen { chosen {
stdout-path = &uart2; stdout-path = &uart2;
}; };
vcc5v0_host_xhci: vcc5v0-host-xhci-drv {
compatible = "regulator-fixed";
enable-active-high;
regulator-name = "vcc5v0_host_xhci";
gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
};
}; };
&uart2 { &uart2 {
...@@ -53,6 +62,6 @@ ...@@ -53,6 +62,6 @@
}; };
&usb_host0_xhci { &usb_host0_xhci {
rockchip,vbus-gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>; vbus-supply = <&vcc5v0_host_xhci>;
status = "okay"; status = "okay";
}; };
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