/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>;
};
};
/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>;
};
};
/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>;
};
};
/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>;
};
};
/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>;
};
};
/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>;
};
};
/dts-v1/;
-/include/ "bcm6328.dtsi"
+#include "bcm6328.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Comtrend AR-5381u";
reset {
label = "reset";
gpios = <&gpio0 23 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/dts-v1/;
-/include/ "bcm6328.dtsi"
+#include "bcm6328.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Comtrend AR-5387un";
reset {
label = "reset";
gpios = <&gpio0 23 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "ASMAX AR 1004g";
reset {
label = "reset";
gpios = <&gpio1 1 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/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>;
};
};
/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>;
};
};
/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>;
};
};
};
/dts-v1/;
-/include/ "bcm63268.dtsi"
+#include "bcm63268.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM963269BHR reference board";
reset {
label = "reset";
gpios = <&gpio1 0 0>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/dts-v1/;
-/include/ "bcm6328.dtsi"
+#include "bcm6328.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Broadcom bcm963281TAN reference board";
/dts-v1/;
-/include/ "bcm6328.dtsi"
+#include "bcm6328.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM96328avng reference board";
/dts-v1/;
-/include/ "bcm6338.dtsi"
+#include "bcm6338.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM96338GW reference board";
/dts-v1/;
-/include/ "bcm6338.dtsi"
+#include "bcm6338.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM96338W reference board";
/dts-v1/;
-/include/ "bcm6345.dtsi"
+#include "bcm6345.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM96345GW2 reference board";
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM96348GW-10 reference board";
reset {
label = "reset";
gpios = <&gpio0 6 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM96348GW-11 reference board";
reset {
label = "reset";
gpios = <&gpio1 1 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM96348GW reference board";
reset {
label = "reset";
gpios = <&gpio1 4 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Broadcom 96348R reference board";
/dts-v1/;
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM96358VW reference board";
/dts-v1/;
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM96358VW2 reference board";
/dts-v1/;
-/include/ "bcm6368.dtsi"
+#include "bcm6368.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM96368MVNgr reference board";
/dts-v1/;
-/include/ "bcm6368.dtsi"
+#include "bcm6368.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM96368MVWG reference board";
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Telsey CPVA502+";
/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>;
};
};
/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>;
};
};
/dts-v1/;
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Comtrend CT-6373";
reset {
label = "reset";
gpios = <&gpio1 3 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Comtrend CT-536+/CT-5621T";
reset {
label = "reset";
gpios = <&gpio1 1 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/dts-v1/;
-/include/ "bcm3368.dtsi"
+#include "bcm3368.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Netgear CVG834G";
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Netgear DG834G v4";
reset {
label = "reset";
gpios = <&gpio0 6 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Netgear DG834GT/PN";
reset {
label = "reset";
gpios = <&gpio0 6 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/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>;
};
};
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "D-Link DSL-2640B rev B2";
reset {
label = "reset";
gpios = <&gpio0 7 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/dts-v1/;
-/include/ "bcm6338.dtsi"
+#include "bcm6338.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "D-Link DSL-2640U/BRU/C";
/dts-v1/;
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "D-Link DSL-2650U";
/dts-v1/;
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "D-Link DSL-2740B/DSL-2741B rev C2/3";
reset {
label = "reset";
gpios = <&gpio1 2 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/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>;
};
};
/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>;
};
};
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Davolink DV-201AMR";
/dts-v1/;
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "D-Link DVA-G3810BN/TL";
reset {
label = "reset";
gpios = <&gpio1 2 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Belkin F5D7633";
reset {
label = "reset";
gpios = <&gpio0 6 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Sagem F@ST2404";
/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>;
};
};
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Sagem F@ST2604";
reset {
label = "reset";
gpios = <&gpio1 1 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/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>;
};
};
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "TECOM GW6000";
reset {
label = "reset";
gpios = <&gpio1 4 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
};
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "TECOM GW6200";
reset {
label = "reset";
gpios = <&gpio1 4 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/dts-v1/;
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Huawei EchoLife HG520v";
reset {
label = "reset";
gpios = <&gpio1 5 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/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>;
};
};
/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>;
};
};
/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>;
};
};
/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>;
};
};
/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>;
};
};
/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>;
};
};
/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>;
};
};
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Alice W-Gate";
/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>;
};
};
/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>;
};
};
/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>;
};
};
};
/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>;
};
};
/dts-v1/;
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Alcatel RG100A";
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Dynalink RTA1025W";
/dts-v1/;
-/include/ "bcm6338.dtsi"
+#include "bcm6338.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Dynalink RTA1320";
/dts-v1/;
-/include/ "bcm6345.dtsi"
+#include "bcm6345.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Siemens Gigaset SE515";
reset {
label = "reset";
gpios = <&gpio0 13 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/dts-v1/;
-/include/ "bcm6345.dtsi"
+#include "bcm6345.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Dynalink RTA770W";
reset {
label = "reset";
gpios = <&gpio0 13 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/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>;
};
};
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "T-Com Speedport W500 V";
reset {
label = "reset";
gpios = <&gpio1 1 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "TP-Link TD-W8900GB";
reset {
label = "reset";
gpios = <&gpio1 1 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "USRobotics 9108";
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "BT Voyager 2110";
reset {
label = "reset";
gpios = <&gpio1 1 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "BT Voyager V2500V";
reset {
label = "reset";
gpios = <&gpio0 31 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/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>;
};
};
};
/dts-v1/;
-/include/ "bcm6368.dtsi"
+#include "bcm6368.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Comtrend VR-3025u";
reset {
label = "reset";
gpios = <&gpio1 2 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/dts-v1/;
-/include/ "bcm6368.dtsi"
+#include "bcm6368.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Comtrend VR-3025un";
reset {
label = "reset";
gpios = <&gpio1 2 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
/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>;
};
};