Commit 32f144f2 authored by Marek Szyprowski's avatar Marek Szyprowski Committed by Kukjin Kim

ARM: dts: add 'dr_mode' property to hsotg devices for exynos boards

All currently supported boards use hsotg/dwc2 controller in device
('peripheral') mode, so add property which sets correct operation mode.
This patch fixes support in recent changes in dwc2 driver, which added
support for dual-role devices.
Suggested-by: default avatarPaul Zimmerman <paulz@synopsys.com>
Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene@kernel.org>
parent 0da65870
...@@ -140,6 +140,7 @@ &exynos_usbphy { ...@@ -140,6 +140,7 @@ &exynos_usbphy {
&hsotg { &hsotg {
vusb_d-supply = <&ldo15_reg>; vusb_d-supply = <&ldo15_reg>;
vusb_a-supply = <&ldo12_reg>; vusb_a-supply = <&ldo12_reg>;
dr_mode = "peripheral";
status = "okay"; status = "okay";
}; };
......
...@@ -131,6 +131,7 @@ &exynos_usbphy { ...@@ -131,6 +131,7 @@ &exynos_usbphy {
&hsotg { &hsotg {
vusb_d-supply = <&ldo15_reg>; vusb_d-supply = <&ldo15_reg>;
vusb_a-supply = <&ldo12_reg>; vusb_a-supply = <&ldo12_reg>;
dr_mode = "peripheral";
status = "okay"; status = "okay";
}; };
......
...@@ -91,6 +91,7 @@ vt_core_15v_reg: regulator-5 { ...@@ -91,6 +91,7 @@ vt_core_15v_reg: regulator-5 {
hsotg@12480000 { hsotg@12480000 {
vusb_d-supply = <&vusb_reg>; vusb_d-supply = <&vusb_reg>;
vusb_a-supply = <&vusbdac_reg>; vusb_a-supply = <&vusbdac_reg>;
dr_mode = "peripheral";
status = "okay"; status = "okay";
}; };
......
...@@ -71,6 +71,7 @@ vemmc_reg: voltage-regulator { ...@@ -71,6 +71,7 @@ vemmc_reg: voltage-regulator {
hsotg@12480000 { hsotg@12480000 {
vusb_d-supply = <&ldo3_reg>; vusb_d-supply = <&ldo3_reg>;
vusb_a-supply = <&ldo8_reg>; vusb_a-supply = <&ldo8_reg>;
dr_mode = "peripheral";
status = "okay"; status = "okay";
}; };
......
...@@ -381,6 +381,7 @@ exynos-usbphy@125B0000 { ...@@ -381,6 +381,7 @@ exynos-usbphy@125B0000 {
}; };
hsotg@12480000 { hsotg@12480000 {
dr_mode = "peripheral";
status = "okay"; status = "okay";
vusb_d-supply = <&ldo15_reg>; vusb_d-supply = <&ldo15_reg>;
vusb_a-supply = <&ldo12_reg>; vusb_a-supply = <&ldo12_reg>;
......
...@@ -845,6 +845,7 @@ exynos-usbphy@125B0000 { ...@@ -845,6 +845,7 @@ exynos-usbphy@125B0000 {
hsotg@12480000 { hsotg@12480000 {
vusb_d-supply = <&ldo15_reg>; vusb_d-supply = <&ldo15_reg>;
vusb_a-supply = <&ldo12_reg>; vusb_a-supply = <&ldo12_reg>;
dr_mode = "peripheral";
status = "okay"; status = "okay";
}; };
......
...@@ -355,6 +355,7 @@ &onenand { ...@@ -355,6 +355,7 @@ &onenand {
&hsotg { &hsotg {
vusb_a-supply = <&ldo3_reg>; vusb_a-supply = <&ldo3_reg>;
vusb_d-supply = <&ldo8_reg>; vusb_d-supply = <&ldo8_reg>;
dr_mode = "peripheral";
status = "okay"; status = "okay";
}; };
......
...@@ -333,6 +333,7 @@ &sdhci2 { ...@@ -333,6 +333,7 @@ &sdhci2 {
&hsotg { &hsotg {
vusb_a-supply = <&ldo3_reg>; vusb_a-supply = <&ldo3_reg>;
vusb_d-supply = <&ldo8_reg>; vusb_d-supply = <&ldo8_reg>;
dr_mode = "peripheral";
status = "okay"; status = "okay";
}; };
......
...@@ -181,6 +181,7 @@ &sdhci3 { ...@@ -181,6 +181,7 @@ &sdhci3 {
}; };
&hsotg { &hsotg {
dr_mode = "peripheral";
status = "okay"; status = "okay";
}; };
......
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