brcm63xx: make use of dt-includes

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
This commit is contained in:
Jonas Gorski 2015-07-16 11:15:02 +00:00
parent 71e0bd0165
commit 4981c7da0d
78 changed files with 340 additions and 184 deletions

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6358.dtsi"
#include "bcm6358.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Pirelli A226G";
@ -16,12 +18,12 @@
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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6358.dtsi"
#include "bcm6358.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Pirelli A226M-FWB";
@ -16,12 +18,12 @@
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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6358.dtsi"
#include "bcm6358.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Pirelli A226M";
@ -16,12 +18,12 @@
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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6328.dtsi"
#include "bcm6328.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "ADB P.DG A4001N";
@ -16,12 +18,12 @@
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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6328.dtsi"
#include "bcm6328.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "ADB P.DG A4001N1";
@ -16,12 +18,12 @@
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>;
};
};

View 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";
@ -16,12 +18,12 @@
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>;
};
};

View 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>;
};
};

View 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>;
};
};

View 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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6318.dtsi"
#include "bcm6318.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM96318REF reference board";
@ -16,13 +18,13 @@
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>;
};
};

View 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";
@ -16,13 +18,13 @@
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>;
};
};

View 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";
@ -16,13 +18,13 @@
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>;
};
};
};

View 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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6328.dtsi"
#include "bcm6328.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Broadcom bcm963281TAN reference board";

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6328.dtsi"
#include "bcm6328.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM96328avng reference board";

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6338.dtsi"
#include "bcm6338.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM96338GW reference board";

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6338.dtsi"
#include "bcm6338.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM96338W reference board";

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6345.dtsi"
#include "bcm6345.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM96345GW2 reference board";

View 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>;
};
};

View 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>;
};
};

View 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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6348.dtsi"
#include "bcm6348.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Broadcom 96348R reference board";

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6358.dtsi"
#include "bcm6358.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM96358VW reference board";

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6358.dtsi"
#include "bcm6358.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM96358VW2 reference board";

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6368.dtsi"
#include "bcm6368.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM96368MVNgr reference board";

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6368.dtsi"
#include "bcm6368.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM96368MVWG reference board";

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6348.dtsi"
#include "bcm6348.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Telsey CPVA502+";

View 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)";
@ -16,12 +18,12 @@
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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6348.dtsi"
#include "bcm6348.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Comtrend CT-5365";
@ -16,17 +18,17 @@
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>;
};
};

View 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>;
};
};

View 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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm3368.dtsi"
#include "bcm3368.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Netgear CVG834G";

View 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>;
};
};

View 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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6368.dtsi"
#include "bcm6368.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Netgear DGND3700v1/DGND3800B";
@ -16,17 +18,17 @@
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>;
};
};

View 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>;
};
};

View 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";

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6358.dtsi"
#include "bcm6358.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "D-Link DSL-2650U";

View 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>;
};
};

View 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";
@ -16,17 +18,17 @@
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>;
};
};

View 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";
@ -16,19 +18,19 @@
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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6348.dtsi"
#include "bcm6348.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Davolink DV-201AMR";

View 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>;
};
};

View 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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6348.dtsi"
#include "bcm6348.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Sagem F@ST2404";

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6362.dtsi"
#include "bcm6362.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Sagem F@ST2504n";
@ -16,12 +18,12 @@
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>;
};
};

View 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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6328.dtsi"
#include "bcm6328.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Sagem F@ST2704V2";
@ -16,17 +18,17 @@
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>;
};
};

View 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>;
};
};
};

View 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>;
};
};

View 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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6358.dtsi"
#include "bcm6358.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Huawei EchoLife HG553";
@ -16,13 +18,13 @@
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>;
};
};

View 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)";
@ -16,22 +18,22 @@
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>;
};
};

View 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)";
@ -16,22 +18,22 @@
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>;
};
};

View 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)";
@ -16,22 +18,22 @@
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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6368.dtsi"
#include "bcm6368.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Huawei HG655b";
@ -16,17 +18,17 @@
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>;
};
};

View 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";
@ -42,12 +44,12 @@
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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6348.dtsi"
#include "bcm6348.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Inventel Livebox 1";
@ -17,13 +19,13 @@
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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6348.dtsi"
#include "bcm6348.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Alice W-Gate";

View 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)";
@ -36,22 +38,22 @@
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>;
};
};

View 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)";
@ -36,22 +38,22 @@
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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6362.dtsi"
#include "bcm6362.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "SFR neufbox 6 (Sercomm)";
@ -16,22 +18,22 @@
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>;
};
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6368.dtsi"
#include "bcm6368.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Zyxel P870HW-51a v2";
@ -16,12 +18,12 @@
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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6358.dtsi"
#include "bcm6358.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Alcatel RG100A";

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6348.dtsi"
#include "bcm6348.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Dynalink RTA1025W";

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6338.dtsi"
#include "bcm6338.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Dynalink RTA1320";

View 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>;
};
};

View 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>;
};
};

View 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";
@ -16,12 +18,12 @@
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>;
};
};

View 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>;
};
};

View 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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6348.dtsi"
#include "bcm6348.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "USRobotics 9108";

View 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>;
};
};

View 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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm63268.dtsi"
#include "bcm63268.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Inteno VG50";
@ -16,13 +18,13 @@
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>;
};
};
};

View 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>;
};
};

View 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>;
};
};

View file

@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6368.dtsi"
#include "bcm6368.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Comtrend WAP-5813n";
@ -16,17 +18,17 @@
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>;
};
};