From: Fabio Estevam Date: Sat, 2 Dec 2017 20:26:04 +0000 (-0200) Subject: ARM: dts: imx51-babbage: Pass the USB PHY regulator X-Git-Tag: v4.19~1679^2~20^2~56 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5df704c2e1c69028d96a1130e22eb0f4bfea987a;p=platform%2Fkernel%2Flinux-rpi.git ARM: dts: imx51-babbage: Pass the USB PHY regulator The USB PHYs are supplied via MC13892 VUSB regulator rail, so properly describe this in the device tree. Signed-off-by: Fabio Estevam Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/imx51-babbage.dts b/arch/arm/boot/dts/imx51-babbage.dts index c4aa53c..c432de7 100644 --- a/arch/arm/boot/dts/imx51-babbage.dts +++ b/arch/arm/boot/dts/imx51-babbage.dts @@ -165,6 +165,7 @@ clocks = <&clks IMX5_CLK_DUMMY>; clock-names = "main_clk"; reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>; + vcc-supply = <&vusb_reg>; #phy-cells = <0>; }; }; @@ -241,6 +242,10 @@ regulator-max-microvolt = <3150000>; }; + vusb_reg: vusb { + regulator-boot-on; + }; + vusb2_reg: vusb2 { regulator-min-microvolt = <2400000>; regulator-max-microvolt = <2775000>; @@ -414,6 +419,10 @@ status = "okay"; }; +&usbphy0 { + vcc-supply = <&vusb_reg>; +}; + &usbotg { dr_mode = "otg"; disable-over-current;