brcm63xx: make use of dt-includes
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / ct-5365.dts
index 7b89bf2ba477ab0c03f5e9556027a0d615edd0ef..6f452fefc1541101df65e38b9b5585fe7f46c5df 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Comtrend CT-5365";
                reset {
                        label = "reset";
                        gpios = <&gpio1 1 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                wlan {
                        label = "wlan";
                        gpios = <&gpio1 2 1>;
-                       linux,code = <0xee>;
+                       linux,code = <KEY_WLAN>;
                };
                wps {
                        label = "wps";
                        gpios = <&gpio1 3 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };