ramips: mt7620: simplify DTS properties for GMAC
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7620a_planex_cs-qr10.dts
index 4466c56fd40d64738185a689a8dd11ba7f94089c..3edc41ac0d9df4129a504a6ae582359e4754470b 100644 (file)
@@ -1,5 +1,3 @@
-/dts-v1/;
-
 #include "mt7620a.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
@@ -20,7 +18,7 @@
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "cs-qr10:red:power";
+                       label = "red:power";
                        gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
                };
        };
        };
 };
 
-&gpio0 {
-       status = "okay";
-};
-
 &gpio1 {
        status = "okay";
 };
 
-&gpio2 {
-       status = "okay";
-};
-
-&gpio3 {
-       status = "okay";
-};
-
 &i2c {
        status = "okay";
 };
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
        mtd-mac-address = <&factory 0x4>;
-       mediatek,portmap = "llllw";
-};
 
-&gsw {
-       ralink,port4 = "ephy";
+       mediatek,portmap = "llllw";
 };
 
 &sdhci {