mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
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:
parent
45b311fc78
commit
064dfa167b
1 changed files with 25 additions and 0 deletions
|
|
@ -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"
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue