ramips: use DT trigger for 2G WiFi on ASUS RT-AC51U
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620a_tplink_archer-c20i.dts
index a363af96cdeeb6d12c78adabdf3648790b481481..b1cde57d773f362b0a7da627a647a39d32111a88 100644 (file)
 
 &state_default {
        gpio {
-               ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd", "ephy", "spi refclk";
-               ralink,function = "gpio";
+               groups = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd", "ephy", "spi refclk";
+               function = "gpio";
        };
 };
+
+&wmac {
+       mtd-mac-address = <&rom 0xf100>;
+};
+
+&wifi {
+       mtd-mac-address = <&rom 0xf100>;
+       mtd-mac-address-increment = <(-1)>;
+};