diff options
author | Li Jun <B47624@freescale.com> | 2014-11-07 14:51:54 +0800 |
---|---|---|
committer | Li Jun <b47624@freescale.com> | 2014-11-11 14:22:07 +0800 |
commit | 34a12aa5da73188eff1b702ec2f63bef824138c5 (patch) | |
tree | 0adf56cb3b5d6729b7a60b7aff1f6205910ee3e5 /arch | |
parent | f22b464c9472717751252bf27de206406af2d3bf (diff) |
MLK-9814 ARM: imx6sx-sabreauto: add usb host1 support
Enable USB OTG2 as a host only port.
Signed-off-by: Li Jun <b47624@freescale.com>
(cherry picked from commit 11c9528c60e0452ba9ce1a53f673be2fc3c04813)
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sabreauto.dts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sabreauto.dts b/arch/arm/boot/dts/imx6sx-sabreauto.dts index de9752bede0f..2d8912a1f0d4 100644 --- a/arch/arm/boot/dts/imx6sx-sabreauto.dts +++ b/arch/arm/boot/dts/imx6sx-sabreauto.dts @@ -149,6 +149,15 @@ gpio = <&gpio1 9 0>; enable-active-high; }; + + reg_usb_otg2_vbus: usb_otg2_vbus { + compatible = "regulator-fixed"; + regulator-name = "usb_otg2_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpio1 12 0>; + enable-active-high; + }; }; sound-cs42888 { @@ -543,6 +552,12 @@ status = "okay"; }; +&usbotg2 { + vbus-supply = <®_usb_otg2_vbus>; + dr_mode = "host"; + status = "okay"; +}; + &usdhc3 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc3_1>; |