ramips: use DT trigger for 2G WiFi on ASUS RT-AC51U
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620a_zte_q7.dts
index fc07b57418c30ca75b58dbe83a61ee4da1ce5ed0..6933a86f604df6d2ea6a133473fcb834dd7c46a3 100644 (file)
@@ -52,7 +52,7 @@
 &spi0 {
        status = "okay";
 
-       m25p80@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;
 
 &state_default {
        gpio {
-               ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled";
-               ralink,function = "gpio";
+               groups = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled";
+               function = "gpio";
        };
 };
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "wllll";
 };
 
 &wmac {
-       ralink,mtd-eeprom = <&factory 0>;
+       ralink,mtd-eeprom = <&factory 0x0>;
 };
 
 &sdhci {