ramips: mt7620: simplify DTS properties for GMAC
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7620a_zte_q7.dts
index 283e0f7232dae2f93a5627dd5cb13706cfbef881..550f750c5a418f3108406e8f2cab51d004cee112 100644 (file)
@@ -1,5 +1,3 @@
-/dts-v1/;
-
 #include "mt7620a.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
                compatible = "gpio-leds";
 
                statred {
-                       label = "zte-q7:red:status";
+                       label = "red:status";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
 
                led_status_blue: statblue {
-                       label = "zte-q7:blue:status";
+                       label = "blue:status";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
        };
        };
 };
 
-&gpio0 {
-       status = "okay";
-};
-
 &gpio1 {
        status = "okay";
 };
@@ -52,7 +46,7 @@
 &spi0 {
        status = "okay";
 
-       m25p80@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;
@@ -98,6 +92,7 @@
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "wllll";
 };
 
 &ohci {
        status = "okay";
 };
-
-&gsw {
-       mediatek,port4 = "ephy";
-};