diff options
author | Mathias Kresin <dev@kresin.me> | 2016-11-11 22:43:08 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-11-13 07:07:58 +0100 |
commit | 2b55c83e68068887db9e49de8e81b1b4a267a4f2 (patch) | |
tree | 08f3f29dffd47849f62376820207584c43f5aa33 /target/linux/lantiq | |
parent | 77b807999d86498c4378a136bd366d09eb2c9bd5 (diff) | |
download | mtk-20170518-2b55c83e68068887db9e49de8e81b1b4a267a4f2.zip mtk-20170518-2b55c83e68068887db9e49de8e81b1b4a267a4f2.tar.gz mtk-20170518-2b55c83e68068887db9e49de8e81b1b4a267a4f2.tar.bz2 |
treewide: dts: use keycode defines from input dt-binding
All compiled device tree files not mentioned are binary identical to the
former ones.
Fix the obvious decimal/hex confusion for the power key of ramips/M2M.dts.
Due to the include of the input binding header, the BTN_* node names in:
- ramips/GL-MT300A.dts
- ramips/GL-MT300N.dts
- ramips/GL-MT750.dts
- ramips/Timecloud.dts
will be changed by the compiler to the numerical equivalent.
Move the binding include of lantiq boards to the file where they are
used the first time to hint the user where the values do come from.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq')
39 files changed, 70 insertions, 4 deletions
diff --git a/target/linux/lantiq/dts/ARV4510PW.dts b/target/linux/lantiq/dts/ARV4510PW.dts index 6f07c5f..c34ffe8 100644 --- a/target/linux/lantiq/dts/ARV4510PW.dts +++ b/target/linux/lantiq/dts/ARV4510PW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include <dt-bindings/input/input.h> + / { model = "ARV4510PW - Wippies, Elisa"; diff --git a/target/linux/lantiq/dts/ARV4518PWR01.dtsi b/target/linux/lantiq/dts/ARV4518PWR01.dtsi index 49b7e50..84c3c4a 100644 --- a/target/linux/lantiq/dts/ARV4518PWR01.dtsi +++ b/target/linux/lantiq/dts/ARV4518PWR01.dtsi @@ -1,5 +1,7 @@ #include "danube.dtsi" +#include <dt-bindings/input/input.h> + / { chosen { bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; diff --git a/target/linux/lantiq/dts/ARV4519PW.dts b/target/linux/lantiq/dts/ARV4519PW.dts index 43334f1..77d466d 100644 --- a/target/linux/lantiq/dts/ARV4519PW.dts +++ b/target/linux/lantiq/dts/ARV4519PW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include <dt-bindings/input/input.h> + / { model = "ARV4519PW - Vodafone Netfaster IAD 2, Pirelli P.RG A4201G"; diff --git a/target/linux/lantiq/dts/ARV4520PW.dts b/target/linux/lantiq/dts/ARV4520PW.dts index 17288b3..0466968 100644 --- a/target/linux/lantiq/dts/ARV4520PW.dts +++ b/target/linux/lantiq/dts/ARV4520PW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include <dt-bindings/input/input.h> + / { model = "ARV4520PW - Easybox 800, WAV-281"; diff --git a/target/linux/lantiq/dts/ARV4525PW.dts b/target/linux/lantiq/dts/ARV4525PW.dts index 69fd1aa..605df42 100644 --- a/target/linux/lantiq/dts/ARV4525PW.dts +++ b/target/linux/lantiq/dts/ARV4525PW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include <dt-bindings/input/input.h> + / { model = "ARV4525PW - Speedport W501V Typ A"; diff --git a/target/linux/lantiq/dts/ARV452CQW.dts b/target/linux/lantiq/dts/ARV452CQW.dts index 4710a01..7d0f981 100644 --- a/target/linux/lantiq/dts/ARV452CQW.dts +++ b/target/linux/lantiq/dts/ARV452CQW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include <dt-bindings/input/input.h> + / { model = "ARV452CQW - Arcor 801"; diff --git a/target/linux/lantiq/dts/ARV7506PW11.dts b/target/linux/lantiq/dts/ARV7506PW11.dts index 5c8b0fe..ef3ff30 100644 --- a/target/linux/lantiq/dts/ARV7506PW11.dts +++ b/target/linux/lantiq/dts/ARV7506PW11.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include <dt-bindings/input/input.h> + / { model = "ARV7506PW11 - Alice/O2 IAD 4421"; diff --git a/target/linux/lantiq/dts/ARV7510PW22.dts b/target/linux/lantiq/dts/ARV7510PW22.dts index 079c856..3c2b0a7 100644 --- a/target/linux/lantiq/dts/ARV7510PW22.dts +++ b/target/linux/lantiq/dts/ARV7510PW22.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include <dt-bindings/input/input.h> + / { model = "ARV7510PW22 - Astoria Networks"; diff --git a/target/linux/lantiq/dts/ARV7518PW.dts b/target/linux/lantiq/dts/ARV7518PW.dts index d44927b..8a6b620 100644 --- a/target/linux/lantiq/dts/ARV7518PW.dts +++ b/target/linux/lantiq/dts/ARV7518PW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include <dt-bindings/input/input.h> + / { model = "ARV7518PW - Astoria Networks"; diff --git a/target/linux/lantiq/dts/ARV7519PW.dts b/target/linux/lantiq/dts/ARV7519PW.dts index 1fa52c3..ea9b0da 100644 --- a/target/linux/lantiq/dts/ARV7519PW.dts +++ b/target/linux/lantiq/dts/ARV7519PW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include <dt-bindings/input/input.h> + / { model = "ARV7519PW - Astoria Networks"; diff --git a/target/linux/lantiq/dts/ARV7519RW22.dts b/target/linux/lantiq/dts/ARV7519RW22.dts index 3d08b93..c25a3b5 100644 --- a/target/linux/lantiq/dts/ARV7519RW22.dts +++ b/target/linux/lantiq/dts/ARV7519RW22.dts @@ -2,6 +2,8 @@ #include "vr9.dtsi" +#include <dt-bindings/input/input.h> + / { model = "ARV7519RW22 - Orange Livebox 2.1"; diff --git a/target/linux/lantiq/dts/ARV7525PW.dts b/target/linux/lantiq/dts/ARV7525PW.dts index f259c17..be498e4 100644 --- a/target/linux/lantiq/dts/ARV7525PW.dts +++ b/target/linux/lantiq/dts/ARV7525PW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include <dt-bindings/input/input.h> + / { model = "ARV7525PW - Speedport W303V Typ A"; diff --git a/target/linux/lantiq/dts/ARV752DPW.dts b/target/linux/lantiq/dts/ARV752DPW.dts index d51a70a..d324e6e 100644 --- a/target/linux/lantiq/dts/ARV752DPW.dts +++ b/target/linux/lantiq/dts/ARV752DPW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include <dt-bindings/input/input.h> + / { model = "ARV752DPW - Arcor 802"; diff --git a/target/linux/lantiq/dts/ARV752DPW22.dts b/target/linux/lantiq/dts/ARV752DPW22.dts index 7343a5d..2a37a3a 100644 --- a/target/linux/lantiq/dts/ARV752DPW22.dts +++ b/target/linux/lantiq/dts/ARV752DPW22.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include <dt-bindings/input/input.h> + / { model = "ARV752DPW22 - Arcor 803"; diff --git a/target/linux/lantiq/dts/ARV8539PW22.dts b/target/linux/lantiq/dts/ARV8539PW22.dts index 5728993..e00bd14 100644 --- a/target/linux/lantiq/dts/ARV8539PW22.dts +++ b/target/linux/lantiq/dts/ARV8539PW22.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include <dt-bindings/input/input.h> + / { model = "ARV8539PW22 - Speedport W 504V Typ A"; diff --git a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts index 502132e..d707a75 100644 --- a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts +++ b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include <dt-bindings/input/input.h> + / { model = "BTHOMEHUBV2B - BT Home Hub 2B"; /* SoC: Lantiq Danube-S PSB 50712 @ 333MHz V1.3/1.5 */ diff --git a/target/linux/lantiq/dts/BTHOMEHUBV3A.dts b/target/linux/lantiq/dts/BTHOMEHUBV3A.dts index e3a252b..c290c70 100644 --- a/target/linux/lantiq/dts/BTHOMEHUBV3A.dts +++ b/target/linux/lantiq/dts/BTHOMEHUBV3A.dts @@ -2,6 +2,8 @@ #include "ar9.dtsi" +#include <dt-bindings/input/input.h> + / { model = "BTHOMEHUBV3A - BT Home Hub 3A"; /* SoC: Lantiq ar9 @ 333MHz */ diff --git a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts index c2fe11a..f99d32e 100644 --- a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts +++ b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts @@ -2,6 +2,8 @@ #include "vr9.dtsi" +#include <dt-bindings/input/input.h> + / { model = "BTHOMEHUBV5A - BT Home Hub 5A"; diff --git a/target/linux/lantiq/dts/DGN1000B.dts b/target/linux/lantiq/dts/DGN1000B.dts index a63199f..e15a4e2 100644 --- a/target/linux/lantiq/dts/DGN1000B.dts +++ b/target/linux/lantiq/dts/DGN1000B.dts @@ -2,6 +2,8 @@ #include "amazonse.dtsi" +#include <dt-bindings/input/input.h> + / { model = "DGN1000B - Netgear DGN1000B"; diff --git a/target/linux/lantiq/dts/DGN3500.dtsi b/target/linux/lantiq/dts/DGN3500.dtsi index c7d0b2d..1d0d71c 100644 --- a/target/linux/lantiq/dts/DGN3500.dtsi +++ b/target/linux/lantiq/dts/DGN3500.dtsi @@ -1,5 +1,7 @@ #include "ar9.dtsi" +#include <dt-bindings/input/input.h> + / { chosen { bootargs = "root= console=ttyLTQ0,115200"; diff --git a/target/linux/lantiq/dts/EASY80920.dtsi b/target/linux/lantiq/dts/EASY80920.dtsi index bce8d5e..5ce8917 100644 --- a/target/linux/lantiq/dts/EASY80920.dtsi +++ b/target/linux/lantiq/dts/EASY80920.dtsi @@ -1,5 +1,7 @@ #include "vr9.dtsi" +#include <dt-bindings/input/input.h> + / { chosen { bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; diff --git a/target/linux/lantiq/dts/FRITZ3370.dts b/target/linux/lantiq/dts/FRITZ3370.dts index 775fa5d..e12c7bf 100644 --- a/target/linux/lantiq/dts/FRITZ3370.dts +++ b/target/linux/lantiq/dts/FRITZ3370.dts @@ -2,6 +2,8 @@ #include "vr9.dtsi" +#include <dt-bindings/input/input.h> + / { model = "FRITZ3370 - Fritz!Box WLAN 3370"; diff --git a/target/linux/lantiq/dts/FRITZ7320.dts b/target/linux/lantiq/dts/FRITZ7320.dts index e1e70be..f14cac2 100644 --- a/target/linux/lantiq/dts/FRITZ7320.dts +++ b/target/linux/lantiq/dts/FRITZ7320.dts @@ -2,6 +2,8 @@ #include "ar9.dtsi" +#include <dt-bindings/input/input.h> + / { model = "FRITZ7320 - 1&1 HomeServer"; diff --git a/target/linux/lantiq/dts/FRITZ7360SL.dts b/target/linux/lantiq/dts/FRITZ7360SL.dts index f41ea41..796458a 100644 --- a/target/linux/lantiq/dts/FRITZ7360SL.dts +++ b/target/linux/lantiq/dts/FRITZ7360SL.dts @@ -2,6 +2,8 @@ #include "vr9.dtsi" +#include <dt-bindings/input/input.h> + / { model = "FRITZ7360SL - 1&1 HomeServer"; diff --git a/target/linux/lantiq/dts/GIGASX76X.dts b/target/linux/lantiq/dts/GIGASX76X.dts index 6507157..6602693 100644 --- a/target/linux/lantiq/dts/GIGASX76X.dts +++ b/target/linux/lantiq/dts/GIGASX76X.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include <dt-bindings/input/input.h> + / { model = "GIGASX76X - Gigaset SX761,SX762,SX763"; diff --git a/target/linux/lantiq/dts/H201L.dts b/target/linux/lantiq/dts/H201L.dts index 8572359..7d4a24c 100644 --- a/target/linux/lantiq/dts/H201L.dts +++ b/target/linux/lantiq/dts/H201L.dts @@ -2,6 +2,8 @@ #include "ar9.dtsi" +#include <dt-bindings/input/input.h> + / { model = "H201L - ZTE H210L"; diff --git a/target/linux/lantiq/dts/P2601HNFX.dts b/target/linux/lantiq/dts/P2601HNFX.dts index 250de38..c82ab3d 100644 --- a/target/linux/lantiq/dts/P2601HNFX.dts +++ b/target/linux/lantiq/dts/P2601HNFX.dts @@ -2,6 +2,8 @@ #include "ar9.dtsi" +#include <dt-bindings/input/input.h> + / { model = "P2601HNFX - ZyXEL P-2601HN-Fx"; diff --git a/target/linux/lantiq/dts/P2812HNUFX.dtsi b/target/linux/lantiq/dts/P2812HNUFX.dtsi index f0dfe98..afd13ea 100644 --- a/target/linux/lantiq/dts/P2812HNUFX.dtsi +++ b/target/linux/lantiq/dts/P2812HNUFX.dtsi @@ -1,5 +1,7 @@ #include "vr9.dtsi" +#include <dt-bindings/input/input.h> + / { chosen { bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; diff --git a/target/linux/lantiq/dts/TDW89X0.dtsi b/target/linux/lantiq/dts/TDW89X0.dtsi index fd37352..6447451 100644 --- a/target/linux/lantiq/dts/TDW89X0.dtsi +++ b/target/linux/lantiq/dts/TDW89X0.dtsi @@ -1,5 +1,7 @@ #include "vr9.dtsi" +#include <dt-bindings/input/input.h> + / { chosen { bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; diff --git a/target/linux/lantiq/dts/VG3503J.dts b/target/linux/lantiq/dts/VG3503J.dts index 46b047a..db25b87 100644 --- a/target/linux/lantiq/dts/VG3503J.dts +++ b/target/linux/lantiq/dts/VG3503J.dts @@ -2,6 +2,8 @@ #include "vr9.dtsi" +#include <dt-bindings/input/input.h> + / { model = "VG3503J - BT OpenReach VDSL Modem"; diff --git a/target/linux/lantiq/dts/VGV7510KW22.dtsi b/target/linux/lantiq/dts/VGV7510KW22.dtsi index 5ca2844..370ef57 100644 --- a/target/linux/lantiq/dts/VGV7510KW22.dtsi +++ b/target/linux/lantiq/dts/VGV7510KW22.dtsi @@ -1,5 +1,7 @@ #include "vr9.dtsi" +#include <dt-bindings/input/input.h> + / { model = "VGV7510KW22 - o2 Box 6431"; diff --git a/target/linux/lantiq/dts/VGV7519.dtsi b/target/linux/lantiq/dts/VGV7519.dtsi index a7b421f..ad4233a 100644 --- a/target/linux/lantiq/dts/VGV7519.dtsi +++ b/target/linux/lantiq/dts/VGV7519.dtsi @@ -1,5 +1,7 @@ #include "vr9.dtsi" +#include <dt-bindings/input/input.h> + / { model = "VGV7519 - KPN Experiabox V8"; diff --git a/target/linux/lantiq/dts/VR200v.dts b/target/linux/lantiq/dts/VR200v.dts index 777bef9..f814d24 100644 --- a/target/linux/lantiq/dts/VR200v.dts +++ b/target/linux/lantiq/dts/VR200v.dts @@ -2,6 +2,8 @@ #include "vr9.dtsi" +#include <dt-bindings/input/input.h> + / { model = "VR200v - TP-LINK Archer VR200v"; diff --git a/target/linux/lantiq/dts/WBMR.dts b/target/linux/lantiq/dts/WBMR.dts index 07671d6..3dbc641 100644 --- a/target/linux/lantiq/dts/WBMR.dts +++ b/target/linux/lantiq/dts/WBMR.dts @@ -2,6 +2,8 @@ #include "ar9.dtsi" +#include <dt-bindings/input/input.h> + / { model = "WBMR - Buffalo WBMR-HP-G300H"; diff --git a/target/linux/lantiq/dts/WBMR300.dts b/target/linux/lantiq/dts/WBMR300.dts index dc0b286..54bb98e 100644 --- a/target/linux/lantiq/dts/WBMR300.dts +++ b/target/linux/lantiq/dts/WBMR300.dts @@ -2,6 +2,8 @@ #include "vr9.dtsi" +#include <dt-bindings/input/input.h> + / { model = "WBMR300 - Buffalo WBMR-300HPD"; diff --git a/target/linux/lantiq/dts/amazonse.dtsi b/target/linux/lantiq/dts/amazonse.dtsi index 520f0e0..33a5a35 100644 --- a/target/linux/lantiq/dts/amazonse.dtsi +++ b/target/linux/lantiq/dts/amazonse.dtsi @@ -1,5 +1,4 @@ #include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/input/input.h> / { #address-cells = <1>; diff --git a/target/linux/lantiq/dts/ar9.dtsi b/target/linux/lantiq/dts/ar9.dtsi index 32bed97..4d3fd6f 100644 --- a/target/linux/lantiq/dts/ar9.dtsi +++ b/target/linux/lantiq/dts/ar9.dtsi @@ -1,5 +1,4 @@ #include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/input/input.h> / { #address-cells = <1>; diff --git a/target/linux/lantiq/dts/danube.dtsi b/target/linux/lantiq/dts/danube.dtsi index 39f2865..62e31d6 100644 --- a/target/linux/lantiq/dts/danube.dtsi +++ b/target/linux/lantiq/dts/danube.dtsi @@ -1,5 +1,4 @@ #include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/input/input.h> / { #address-cells = <1>; diff --git a/target/linux/lantiq/dts/vr9.dtsi b/target/linux/lantiq/dts/vr9.dtsi index 5478e1a..779e23e 100644 --- a/target/linux/lantiq/dts/vr9.dtsi +++ b/target/linux/lantiq/dts/vr9.dtsi @@ -1,5 +1,4 @@ #include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/input/input.h> / { #address-cells = <1>; |