ramips: improve Xiaomi mi-mini indications
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620a_tplink_archer-mr200.dts
index ae92dc85e656eccd9a8a482091b16ab9c574cf8b..1222ff2fcd5c1bc89231d9db9ba65b639397c578 100644 (file)
 };
 
 &ethernet {
-       mtd-mac-address = <&rom 0xf100>;
+       nvmem-cells = <&macaddr_rom_f100>;
+       nvmem-cell-names = "mac-address";
 };
 
 &ehci {
        status = "okay";
 };
 
-&gsw {
-       mediatek,port4 = "ephy";
-};
-
 &wmac {
        ralink,mtd-eeprom = <&radio 0x0>;
 };
                mediatek,mtd-eeprom = <&radio 0x8000>;
        };
 };
+
+&rom {
+       compatible = "nvmem-cells";
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       macaddr_rom_f100: macaddr@f100 {
+               reg = <0xf100 0x6>;
+       };
+};