ARM: dts: imx6q-phytec: Added USB_HOST Support
authorAshutosh singh <ashutosh.s@phytec.in>
Thu, 20 Feb 2014 05:50:16 +0000 (11:20 +0530)
committerShawn Guo <shawn.guo@linaro.org>
Fri, 21 Feb 2014 02:13:54 +0000 (10:13 +0800)
This patch adds support for USB_HOST on Phytec phyFLEX-i.MX6 Quad module.

Signed-off-by: Ashutosh singh <ashutosh.s@phytec.in>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx6q-phytec-pbab01.dts
arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi

index 87c370268c6738a4419796df3b7180f13679201d..91aecbac6f61e8db8256bd5a24297e190f36847c 100644 (file)
        status = "okay";
 };
 
+&usbh1 {
+       status = "okay";
+};
+
 &usbotg {
        status = "okay";
 };
index ee07896b30d364e85c9d3cbff45cf62b9d984d9b..b1a78a0a8fd8ad815ab6c62863aa0ba24b71d33f 100644 (file)
                        regulator-max-microvolt = <5000000>;
                        gpio = <&gpio4 15 0>;
                };
+
+               reg_usb_h1_vbus: regulator@1 {
+                       compatible = "regulator-fixed";
+                       reg = <1>;
+                       regulator-name = "usb_h1_vbus";
+                       regulator-min-microvolt = <5000000>;
+                       regulator-max-microvolt = <5000000>;
+                       gpio = <&gpio1 0 0>;
+               };
        };
 };
 
                        >;
                };
 
+               pinctrl_usbh1: usbh1grp {
+                       fsl,pins = <
+                               MX6QDL_PAD_GPIO_0__USB_H1_PWR           0x80000000
+                       >;
+               };
+
                pinctrl_usbotg: usbotggrp {
                        fsl,pins = <
                                MX6QDL_PAD_GPIO_1__USB_OTG_ID           0x17059
        status = "disabled";
 };
 
+&usbh1 {
+       vbus-supply = <&reg_usb_h1_vbus>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_usbh1>;
+       status = "disabled";
+};
+
 &usbotg {
        vbus-supply = <&reg_usb_otg_vbus>;
        pinctrl-names = "default";