Created
September 27, 2023 13:23
-
-
Save zekica/2062af6b959c87fe5b25daf6b0eb98db to your computer and use it in GitHub Desktop.
Fix mtd-eeprom offsets for Cudy WR1300v2 and v3 that can be applied on top of OpenWRT 23.05-rc3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/target/linux/ramips/dts/mt7621_cudy_wr1300-v2.dts b/target/linux/ramips/dts/mt7621_cudy_wr1300-v2.dts | |
index a5d2fc4607..a051d6277f 100644 | |
--- a/target/linux/ramips/dts/mt7621_cudy_wr1300-v2.dts | |
+++ b/target/linux/ramips/dts/mt7621_cudy_wr1300-v2.dts | |
@@ -118,7 +118,7 @@ | |
wifi@0,0 { | |
compatible = "mediatek,mt76"; | |
reg = <0x0000 0 0 0 0>; | |
- mediatek,mtd-eeprom = <&factory 0x0000>; | |
+ mediatek,mtd-eeprom = <&factory 0x8000>; | |
nvmem-cells = <&macaddr_bdinfo_de00>; | |
nvmem-cell-names = "mac-address"; | |
}; | |
@@ -128,7 +128,7 @@ | |
wifi@0,0 { | |
compatible = "mediatek,mt76"; | |
reg = <0x0000 0 0 0 0>; | |
- mediatek,mtd-eeprom = <&factory 0x8000>; | |
+ mediatek,mtd-eeprom = <&factory 0x0000>; | |
nvmem-cells = <&macaddr_bdinfo_de00>; | |
nvmem-cell-names = "mac-address"; | |
mac-address-increment = <2>; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment