Commit d3343157 authored by Vivek Gautam's avatar Vivek Gautam Committed by Kukjin Kim

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: default avatarVivek Gautam <gautam.vivek@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 4c2d3f38
...@@ -56,6 +56,28 @@ backlight { ...@@ -56,6 +56,28 @@ backlight {
pinctrl-0 = <&pwm0_out>; pinctrl-0 = <&pwm0_out>;
pinctrl-names = "default"; pinctrl-names = "default";
}; };
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 { &pinctrl_0 {
...@@ -88,6 +110,22 @@ hdmi_hpd_irq: hdmi-hpd-irq { ...@@ -88,6 +110,22 @@ hdmi_hpd_irq: hdmi-hpd-irq {
}; };
}; };
&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 { &rtc {
status = "okay"; status = "okay";
}; };
...@@ -197,6 +235,14 @@ &hdmi { ...@@ -197,6 +235,14 @@ &hdmi {
ddc = <&i2c_2>; 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 * Use longest HW watchdog in SoC (32 seconds) since the hardware
* watchdog provides no debugging information (compared to soft/hard * watchdog provides no debugging information (compared to soft/hard
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment