brcm63xx: make use of dt-includes
authorJonas Gorski <jogo@openwrt.org>
Thu, 16 Jul 2015 11:15:02 +0000 (11:15 +0000)
committerJonas Gorski <jogo@openwrt.org>
Thu, 16 Jul 2015 11:15:02 +0000 (11:15 +0000)
Now that we have a dtc command that invokes the preprocessor, make use
of it and replace the magic numbers with KEY_* defines.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46391

78 files changed:
target/linux/brcm63xx/dts/a226g.dts
target/linux/brcm63xx/dts/a226m-fwb.dts
target/linux/brcm63xx/dts/a226m.dts
target/linux/brcm63xx/dts/a4001n.dts
target/linux/brcm63xx/dts/a4001n1.dts
target/linux/brcm63xx/dts/agpf-s0.dts
target/linux/brcm63xx/dts/ar-5381u.dts
target/linux/brcm63xx/dts/ar-5387un.dts
target/linux/brcm63xx/dts/ar1004g.dts
target/linux/brcm63xx/dts/bcm96318ref.dts
target/linux/brcm63xx/dts/bcm96318ref_p300.dts
target/linux/brcm63xx/dts/bcm963268bu_p300.dts
target/linux/brcm63xx/dts/bcm963269bhr.dts
target/linux/brcm63xx/dts/bcm963281TAN.dts
target/linux/brcm63xx/dts/bcm96328avng.dts
target/linux/brcm63xx/dts/bcm96338GW.dts
target/linux/brcm63xx/dts/bcm96338W.dts
target/linux/brcm63xx/dts/bcm96345GW2.dts
target/linux/brcm63xx/dts/bcm96348GW-10.dts
target/linux/brcm63xx/dts/bcm96348GW-11.dts
target/linux/brcm63xx/dts/bcm96348GW.dts
target/linux/brcm63xx/dts/bcm96348R.dts
target/linux/brcm63xx/dts/bcm96358VW.dts
target/linux/brcm63xx/dts/bcm96358VW2.dts
target/linux/brcm63xx/dts/bcm96368MVNgr.dts
target/linux/brcm63xx/dts/bcm96368MVWG.dts
target/linux/brcm63xx/dts/cpva502plus.dts
target/linux/brcm63xx/dts/cpva642.dts
target/linux/brcm63xx/dts/ct-5365.dts
target/linux/brcm63xx/dts/ct-6373.dts
target/linux/brcm63xx/dts/ct536plus.dts
target/linux/brcm63xx/dts/cvg834g.dts
target/linux/brcm63xx/dts/dg834g_v4.dts
target/linux/brcm63xx/dts/dg834gtpn.dts
target/linux/brcm63xx/dts/dgnd3700v1.dts
target/linux/brcm63xx/dts/dsl-2640b-b.dts
target/linux/brcm63xx/dts/dsl-2640u.dts
target/linux/brcm63xx/dts/dsl-2650u.dts
target/linux/brcm63xx/dts/dsl-274xb-c.dts
target/linux/brcm63xx/dts/dsl-274xb-f.dts
target/linux/brcm63xx/dts/dsl-275xb-d.dts
target/linux/brcm63xx/dts/dv-201amr.dts
target/linux/brcm63xx/dts/dva-g3810bn_tl.dts
target/linux/brcm63xx/dts/f5d7633.dts
target/linux/brcm63xx/dts/fast2404.dts
target/linux/brcm63xx/dts/fast2504n.dts
target/linux/brcm63xx/dts/fast2604.dts
target/linux/brcm63xx/dts/fast2704v2.dts
target/linux/brcm63xx/dts/gw6000.dts
target/linux/brcm63xx/dts/gw6200.dts
target/linux/brcm63xx/dts/hg520v.dts
target/linux/brcm63xx/dts/hg553.dts
target/linux/brcm63xx/dts/hg556a-a.dts
target/linux/brcm63xx/dts/hg556a-b.dts
target/linux/brcm63xx/dts/hg556a-c.dts
target/linux/brcm63xx/dts/hg655b.dts
target/linux/brcm63xx/dts/homehub2a.dts
target/linux/brcm63xx/dts/livebox-blue-5g.dts
target/linux/brcm63xx/dts/magic.dts
target/linux/brcm63xx/dts/nb4-fxc-r1.dts
target/linux/brcm63xx/dts/nb4-ser-r0.dts
target/linux/brcm63xx/dts/nb6-ser-r0.dts
target/linux/brcm63xx/dts/p870hw-51a-v2.dts
target/linux/brcm63xx/dts/rg100a.dts
target/linux/brcm63xx/dts/rta1025w.dts
target/linux/brcm63xx/dts/rta1320.dts
target/linux/brcm63xx/dts/rta770bw.dts
target/linux/brcm63xx/dts/rta770w.dts
target/linux/brcm63xx/dts/spw303v.dts
target/linux/brcm63xx/dts/spw500v.dts
target/linux/brcm63xx/dts/td-w8900gb.dts
target/linux/brcm63xx/dts/usr9108.dts
target/linux/brcm63xx/dts/v2110.dts
target/linux/brcm63xx/dts/v2500v-bb.dts
target/linux/brcm63xx/dts/vg50.dts
target/linux/brcm63xx/dts/vr-3025u.dts
target/linux/brcm63xx/dts/vr-3025un.dts
target/linux/brcm63xx/dts/wap-5813n.dts

index 1b40507..b62c68f 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Pirelli A226G";
                wps {
                        label = "wps";
                        gpios = <&gpio1 2 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
                reset {
                        label = "reset";
                        gpios = <&gpio1 5 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index 011f312..d91fffe 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Pirelli A226M-FWB";
                wps {
                        label = "wps";
                        gpios = <&gpio1 2 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
                reset {
                        label = "reset";
                        gpios = <&gpio1 5 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index 13400f2..d3f628d 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Pirelli A226M";
                wps {
                        label = "wps";
                        gpios = <&gpio1 2 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
                reset {
                        label = "reset";
                        gpios = <&gpio1 5 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index 1f8eaf6..13c5e50 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6328.dtsi"
+#include "bcm6328.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "ADB P.DG A4001N";
                reset {
                        label = "reset";
                        gpios = <&gpio0 23 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                wps {
                        label = "wps";
                        gpios = <&gpio0 24 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };
 
index 17bd643..e30d6d0 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6328.dtsi"
+#include "bcm6328.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "ADB P.DG A4001N1";
                reset {
                        label = "reset";
                        gpios = <&gpio0 23 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                wps {
                        label = "wlan";
                        gpios = <&gpio0 24 1>;
-                       linux,code = <0xee>;
+                       linux,code = <KEY_WLAN>;
                };
        };
 
index eaa45b9..4662b2d 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Pirelli Alice Gate AGPF-S0";
                wps {
                        label = "wps";
                        gpios = <&gpio1 2 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
                reset {
                        label = "reset";
                        gpios = <&gpio1 5 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index d5f728a..a148ec4 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6328.dtsi"
+#include "bcm6328.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Comtrend AR-5381u";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 23 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index a8883e2..c30da06 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6328.dtsi"
+#include "bcm6328.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Comtrend AR-5387un";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 23 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index fdd5c47..0740799 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "ASMAX AR 1004g";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 1 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index 84b3336..79137db 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6318.dtsi"
+#include "bcm6318.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom BCM96318REF reference board";
                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>;
                };
         };
 
index 5d91d76..be1db5a 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6318.dtsi"
+#include "bcm6318.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom BCM96318REF_P300 reference board";
                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>;
                };
         };
 
index cbf63ef..f659b39 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm63268.dtsi"
+#include "bcm63268.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom BCM963268BU_P300 reference board";
                reset {
                        label = "reset";
                        gpios = <&gpio1 0 0>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
 
                wps {
                        label = "wps";
                        gpios = <&gpio1 1 0>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
         };
 };
index dcef989..01a7680 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm63268.dtsi"
+#include "bcm63268.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom BCM963269BHR reference board";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 0 0>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
         };
 
index f257125..21b329a 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6328.dtsi"
+#include "bcm6328.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom bcm963281TAN reference board";
index 8dbdbda..3ed4b22 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6328.dtsi"
+#include "bcm6328.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom BCM96328avng reference board";
index d378df1..d7af9ef 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6338.dtsi"
+#include "bcm6338.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom BCM96338GW reference board";
index 9cca783..4904073 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6338.dtsi"
+#include "bcm6338.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom BCM96338W reference board";
index 35417ab..7214185 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6345.dtsi"
+#include "bcm6345.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom BCM96345GW2 reference board";
index 173a8c3..5f60d36 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom BCM96348GW-10 reference board";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 6 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index 15828a1..efd3e91 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom BCM96348GW-11 reference board";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 1 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index fcce239..cf40e52 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom BCM96348GW reference board";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 4 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index 69842b1..d7df2a9 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom 96348R reference board";
index 57e26f6..ff92499 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom BCM96358VW reference board";
index 730426f..8f7070a 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom BCM96358VW2 reference board";
index fa3e6e8..21f1395 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6368.dtsi"
+#include "bcm6368.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom BCM96368MVNgr reference board";
index 0fb3566..04442ab 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6368.dtsi"
+#include "bcm6368.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom BCM96368MVWG reference board";
index 3cb702d..f00d73e 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Telsey CPVA502+";
index b9a215a..8d72e02 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Telsey CPVA642-type (CPA-ZNTE60T)";
                reset {
                        label = "reset";
                        gpios = <&gpio1 4 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                wps {
                        label = "wps";
                        gpios = <&gpio1 5 0>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };
 
index 7b89bf2..6f452fe 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>;
                };
        };
 
index b8be39d..d6f0f8b 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Comtrend CT-6373";
@@ -36,7 +38,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 3 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index c92bc90..c05068a 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Comtrend CT-536+/CT-5621T";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 1 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index d75316b..b61a07c 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm3368.dtsi"
+#include "bcm3368.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Netgear CVG834G";
index 8cbb3f3..1485300 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Netgear DG834G v4";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 6 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index f4ece9e..8894358 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Netgear DG834GT/PN";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 6 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index b349576..8c8c0bf 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6368.dtsi"
+#include "bcm6368.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Netgear DGND3700v1/DGND3800B";
                wlan {
                        label = "wlan";
                        gpios = <&gpio0 10 1>;
-                       linux,code = <0xee>;
+                       linux,code = <KEY_WLAN>;
                };
                reset {
                        label = "reset";
                        gpios = <&gpio0 12 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                wps {
                        label = "wps";
                        gpios = <&gpio1 3 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };
 
index 6f2bda6..83b36a5 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "D-Link DSL-2640B rev B2";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 7 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index c2b3daf..d3d2772 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6338.dtsi"
+#include "bcm6338.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "D-Link DSL-2640U/BRU/C";
index 7e88e01..2847c18 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "D-Link DSL-2650U";
index 1546b6a..29ae125 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "D-Link DSL-2740B/DSL-2741B rev C2/3";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 2 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index f8ad084..fb1ded7 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6328.dtsi"
+#include "bcm6328.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "D-Link DSL-2740B/DSL-2741B rev F1";
                wifi {
                        label = "wifi";
                        gpios = <&gpio0 10 1>;
-                       linux,code = <0xee>;
+                       linux,code = <KEY_WLAN>;
                };
                reset {
                        label = "reset";
                        gpios = <&gpio0 23 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                wps {
                        label = "wps";
                        gpios = <&gpio0 24 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };
 
index 44c4c5e..dd00e2c 100644 (file)
@@ -1,6 +1,8 @@
 /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>;
                };
        };
 
index 9f8660a..f792ac2 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Davolink DV-201AMR";
index 263485d..2009825 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "D-Link DVA-G3810BN/TL";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 2 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index 81e1e25..519df1e 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Belkin F5D7633";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 6 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index 92ba6bf..5309703 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Sagem F@ST2404";
index a3bb927..cf453af 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6362.dtsi"
+#include "bcm6362.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Sagem F@ST2504n";
                reset {
                        label = "reset";
                        gpios = <&gpio0 24 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                wps {
                        label = "wps";
                        gpios = <&gpio0 25 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };
 
index b5bc487..c6b71d1 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Sagem F@ST2604";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 1 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index 053ad35..3f56827 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6328.dtsi"
+#include "bcm6328.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Sagem F@ST2704V2";
                rfkill {
                        label = "rfkill";
                        gpios = <&gpio0 15 1>;
-                       linux,code = <0xee>;
+                       linux,code = <KEY_WLAN>;
                };
                reset {
                        label = "reset";
                        gpios = <&gpio0 23 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                wps {
                        label = "wps";
                        gpios = <&gpio0 24 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };
 
index a9f8028..69424e0 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "TECOM GW6000";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 4 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 };
index 2ffdf96..2bd4381 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "TECOM GW6200";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 4 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index 88647fa..7b6b36f 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Huawei EchoLife HG520v";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 5 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index 4d79824..b23ceaa 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Huawei EchoLife HG553";
                rfkill {
                        label = "rfkill";
                        gpios = <&gpio0 9 1>;
-                       linux,code = <0xf7>;
+                       linux,code = <KEY_RFKILL>;
                };
 
                reset {
                        label = "reset";
                        gpios = <&gpio1 5 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index 70f10dc..98e0a83 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Huawei EchoLife HG556a (version A)";
                help {
                        label = "help";
                        gpios = <&gpio0 8 1>;
-                       linux,code = <0x8a>;
+                       linux,code = <KEY_HELP>;
                };
                wlan {
                        label = "wlan";
                        gpios = <&gpio0 9 1>;
-                       linux,code = <0xee>;
+                       linux,code = <KEY_WLAN>;
                };
                restart {
                        label = "restart";
                        gpios = <&gpio0 10 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                reset {
                        label = "reset";
                        gpios = <&gpio0 11 1>;
-                       linux,code = <0xab>;
+                       linux,code = <KEY_CONFIG>;
                };
        };
 
index b42e86f..8a19856 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Huawei EchoLife HG556a (version B)";
                help {
                        label = "help";
                        gpios = <&gpio0 8 1>;
-                       linux,code = <0x8a>;
+                       linux,code = <KEY_HELP>;
                };
                wlan {
                        label = "wlan";
                        gpios = <&gpio0 9 1>;
-                       linux,code = <0xee>;
+                       linux,code = <KEY_WLAN>;
                };
                restart {
                        label = "restart";
                        gpios = <&gpio0 10 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                reset {
                        label = "reset";
                        gpios = <&gpio0 11 1>;
-                       linux,code = <0xab>;
+                       linux,code = <KEY_CONFIG>;
                };
        };
 
index 4c845ed..9798091 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Huawei EchoLife HG556a (version C)";
                help {
                        label = "help";
                        gpios = <&gpio0 8 1>;
-                       linux,code = <0x8a>;
+                       linux,code = <KEY_HELP>;
                };
                wlan {
                        label = "wlan";
                        gpios = <&gpio0 9 1>;
-                       linux,code = <0xee>;
+                       linux,code = <KEY_WLAN>;
                };
                restart {
                        label = "restart";
                        gpios = <&gpio0 10 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                reset {
                        label = "reset";
                        gpios = <&gpio0 11 1>;
-                       linux,code = <0xab>;
+                       linux,code = <KEY_CONFIG>;
                };
        };
 
index 256233d..b7722df 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6368.dtsi"
+#include "bcm6368.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Huawei HG655b";
                wps {
                        label = "wps";
                        gpios = <&gpio0 12 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
                wlan {
                        label = "wlan";
                        gpios = <&gpio0 23 1>;
-                       linux,code = <0xee>;
+                       linux,code = <KEY_WLAN>;
                };
                reset {
                        label = "reset";
                        gpios = <&gpio1 2 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index 28de528..9e7ce2f 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "BT Home Hub 2.0 Type A";
                reset {
                        label = "reset";
                        gpios = <&gpio0 9 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                wps {
                        label = "wps";
                        gpios = <&gpio0 11 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };
 
index 523bbe9..bc3d403 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Inventel Livebox 1";
                button1 {
                        label = "BTN_1";
                        gpios = <&gpio1 4 1>;
-                       linux,code = <0x101>;
+                       linux,code = <BTN_1>;
                };
 
                button2 {
                        label = "BTN_2";
                        gpios = <&gpio0 7 1>;
-                       linux,code = <0x102>;
+                       linux,code = <BTN_2>;
                };
        };
 
index bdefbee..b923ee8 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Alice W-Gate";
index 0e9cc24..65f26c7 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "SFR Neuf Box 4 (Foxconn)";
                service {
                        label = "service";
                        gpios = <&gpio0 27 1>;
-                       linux,code = <0x100>;
+                       linux,code = <BTN_0>;
                };
                clip {
                        label = "clip";
                        gpios = <&gpio0 31 1>;
-                       linux,code = <0x101>;
+                       linux,code = <BTN_1>;
                };
                reset {
                        label = "reset";
                        gpios = <&gpio1 2 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                wps {
                        label = "wps";
                        gpios = <&gpio1 5 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };
 
index d7abbf1..1a48b72 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "SFR Neuf Box 4 (Sercomm)";
                service {
                        label = "service";
                        gpios = <&gpio0 27 1>;
-                       linux,code = <0x100>;
+                       linux,code = <BTN_0>;
                };
                clip {
                        label = "clip";
                        gpios = <&gpio0 31 1>;
-                       linux,code = <0x101>;
+                       linux,code = <BTN_1>;
                };
                reset {
                        label = "reset";
                        gpios = <&gpio1 2 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                wps {
                        label = "wps";
                        gpios = <&gpio1 5 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };
 
index ae16ad3..c23ff90 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6362.dtsi"
+#include "bcm6362.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "SFR neufbox 6 (Sercomm)";
                service {
                        label = "service";
                        gpios = <&gpio0 10 1>;
-                       linux,code = <0x100>;
+                       linux,code = <BTN_0>;
                };
                wlan {
                        label = "wlan";
                        gpios = <&gpio0 12 1>;
-                       linux,code = <0xee>;
+                       linux,code = <KEY_WLAN>;
                };
                reset {
                        label = "reset";
                        gpios = <&gpio0 24 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                wps {
                        label = "wps";
                        gpios = <&gpio0 25 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };
 };
index 7c9c65c..606b896 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6368.dtsi"
+#include "bcm6368.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Zyxel P870HW-51a v2";
                reset {
                        label = "reset";
                        gpios = <&gpio1 2 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                wps {
                        label = "wps";
                        gpios = <&gpio1 3 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };
 
index 824b5e4..503ae57 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Alcatel RG100A";
index 91c02f7..5d0dce0 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Dynalink RTA1025W";
index 30c1f14..c8c2827 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6338.dtsi"
+#include "bcm6338.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Dynalink RTA1320";
index 73f737a..d24334e 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6345.dtsi"
+#include "bcm6345.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Siemens Gigaset SE515";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 13 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
         };
 
index b6c340f..2c2d6fb 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6345.dtsi"
+#include "bcm6345.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Dynalink RTA770W";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 13 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
         };
 
index ed3c322..2dcf752 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "T-Com Speedport W303 V";
                reset {
                        label = "reset";
                        gpios = <&gpio0 11 0>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                ses {
                        label = "ses";
                        gpios = <&gpio1 5 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };
 
index 9c1feff..2fcf958 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "T-Com Speedport W500 V";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 1 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index 74fef37..a1480f6 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "TP-Link TD-W8900GB";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 1 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index b50d597..64a5ab3 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "USRobotics 9108";
index 0721d24..2605339 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "BT Voyager 2110";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 1 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index 5f06c63..5a9223f 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "BT Voyager V2500V";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 31 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index 3d1165c..f95fa95 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm63268.dtsi"
+#include "bcm63268.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Inteno VG50";
                reset {
                        label = "reset";
                        gpios = <&gpio1 0 0>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
 
                wps {
                        label = "wps";
                        gpios = <&gpio1 2 0>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
         };
 };
index a48b8f9..b24b590 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6368.dtsi"
+#include "bcm6368.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Comtrend VR-3025u";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 2 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index 8dfec31..124045f 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6368.dtsi"
+#include "bcm6368.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Comtrend VR-3025un";
@@ -16,7 +18,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 2 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
index f7765d5..1c31c57 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "bcm6368.dtsi"
+#include "bcm6368.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Comtrend WAP-5813n";
                wlan {
                        label = "wlan";
                        gpios = <&gpio1 0 1>;
-                       linux,code = <0xee>;
+                       linux,code = <KEY_WLAN>;
                };
                reset {
                        label = "reset";
                        gpios = <&gpio1 2 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                wps {
                        label = "wps";
                        gpios = <&gpio1 3 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };