#include "rt5350.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "TEW-714TRU", "ralink,rt5350-soc";
model = "TRENDnet TEW714TRU";
reset {
label = "reset";
gpios = <&gpio0 10 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
gpios = <&gpio0 0 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
};
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
- linux,modalias = "m25p80", "s25fl064k";
spi-max-frequency = <10000000>;
partition@0 {