ramips: replace full-text licenses by SPDX identifier
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620a_alfa-network_r36m-e4g.dts
index ce839f72f11ad8b567338a13225a139aeec1b169..58386a9ac7f48839eea2678232f62a4f40ced809 100644 (file)
@@ -1,5 +1,4 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
 
 #include "mt7620a.dtsi"
 
                compatible = "gpio-leds";
 
                4g {
-                       label = "r36m-e4g:orange:4g";
+                       label = "orange:4g";
                        gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "r36m-e4g:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
                };
 
                led_system: system {
-                       label = "r36m-e4g:green:system";
+                       label = "green:system";
                        gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
                        default-state = "keep";
                };
 
                sim1 {
-                       label = "r36m-e4g:green:sim1";
+                       label = "green:sim1";
                        gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
                        default-state = "keep";
                };
 
                sim2 {
-                       label = "r36m-e4g:green:sim2";
+                       label = "green:sim2";
                        gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
                        default-state = "keep";
                };
 
                wan {
-                       label = "r36m-e4g:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "r36m-e4g:orange:wlan";
+                       label = "orange:wlan";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0radio";
                };
        status = "okay";
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "ephy", "pcie", "rgmii1", "wled";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               groups = "ephy", "pcie", "rgmii1", "wled";
+               function = "gpio";
        };
 };
 
 };
 
 &wmac {
-       ralink,mtd-eeprom = <&factory 0>;
+       ralink,mtd-eeprom = <&factory 0x0>;
 };