ramips: replace full-text licenses by SPDX identifier
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620a_dovado_tiny-ac.dts
index d0229e47182ea9b1b11e9a6fe943e98e57399756..9450596f1b0d85a8ffd6084cb0b6276d421c6e2f 100644 (file)
@@ -1,5 +1,3 @@
-/dts-v1/;
-
 #include "mt7620a.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
@@ -9,22 +7,18 @@
        compatible = "dovado,tiny-ac", "ralink,mt7620a-soc";
        model = "Dovado Tiny AC";
 
-       chosen {
-               bootargs = "console=ttyS0,57600";
-       };
-
        leds {
                compatible = "gpio-leds";
 
                usb {
-                       label = "tiny-ac:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                wifi {
-                       label = "tiny-ac:orange:wifi";
+                       label = "orange:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
        };
 };
 
-&gpio0 {
-       status = "okay";
-};
-
 &gpio2 {
        status = "okay";
 };
@@ -66,7 +56,7 @@
 &spi0 {
        status = "okay";
 
-       m25p80@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;
 };
 
 &ethernet {
-       status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
+
        mediatek,portmap = "llllw";
 
        port@4 {
        status = "okay";
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "uartf", "nd_sd", "wled";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               groups = "uartf", "nd_sd", "wled";
+               function = "gpio";
        };
 };