summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Golle2025-05-10 01:54:09 +0000
committerDaniel Golle2025-05-26 15:58:03 +0000
commit34b176b56558b19f5cd81f8c032f981194cd5e86 (patch)
treee5396db9ec7b4014462db85bf0b3315be85298f7
parentd092e7af4097a76a5eb6d213ed58252f610cc923 (diff)
downloadopenwrt-34b176b56558b19f5cd81f8c032f981194cd5e86.tar.gz
generic: 6.12: mtk_eth_soc: adapt downstream SerDes patch
While it will hopefully be replaced soon by an upstream solution for now we keep the downstream SerDes PCS implementation for MT7988A. In order to make it work with upstream mt7988a.dtsi we have to compensate for the changed start address of topmisc which was moved from 0x11d10000 to 0x11d10084 to accomodate a future power domain controller located at 0x11d10000~0x11d10080. Hence we need to change TOP_MISC_NETSYS_PCS_MUX from 0x84 to 0x0, so the Ethernet path/mux selection can work with upstream mt7988a.dtsi. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rw-r--r--target/linux/generic/pending-6.12/737-net-ethernet-mtk_eth_soc-add-paths-and-SerDes-modes-.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/pending-6.12/737-net-ethernet-mtk_eth_soc-add-paths-and-SerDes-modes-.patch b/target/linux/generic/pending-6.12/737-net-ethernet-mtk_eth_soc-add-paths-and-SerDes-modes-.patch
index 52a15a6e09..b03b72b33d 100644
--- a/target/linux/generic/pending-6.12/737-net-ethernet-mtk_eth_soc-add-paths-and-SerDes-modes-.patch
+++ b/target/linux/generic/pending-6.12/737-net-ethernet-mtk_eth_soc-add-paths-and-SerDes-modes-.patch
@@ -695,7 +695,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
#define GEPHY_MAC_SEL BIT(1)
/* Top misc registers */
-+#define TOP_MISC_NETSYS_PCS_MUX 0x84
++#define TOP_MISC_NETSYS_PCS_MUX 0x0
+#define NETSYS_PCS_MUX_MASK GENMASK(1, 0)
+#define MUX_G2_USXGMII_SEL BIT(1)
+#define MUX_HSGMII1_G1_SEL BIT(0)