#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>;
};
};
};
spidev@1 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spidev";
+ compatible = "linux,spidev";
reg = <1>;
- linux,modalias = "spidev", "spidev";
spi-max-frequency = <10000000>;
};
};
ðernet {
mtd-mac-address = <&factory 0x4>;
- ralink,port-map = "llllw";
+ mediatek,portmap = "llllw";
};
&sdhci {