[openwrt/openwrt] generic: 6.12: mtk_eth_soc: adapt downstream SerDes patch
LEDE Commits
lede-commits at lists.infradead.org
Mon May 26 08:58:38 PDT 2025
dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/34b176b56558b19f5cd81f8c032f981194cd5e86
commit 34b176b56558b19f5cd81f8c032f981194cd5e86
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sat May 10 02:54:09 2025 +0100
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 at makrotopia.org>
---
.../737-net-ethernet-mtk_eth_soc-add-paths-and-SerDes-modes-.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 at 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)
More information about the lede-commits
mailing list