#include "mt7620a.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
chosen {
bootargs = "console=ttyS0,115200";
reset {
label = "reset";
gpios = <&gpio0 11 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
};
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
- reg = <0 0>;
+ reg = <0>;
linux,modalias = "m25p80", "w25q128";
spi-max-frequency = <10000000>;
};
&pinctrl {
- state_default {
+ state_default: pinctrl0 {
gpio {
ralink,group = "uartf", "wled", "nd_sd";
ralink,function = "gpio";