#include "mt7628an.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
/ {
+ compatible = "wrtnode,wrtnode2", "mediatek,mt7628an-soc";
+
chosen {
bootargs = "console=ttyS0,115200";
};
reset {
label = "reset";
- gpios = <&gpio0 5 1>;
- linux,code = <0x198>;
+ gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_RESTART>;
};
};
};
ðernet {
mtd-mac-address = <&factory 0x4>;
- ralink,port-map = "llllw";
+ mediatek,portmap = "llllw";
};
&sdhci {