ramips: convert MT7610 and MT7612 EEPROM to NVMEM format for MT7621
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7621_sercomm_na502s.dts
index 705ee0dd9bd69817d80b1d7aa00753a27fb6669a..50d4df81f607357414c07816412296192642bcaa 100644 (file)
                                reg = <0x0 0x400>;
                        };
 
+                       eeprom_factory_8000: eeprom@8000 {
+                               reg = <0x8000 0x200>;
+                       };
+
                        macaddr_factory_e000: macaddr@e000 {
                                reg = <0xe000 0x6>;
                        };
        wifi@0,0 {
                compatible = "mediatek,mt76";
                reg = <0x0000 0 0 0 0>;
-               mediatek,mtd-eeprom = <&factory 0x8000>;
-               nvmem-cells = <&macaddr_factory_e000>;
-               nvmem-cell-names = "mac-address";
+               nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_e000>;
+               nvmem-cell-names = "eeprom", "mac-address";
                mac-address-increment = <1>;
                ieee80211-freq-limit = <5000000 6000000>;
        };