diff options
author | Vivek Gautam <gautam.vivek@samsung.com> | 2014-05-19 09:29:42 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-05-19 10:14:00 -0400 |
commit | 14a35ada43de1020f1947f2b1a835567c985bbe8 (patch) | |
tree | db42b9f37c5715a1245df411e9f35fa5a3c3c8b2 /arch/arm/boot/dts/exynos5420-peach-pit.dts | |
parent | a491ae63196f086c0956468ecedca627fcab8de9 (diff) |
ARM: dts: Add Vbus regulator for USB 3.0 on exynos5420-peach-pit
Add required fixed-regulator for VBUS supply for USB 3.0
controller phy.
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts/exynos5420-peach-pit.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos5420-peach-pit.dts | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts index f4b2a1667750..e15750105bba 100644 --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts | |||
@@ -65,6 +65,28 @@ | |||
65 | samsung,i2s-controller = <&i2s0>; | 65 | samsung,i2s-controller = <&i2s0>; |
66 | samsung,audio-codec = <&max98090>; | 66 | samsung,audio-codec = <&max98090>; |
67 | }; | 67 | }; |
68 | |||
69 | usb300_vbus_reg: regulator-usb300 { | ||
70 | compatible = "regulator-fixed"; | ||
71 | regulator-name = "P5.0V_USB3CON0"; | ||
72 | regulator-min-microvolt = <5000000>; | ||
73 | regulator-max-microvolt = <5000000>; | ||
74 | gpio = <&gph0 0 0>; | ||
75 | pinctrl-names = "default"; | ||
76 | pinctrl-0 = <&usb300_vbus_en>; | ||
77 | enable-active-high; | ||
78 | }; | ||
79 | |||
80 | usb301_vbus_reg: regulator-usb301 { | ||
81 | compatible = "regulator-fixed"; | ||
82 | regulator-name = "P5.0V_USB3CON1"; | ||
83 | regulator-min-microvolt = <5000000>; | ||
84 | regulator-max-microvolt = <5000000>; | ||
85 | gpio = <&gph0 1 0>; | ||
86 | pinctrl-names = "default"; | ||
87 | pinctrl-0 = <&usb301_vbus_en>; | ||
88 | enable-active-high; | ||
89 | }; | ||
68 | }; | 90 | }; |
69 | 91 | ||
70 | &pinctrl_0 { | 92 | &pinctrl_0 { |
@@ -97,6 +119,22 @@ | |||
97 | }; | 119 | }; |
98 | }; | 120 | }; |
99 | 121 | ||
122 | &pinctrl_3 { | ||
123 | usb300_vbus_en: usb300-vbus-en { | ||
124 | samsung,pins = "gph0-0"; | ||
125 | samsung,pin-function = <1>; | ||
126 | samsung,pin-pud = <0>; | ||
127 | samsung,pin-drv = <0>; | ||
128 | }; | ||
129 | |||
130 | usb301_vbus_en: usb301-vbus-en { | ||
131 | samsung,pins = "gph0-1"; | ||
132 | samsung,pin-function = <1>; | ||
133 | samsung,pin-pud = <0>; | ||
134 | samsung,pin-drv = <0>; | ||
135 | }; | ||
136 | }; | ||
137 | |||
100 | &rtc { | 138 | &rtc { |
101 | status = "okay"; | 139 | status = "okay"; |
102 | }; | 140 | }; |
@@ -186,6 +224,14 @@ | |||
186 | ddc = <&i2c_2>; | 224 | ddc = <&i2c_2>; |
187 | }; | 225 | }; |
188 | 226 | ||
227 | &usbdrd3_0 { | ||
228 | vbus-supply = <&usb300_vbus_reg>; | ||
229 | }; | ||
230 | |||
231 | &usbdrd3_1 { | ||
232 | vbus-supply = <&usb301_vbus_reg>; | ||
233 | }; | ||
234 | |||
189 | /* | 235 | /* |
190 | * Use longest HW watchdog in SoC (32 seconds) since the hardware | 236 | * Use longest HW watchdog in SoC (32 seconds) since the hardware |
191 | * watchdog provides no debugging information (compared to soft/hard | 237 | * watchdog provides no debugging information (compared to soft/hard |