/dts-v1/;
-/include/ "mt7628an.dtsi"
+#include "mt7628an.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
compatible = "duzun,dm06-mt7628an", "mediatek,mt7628an-soc";
reset {
label = "reset";
gpios = <&gpio1 14 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
gpios = <&gpio1 6 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
};
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
- linux,modalias = "m25p80";
spi-max-frequency = <60000000>;
m25p,chunked-io = <32>;
m25p,fast-read;