ramips: remove redundant includes in DTS files
[openwrt/staging/chunkeey.git] / target / linux / ramips / dts / mt7628an_vocore_vocore2.dtsi
index f7aec8e1f57334da71d7d9847c538e6c07c78fbc..34664bde9425bebbd2b4705ca5d9c6b0f847c835 100644 (file)
@@ -1,26 +1,28 @@
 #include "mt7628an.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
+
 / {
        compatible = "vocore,vocore2", "mediatek,mt7628an-soc";
 
+       aliases {
+               label-mac-device = &wmac;
+       };
+
        chosen {
                bootargs = "console=ttyS2,115200";
        };
 };
 
-
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "wled_an", "refclk", "wdt";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               ralink,group = "wled_an", "refclk", "wdt";
+               ralink,function = "gpio";
        };
 };
 
 &wmac {
        status = "okay";
-       ralink,mtd-eeprom = <&factory 0x4>;
 };
 
 &ethernet {