ramips: move compatible for Ubiquiti Edgerouter X to DTS file
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_zbtlink_zbt-we3526.dts
index 30c941c9c8dc9cb5ecaf7062cab20b2ebe86bef6..15a4472cd8c49603eaa2860835a968800b88f3f7 100644 (file)
@@ -7,12 +7,7 @@
 
 / {
        compatible = "zbtlink,zbt-we3526", "mediatek,mt7621-soc";
-       model = "ZBT-WE3526";
-
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
-       };
+       model = "Zbtlink ZBT-WE3526";
 
        chosen {
                bootargs = "console=ttyS0,115200";
@@ -25,8 +20,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
        mtd-mac-address = <&factory 0xe000>;
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "wdt";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               ralink,group = "wdt";
+               ralink,function = "gpio";
        };
 };