diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-03-27 03:23:02 -0400 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:58:08 -0400 |
commit | f9c2cbe660ed9eca86bc866ea5267fe404e05fc3 (patch) | |
tree | ebad426a7fec0c39e4c29d486f1a73535b0bfff3 /arch/arm/boot | |
parent | 308b57619ca26df045168dc461a1400cbb0ae234 (diff) |
ENGR00305549 ARM: imx6sx-sdb: enable USB function
usbotg1 is for dual-role function, usbotg2 is dedicated
to host function.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sdb.dts | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sdb.dts index 4e83f02d842f..9d8802e04cff 100644 --- a/arch/arm/boot/dts/imx6sx-sdb.dts +++ b/arch/arm/boot/dts/imx6sx-sdb.dts | |||
@@ -80,6 +80,25 @@ | |||
80 | regulator-max-microvolt = <5000000>; | 80 | regulator-max-microvolt = <5000000>; |
81 | regulator-boot-on; | 81 | regulator-boot-on; |
82 | }; | 82 | }; |
83 | |||
84 | reg_usb_otg1_vbus: usb_otg1_vbus { | ||
85 | compatible = "regulator-fixed"; | ||
86 | regulator-name = "usb_otg1_vbus"; | ||
87 | regulator-min-microvolt = <5000000>; | ||
88 | regulator-max-microvolt = <5000000>; | ||
89 | gpio = <&gpio1 9 0>; | ||
90 | enable-active-high; | ||
91 | }; | ||
92 | |||
93 | reg_usb_otg2_vbus: usb_otg2_vbus { | ||
94 | compatible = "regulator-fixed"; | ||
95 | regulator-name = "usb_otg2_vbus"; | ||
96 | regulator-min-microvolt = <5000000>; | ||
97 | regulator-max-microvolt = <5000000>; | ||
98 | gpio = <&gpio1 12 0>; | ||
99 | enable-active-high; | ||
100 | }; | ||
101 | |||
83 | }; | 102 | }; |
84 | 103 | ||
85 | sound { | 104 | sound { |
@@ -391,6 +410,19 @@ | |||
391 | status = "okay"; | 410 | status = "okay"; |
392 | }; | 411 | }; |
393 | 412 | ||
413 | &usbotg1 { | ||
414 | vbus-supply = <®_usb_otg1_vbus>; | ||
415 | pinctrl-names = "default"; | ||
416 | pinctrl-0 = <&pinctrl_usbotg1_1>; | ||
417 | status = "okay"; | ||
418 | }; | ||
419 | |||
420 | &usbotg2 { | ||
421 | vbus-supply = <®_usb_otg2_vbus>; | ||
422 | dr_mode = "host"; | ||
423 | status = "okay"; | ||
424 | }; | ||
425 | |||
394 | &usdhc2 { | 426 | &usdhc2 { |
395 | pinctrl-names = "default"; | 427 | pinctrl-names = "default"; |
396 | pinctrl-0 = <&pinctrl_usdhc2_1>; | 428 | pinctrl-0 = <&pinctrl_usdhc2_1>; |