]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dtsi: imx6qdl-sabresd: Add USB host 1 VBUS regulator
authorPeter Chen <peter.chen@freescale.com>
Mon, 12 Aug 2013 08:46:24 +0000 (16:46 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Thu, 22 Aug 2013 15:29:59 +0000 (23:29 +0800)
We enabled USB host 1, so host 1's vbus should be on to let
host 1 work.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx6qdl-sabresd.dtsi

index 9bfdf624a616e68b09e4d11378dc76dd789aab4e..c6d6156941a6ec07007c64228d81b4871370b243 100644 (file)
                        enable-active-high;
                };
 
+               reg_usb_h1_vbus: usb_h1_vbus {
+                       compatible = "regulator-fixed";
+                       regulator-name = "usb_h1_vbus";
+                       regulator-min-microvolt = <5000000>;
+                       regulator-max-microvolt = <5000000>;
+                       gpio = <&gpio1 29 0>;
+                       enable-active-high;
+               };
+
                reg_audio: wm8962_supply {
                        compatible = "regulator-fixed";
                        regulator-name = "wm8962-supply";
                                MX6QDL_PAD_NANDF_D3__GPIO2_IO03 0x80000000
                                MX6QDL_PAD_GPIO_0__CCM_CLKO1    0x130b0
                                MX6QDL_PAD_NANDF_CLE__GPIO6_IO07 0x80000000
+                               MX6QDL_PAD_ENET_TXD1__GPIO1_IO29 0x80000000
                        >;
                };
        };
 };
 
 &usbh1 {
+       vbus-supply = <&reg_usb_h1_vbus>;
        status = "okay";
 };