#include "mt7628an.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "mediatek,linkit", "mediatek,mt7628an-soc";
model = "MediaTek LinkIt Smart 7688";
wps {
label = "reset";
gpios = <&gpio1 6 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
};
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
- linux,modalias = "m25p80", "mx25l25635e";
spi-max-frequency = <40000000>;
m25p,chunked-io = <31>;
spidev@1 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spidev";
+ compatible = "linux,spidev";
reg = <1>;
spi-max-frequency = <40000000>;
};