ramips: move dts-v1 statement to top-level DTSI files
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / rt2880_buffalo_wzr-agl300nh.dts
index c6a90d426a3d2b7624c0c7433d5eb4c6764ed1eb..13f933b6394a918e69767e6807f76de41d4c21d2 100644 (file)
@@ -1,5 +1,3 @@
-/dts-v1/;
-
 #include "rt2880.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
@@ -18,7 +16,7 @@
                led-upgrade = &led_router;
        };
 
-       cfi@1f000000 {
+       flash@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
                bank-width = <2>;
        status = "okay";
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "i2c", "uartlite", "mdio";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               groups = "i2c", "uartlite", "mdio";
+               function = "gpio";
        };
 };
 
 };
 
 &wmac {
-       ralink,mtd-eeprom = <&factory 0>;
+       ralink,mtd-eeprom = <&factory 0x0>;
 };