#include "rt3050.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "ASL26555", "ralink,rt3050-soc";
- model = "Alpha ASL26555";
+ model = "Alpha ASL26555 (16M)";
gpio-keys-polled {
compatible = "gpio-keys-polled";
reset {
label = "reset";
gpios = <&gpio0 10 0>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
gpios = <&gpio0 12 0>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
};
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
- linux,modalias = "m25p80", "s25sl12801";
spi-max-frequency = <10000000>;
partition@0 {