Files
android_kernel_motorola_sm6225/qcom/scuba-qrd-eldo.dtsi
T
Fenglin Wu 7e103da327 ARM: dts: qcom: add external regulator to supply HS USBPHY for scuba-qrd
An external regulator is added in Scuba QRD platform to supply HS USBPHY
VDDA3p3 power rail, add the support.

Change-Id: I0d5bf46c9fe3b79a201cab48a8ee0105160ed356
2020-06-08 19:44:00 +08:00

35 lines
746 B
Devicetree

#include "scuba-qrd.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
&pm2250_gpios {
vdd_3p1_en {
vdd_3p1_en_default: vdd_3p1_en_default {
pins = "gpio9";
function = "normal";
output-enable;
input-disable;
bias-disable;
qcom,drive-strength = <PMIC_GPIO_STRENGTH_MED>;
};
};
};
&soc {
vreg_usb_3p1: vreg_usb_3p1 {
compatible = "regulator-fixed";
regulator-name = "vreg_usb_3p1";
regulator-min-microvolt = <3100000>;
regulator-max-microvolt = <3100000>;
pinctrl-names = "default";
pinctrl-0 = <&vdd_3p1_en_default>;
gpio = <&pm2250_gpios 9 GPIO_ACTIVE_HIGH>;
startup-delay-us = <100>;
enable-active-high;
};
};
&qusb_phy0 {
vdda33-supply = <&vreg_usb_3p1>;
};