ramips: use DT trigger for 2G WiFi on ASUS RT-AC51U
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_thunder_timecloud.dts
index 195750a27d0ab509e1a84a14410f29421d7b8518..e77d754f41cf3ac0ed74649b0d6f8eccb513393b 100644 (file)
@@ -58,7 +58,7 @@
 &spi0 {
        status = "okay";
 
-       m25p80@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;
        };
 };
 
-&ethernet {
+&gmac0 {
        mtd-mac-address = <&factory 0xe000>;
 };
 
+&switch0 {
+       ports {
+               port@4 {
+                       status = "okay";
+                       label = "lan";
+               };
+       };
+};
+
 &state_default {
        gpio {
                groups = "i2c", "uart2", "jtag";