ramips: cleanup SPI flash device tree properties usage
[openwrt/staging/florian.git] / target / linux / ramips / dts / MT7620a_MT7610e.dts
index 52ceddcbc82ae6a557ba51e48f206b4ec486aaab..1670b9c86b023da58c25fe178c441b003268645b 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7620a.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc";
        model = "Ralink MT7620A evaluation board";
                wps {
                        label = "wps";
                        gpios = <&gpio0 12 1>;
-                       linux,code = <0x100>;
+                       linux,code = <BTN_0>;
                };
 
                reset {
                        label = "reset";
                        gpios = <&gpio0 13 1>;
-                       linux,code = <0x101>;
+                       linux,code = <BTN_1>;
                };
        };
 };
@@ -38,7 +40,6 @@
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
-               linux,modalias = "m25p80", "en25q64";
                spi-max-frequency = <1000000>;
 
                partition@0 {