ARM: dts: imx51-babbage: Pass the USB PHY regulator
authorFabio Estevam <fabio.estevam@nxp.com>
Sat, 2 Dec 2017 20:26:04 +0000 (18:26 -0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 26 Dec 2017 08:15:44 +0000 (16:15 +0800)
The USB PHYs are supplied via MC13892 VUSB regulator rail,
so properly describe this in the device tree.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx51-babbage.dts

index c4aa53c..c432de7 100644 (file)
                        clocks = <&clks IMX5_CLK_DUMMY>;
                        clock-names = "main_clk";
                        reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
+                       vcc-supply = <&vusb_reg>;
                        #phy-cells = <0>;
                };
        };
                                regulator-max-microvolt = <3150000>;
                        };
 
+                       vusb_reg: vusb {
+                               regulator-boot-on;
+                       };
+
                        vusb2_reg: vusb2 {
                                regulator-min-microvolt = <2400000>;
                                regulator-max-microvolt = <2775000>;
        status = "okay";
 };
 
+&usbphy0 {
+       vcc-supply = <&vusb_reg>;
+};
+
 &usbotg {
        dr_mode = "otg";
        disable-over-current;