#include "mt7620n.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "wt3020", "ralink,mt7620n-soc";
- model = "Nexx WT3020";
+ model = "Nexx WT3020 (8M)";
gpio-keys-polled {
compatible = "gpio-keys-polled";
reset {
label = "reset";
gpios = <&gpio0 1 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
- reg = <0 0>;
- linux,modalias = "m25p80", "w25q64";
+ reg = <0>;
spi-max-frequency = <10000000>;
partition@0 {