TRGMII allows to run the CPU switch port 6 and GMAC0 at 1.2 Gb. This change should improve performance. Both ER-X and ER-X-SFP have DDR3 RAM, allowing them to take advantage of TRGMII:
https://dl.ubnt.com/datasheets/edgemax/EdgeRouter_X_DS.pdf Signed-off-by: Ilya Lipnitskiy <[email protected]> --- target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dtsi b/target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dtsi index 04eb49bfa359..abda97807e3e 100644 --- a/target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dtsi +++ b/target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dtsi @@ -22,6 +22,7 @@ &gmac0 { mtd-mac-address = <&factory 0x22>; label = "dsa"; + phy-mode = "trgmii"; }; &switch0 { @@ -58,6 +59,10 @@ mtd-mac-address = <&factory 0x22>; mtd-mac-address-increment = <4>; }; + + port@6 { + phy-mode = "trgmii"; + }; }; }; -- 2.30.2 _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
