Commit 5df704c2 authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo
Browse files

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: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 9a7bc38d
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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;