ramips: cleanup SPI flash device tree properties usage
[openwrt/openwrt.git] / target / linux / ramips / dts / ZBT-CPE102.dts
index b93e58526a12b31c6ebfa31625dc0ba2df02f7f7..089084077dd44676d51d45bffeea1234534a1efc 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7620n.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "zbtlink,zbt-cpe102", "ralink,mt7620n-soc";
        model = "Zbtlink ZBT-CPE102";
@@ -38,7 +40,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 };
@@ -63,7 +65,6 @@
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
-               linux,modalias = "m25p80";
                spi-max-frequency = <10000000>;
 
                partition@0 {