label = "radio";
reg = <0xff0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_radio_0: eeprom@0 {
+ reg = <0x0 0xe00>;
+ };
+ };
};
};
};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&radio 0x0>;
- nvmem-cells = <&macaddr_config_8 0>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_8 0>;
+ nvmem-cell-names = "eeprom", "mac-address";
mediatek,disable-radar-background;
};
};