Skip to content

Instantly share code, notes, and snippets.

@cyyself
Created August 11, 2024 06:08
Show Gist options
  • Save cyyself/7d3de89a5b3a063acf5fa2c32f0373dd to your computer and use it in GitHub Desktop.
Save cyyself/7d3de89a5b3a063acf5fa2c32f0373dd to your computer and use it in GitHub Desktop.
diff --git a/target/linux/mediatek/dts/mt7981b-cmcc-rax3000m.dts b/target/linux/mediatek/dts/mt7981b-cmcc-rax3000m.dts
index 977a613333..2ea0715f79 100644
--- a/target/linux/mediatek/dts/mt7981b-cmcc-rax3000m.dts
+++ b/target/linux/mediatek/dts/mt7981b-cmcc-rax3000m.dts
@@ -89,8 +89,8 @@
gmac1: mac@1 {
compatible = "mediatek,eth-mac";
reg = <1>;
- phy-mode = "gmii";
- phy-handle = <&int_gbe_phy>;
+ phy-mode = "2500base-x";
+ managed = "in-band-status";
};
};
@@ -148,6 +148,10 @@
status = "okay";
};
+&u3port0 {
+ mediatek,syscon-type = <&topmisc 0x218 PHY_TYPE_SGMII>;
+};
+
&watchdog {
status = "okay";
};
@@ -157,5 +161,7 @@
};
&xhci {
+ phys = <&u2port0 PHY_TYPE_USB2>;
+ mediatek,u3p-dis-msk = <0x01>;
status = "okay";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment