ramips: convert rt2x00 EEPROM to NVMEM format
[openwrt/staging/nbd.git] / target / linux / ramips / dts / mt7621_buffalo_wsr-600dhp.dts
index 932c36c629163840386f2280fce6d418f6a2f1b1..b6db48a347ac973231d0f62e7bfa54cdab574ba6 100644 (file)
                                        reg = <0x0 0x400>;
                                };
 
+                               eeprom_factory_8000: eeprom@8000 {
+                                       reg = <0x8000 0x200>;
+                               };
+
                                macaddr_factory_4: macaddr@4 {
                                        reg = <0x4 0x6>;
                                };
 &pcie0 {
        rt5592@0,0 {
                reg = <0x0000 0 0 0 0>;
-               ralink,mtd-eeprom = <&factory 0x8000>;
+               nvmem-cells = <&eeprom_factory_8000>;
+               nvmem-cell-names = "eeprom";
        };
 };