ARM: dts: msm: Add VBUS supply for USB2 port for Yupik IOT IDP

Add required support to have VBUS supply enabled for USB2 port for
Yupik IOT IDP platform.

Change-Id: Ic541d6062ecf59b5f6c0ec9dbd5371b89fca54fc
This commit is contained in:
Vijayavardhan Vennapusa 2021-04-06 18:19:32 +05:30
commit 064dfa167b

View file

@ -27,7 +27,32 @@
status = "ok"
};
&pm7325_gpios {
usb2_vbus_boost {
usb2_vbus_boost_default: usb2_vbus_boost_default {
pins = "gpio8";
function = "normal";
output-low;
power-source = <0>; /* 1.8V input supply */
};
};
};
&soc {
usb2_vbus_boost_reg: usb2_vbus_boost_reg {
compatible = "regulator-fixed";
regulator-name = "usb2_vbus_boost_vreg";
startup-delay-us = <4000>;
enable-active-high;
gpios = <&pm7325_gpios 8 0>;
pinctrl-names = "default";
pinctrl-0 = <&usb2_vbus_boost_default>;
};
};
&usb1 {
vbus_dwc3-supply = <&usb2_vbus_boost_reg>;
qcom,default-mode-none;
status = "ok"
};