#include "rt3050.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "WL-330N3G", "ralink,rt3050-soc";
model = "Asus WL-330N3G";
reset {
label = "reset";
gpios = <&gpio0 10 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
gpios = <&gpio0 0 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
};
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
- reg = <0 0>;
- linux,modalias = "m25p80", "mx25l3205d";
+ reg = <0>;
spi-max-frequency = <10000000>;
partition@0 {