arm64: dts: exynos: Fix wrong label for USB 3.0 controller node
authorDongwoo Lee <dwoo08.lee@samsung.com>
Tue, 20 Jun 2017 07:12:23 +0000 (16:12 +0900)
committerKrzysztof Kozlowski <krzk@kernel.org>
Tue, 18 Jul 2017 05:03:29 +0000 (07:03 +0200)
Exynos5433 has two usb 3.0 controllers: usbhost and usbdrd. usbhost
is host-only controller whereas usbdrd supports both peripheral and
host mode. "drd" means dual-role device, so usbhost cannot be labeled
with the name containing "drd". However, the label usbdrd_dwc3_0 was
used for usbhost's dwc3 node. It seems it obviously fault because TM2
and TM2E doesn't use usbhost but dr_mode property is assigned to it.

This patch assigns the proper label for two dwc3 nodes.

Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
arch/arm64/boot/dts/exynos/exynos5433.dtsi

index 804a270..477c3bc 100644 (file)
        status = "okay";
 };
 
-&usbdrd_dwc3_0 {
+&usbdrd_dwc3 {
        dr_mode = "otg";
 };
 
index 727f36a..7fe994b 100644 (file)
                        ranges;
                        status = "disabled";
 
-                       dwc3@15400000 {
+                       usbdrd_dwc3: dwc3@15400000 {
                                compatible = "snps,dwc3";
                                reg = <0x15400000 0x10000>;
                                interrupts = <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>;
                        ranges;
                        status = "disabled";
 
-                       usbdrd_dwc3_0: dwc3@15a00000 {
+                       usbhost_dwc3: dwc3@15a00000 {
                                compatible = "snps,dwc3";
                                reg = <0x15a00000 0x10000>;
                                interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>;