ipq40xx: remove unnecessary usb nodes in DTS for ASUS RT-AC58U
authorSungbo Eo <mans0n@gorani.run>
Sat, 21 Dec 2019 12:43:24 +0000 (21:43 +0900)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 22 Dec 2019 00:04:51 +0000 (01:04 +0100)
RT-AC58U has single USB 3.0 port, and only usb3_port1 is actually used.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts

index 4e5559386e78d2ea01ba0015429d601e7f2e8bf5..f046bdcb5e92bdf1ac899471b87b63dbd9839707 100644 (file)
                        qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
                };
 
-               usb2@60f8800 {
-                       status = "okay";
-
-                       dwc3@6000000 {
-                               #address-cells = <1>;
-                               #size-cells = <0>;
-
-                               usb2_port1: port@1 {
-                                       reg = <1>;
-                                       #trigger-source-cells = <0>;
-                               };
-                       };
-               };
-
                usb3@8af8800 {
                        status = "okay";
 
                                        reg = <1>;
                                        #trigger-source-cells = <0>;
                                };
-
-                               usb3_port2: port@2 {
-                                       reg = <2>;
-                                       #trigger-source-cells = <0>;
-                               };
                        };
                };
 
                usb {
                        label = "rt-ac58u:blue:usb";
                        gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
-                       trigger-sources = <&usb3_port1>, <&usb3_port2>, <&usb2_port1>;
+                       trigger-sources = <&usb3_port1>;
                        linux,default-trigger = "usbport";
                };
 
 &usb3_hs_phy {
        status = "okay";
 };
-
-&usb2_hs_phy {
-       status = "okay";
-};
index a569a158fd772d52a3a3aa4d32f74bb714a240b6..331d8e4d7469e84ace69f7481b17d7ebe241c6e2 100644 (file)
                        qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
                };
 
-               usb2@60f8800 {
-                       status = "okay";
-
-                       dwc3@6000000 {
-                               #address-cells = <1>;
-                               #size-cells = <0>;
-
-                               usb2_port1: port@1 {
-                                       reg = <1>;
-                                       #trigger-source-cells = <0>;
-                               };
-                       };
-               };
-
                usb3@8af8800 {
                        status = "okay";
 
                                        reg = <1>;
                                        #trigger-source-cells = <0>;
                                };
-
-                               usb3_port2: port@2 {
-                                       reg = <2>;
-                                       #trigger-source-cells = <0>;
-                               };
                        };
                };
 
                usb {
                        label = "rt-ac58u:blue:usb";
                        gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
-                       trigger-sources = <&usb3_port1>, <&usb3_port2>, <&usb2_port1>;
+                       trigger-sources = <&usb3_port1>;
                        linux,default-trigger = "usbport";
                };
 
        status = "okay";
 };
 
-&usb2_hs_phy {
-       status = "okay";
-};
-
 &wifi0 {
        status = "okay";
        qcom,ath10k-calibration-variant = "RT-AC58U";