[PATCH] ramips: fix DTS EEPROM property for some MT7628 devices

Shiji Yang yangshiji66 at outlook.com
Sun Oct 1 20:41:49 PDT 2023


From: Shiji Yang <yangshiji66 at qq.com>

The MT7628 integrated wireless is driven by `mt76`, so the right
EEPROM property name is `mediatek,mtd-eeprom`.

Signed-off-by: Shiji Yang <yangshiji66 at qq.com>
---
 target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts | 1 -
 target/linux/ramips/dts/mt7628an_xiaomi_mi-ra75.dts      | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts b/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts
index 3797565908..f712a280c5 100644
--- a/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts
+++ b/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts
@@ -87,7 +87,6 @@
 	status = "okay";
 
 	mediatek,mtd-eeprom = <&factory 0x0>;
-	ralink,mtd-eeprom = <&art 0x0>;
 };
 
 &pcie {
diff --git a/target/linux/ramips/dts/mt7628an_xiaomi_mi-ra75.dts b/target/linux/ramips/dts/mt7628an_xiaomi_mi-ra75.dts
index 173bcd992d..2dd855bf8f 100644
--- a/target/linux/ramips/dts/mt7628an_xiaomi_mi-ra75.dts
+++ b/target/linux/ramips/dts/mt7628an_xiaomi_mi-ra75.dts
@@ -95,7 +95,7 @@
 };
 
 &wmac {
-	ralink,mtd-eeprom = <&factory 0x0>;
+	mediatek,mtd-eeprom = <&factory 0x0>;
 };
 
 
-- 
2.39.2




More information about the openwrt-devel mailing list