mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
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: Meng Dongyang <daniel.meng@rock-chips.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
This commit is contained in:
parent
26a8b80fac
commit
296bd19e4e
1 changed files with 10 additions and 1 deletions
|
|
@ -14,6 +14,15 @@
|
|||
chosen {
|
||||
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 {
|
||||
|
|
@ -53,6 +62,6 @@
|
|||
};
|
||||
|
||||
&usb_host0_xhci {
|
||||
rockchip,vbus-gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>;
|
||||
vbus-supply = <&vcc5v0_host_xhci>;
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue