ramips: fix LAN LED trigger assignment for Xiaomi Router 3 Pro
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620n_buffalo_wmr-300.dts
index 9db47c814cf1fc4af70f0ba3900e3ec465bbc9b5..26803c0c2ad6f62b364fb6767a9c78d33fc5b0e0 100644 (file)
@@ -1,5 +1,3 @@
-/dts-v1/;
-
 #include "mt7620n.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
                compatible = "gpio-leds";
 
                aoss1 {
-                       label = "wmr-300:red:aoss";
+                       label = "red:aoss";
                        gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
                };
 
                aoss2 {
-                       label = "wmr-300:green:aoss";
+                       label = "green:aoss";
                        gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
                };
 
                led_status: status {
-                       label = "wmr-300:green:status";
+                       label = "green:status";
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                };
        };
@@ -59,7 +57,7 @@
 &spi0 {
        status = "okay";
 
-       m25p80@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "wllll";
 };
 
 &wmac {
-       ralink,mtd-eeprom = <&factory 0>;
+       ralink,mtd-eeprom = <&factory 0x0>;
 };
 
 &state_default {
        default {
-               ralink,group = "i2c", "ephy";
-               ralink,function = "gpio";
+               groups = "i2c", "ephy";
+               function = "gpio";
        };
 };