#include "mt7620n.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "mlw221", "ralink,mt7620n-soc";
model = "Kingston MLW221";
reset {
label = "reset";
gpios = <&gpio0 1 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
system {
label = "system";
gpios = <&gpio0 2 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_RFKILL>;
};
};
};
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
- reg = <0 0>;
+ reg = <0>;
linux,modalias = "m25p80", "s25fl129p1";
spi-max-frequency = <10000000>;