ramips/mt762x: convert devices to interrupt-driven gpio-keys
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_xiaomi_mir3g.dts
index b0b63f8085c73d3b3d2e2e80729faa9ea23d8abf..5044890d6c61179ee3c837682a656f13e5bffa26 100644 (file)
                led-upgrade = &led_status_yellow;
        };
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x10000000>;
-       };
-
        chosen {
                bootargs = "console=ttyS0,115200n8";
        };
@@ -60,8 +55,7 @@
        };
 
        button {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
                };
 
                factory: partition@100000 {
-                       label = "Factory";
+                       label = "factory";
                        reg = <0x100000 0x40000>;
                        read-only;
                };