Browse Source

mediatek: add missing eeprom for ipTIME AX3000M

This change fixes the eeprom load failure while on boot

Signed-off-by: Rhnn Hur <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20044
Signed-off-by: Hauke Mehrtens <[email protected]>
Rhnn Hur 3 months ago
parent
commit
3a0581adc8
1 changed files with 6 additions and 0 deletions
  1. 6 0
      target/linux/mediatek/dts/mt7981b-iptime-ax3000m.dts

+ 6 - 0
target/linux/mediatek/dts/mt7981b-iptime-ax3000m.dts

@@ -217,6 +217,10 @@
 					#address-cells = <1>;
 					#size-cells = <1>;
 
+					eeprom_factory_0: eeprom@0 {
+						reg = <0x0 0x1000>;
+					};
+
 					macaddr_factory_4: macaddr@4 {
 						compatible = "mac-base";
 						reg = <0x4 0x6>;
@@ -249,6 +253,8 @@
 
 &wifi {
 	status = "okay";
+	nvmem-cell-names = "eeprom";
+	nvmem-cells = <&eeprom_factory_0>;
 
 	band@0 {
 		reg = <0>;