diff options
author | Dmitry Lifshitz <lifshitz@compulab.co.il> | 2014-01-12 08:22:50 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-02-28 17:09:11 -0500 |
commit | ce5abbb816b8a30f2e06cf3fbd92aadc866aaa42 (patch) | |
tree | 352cd5a4e475762fcde93314005e348cee314ef3 /arch/arm | |
parent | 0cc73cd41113a20fb709314799f6a9874aa3b39a (diff) |
ARM: dts: cm-t3x30: add HS USB Host support
Add HS USB Host support along with USB PHYs and power supply regulators
Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/omap3-cm-t3x.dtsi | 38 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap3-cm-t3x30.dtsi | 8 |
2 files changed, 46 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-cm-t3x.dtsi b/arch/arm/boot/dts/omap3-cm-t3x.dtsi index abda4939c0b3..c671a2299ea8 100644 --- a/arch/arm/boot/dts/omap3-cm-t3x.dtsi +++ b/arch/arm/boot/dts/omap3-cm-t3x.dtsi | |||
@@ -19,6 +19,36 @@ | |||
19 | linux,default-trigger = "heartbeat"; | 19 | linux,default-trigger = "heartbeat"; |
20 | }; | 20 | }; |
21 | }; | 21 | }; |
22 | |||
23 | /* HS USB Port 1 Power */ | ||
24 | hsusb1_power: hsusb1_power_reg { | ||
25 | compatible = "regulator-fixed"; | ||
26 | regulator-name = "hsusb1_vbus"; | ||
27 | regulator-min-microvolt = <3300000>; | ||
28 | regulator-max-microvolt = <3300000>; | ||
29 | startup-delay-us = <70000>; | ||
30 | }; | ||
31 | |||
32 | /* HS USB Port 2 Power */ | ||
33 | hsusb2_power: hsusb2_power_reg { | ||
34 | compatible = "regulator-fixed"; | ||
35 | regulator-name = "hsusb2_vbus"; | ||
36 | regulator-min-microvolt = <3300000>; | ||
37 | regulator-max-microvolt = <3300000>; | ||
38 | startup-delay-us = <70000>; | ||
39 | }; | ||
40 | |||
41 | /* HS USB Host PHY on PORT 1 */ | ||
42 | hsusb1_phy: hsusb1_phy { | ||
43 | compatible = "usb-nop-xceiv"; | ||
44 | vcc-supply = <&hsusb1_power>; | ||
45 | }; | ||
46 | |||
47 | /* HS USB Host PHY on PORT 2 */ | ||
48 | hsusb2_phy: hsusb2_phy { | ||
49 | compatible = "usb-nop-xceiv"; | ||
50 | vcc-supply = <&hsusb2_power>; | ||
51 | }; | ||
22 | }; | 52 | }; |
23 | 53 | ||
24 | &omap3_pmx_core { | 54 | &omap3_pmx_core { |
@@ -70,3 +100,11 @@ | |||
70 | &i2c3 { | 100 | &i2c3 { |
71 | clock-frequency = <400000>; | 101 | clock-frequency = <400000>; |
72 | }; | 102 | }; |
103 | &usbhshost { | ||
104 | port1-mode = "ehci-phy"; | ||
105 | port2-mode = "ehci-phy"; | ||
106 | }; | ||
107 | |||
108 | &usbhsehci { | ||
109 | phys = <&hsusb1_phy &hsusb2_phy>; | ||
110 | }; | ||
diff --git a/arch/arm/boot/dts/omap3-cm-t3x30.dtsi b/arch/arm/boot/dts/omap3-cm-t3x30.dtsi index a56d0828a757..cb43929d3618 100644 --- a/arch/arm/boot/dts/omap3-cm-t3x30.dtsi +++ b/arch/arm/boot/dts/omap3-cm-t3x30.dtsi | |||
@@ -93,3 +93,11 @@ | |||
93 | /* pullups: BIT(0) */ | 93 | /* pullups: BIT(0) */ |
94 | ti,pullups = <0x000001>; | 94 | ti,pullups = <0x000001>; |
95 | }; | 95 | }; |
96 | |||
97 | &hsusb1_phy { | ||
98 | reset-gpios = <&twl_gpio 6 GPIO_ACTIVE_LOW>; | ||
99 | }; | ||
100 | |||
101 | &hsusb2_phy { | ||
102 | reset-gpios = <&twl_gpio 7 GPIO_ACTIVE_LOW>; | ||
103 | }; | ||