mediatek: mt7987: enable usb 3.0 by default
authorChukun Pan <[email protected]>
Thu, 6 Nov 2025 14:20:30 +0000 (22:20 +0800)
committerDaniel Golle <[email protected]>
Tue, 25 Nov 2025 16:48:28 +0000 (16:48 +0000)
There is no reason to limit USB to 2.0 mode by default. This
limitation should be done when both gmac2 and USB are enabled.

Signed-off-by: Chukun Pan <[email protected]>
target/linux/mediatek/dts/mt7987.dtsi
target/linux/mediatek/dts/mt7987a-bananapi-bpi-r4-lite.dts
target/linux/mediatek/dts/mt7987a-rfb-eth2-usb.dtso

index ba13e9e20007dc50196e693aabd0327c26ce526c..9180659a5e07b3c79155460556af1227b39121fe 100644 (file)
                                      "dma_ck";
                        #address-cells = <2>;
                        #size-cells = <2>;
-                       phys = <&tphyu2port0 PHY_TYPE_USB2>;
+                       mediatek,u3p-dis-msk = <0x0>;
+                       phys = <&tphyu2port0 PHY_TYPE_USB2>,
+                              <&tphyu3port0 PHY_TYPE_USB3>;
                        usb2-lpm-disable;
-                       mediatek,u3p-dis-msk=<1>;
                        status = "disabled";
                };
 
index f4366ce349b7ce84bed623e588e3b7c9607ba701..c209b3d4eb15353976b92223c7b0c626044c3f33 100644 (file)
 };
 
 &ssusb {
-       mediatek,u3p-dis-msk=<0>;
-       phys = <&tphyu2port0 PHY_TYPE_USB2>,
-              <&tphyu3port0 PHY_TYPE_USB3>;
        status = "okay";
 
        /*
index 3e2bea0353e20492058596160d96710f0d4c4ea3..a113ad05ccbb3736525a966b9b0b6e181cf9208b 100644 (file)
        fragment@1 {
                target-path = "/soc/usb@11200000";
                __overlay__ {
-                       phys = <&tphyu2port0 PHY_TYPE_USB2>,
-                              <&tphyu3port0 PHY_TYPE_USB3>;
-                       mediatek,u3p-dis-msk=<0>;
+                       mediatek,u3p-dis-msk = <0x1>;
+                       phys = <&tphyu2port0 PHY_TYPE_USB2>;
                };
        };
 };
-