/dts-v1/;
-/include/ "bcm6318.dtsi"
+#include "bcm6318.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "D-Link DSL-2750B/DSL-2751 rev D1";
wifi {
label = "wifi";
gpios = <&gpio0 2 1>;
- linux,code = <0xee>;
+ linux,code = <KEY_WLAN>;
};
wps {
label = "wps";
gpios = <&gpio1 1 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
reset {
label = "reset";
gpios = <&gpio1 2 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};