ramips: remove model name from LED labels
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7620a_edimax_ew-7478apc.dts
index da5b428fa57ef3fc437d4a04a6fe913437d390e3..1e1b2830f02b36146dfa2b13d688a485ced95ea4 100644 (file)
@@ -1,5 +1,4 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
 
 #include "mt7620a.dtsi"
 
                led-upgrade = &led_power;
        };
 
-       chosen {
-               bootargs = "console=ttyS0,57600";
-       };
-
        keys {
                compatible = "gpio-keys";
 
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "ew-7478apc:white:power";
+                       label = "white:power";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                internet {
-                       label = "ew-7478apc:blue:internet";
+                       label = "blue:internet";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "ew-7478apc:blue:wlan";
+                       label = "blue:wlan";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "ew-7478apc:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
        };
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "i2c", "uartf", "nd_sd";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               groups = "i2c", "uartf", "nd_sd";
+               function = "gpio";
        };
 };
 
 &ethernet {
-       status = "okay";
-       mtd-mac-address = <&factory 0x4>;
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
+
+       mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "wllll";
 
        port@5 {
 };
 
 &wmac {
-       ralink,mtd-eeprom = <&factory 0>;
+       ralink,mtd-eeprom = <&factory 0x0>;
 };
 
 &pcie {