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/dts | |
parent | 77b807999d86498c4378a136bd366d09eb2c9bd5 (diff) | |
download | upstream-2b55c83e68068887db9e49de8e81b1b4a267a4f2.tar.gz upstream-2b55c83e68068887db9e49de8e81b1b4a267a4f2.tar.bz2 upstream-2b55c83e68068887db9e49de8e81b1b4a267a4f2.zip |
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/dts')
39 files changed, 70 insertions, 4 deletions
diff --git a/target/linux/lantiq/dts/ARV4510PW.dts b/target/linux/lantiq/dts/ARV4510PW.dts index 6f07c5f996..c34ffe81d9 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 49b7e50eb6..84c3c4aff5 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 43334f18d7..77d466d826 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 17288b3527..0466968e6f 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 69fd1aa29d..605df428ef 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 4710a01486..7d0f981561 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 5c8b0fe3a3..ef3ff306a9 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 079c856308..3c2b0a7457 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 d44927b813..8a6b620eb7 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 1fa52c3d90..ea9b0dab00 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 3d08b93840..c25a3b5d5e 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 f259c17d26..be498e4d1e 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 d51a70a593..d324e6e854 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 7343a5d2ff..2a37a3a0bd 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 5728993017..e00bd149fc 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 502132e4e9..d707a75265 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 e3a252bfc4..c290c7081b 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 c2fe11a59e..f99d32e071 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 a63199f4f5..e15a4e25ce 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 c7d0b2d30c..1d0d71cdae 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 bce8d5e265..5ce89178be 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 775fa5d438..e12c7bf900 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 e1e70bef6c..f14cac2850 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 f41ea41f3b..796458a6a5 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 6507157d98..6602693b7c 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 85723592b5..7d4a24c661 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 250de38122..c82ab3dcb8 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 f0dfe98501..afd13eaf03 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 fd37352959..6447451d18 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 46b047a09d..db25b87488 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 5ca2844d08..370ef57e06 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 a7b421fff9..ad4233a43d 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 777bef9372..f814d242d6 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 07671d6053..3dbc641e66 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 dc0b2862a9..54bb98e81a 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 520f0e0e85..33a5a35339 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 32bed972b1..4d3fd6f9a3 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 39f2865779..62e31d6bec 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 5478e1a9df..779e23e61f 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>; |