dts: rb5: add pm8150l l11c regulator
This regulator enables the USB hub as well as the VBUS rail, it is
necessary to turn VBUS on and enable USB on the rb5.
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
diff --git a/arch/arm/dts/rb5.dts b/arch/arm/dts/rb5.dts
index 50df90b..a62922f 100644
--- a/arch/arm/dts/rb5.dts
+++ b/arch/arm/dts/rb5.dts
@@ -6,6 +6,7 @@
/dts-v1/;
#include <dt-bindings/arm/qcom,ids.h>
+#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
#include "sm8250.dtsi"
@@ -42,6 +43,21 @@
};
};
+&apps_rsc {
+ regulators-2 {
+ compatible = "qcom,pm8150l-rpmh-regulators";
+ qcom,pmic-id = "c";
+
+ vreg_l11c_3p3: ldo11 {
+ regulator-name = "vreg_l11c_3p3";
+ regulator-min-microvolt = <3296000>;
+ regulator-max-microvolt = <3296000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-always-on;
+ };
+ };
+};
+
&sdhc_2 {
/* SD card support is broken currently */
status = "disabled";
@@ -112,6 +128,8 @@
phys = <&usb_2_hsphy>;
phy-names = "usb2-phy";
+
+ vbus-supply = <&vreg_l11c_3p3>;
};
&usb_2_hsphy {