diff options
author | Ashutosh singh <ashutosh.s@phytec.in> | 2014-02-20 06:50:16 +0100 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2014-02-21 03:13:54 +0100 |
commit | f2d91676cba5dfeda1ba3937266f9af6d8834dd8 (patch) | |
tree | 77fabfe3446cf81a513e96f18409dff6ac50eb45 /arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi | |
parent | ARM: dts: imx6q-phytec: Added USB_OTG Support (diff) | |
download | linux-f2d91676cba5dfeda1ba3937266f9af6d8834dd8.tar.xz linux-f2d91676cba5dfeda1ba3937266f9af6d8834dd8.zip |
ARM: dts: imx6q-phytec: Added USB_HOST Support
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>
Diffstat (limited to 'arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi index ee07896b30d3..b1a78a0a8fd8 100644 --- a/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi +++ b/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi @@ -32,6 +32,15 @@ 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>; + }; }; }; @@ -195,6 +204,12 @@ >; }; + 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 @@ -248,6 +263,13 @@ status = "disabled"; }; +&usbh1 { + vbus-supply = <®_usb_h1_vbus>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbh1>; + status = "disabled"; +}; + &usbotg { vbus-supply = <®_usb_otg_vbus>; pinctrl-names = "default"; |