ramips: remove model name from LED labels
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7620a_planex_mzk-750dhp.dts
index 6062a76f76f4e748ab84651a949da9daf833312e..df9c9689c34e4b098559bfabdc3b54baec660324 100644 (file)
@@ -1,5 +1,3 @@
-/dts-v1/;
-
 #include "mt7620a.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
                compatible = "gpio-leds";
 
                wps {
-                       label = "mzk-750dhp:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "mzk-750dhp:green:power";
+                       label = "green:power";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
 
                wlan5g {
-                       label = "mzk-750dhp:green:wlan5g";
+                       label = "green:wlan5g";
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
                };
        };
@@ -63,7 +61,7 @@
 &spi0 {
        status = "okay";
 
-       m25p80@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;
 
 &state_default {
        gpio {
-               ralink,group = "i2c", "spi refclk", "rgmii1", "nd_sd";
-               ralink,function = "gpio";
+               groups = "i2c", "spi refclk", "rgmii1", "nd_sd";
+               function = "gpio";
        };
 };
 
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "llllw";
 };
 
 };
 
 &wmac {
-       ralink,mtd-eeprom = <&factory 0>;
+       ralink,mtd-eeprom = <&factory 0x0>;
 };
 
 &pcie {