ARM: dts: add 'dr_mode' property to hsotg devices for exynos boards
authorMarek Szyprowski <m.szyprowski@samsung.com>
Sat, 24 Jan 2015 04:12:03 +0000 (13:12 +0900)
committerKukjin Kim <kgene@kernel.org>
Sat, 24 Jan 2015 04:24:06 +0000 (13:24 +0900)
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: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/boot/dts/exynos3250-monk.dts
arch/arm/boot/dts/exynos3250-rinato.dts
arch/arm/boot/dts/exynos4210-trats.dts
arch/arm/boot/dts/exynos4210-universal_c210.dts
arch/arm/boot/dts/exynos4412-odroid-common.dtsi
arch/arm/boot/dts/exynos4412-trats2.dts
arch/arm/boot/dts/s5pv210-aquila.dts
arch/arm/boot/dts/s5pv210-goni.dts
arch/arm/boot/dts/s5pv210-smdkv210.dts

index 5e4a471faee168035d2d1f54f595525292d27883..683596844ef32b10d8d5a0be222fd6ee4ab56b61 100644 (file)
 &hsotg {
        vusb_d-supply = <&ldo15_reg>;
        vusb_a-supply = <&ldo12_reg>;
+       dr_mode = "peripheral";
        status = "okay";
 };
 
index c7f4fab6dfd9308e9018fee4f97090d197349a09..5121954579ad9163358a198cf22eabd68c35ae8b 100644 (file)
 &hsotg {
        vusb_d-supply = <&ldo15_reg>;
        vusb_a-supply = <&ldo12_reg>;
+       dr_mode = "peripheral";
        status = "okay";
 };
 
index 720836205546f22dd078d590aef80664d2af7011..1c0c7be02616a98d0d2f5495d455bba9f291e478 100644 (file)
@@ -91,6 +91,7 @@
        hsotg@12480000 {
                vusb_d-supply = <&vusb_reg>;
                vusb_a-supply = <&vusbdac_reg>;
+               dr_mode = "peripheral";
                status = "okay";
        };
 
index aaf0cae4f5e87bd976d34a591f52f11b5f4990c5..08f89e0ff2b813b7107e1737b2f0cc9356250b6e 100644 (file)
@@ -71,6 +71,7 @@
        hsotg@12480000 {
                vusb_d-supply = <&ldo3_reg>;
                vusb_a-supply = <&ldo8_reg>;
+               dr_mode = "peripheral";
                status = "okay";
        };
 
index 3fbf588682b94fcf8f6b340ad266794741825f34..ffcf17bbf63b1ac9063f8b7f01fbbf265ef24893 100644 (file)
        };
 
        hsotg@12480000 {
+               dr_mode = "peripheral";
                status = "okay";
                vusb_d-supply = <&ldo15_reg>;
                vusb_a-supply = <&ldo12_reg>;
index 29231b4526433ef0fbae30e81d81088671dc3ac1..c81c4769411d1cf02e9b4e812e044b77a4d35d64 100644 (file)
        hsotg@12480000 {
                vusb_d-supply = <&ldo15_reg>;
                vusb_a-supply = <&ldo12_reg>;
+               dr_mode = "peripheral";
                status = "okay";
        };
 
index aa31b84a707acc369fea5a8a22350a9a7a19099b..f00cea7aca2fa60aae25723189c5158a8d24b880 100644 (file)
 &hsotg {
        vusb_a-supply = <&ldo3_reg>;
        vusb_d-supply = <&ldo8_reg>;
+       dr_mode = "peripheral";
        status = "okay";
 };
 
index 6387c77a6f7bd1c8ec8c04be46dcb6b1d0edd67e..a3d4643b202e7552ed780370a2455ffbb51b990a 100644 (file)
 &hsotg {
        vusb_a-supply = <&ldo3_reg>;
        vusb_d-supply = <&ldo8_reg>;
+       dr_mode = "peripheral";
        status = "okay";
 };
 
index cb8521899ec8478fd2303a49d7210e8053388add..da7d210df6704d4304809e290114f3b05bb7506a 100644 (file)
 };
 
 &hsotg {
+       dr_mode = "peripheral";
        status = "okay";
 };