ramips/mt762x: convert devices to interrupt-driven gpio-keys
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620a_iodata_wn-ac733gr3.dts
index ea837c4d34a757209b5104ca9f0b7d1da457c358..12e6e12f002e979769ed7df6e933d5ca5bd7458e 100644 (file)
                led-upgrade = &led_power;
        };
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x4000000>;
-       };
-
        leds {
                compatible = "gpio-leds";
 
@@ -48,8 +43,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
                                read-only;
                        };
 
-                       Factory: partition@40000 {
-                               label = "Factory";
+                       factory: partition@40000 {
+                               label = "factory";
                                reg = <0x40000 0x8000>;
                                read-only;
                        };
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii1_pins>;
-       mtd-mac-address = <&Factory 0x4>;
+       mtd-mac-address = <&factory 0x4>;
 
        port@5 {
                status = "okay";
 };
 
 &wmac {
-       ralink,mtd-eeprom = <&Factory 0x0>;
+       ralink,mtd-eeprom = <&factory 0x0>;
 };