summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorVivek Gautam <gautam.vivek@samsung.com>2014-05-19 22:29:42 +0900
committerKukjin Kim <kgene.kim@samsung.com>2014-05-19 23:14:00 +0900
commit14a35ada43de1020f1947f2b1a835567c985bbe8 (patch)
treedb42b9f37c5715a1245df411e9f35fa5a3c3c8b2 /arch/arm/boot/dts
parenta491ae63196f086c0956468ecedca627fcab8de9 (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')
-rw-r--r--arch/arm/boot/dts/exynos5420-peach-pit.dts46
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 @@
samsung,i2s-controller = <&i2s0>;
samsung,audio-codec = <&max98090>;
};
+
+ usb300_vbus_reg: regulator-usb300 {
+ compatible = "regulator-fixed";
+ regulator-name = "P5.0V_USB3CON0";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ gpio = <&gph0 0 0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&usb300_vbus_en>;
+ enable-active-high;
+ };
+
+ usb301_vbus_reg: regulator-usb301 {
+ compatible = "regulator-fixed";
+ regulator-name = "P5.0V_USB3CON1";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ gpio = <&gph0 1 0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&usb301_vbus_en>;
+ enable-active-high;
+ };
};
&pinctrl_0 {
@@ -97,6 +119,22 @@
};
};
+&pinctrl_3 {
+ usb300_vbus_en: usb300-vbus-en {
+ samsung,pins = "gph0-0";
+ samsung,pin-function = <1>;
+ samsung,pin-pud = <0>;
+ samsung,pin-drv = <0>;
+ };
+
+ usb301_vbus_en: usb301-vbus-en {
+ samsung,pins = "gph0-1";
+ samsung,pin-function = <1>;
+ samsung,pin-pud = <0>;
+ samsung,pin-drv = <0>;
+ };
+};
+
&rtc {
status = "okay";
};
@@ -186,6 +224,14 @@
ddc = <&i2c_2>;
};
+&usbdrd3_0 {
+ vbus-supply = <&usb300_vbus_reg>;
+};
+
+&usbdrd3_1 {
+ vbus-supply = <&usb301_vbus_reg>;
+};
+
/*
* Use longest HW watchdog in SoC (32 seconds) since the hardware
* watchdog provides no debugging information (compared to soft/hard