diff options
author | Vivek Gautam <gautam.vivek@samsung.com> | 2014-05-19 09:32:11 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-05-30 13:09:16 -0400 |
commit | d3343157bbff75665a5ef5fda390b1b152e31cb2 (patch) | |
tree | d2fa0271f05aae02f3f6490fb8cc27acb5292114 /arch/arm/boot/dts/exynos5800-peach-pi.dts | |
parent | 4c2d3f384ca83ea03cce539f126b0a1ee6e1222b (diff) |
ARM: dts: add Vbus regulator for USB 3.0 on exynos5800-peach-pi
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/exynos5800-peach-pi.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos5800-peach-pi.dts | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts index 05ae28027266..e910de3effac 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts | |||
@@ -56,6 +56,28 @@ | |||
56 | pinctrl-0 = <&pwm0_out>; | 56 | pinctrl-0 = <&pwm0_out>; |
57 | pinctrl-names = "default"; | 57 | pinctrl-names = "default"; |
58 | }; | 58 | }; |
59 | |||
60 | usb300_vbus_reg: regulator-usb300 { | ||
61 | compatible = "regulator-fixed"; | ||
62 | regulator-name = "P5.0V_USB3CON0"; | ||
63 | regulator-min-microvolt = <5000000>; | ||
64 | regulator-max-microvolt = <5000000>; | ||
65 | gpio = <&gph0 0 0>; | ||
66 | pinctrl-names = "default"; | ||
67 | pinctrl-0 = <&usb300_vbus_en>; | ||
68 | enable-active-high; | ||
69 | }; | ||
70 | |||
71 | usb301_vbus_reg: regulator-usb301 { | ||
72 | compatible = "regulator-fixed"; | ||
73 | regulator-name = "P5.0V_USB3CON1"; | ||
74 | regulator-min-microvolt = <5000000>; | ||
75 | regulator-max-microvolt = <5000000>; | ||
76 | gpio = <&gph0 1 0>; | ||
77 | pinctrl-names = "default"; | ||
78 | pinctrl-0 = <&usb301_vbus_en>; | ||
79 | enable-active-high; | ||
80 | }; | ||
59 | }; | 81 | }; |
60 | 82 | ||
61 | &pinctrl_0 { | 83 | &pinctrl_0 { |
@@ -88,6 +110,22 @@ | |||
88 | }; | 110 | }; |
89 | }; | 111 | }; |
90 | 112 | ||
113 | &pinctrl_3 { | ||
114 | usb300_vbus_en: usb300-vbus-en { | ||
115 | samsung,pins = "gph0-0"; | ||
116 | samsung,pin-function = <1>; | ||
117 | samsung,pin-pud = <0>; | ||
118 | samsung,pin-drv = <0>; | ||
119 | }; | ||
120 | |||
121 | usb301_vbus_en: usb301-vbus-en { | ||
122 | samsung,pins = "gph0-1"; | ||
123 | samsung,pin-function = <1>; | ||
124 | samsung,pin-pud = <0>; | ||
125 | samsung,pin-drv = <0>; | ||
126 | }; | ||
127 | }; | ||
128 | |||
91 | &rtc { | 129 | &rtc { |
92 | status = "okay"; | 130 | status = "okay"; |
93 | }; | 131 | }; |
@@ -197,6 +235,14 @@ | |||
197 | ddc = <&i2c_2>; | 235 | ddc = <&i2c_2>; |
198 | }; | 236 | }; |
199 | 237 | ||
238 | &usbdrd3_0 { | ||
239 | vbus-supply = <&usb300_vbus_reg>; | ||
240 | }; | ||
241 | |||
242 | &usbdrd3_1 { | ||
243 | vbus-supply = <&usb301_vbus_reg>; | ||
244 | }; | ||
245 | |||
200 | /* | 246 | /* |
201 | * Use longest HW watchdog in SoC (32 seconds) since the hardware | 247 | * Use longest HW watchdog in SoC (32 seconds) since the hardware |
202 | * watchdog provides no debugging information (compared to soft/hard | 248 | * watchdog provides no debugging information (compared to soft/hard |