diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-03-26 10:54:38 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-05-16 11:01:46 -0400 |
commit | 9bf206a9d13be3aafc16092e036a1346b37e2a59 (patch) | |
tree | f32c7090ed63ec45104e79721618a9a7797c9c1e /arch/arm/boot/dts/imx51-babbage.dts | |
parent | ebc374657b5a340d28b80aa4a42ad627d8045e01 (diff) |
ARM: dts: imx51-babbage: Add USB Host1 support
Signed-off by: Dave Ebright <dave.ebright@parsons.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx51-babbage.dts')
-rw-r--r-- | arch/arm/boot/dts/imx51-babbage.dts | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx51-babbage.dts b/arch/arm/boot/dts/imx51-babbage.dts index 9e9deb244b76..b4ae6f80994e 100644 --- a/arch/arm/boot/dts/imx51-babbage.dts +++ b/arch/arm/boot/dts/imx51-babbage.dts | |||
@@ -129,6 +129,35 @@ | |||
129 | gpios = <&gpio4 26 GPIO_ACTIVE_LOW>; | 129 | gpios = <&gpio4 26 GPIO_ACTIVE_LOW>; |
130 | }; | 130 | }; |
131 | }; | 131 | }; |
132 | |||
133 | regulators { | ||
134 | compatible = "simple-bus"; | ||
135 | #address-cells = <1>; | ||
136 | #size-cells = <0>; | ||
137 | |||
138 | reg_usb_vbus: regulator@0 { | ||
139 | compatible = "regulator-fixed"; | ||
140 | reg = <0>; | ||
141 | regulator-name = "usb_vbus"; | ||
142 | regulator-min-microvolt = <5000000>; | ||
143 | regulator-max-microvolt = <5000000>; | ||
144 | gpio = <&gpio2 5 0>; | ||
145 | enable-active-high; | ||
146 | }; | ||
147 | }; | ||
148 | |||
149 | usbphy { | ||
150 | #address-cells = <1>; | ||
151 | #size-cells = <0>; | ||
152 | compatible = "simple-bus"; | ||
153 | |||
154 | usbh1phy: usbh1phy@0 { | ||
155 | compatible = "usb-nop-xceiv"; | ||
156 | reg = <0>; | ||
157 | clocks = <&clks 0>; | ||
158 | clock-names = "main_clk"; | ||
159 | }; | ||
160 | }; | ||
132 | }; | 161 | }; |
133 | 162 | ||
134 | &esdhc1 { | 163 | &esdhc1 { |
@@ -479,6 +508,23 @@ | |||
479 | MX51_PAD_EIM_D24__UART3_CTS 0x1c5 | 508 | MX51_PAD_EIM_D24__UART3_CTS 0x1c5 |
480 | >; | 509 | >; |
481 | }; | 510 | }; |
511 | |||
512 | pinctrl_usbh1: usbh1grp { | ||
513 | fsl,pins = < | ||
514 | MX51_PAD_USBH1_CLK__USBH1_CLK 0x80000000 | ||
515 | MX51_PAD_USBH1_DIR__USBH1_DIR 0x80000000 | ||
516 | MX51_PAD_USBH1_NXT__USBH1_NXT 0x80000000 | ||
517 | MX51_PAD_USBH1_DATA0__USBH1_DATA0 0x80000000 | ||
518 | MX51_PAD_USBH1_DATA1__USBH1_DATA1 0x80000000 | ||
519 | MX51_PAD_USBH1_DATA2__USBH1_DATA2 0x80000000 | ||
520 | MX51_PAD_USBH1_DATA3__USBH1_DATA3 0x80000000 | ||
521 | MX51_PAD_USBH1_DATA4__USBH1_DATA4 0x80000000 | ||
522 | MX51_PAD_USBH1_DATA5__USBH1_DATA5 0x80000000 | ||
523 | MX51_PAD_USBH1_DATA6__USBH1_DATA6 0x80000000 | ||
524 | MX51_PAD_USBH1_DATA7__USBH1_DATA7 0x80000000 | ||
525 | MX51_PAD_EIM_D21__GPIO2_5 0x80000000 | ||
526 | >; | ||
527 | }; | ||
482 | }; | 528 | }; |
483 | }; | 529 | }; |
484 | 530 | ||
@@ -547,3 +593,12 @@ | |||
547 | >; | 593 | >; |
548 | status = "okay"; | 594 | status = "okay"; |
549 | }; | 595 | }; |
596 | |||
597 | &usbh1 { | ||
598 | pinctrl-names = "default"; | ||
599 | pinctrl-0 = <&pinctrl_usbh1>; | ||
600 | vbus-supply = <®_usb_vbus>; | ||
601 | fsl,usbphy = <&usbh1phy>; | ||
602 | phy_type = "ulpi"; | ||
603 | status = "okay"; | ||
604 | }; | ||