ramips: convert MT7613 and MT7615 EEPROM to NVMEM format for MT7621
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_linksys_e5600.dts
index 32015b6a2afb0968e5602143f9f6d853f9ad49ad..c1b8048f0cf22adcafe415e9dab56a64289b57b5 100644 (file)
                        eeprom_factory_0: eeprom@0 {
                                reg = <0x0 0x400>;
                        };
+
+                       eeprom_factory_8000: eeprom@8000 {
+                               reg = <0x8000 0x4da8>;
+                       };
                };
 
                partition@100000 {
        mt76@0,0 {
                compatible = "mediatek,mt76";
                reg = <0x0000 0 0 0 0>;
-               mediatek,mtd-eeprom = <&factory 0x8000>;
+               nvmem-cells = <&eeprom_factory_8000>;
+               nvmem-cell-names = "eeprom";
        };
 };