ramips: replace full-text licenses by SPDX identifier
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_d-team_pbr-d1.dts
index 6b3855ff0924acdc943777c25b6fd704c0eeadb0..e5c52322b66de3a3e242405ba879a8bd69ea483f 100644 (file)
@@ -1,5 +1,3 @@
-/dts-v1/;
-
 #include "mt7628an.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
                compatible = "gpio-leds";
 
                usb {
-                       label = "pbr-d1:orange:usb";
-                       gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
+                       label = "orange:usb";
+                       gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                led_power: power {
-                       label = "pbr-d1:orange:power";
-                       gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
+                       label = "orange:power";
+                       gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
-                       gpios = <&gpio1 38 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 70 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };
        };
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "gpio";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               groups = "gpio";
+               function = "gpio";
+       };
 
-               i2c {
-                       ralink,group = "i2c";
-                       ralink,function = "gpio";
-               };
+       i2c {
+               groups = "i2c";
+               function = "gpio";
+       };
 
-               i2s {
-                       ralink,group = "i2s";
-                       ralink,function = "gpio";
-               };
+       i2s {
+               groups = "i2s";
+               function = "gpio";
+       };
 
-               spis {
-                       ralink,group = "spis";
-                       ralink,function = "gpio";
-               };
+       spis {
+               groups = "spis";
+               function = "gpio";
+       };
 
-               wdt {
-                       ralink,group = "wdt";
-                       ralink,function = "gpio";
-               };
+       wdt {
+               groups = "wdt";
+               function = "gpio";
        };
 };
 
@@ -96,7 +91,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
 
-       m25p80@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <40000000>;