ramips: fix label-mac for Xiaomi RA75
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620a_tplink_archer-c50-v1.dts
index d564552ff0b63d4e1e369caf0331b077de0a8d74..439bc36dc3a21d4a372f750e7d65631d85153b35 100644 (file)
 };
 
 &wmac {
-       pinctrl-names = "default";
+       pinctrl-names = "default", "pa_gpio";
        pinctrl-0 = <&pa_pins>;
+       pinctrl-1 = <&pa_gpio_pins>;
 
-       mtd-mac-address = <&rom 0xf100>;
-       mtd-mac-address-increment = <(-2)>;
+       nvmem-cells = <&macaddr_rom_f100 (-2)>;
+       nvmem-cell-names = "mac-address";
 };
 
 &wifi {
-       mtd-mac-address = <&rom 0xf100>;
-       mtd-mac-address-increment = <(-1)>;
+       nvmem-cells = <&macaddr_rom_f100 (-1)>;
+       nvmem-cell-names = "mac-address";
 };