@@ -54,14 +54,6 @@ codec_dai: simple-audio-card,codec {
};
};
- usb0_vbus_otg: regulator-usb0-vbus-otg {
- compatible = "regulator-fixed";
-
- regulator-name = "USB0_VBUS_OTG";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- };
-
vccq_sdhi1: regulator-vccq-sdhi1 {
compatible = "regulator-gpio";
regulator-name = "SDHI1 VccQ";
@@ -139,6 +131,11 @@ &ohci1 {
&phyrst {
status = "okay";
+ vbus_usb0: usb-vbus-regulator {
+ regulator-name = "usb_vbus";
+ regulator-min-microvolt = <0>;
+ regulator-max-microvolt = <3300000>;
+ };
};
&scif0 {
@@ -171,7 +168,7 @@ &usb2_phy0 {
pinctrl-0 = <&usb0_pins>;
pinctrl-names = "default";
- vbus-supply = <&usb0_vbus_otg>;
+ vbus-supply = <&vbus_usb0>;
status = "okay";
};
Replace the fixed regulator for USB VBUS. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> --- v1->v2: * New patch. --- arch/arm64/boot/dts/renesas/rz-smarc-common.dtsi | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-)