[openwrt/openwrt] mediatek: fix switch mdio id on mt7622-rfb1 on linux 6.12

LEDE Commits lede-commits at lists.infradead.org
Sat Jul 5 05:44:29 PDT 2025


nbd pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/e618ad06b3017304e482704a01cbccc5e866c483

commit e618ad06b3017304e482704a01cbccc5e866c483
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Sat Jul 5 13:50:17 2025 +0200

    mediatek: fix switch mdio id on mt7622-rfb1 on linux 6.12
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 .../mediatek/patches-6.12/100-dts-update-mt7622-rfb1.patch   | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/target/linux/mediatek/patches-6.12/100-dts-update-mt7622-rfb1.patch b/target/linux/mediatek/patches-6.12/100-dts-update-mt7622-rfb1.patch
index e00f23aba1..a9232c9b97 100644
--- a/target/linux/mediatek/patches-6.12/100-dts-update-mt7622-rfb1.patch
+++ b/target/linux/mediatek/patches-6.12/100-dts-update-mt7622-rfb1.patch
@@ -41,6 +41,18 @@
  		device_type = "memory";
  	};
  
+@@ -134,9 +133,9 @@
+ 		#address-cells = <1>;
+ 		#size-cells = <0>;
+ 
+-		switch at 0 {
++		switch at 1f {
+ 			compatible = "mediatek,mt7531";
+-			reg = <0>;
++			reg = <31>;
+ 			reset-gpios = <&pio 54 0>;
+ 
+ 			ports {
 @@ -145,22 +144,22 @@
  
  				port at 0 {




More information about the lede-commits mailing list