From 2b55c83e68068887db9e49de8e81b1b4a267a4f2 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Fri, 11 Nov 2016 22:43:08 +0100 Subject: [PATCH] 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 --- target/linux/brcm63xx/dts/homehub2a.dts | 2 +- target/linux/lantiq/dts/ARV4510PW.dts | 2 ++ target/linux/lantiq/dts/ARV4518PWR01.dtsi | 2 ++ target/linux/lantiq/dts/ARV4519PW.dts | 2 ++ target/linux/lantiq/dts/ARV4520PW.dts | 2 ++ target/linux/lantiq/dts/ARV4525PW.dts | 2 ++ target/linux/lantiq/dts/ARV452CQW.dts | 2 ++ target/linux/lantiq/dts/ARV7506PW11.dts | 2 ++ target/linux/lantiq/dts/ARV7510PW22.dts | 2 ++ target/linux/lantiq/dts/ARV7518PW.dts | 2 ++ target/linux/lantiq/dts/ARV7519PW.dts | 2 ++ target/linux/lantiq/dts/ARV7519RW22.dts | 2 ++ target/linux/lantiq/dts/ARV7525PW.dts | 2 ++ target/linux/lantiq/dts/ARV752DPW.dts | 2 ++ target/linux/lantiq/dts/ARV752DPW22.dts | 2 ++ target/linux/lantiq/dts/ARV8539PW22.dts | 2 ++ target/linux/lantiq/dts/BTHOMEHUBV2B.dts | 2 ++ target/linux/lantiq/dts/BTHOMEHUBV3A.dts | 2 ++ target/linux/lantiq/dts/BTHOMEHUBV5A.dts | 2 ++ target/linux/lantiq/dts/DGN1000B.dts | 2 ++ target/linux/lantiq/dts/DGN3500.dtsi | 2 ++ target/linux/lantiq/dts/EASY80920.dtsi | 2 ++ target/linux/lantiq/dts/FRITZ3370.dts | 2 ++ target/linux/lantiq/dts/FRITZ7320.dts | 2 ++ target/linux/lantiq/dts/FRITZ7360SL.dts | 2 ++ target/linux/lantiq/dts/GIGASX76X.dts | 2 ++ target/linux/lantiq/dts/H201L.dts | 2 ++ target/linux/lantiq/dts/P2601HNFX.dts | 2 ++ target/linux/lantiq/dts/P2812HNUFX.dtsi | 2 ++ target/linux/lantiq/dts/TDW89X0.dtsi | 2 ++ target/linux/lantiq/dts/VG3503J.dts | 2 ++ target/linux/lantiq/dts/VGV7510KW22.dtsi | 2 ++ target/linux/lantiq/dts/VGV7519.dtsi | 2 ++ target/linux/lantiq/dts/VR200v.dts | 2 ++ target/linux/lantiq/dts/WBMR.dts | 2 ++ target/linux/lantiq/dts/WBMR300.dts | 2 ++ target/linux/lantiq/dts/amazonse.dtsi | 1 - target/linux/lantiq/dts/ar9.dtsi | 1 - target/linux/lantiq/dts/danube.dtsi | 1 - target/linux/lantiq/dts/vr9.dtsi | 1 - .../files/arch/arm/boot/dts/ox820-akitio.dts | 6 ++++-- .../files/arch/arm/boot/dts/ox820-kd20.dts | 8 +++++--- .../files/arch/arm/boot/dts/ox820-stg212.dts | 6 ++++-- target/linux/ramips/dts/3G-6200N.dts | 6 ++++-- target/linux/ramips/dts/3G-6200NL.dts | 4 +++- target/linux/ramips/dts/3G150B.dts | 4 +++- target/linux/ramips/dts/3G300M.dts | 6 ++++-- target/linux/ramips/dts/A5-V11.dts | 4 +++- target/linux/ramips/dts/AI-BR100.dts | 4 +++- target/linux/ramips/dts/AIR3GII.dts | 4 +++- target/linux/ramips/dts/ALL0239-3G.dts | 8 +++++--- target/linux/ramips/dts/ALL0256N-4M.dts | 4 +++- target/linux/ramips/dts/ALL0256N-8M.dts | 4 +++- target/linux/ramips/dts/AR670W.dts | 6 ++++-- target/linux/ramips/dts/AR725W.dts | 6 ++++-- target/linux/ramips/dts/ASL26555-16M.dts | 6 ++++-- target/linux/ramips/dts/ASL26555-8M.dts | 6 ++++-- target/linux/ramips/dts/ATP-52B.dts | 6 ++++-- target/linux/ramips/dts/AWAPN2403.dts | 4 +++- target/linux/ramips/dts/AWM002-EVB-4M.dts | 6 ++++-- target/linux/ramips/dts/AWM002-EVB-8M.dts | 6 ++++-- target/linux/ramips/dts/AWM003-EVB.dts | 6 ++++-- target/linux/ramips/dts/ArcherC20i.dts | 6 ++++-- target/linux/ramips/dts/BC2.dts | 4 +++- target/linux/ramips/dts/BR-6425.dts | 6 ++++-- target/linux/ramips/dts/BR-6475ND.dts | 8 +++++--- target/linux/ramips/dts/BROADWAY.dts | 4 +++- target/linux/ramips/dts/CF-WR800N.dts | 4 +++- target/linux/ramips/dts/CS-QR10.dts | 6 ++++-- target/linux/ramips/dts/CY-SWR1100.dts | 6 ++++-- target/linux/ramips/dts/D105.dts | 4 +++- target/linux/ramips/dts/DAP-1350.dts | 10 ++++++---- target/linux/ramips/dts/DB-WRT01.dts | 4 +++- target/linux/ramips/dts/DCH-M225.dts | 6 ++++-- target/linux/ramips/dts/DCS-930.dts | 6 ++++-- target/linux/ramips/dts/DCS-930L-B1.dts | 6 ++++-- target/linux/ramips/dts/DIR-300-B1.dts | 6 ++++-- target/linux/ramips/dts/DIR-300-B7.dts | 6 ++++-- target/linux/ramips/dts/DIR-320-B1.dts | 6 ++++-- target/linux/ramips/dts/DIR-600-B1.dts | 6 ++++-- target/linux/ramips/dts/DIR-600-B2.dts | 6 ++++-- target/linux/ramips/dts/DIR-610-A1.dts | 6 ++++-- target/linux/ramips/dts/DIR-615-D.dts | 6 ++++-- target/linux/ramips/dts/DIR-615-H1.dts | 6 ++++-- target/linux/ramips/dts/DIR-620-A1.dts | 6 ++++-- target/linux/ramips/dts/DIR-620-D1.dts | 4 +++- target/linux/ramips/dts/DIR-645.dts | 6 ++++-- target/linux/ramips/dts/DIR-810L.dts | 6 ++++-- target/linux/ramips/dts/DIR-860L-B1.dts | 6 ++++-- target/linux/ramips/dts/DUZUN-DM06.dts | 6 ++++-- target/linux/ramips/dts/E1700.dts | 6 ++++-- target/linux/ramips/dts/ESR-9753.dts | 6 ++++-- target/linux/ramips/dts/EX2700.dts | 6 ++++-- target/linux/ramips/dts/F5D8235_V1.dts | 6 ++++-- target/linux/ramips/dts/F7C027.dts | 8 +++++--- target/linux/ramips/dts/FIREWRT.dts | 6 ++++-- target/linux/ramips/dts/FONERA20N.dts | 8 +++++--- target/linux/ramips/dts/GL-MT300A.dts | 8 +++++--- target/linux/ramips/dts/GL-MT300N.dts | 8 +++++--- target/linux/ramips/dts/GL-MT750.dts | 8 +++++--- target/linux/ramips/dts/HC5XXX.dtsi | 4 +++- target/linux/ramips/dts/HG255D.dts | 8 +++++--- target/linux/ramips/dts/HLKRM04.dts | 6 ++++-- target/linux/ramips/dts/HPM.dts | 4 +++- target/linux/ramips/dts/HT-TM02.dts | 8 +++++--- target/linux/ramips/dts/HW550-3G.dts | 8 +++++--- target/linux/ramips/dts/IP2202.dts | 4 +++- target/linux/ramips/dts/JHR-N805R.dts | 4 +++- target/linux/ramips/dts/JHR-N825R.dts | 4 +++- target/linux/ramips/dts/JHR-N926R.dts | 6 ++++-- target/linux/ramips/dts/LINKIT7688.dts | 4 +++- target/linux/ramips/dts/M2M.dts | 6 ++++-- target/linux/ramips/dts/M3.dts | 8 +++++--- target/linux/ramips/dts/M4-4M.dts | 4 +++- target/linux/ramips/dts/M4-8M.dts | 4 +++- target/linux/ramips/dts/MINIEMBPLUG.dts | 10 ++++++---- target/linux/ramips/dts/MINIEMBWIFI.dts | 4 +++- target/linux/ramips/dts/MIWIFI-MINI.dts | 4 +++- target/linux/ramips/dts/MLW221.dts | 6 ++++-- target/linux/ramips/dts/MLWG2.dts | 6 ++++-- target/linux/ramips/dts/MOFI3500-3GN.dts | 8 +++++--- target/linux/ramips/dts/MPRA1.dts | 4 +++- target/linux/ramips/dts/MPRA2.dts | 4 +++- target/linux/ramips/dts/MR-102N.dts | 6 ++++-- target/linux/ramips/dts/MT7620a.dts | 6 ++++-- target/linux/ramips/dts/MT7620a_MT7610e.dts | 6 ++++-- target/linux/ramips/dts/MT7620a_V22SG.dts | 6 ++++-- target/linux/ramips/dts/MZK-750DHP.dts | 6 ++++-- target/linux/ramips/dts/MZK-DP150N.dts | 4 +++- target/linux/ramips/dts/MZK-EX300NP.dts | 6 ++++-- target/linux/ramips/dts/MZK-EX750NP.dts | 6 ++++-- target/linux/ramips/dts/MZK-W300NH2.dts | 8 +++++--- target/linux/ramips/dts/MicroWRT.dts | 6 ++++-- target/linux/ramips/dts/NA930.dts | 8 +++++--- target/linux/ramips/dts/NBG-419N.dts | 6 ++++-- target/linux/ramips/dts/NBG-419N2.dts | 10 ++++++---- target/linux/ramips/dts/NW718.dts | 6 ++++-- target/linux/ramips/dts/Newifi-D1.dts | 4 +++- target/linux/ramips/dts/OY-0001.dts | 4 +++- target/linux/ramips/dts/PBR-D1.dts | 4 +++- target/linux/ramips/dts/PBR-M1.dts | 4 +++- target/linux/ramips/dts/PSG1208.dts | 4 +++- target/linux/ramips/dts/PSG1218.dts | 4 +++- target/linux/ramips/dts/PSR-680W.dts | 4 +++- target/linux/ramips/dts/PWH2004.dts | 4 +++- target/linux/ramips/dts/PX-4885.dtsi | 4 +++- target/linux/ramips/dts/RE6500.dts | 6 ++++-- target/linux/ramips/dts/RP-N53.dts | 10 ++++++---- target/linux/ramips/dts/RT-G32-B1.dts | 6 ++++-- target/linux/ramips/dts/RT-N10-PLUS.dts | 6 ++++-- target/linux/ramips/dts/RT-N13U.dts | 6 ++++-- target/linux/ramips/dts/RT-N14U.dts | 6 ++++-- target/linux/ramips/dts/RT-N15.dts | 6 ++++-- target/linux/ramips/dts/RT-N56U.dts | 6 ++++-- target/linux/ramips/dts/RUT5XX.dts | 4 +++- target/linux/ramips/dts/SAP-G3200U3.dts | 6 ++++-- target/linux/ramips/dts/SK-WB8.dts | 6 ++++-- target/linux/ramips/dts/SL-R7205.dts | 6 ++++-- target/linux/ramips/dts/TEW-691GR.dts | 8 +++++--- target/linux/ramips/dts/TEW-692GR.dts | 6 ++++-- target/linux/ramips/dts/TEW-714TRU.dts | 6 ++++-- target/linux/ramips/dts/TINY-AC.dts | 4 +++- target/linux/ramips/dts/Timecloud.dts | 6 ++++-- target/linux/ramips/dts/UR-326N4G.dts | 6 ++++-- target/linux/ramips/dts/UR-336UN.dts | 6 ++++-- target/linux/ramips/dts/V11STFE.dts | 4 +++- target/linux/ramips/dts/V22RW-2X2.dts | 6 ++++-- target/linux/ramips/dts/VR500.dts | 4 +++- target/linux/ramips/dts/W150M.dts | 6 ++++-- target/linux/ramips/dts/W306R_V20.dts | 4 +++- target/linux/ramips/dts/W502U.dts | 6 ++++-- target/linux/ramips/dts/WCR150GN.dts | 6 ++++-- target/linux/ramips/dts/WF-2881.dts | 4 +++- target/linux/ramips/dts/WHR-1166D.dts | 14 +++++++------ target/linux/ramips/dts/WHR-300HP2.dts | 14 +++++++------ target/linux/ramips/dts/WHR-600D.dts | 14 +++++++------ target/linux/ramips/dts/WHR-G300N.dts | 10 ++++++---- target/linux/ramips/dts/WIDORA-NEO.dts | 4 +++- target/linux/ramips/dts/WITI.dts | 4 +++- target/linux/ramips/dts/WIZFI630A.dts | 10 ++++++---- target/linux/ramips/dts/WL-330N.dts | 6 ++++-- target/linux/ramips/dts/WL-330N3G.dts | 6 ++++-- target/linux/ramips/dts/WL-341V3.dts | 6 ++++-- target/linux/ramips/dts/WL-351.dts | 6 ++++-- target/linux/ramips/dts/WLI-TX4-AG300N.dts | 8 +++++--- target/linux/ramips/dts/WMR-300.dts | 6 ++++-- target/linux/ramips/dts/WNCE2001.dts | 10 ++++++---- target/linux/ramips/dts/WNDR3700V5.dts | 8 +++++--- target/linux/ramips/dts/WR512-3GN-4M.dts | 6 ++++-- target/linux/ramips/dts/WR512-3GN-8M.dts | 6 ++++-- target/linux/ramips/dts/WR6202.dts | 6 ++++-- target/linux/ramips/dts/WRH-300CR.dts | 6 ++++-- target/linux/ramips/dts/WRTNODE2.dtsi | 4 +++- target/linux/ramips/dts/WSR-1166.dts | 20 ++++++++++--------- target/linux/ramips/dts/WSR-600.dts | 20 ++++++++++--------- target/linux/ramips/dts/WT3020-4M.dts | 4 +++- target/linux/ramips/dts/WT3020-8M.dts | 4 +++- target/linux/ramips/dts/WZR-AGL300NH.dts | 8 +++++--- target/linux/ramips/dts/X5.dts | 10 ++++++---- target/linux/ramips/dts/X8.dts | 4 +++- target/linux/ramips/dts/XDXRN502J.dts | 4 +++- target/linux/ramips/dts/Y1.dtsi | 4 +++- target/linux/ramips/dts/YOUKU-YK1.dts | 4 +++- target/linux/ramips/dts/ZBT-APE522II.dts | 4 +++- target/linux/ramips/dts/ZBT-CPE102.dts | 4 +++- target/linux/ramips/dts/ZBT-WA05.dts | 4 +++- target/linux/ramips/dts/ZBT-WE826.dts | 4 +++- target/linux/ramips/dts/ZBT-WG2626.dts | 4 +++- target/linux/ramips/dts/ZBT-WG3526.dts | 4 +++- target/linux/ramips/dts/ZBT-WR8305RT.dts | 4 +++- target/linux/ramips/dts/ZTE-Q7.dts | 4 +++- 211 files changed, 757 insertions(+), 349 deletions(-) diff --git a/target/linux/brcm63xx/dts/homehub2a.dts b/target/linux/brcm63xx/dts/homehub2a.dts index af5136c88243..b86a48fe40da 100644 --- a/target/linux/brcm63xx/dts/homehub2a.dts +++ b/target/linux/brcm63xx/dts/homehub2a.dts @@ -43,7 +43,7 @@ phone { label = "phone"; gpios = <&gpio0 1 1>; - linux,code = <169>; + linux,code = ; }; reset { label = "reset"; diff --git a/target/linux/lantiq/dts/ARV4510PW.dts b/target/linux/lantiq/dts/ARV4510PW.dts index 6f07c5f996e5..c34ffe81d947 100644 --- a/target/linux/lantiq/dts/ARV4510PW.dts +++ b/target/linux/lantiq/dts/ARV4510PW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV4510PW - Wippies, Elisa"; diff --git a/target/linux/lantiq/dts/ARV4518PWR01.dtsi b/target/linux/lantiq/dts/ARV4518PWR01.dtsi index 49b7e50eb61a..84c3c4aff568 100644 --- a/target/linux/lantiq/dts/ARV4518PWR01.dtsi +++ b/target/linux/lantiq/dts/ARV4518PWR01.dtsi @@ -1,5 +1,7 @@ #include "danube.dtsi" +#include + / { 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 43334f18d7b4..77d466d82609 100644 --- a/target/linux/lantiq/dts/ARV4519PW.dts +++ b/target/linux/lantiq/dts/ARV4519PW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { 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 17288b35273f..0466968e6f39 100644 --- a/target/linux/lantiq/dts/ARV4520PW.dts +++ b/target/linux/lantiq/dts/ARV4520PW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV4520PW - Easybox 800, WAV-281"; diff --git a/target/linux/lantiq/dts/ARV4525PW.dts b/target/linux/lantiq/dts/ARV4525PW.dts index 69fd1aa29d0b..605df428ef15 100644 --- a/target/linux/lantiq/dts/ARV4525PW.dts +++ b/target/linux/lantiq/dts/ARV4525PW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV4525PW - Speedport W501V Typ A"; diff --git a/target/linux/lantiq/dts/ARV452CQW.dts b/target/linux/lantiq/dts/ARV452CQW.dts index 4710a0148680..7d0f981561e4 100644 --- a/target/linux/lantiq/dts/ARV452CQW.dts +++ b/target/linux/lantiq/dts/ARV452CQW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV452CQW - Arcor 801"; diff --git a/target/linux/lantiq/dts/ARV7506PW11.dts b/target/linux/lantiq/dts/ARV7506PW11.dts index 5c8b0fe3a377..ef3ff306a948 100644 --- a/target/linux/lantiq/dts/ARV7506PW11.dts +++ b/target/linux/lantiq/dts/ARV7506PW11.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV7506PW11 - Alice/O2 IAD 4421"; diff --git a/target/linux/lantiq/dts/ARV7510PW22.dts b/target/linux/lantiq/dts/ARV7510PW22.dts index 079c85630821..3c2b0a74575c 100644 --- a/target/linux/lantiq/dts/ARV7510PW22.dts +++ b/target/linux/lantiq/dts/ARV7510PW22.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV7510PW22 - Astoria Networks"; diff --git a/target/linux/lantiq/dts/ARV7518PW.dts b/target/linux/lantiq/dts/ARV7518PW.dts index d44927b813e8..8a6b620eb71f 100644 --- a/target/linux/lantiq/dts/ARV7518PW.dts +++ b/target/linux/lantiq/dts/ARV7518PW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV7518PW - Astoria Networks"; diff --git a/target/linux/lantiq/dts/ARV7519PW.dts b/target/linux/lantiq/dts/ARV7519PW.dts index 1fa52c3d905d..ea9b0dab006b 100644 --- a/target/linux/lantiq/dts/ARV7519PW.dts +++ b/target/linux/lantiq/dts/ARV7519PW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV7519PW - Astoria Networks"; diff --git a/target/linux/lantiq/dts/ARV7519RW22.dts b/target/linux/lantiq/dts/ARV7519RW22.dts index 3d08b9384059..c25a3b5d5ee5 100644 --- a/target/linux/lantiq/dts/ARV7519RW22.dts +++ b/target/linux/lantiq/dts/ARV7519RW22.dts @@ -2,6 +2,8 @@ #include "vr9.dtsi" +#include + / { model = "ARV7519RW22 - Orange Livebox 2.1"; diff --git a/target/linux/lantiq/dts/ARV7525PW.dts b/target/linux/lantiq/dts/ARV7525PW.dts index f259c17d264b..be498e4d1eae 100644 --- a/target/linux/lantiq/dts/ARV7525PW.dts +++ b/target/linux/lantiq/dts/ARV7525PW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV7525PW - Speedport W303V Typ A"; diff --git a/target/linux/lantiq/dts/ARV752DPW.dts b/target/linux/lantiq/dts/ARV752DPW.dts index d51a70a593ee..d324e6e8544f 100644 --- a/target/linux/lantiq/dts/ARV752DPW.dts +++ b/target/linux/lantiq/dts/ARV752DPW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV752DPW - Arcor 802"; diff --git a/target/linux/lantiq/dts/ARV752DPW22.dts b/target/linux/lantiq/dts/ARV752DPW22.dts index 7343a5d2ffbc..2a37a3a0bd32 100644 --- a/target/linux/lantiq/dts/ARV752DPW22.dts +++ b/target/linux/lantiq/dts/ARV752DPW22.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV752DPW22 - Arcor 803"; diff --git a/target/linux/lantiq/dts/ARV8539PW22.dts b/target/linux/lantiq/dts/ARV8539PW22.dts index 5728993017ce..e00bd149fc03 100644 --- a/target/linux/lantiq/dts/ARV8539PW22.dts +++ b/target/linux/lantiq/dts/ARV8539PW22.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV8539PW22 - Speedport W 504V Typ A"; diff --git a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts index 502132e4e9ce..d707a75265bc 100644 --- a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts +++ b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { 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 e3a252bfc411..c290c7081bd4 100644 --- a/target/linux/lantiq/dts/BTHOMEHUBV3A.dts +++ b/target/linux/lantiq/dts/BTHOMEHUBV3A.dts @@ -2,6 +2,8 @@ #include "ar9.dtsi" +#include + / { 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 c2fe11a59e3a..f99d32e07143 100644 --- a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts +++ b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts @@ -2,6 +2,8 @@ #include "vr9.dtsi" +#include + / { model = "BTHOMEHUBV5A - BT Home Hub 5A"; diff --git a/target/linux/lantiq/dts/DGN1000B.dts b/target/linux/lantiq/dts/DGN1000B.dts index a63199f4f55a..e15a4e25ced9 100644 --- a/target/linux/lantiq/dts/DGN1000B.dts +++ b/target/linux/lantiq/dts/DGN1000B.dts @@ -2,6 +2,8 @@ #include "amazonse.dtsi" +#include + / { model = "DGN1000B - Netgear DGN1000B"; diff --git a/target/linux/lantiq/dts/DGN3500.dtsi b/target/linux/lantiq/dts/DGN3500.dtsi index c7d0b2d30ccb..1d0d71cdaee8 100644 --- a/target/linux/lantiq/dts/DGN3500.dtsi +++ b/target/linux/lantiq/dts/DGN3500.dtsi @@ -1,5 +1,7 @@ #include "ar9.dtsi" +#include + / { chosen { bootargs = "root= console=ttyLTQ0,115200"; diff --git a/target/linux/lantiq/dts/EASY80920.dtsi b/target/linux/lantiq/dts/EASY80920.dtsi index bce8d5e2657b..5ce89178be5c 100644 --- a/target/linux/lantiq/dts/EASY80920.dtsi +++ b/target/linux/lantiq/dts/EASY80920.dtsi @@ -1,5 +1,7 @@ #include "vr9.dtsi" +#include + / { 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 775fa5d43825..e12c7bf90056 100644 --- a/target/linux/lantiq/dts/FRITZ3370.dts +++ b/target/linux/lantiq/dts/FRITZ3370.dts @@ -2,6 +2,8 @@ #include "vr9.dtsi" +#include + / { model = "FRITZ3370 - Fritz!Box WLAN 3370"; diff --git a/target/linux/lantiq/dts/FRITZ7320.dts b/target/linux/lantiq/dts/FRITZ7320.dts index e1e70bef6c43..f14cac2850ec 100644 --- a/target/linux/lantiq/dts/FRITZ7320.dts +++ b/target/linux/lantiq/dts/FRITZ7320.dts @@ -2,6 +2,8 @@ #include "ar9.dtsi" +#include + / { model = "FRITZ7320 - 1&1 HomeServer"; diff --git a/target/linux/lantiq/dts/FRITZ7360SL.dts b/target/linux/lantiq/dts/FRITZ7360SL.dts index f41ea41f3b87..796458a6a5af 100644 --- a/target/linux/lantiq/dts/FRITZ7360SL.dts +++ b/target/linux/lantiq/dts/FRITZ7360SL.dts @@ -2,6 +2,8 @@ #include "vr9.dtsi" +#include + / { model = "FRITZ7360SL - 1&1 HomeServer"; diff --git a/target/linux/lantiq/dts/GIGASX76X.dts b/target/linux/lantiq/dts/GIGASX76X.dts index 6507157d986f..6602693b7ce2 100644 --- a/target/linux/lantiq/dts/GIGASX76X.dts +++ b/target/linux/lantiq/dts/GIGASX76X.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "GIGASX76X - Gigaset SX761,SX762,SX763"; diff --git a/target/linux/lantiq/dts/H201L.dts b/target/linux/lantiq/dts/H201L.dts index 85723592b59b..7d4a24c661ee 100644 --- a/target/linux/lantiq/dts/H201L.dts +++ b/target/linux/lantiq/dts/H201L.dts @@ -2,6 +2,8 @@ #include "ar9.dtsi" +#include + / { model = "H201L - ZTE H210L"; diff --git a/target/linux/lantiq/dts/P2601HNFX.dts b/target/linux/lantiq/dts/P2601HNFX.dts index 250de38122e7..c82ab3dcb816 100644 --- a/target/linux/lantiq/dts/P2601HNFX.dts +++ b/target/linux/lantiq/dts/P2601HNFX.dts @@ -2,6 +2,8 @@ #include "ar9.dtsi" +#include + / { model = "P2601HNFX - ZyXEL P-2601HN-Fx"; diff --git a/target/linux/lantiq/dts/P2812HNUFX.dtsi b/target/linux/lantiq/dts/P2812HNUFX.dtsi index f0dfe9850186..afd13eaf035f 100644 --- a/target/linux/lantiq/dts/P2812HNUFX.dtsi +++ b/target/linux/lantiq/dts/P2812HNUFX.dtsi @@ -1,5 +1,7 @@ #include "vr9.dtsi" +#include + / { 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 fd37352959df..6447451d183f 100644 --- a/target/linux/lantiq/dts/TDW89X0.dtsi +++ b/target/linux/lantiq/dts/TDW89X0.dtsi @@ -1,5 +1,7 @@ #include "vr9.dtsi" +#include + / { 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 46b047a09d76..db25b8748843 100644 --- a/target/linux/lantiq/dts/VG3503J.dts +++ b/target/linux/lantiq/dts/VG3503J.dts @@ -2,6 +2,8 @@ #include "vr9.dtsi" +#include + / { model = "VG3503J - BT OpenReach VDSL Modem"; diff --git a/target/linux/lantiq/dts/VGV7510KW22.dtsi b/target/linux/lantiq/dts/VGV7510KW22.dtsi index 5ca2844d08a1..370ef57e06a2 100644 --- a/target/linux/lantiq/dts/VGV7510KW22.dtsi +++ b/target/linux/lantiq/dts/VGV7510KW22.dtsi @@ -1,5 +1,7 @@ #include "vr9.dtsi" +#include + / { model = "VGV7510KW22 - o2 Box 6431"; diff --git a/target/linux/lantiq/dts/VGV7519.dtsi b/target/linux/lantiq/dts/VGV7519.dtsi index a7b421fff93a..ad4233a43d05 100644 --- a/target/linux/lantiq/dts/VGV7519.dtsi +++ b/target/linux/lantiq/dts/VGV7519.dtsi @@ -1,5 +1,7 @@ #include "vr9.dtsi" +#include + / { model = "VGV7519 - KPN Experiabox V8"; diff --git a/target/linux/lantiq/dts/VR200v.dts b/target/linux/lantiq/dts/VR200v.dts index 777bef937206..f814d242d6de 100644 --- a/target/linux/lantiq/dts/VR200v.dts +++ b/target/linux/lantiq/dts/VR200v.dts @@ -2,6 +2,8 @@ #include "vr9.dtsi" +#include + / { model = "VR200v - TP-LINK Archer VR200v"; diff --git a/target/linux/lantiq/dts/WBMR.dts b/target/linux/lantiq/dts/WBMR.dts index 07671d60536e..3dbc641e6687 100644 --- a/target/linux/lantiq/dts/WBMR.dts +++ b/target/linux/lantiq/dts/WBMR.dts @@ -2,6 +2,8 @@ #include "ar9.dtsi" +#include + / { model = "WBMR - Buffalo WBMR-HP-G300H"; diff --git a/target/linux/lantiq/dts/WBMR300.dts b/target/linux/lantiq/dts/WBMR300.dts index dc0b2862a9ec..54bb98e81a4c 100644 --- a/target/linux/lantiq/dts/WBMR300.dts +++ b/target/linux/lantiq/dts/WBMR300.dts @@ -2,6 +2,8 @@ #include "vr9.dtsi" +#include + / { model = "WBMR300 - Buffalo WBMR-300HPD"; diff --git a/target/linux/lantiq/dts/amazonse.dtsi b/target/linux/lantiq/dts/amazonse.dtsi index 520f0e0e852c..33a5a3533982 100644 --- a/target/linux/lantiq/dts/amazonse.dtsi +++ b/target/linux/lantiq/dts/amazonse.dtsi @@ -1,5 +1,4 @@ #include -#include / { #address-cells = <1>; diff --git a/target/linux/lantiq/dts/ar9.dtsi b/target/linux/lantiq/dts/ar9.dtsi index 32bed972b1cd..4d3fd6f9a33d 100644 --- a/target/linux/lantiq/dts/ar9.dtsi +++ b/target/linux/lantiq/dts/ar9.dtsi @@ -1,5 +1,4 @@ #include -#include / { #address-cells = <1>; diff --git a/target/linux/lantiq/dts/danube.dtsi b/target/linux/lantiq/dts/danube.dtsi index 39f2865779b9..62e31d6bec59 100644 --- a/target/linux/lantiq/dts/danube.dtsi +++ b/target/linux/lantiq/dts/danube.dtsi @@ -1,5 +1,4 @@ #include -#include / { #address-cells = <1>; diff --git a/target/linux/lantiq/dts/vr9.dtsi b/target/linux/lantiq/dts/vr9.dtsi index 5478e1a9df73..779e23e61f73 100644 --- a/target/linux/lantiq/dts/vr9.dtsi +++ b/target/linux/lantiq/dts/vr9.dtsi @@ -1,5 +1,4 @@ #include -#include / { #address-cells = <1>; diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-akitio.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-akitio.dts index 4dc969c1fd94..712c03e4256d 100644 --- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-akitio.dts +++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-akitio.dts @@ -9,6 +9,8 @@ /dts-v1/; #include "ox820.dtsi" +#include + / { model = "Akitio MyCloud mini"; @@ -75,12 +77,12 @@ power { label = "power"; gpios = <&GPIOA 11 1>; - linux,code = <116>; + linux,code = ; }; reset { label = "reset"; gpios = <&GPIOB 6 1>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts index b5c79dede386..1312fd63b564 100644 --- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts +++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts @@ -9,6 +9,8 @@ /dts-v1/; #include "ox820.dtsi" +#include + / { model = "Shuttle KD20"; @@ -91,17 +93,17 @@ power { label = "power"; gpios = <&GPIOA 10 1>; - linux,code = <116>; + linux,code = ; }; reset { label = "reset"; gpios = <&GPIOA 11 1>; - linux,code = <0x198>; + linux,code = ; }; eject1 { label = "eject1"; gpios = <&GPIOA 5 1>; - linux,code = <161>; + linux,code = ; }; eject2 { label = "eject2"; diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-stg212.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-stg212.dts index a0704bb348ea..a8112c947c07 100644 --- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-stg212.dts +++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-stg212.dts @@ -10,6 +10,8 @@ #include "ox820.dtsi" +#include + / { model = "MitraStar Technology Corp. STG-212"; @@ -57,12 +59,12 @@ reset { label = "reset"; gpios = <&GPIOB 11 1>; - linux,code = <0x198>; + linux,code = ; }; copy { label = "copy"; gpios = <&GPIOB 13 1>; - linux,code = <0x85>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/3G-6200N.dts b/target/linux/ramips/dts/3G-6200N.dts index a8032c5a78d5..502020e5d1b2 100644 --- a/target/linux/ramips/dts/3G-6200N.dts +++ b/target/linux/ramips/dts/3G-6200N.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "3G-6200N", "ralink,rt3050-soc"; model = "Edimax 3g-6200n"; @@ -72,13 +74,13 @@ reset { label = "reset"; gpios = <&gpio0 12 1>; - linux,code = <0x198>; + linux,code = ; }; rfkill { label = "wlanswitch"; gpios = <&gpio0 13 1>; - linux,code = <0xf7>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/3G-6200NL.dts b/target/linux/ramips/dts/3G-6200NL.dts index 453e45b02260..111fef314ff5 100644 --- a/target/linux/ramips/dts/3G-6200NL.dts +++ b/target/linux/ramips/dts/3G-6200NL.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "3G-6200NL", "ralink,rt3050-soc"; model = "Edimax 3g-6200nl"; @@ -67,7 +69,7 @@ reset { label = "reset"; gpios = <&gpio0 12 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/3G150B.dts b/target/linux/ramips/dts/3G150B.dts index 3d348ff0f35a..b64f9403676c 100644 --- a/target/linux/ramips/dts/3G150B.dts +++ b/target/linux/ramips/dts/3G150B.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "3G150B", "ralink,rt5350-soc"; model = "Tenda 3G150B"; @@ -29,7 +31,7 @@ reset { label = "reset"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/3G300M.dts b/target/linux/ramips/dts/3G300M.dts index df770d83d511..4d19bca6dad3 100644 --- a/target/linux/ramips/dts/3G300M.dts +++ b/target/linux/ramips/dts/3G300M.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "3G300M", "ralink,rt3052-soc"; model = "Tenda 3G300M"; @@ -49,13 +51,13 @@ reset { label = "reset"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = ; }; mode { label = "mode"; gpios = <&gpio0 10 1>; - linux,code = <0x100>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/A5-V11.dts b/target/linux/ramips/dts/A5-V11.dts index 51eb00587460..748e1edac759 100644 --- a/target/linux/ramips/dts/A5-V11.dts +++ b/target/linux/ramips/dts/A5-V11.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "A5-V11", "ralink,rt5350-soc"; model = "A5-V11"; @@ -29,7 +31,7 @@ reset { label = "reset"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/AI-BR100.dts b/target/linux/ramips/dts/AI-BR100.dts index 2c3293331a95..2405ae700fd3 100644 --- a/target/linux/ramips/dts/AI-BR100.dts +++ b/target/linux/ramips/dts/AI-BR100.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "AI-BR100", "ralink,mt7620a-soc"; model = "Aigale Ai-BR100"; @@ -29,7 +31,7 @@ reset { label = "reset"; gpios = <&gpio0 12 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/AIR3GII.dts b/target/linux/ramips/dts/AIR3GII.dts index 2b08895b496b..4d9a3b543248 100644 --- a/target/linux/ramips/dts/AIR3GII.dts +++ b/target/linux/ramips/dts/AIR3GII.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "AIR3GII", "ralink,rt5350-soc"; model = "AirLive Air3GII"; @@ -29,7 +31,7 @@ wps { label = "wps"; gpios = <&gpio0 7 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/ALL0239-3G.dts b/target/linux/ramips/dts/ALL0239-3G.dts index d1d92e168c9b..7957bad2f9b9 100644 --- a/target/linux/ramips/dts/ALL0239-3G.dts +++ b/target/linux/ramips/dts/ALL0239-3G.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "ALL0239-3G", "ralink,rt3052-soc"; model = "Allnet ALL0239-3G"; @@ -72,19 +74,19 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; connect { label = "connect"; gpios = <&gpio0 7 1>; - linux,code = <0xda>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/ALL0256N-4M.dts b/target/linux/ramips/dts/ALL0256N-4M.dts index 1cfaed67bb7c..19cef87cbd8e 100644 --- a/target/linux/ramips/dts/ALL0256N-4M.dts +++ b/target/linux/ramips/dts/ALL0256N-4M.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "ALL0256N", "ralink,rt3050-soc"; model = "Allnet ALL0256N"; @@ -34,7 +36,7 @@ reset { label = "reset"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/ALL0256N-8M.dts b/target/linux/ramips/dts/ALL0256N-8M.dts index 074273d6088c..a3fbeecb2796 100644 --- a/target/linux/ramips/dts/ALL0256N-8M.dts +++ b/target/linux/ramips/dts/ALL0256N-8M.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "ALL0256N", "ralink,rt3050-soc"; model = "Allnet ALL0256N"; @@ -34,7 +36,7 @@ reset { label = "reset"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/AR670W.dts b/target/linux/ramips/dts/AR670W.dts index c1eac438816d..3d26c3b6ff4e 100644 --- a/target/linux/ramips/dts/AR670W.dts +++ b/target/linux/ramips/dts/AR670W.dts @@ -2,6 +2,8 @@ #include "rt2880.dtsi" +#include + / { compatible = "AR670W", "ralink,rt2880-soc"; model = "Airlink101 AR670W"; @@ -54,13 +56,13 @@ wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio0 9 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/AR725W.dts b/target/linux/ramips/dts/AR725W.dts index 3b8cfb3be711..3a2003e8a376 100644 --- a/target/linux/ramips/dts/AR725W.dts +++ b/target/linux/ramips/dts/AR725W.dts @@ -2,6 +2,8 @@ #include "rt2880.dtsi" +#include + / { compatible = "AR725W", "ralink,rt2880-soc"; model = "Airlink101 AR725W"; @@ -64,13 +66,13 @@ wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio0 9 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/ASL26555-16M.dts b/target/linux/ramips/dts/ASL26555-16M.dts index 56f3c9d99c9f..2887a6ef0273 100644 --- a/target/linux/ramips/dts/ASL26555-16M.dts +++ b/target/linux/ramips/dts/ASL26555-16M.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "ASL26555", "ralink,rt3050-soc"; model = "Alpha ASL26555"; @@ -15,13 +17,13 @@ reset { label = "reset"; gpios = <&gpio0 10 0>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 12 0>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/ASL26555-8M.dts b/target/linux/ramips/dts/ASL26555-8M.dts index 0dbc1dd33736..5ab65938a1a5 100644 --- a/target/linux/ramips/dts/ASL26555-8M.dts +++ b/target/linux/ramips/dts/ASL26555-8M.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "ASL26555", "ralink,rt3050-soc"; model = "Alpha ASL26555"; @@ -15,13 +17,13 @@ reset { label = "reset"; gpios = <&gpio0 10 0>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 12 0>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/ATP-52B.dts b/target/linux/ramips/dts/ATP-52B.dts index c15d3a464588..7e872985dd21 100644 --- a/target/linux/ramips/dts/ATP-52B.dts +++ b/target/linux/ramips/dts/ATP-52B.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "ATP-52B", "ralink,rt3052-soc"; model = "Argus ATP-52B"; @@ -59,13 +61,13 @@ wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/AWAPN2403.dts b/target/linux/ramips/dts/AWAPN2403.dts index 7babe42d56f8..a1b5b217b22e 100644 --- a/target/linux/ramips/dts/AWAPN2403.dts +++ b/target/linux/ramips/dts/AWAPN2403.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "AWAPN2403", "ralink,rt3052-soc"; model = "AsiaRF AWAPN2403"; @@ -24,7 +26,7 @@ reset { label = "reset"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/AWM002-EVB-4M.dts b/target/linux/ramips/dts/AWM002-EVB-4M.dts index e1252325578f..f647a9658c2a 100644 --- a/target/linux/ramips/dts/AWM002-EVB-4M.dts +++ b/target/linux/ramips/dts/AWM002-EVB-4M.dts @@ -2,6 +2,8 @@ #include "AWM002-4M.dtsi" +#include + / { model = "AsiaRF AWM002 EVB"; @@ -33,13 +35,13 @@ reset_wps { label = "reset_wps"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = ; }; mode { label = "mode"; gpios = <&gpio0 20 1>; - linux,code = <0x32>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/AWM002-EVB-8M.dts b/target/linux/ramips/dts/AWM002-EVB-8M.dts index f2f91bb3d93e..3c34c4aaaab4 100644 --- a/target/linux/ramips/dts/AWM002-EVB-8M.dts +++ b/target/linux/ramips/dts/AWM002-EVB-8M.dts @@ -2,6 +2,8 @@ #include "AWM002-8M.dtsi" +#include + / { model = "AsiaRF AWM002 EVB"; @@ -33,13 +35,13 @@ reset_wps { label = "reset_wps"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = ; }; mode { label = "mode"; gpios = <&gpio0 20 1>; - linux,code = <0x32>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/AWM003-EVB.dts b/target/linux/ramips/dts/AWM003-EVB.dts index 13e6964ccc20..9f8c2d266bb2 100644 --- a/target/linux/ramips/dts/AWM003-EVB.dts +++ b/target/linux/ramips/dts/AWM003-EVB.dts @@ -2,6 +2,8 @@ #include "AWM002-8M.dtsi" +#include + / { compatible = "AWM003", "ralink,rt5350-soc"; model = "AsiaRF AWM003 EVB"; @@ -39,13 +41,13 @@ reset_wps { label = "reset_wps"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = ; }; mode { label = "mode"; gpios = <&gpio0 20 1>; - linux,code = <0x32>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/ArcherC20i.dts b/target/linux/ramips/dts/ArcherC20i.dts index a58fa57ced5d..711274e62578 100644 --- a/target/linux/ramips/dts/ArcherC20i.dts +++ b/target/linux/ramips/dts/ArcherC20i.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "ralink,mt7620a-soc"; model = "TP-Link Archer C20i"; @@ -41,12 +43,12 @@ rfkill { label = "rfkill"; gpios = <&gpio0 2 1>; - linux,code = <0xf7>; + linux,code = ; }; reset_wps { label = "reset_wps"; gpios = <&gpio0 13 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/BC2.dts b/target/linux/ramips/dts/BC2.dts index 5ae10a31a0f7..55cf8964f35e 100644 --- a/target/linux/ramips/dts/BC2.dts +++ b/target/linux/ramips/dts/BC2.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "BC2", "ralink,rt3052-soc"; model = "NexAira BC2"; @@ -56,7 +58,7 @@ reset { label = "reset"; gpios = <&gpio0 17 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/BR-6425.dts b/target/linux/ramips/dts/BR-6425.dts index b871ead992aa..1e13c97ada21 100644 --- a/target/linux/ramips/dts/BR-6425.dts +++ b/target/linux/ramips/dts/BR-6425.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "BR-6425", "ralink,rt3052-soc"; model = "Edimax BR-6425"; @@ -38,13 +40,13 @@ reset_wps { label = "reset_wps"; gpios = <&gpio0 12 1>; - linux,code = <0x198>; + linux,code = ; }; rfkill { label = "RFKILL switch"; gpios = <&gpio0 13 1>; - linux,code = <0xf7>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/BR-6475ND.dts b/target/linux/ramips/dts/BR-6475ND.dts index 2ab2cba8941c..a93b8177bee5 100644 --- a/target/linux/ramips/dts/BR-6475ND.dts +++ b/target/linux/ramips/dts/BR-6475ND.dts @@ -2,6 +2,8 @@ #include "rt3883.dtsi" +#include + / { compatible = "BR-6475ND", "ralink,rt3883-soc"; model = "Edimax BR-6475nD"; @@ -15,14 +17,14 @@ reset { label = "reset"; gpios = <&gpio0 7 1>; - linux,code = <0x198>; + linux,code = ; }; rfkill { label = "rfkill"; gpios = <&gpio0 9 1>; - linux,input-type = <5>; - linux,code = <0xf7>; + linux,input-type = ; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/BROADWAY.dts b/target/linux/ramips/dts/BROADWAY.dts index 790dcc0467f2..6cfac0f988ea 100644 --- a/target/linux/ramips/dts/BROADWAY.dts +++ b/target/linux/ramips/dts/BROADWAY.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "BROADWAY", "ralink,rt3052-soc"; model = "Hauppauge Broadway"; @@ -61,7 +63,7 @@ factory { label = "Factory Reset button"; gpios = <&gpio0 13 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/CF-WR800N.dts b/target/linux/ramips/dts/CF-WR800N.dts index 913f142f3528..6ce4b27301fb 100644 --- a/target/linux/ramips/dts/CF-WR800N.dts +++ b/target/linux/ramips/dts/CF-WR800N.dts @@ -2,6 +2,8 @@ #include "mt7620n.dtsi" +#include + / { compatible = "cf-wr800n", "ralink,mt7620n-soc"; model = "Comfast CF-WR800N"; @@ -38,7 +40,7 @@ reset { label = "reset"; gpios = <&gpio0 2 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/CS-QR10.dts b/target/linux/ramips/dts/CS-QR10.dts index c3cb711a05f1..bdd828fe8fde 100644 --- a/target/linux/ramips/dts/CS-QR10.dts +++ b/target/linux/ramips/dts/CS-QR10.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "ralink,mt7620a-soc"; model = "Planex CS-QR10"; @@ -35,13 +37,13 @@ s1 { label = "reset"; gpios = <&gpio1 1 1>; - linux,code = <0x198>; + linux,code = ; }; s2 { label = "wps"; gpios = <&gpio1 3 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/CY-SWR1100.dts b/target/linux/ramips/dts/CY-SWR1100.dts index 95827d5017f5..e77227952588 100644 --- a/target/linux/ramips/dts/CY-SWR1100.dts +++ b/target/linux/ramips/dts/CY-SWR1100.dts @@ -2,6 +2,8 @@ #include "rt3883.dtsi" +#include + / { compatible = "CY-SWR1100", "ralink,rt3883-soc"; model = "Samsung CY-SWR1100"; @@ -64,13 +66,13 @@ reset { label = "reset"; gpios = <&gpio0 6 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 3 1>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/D105.dts b/target/linux/ramips/dts/D105.dts index 2e86d1edac2a..f7ace49f6285 100644 --- a/target/linux/ramips/dts/D105.dts +++ b/target/linux/ramips/dts/D105.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "D105", "ralink,rt3050-soc"; model = "Huawei D105"; @@ -61,7 +63,7 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/DAP-1350.dts b/target/linux/ramips/dts/DAP-1350.dts index 4628544fb6ac..c3225db9527b 100644 --- a/target/linux/ramips/dts/DAP-1350.dts +++ b/target/linux/ramips/dts/DAP-1350.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "DAP-1350", "ralink,rt3052-soc"; model = "D-Link DAP-1350"; @@ -76,25 +78,25 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; rt { label = "rt"; gpios = <&gpio0 11 1>; - linux,code = <0x100>; + linux,code = ; }; ap { label = "ap"; gpios = <&gpio0 7 1>; - linux,code = <0x101>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/DB-WRT01.dts b/target/linux/ramips/dts/DB-WRT01.dts index 4560dc5ca84b..400c5ef51b4b 100644 --- a/target/linux/ramips/dts/DB-WRT01.dts +++ b/target/linux/ramips/dts/DB-WRT01.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "ralink,mt7620a-soc"; model = "Planex DB-WRT01"; @@ -24,7 +26,7 @@ s1 { label = "wps"; gpios = <&gpio0 2 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/DCH-M225.dts b/target/linux/ramips/dts/DCH-M225.dts index ee7c2c404a5a..21133a9b88cd 100644 --- a/target/linux/ramips/dts/DCH-M225.dts +++ b/target/linux/ramips/dts/DCH-M225.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "dlink,dch-m225", "ralink,mt7620a-soc"; model = "D-Link DCH-M225"; @@ -15,13 +17,13 @@ wps { label = "wps"; gpios = <&gpio0 11 1>; - linux,code = <0xf7>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio1 2 1>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/DCS-930.dts b/target/linux/ramips/dts/DCS-930.dts index 373973c3df82..d57682ec7bf1 100644 --- a/target/linux/ramips/dts/DCS-930.dts +++ b/target/linux/ramips/dts/DCS-930.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "DCS-930", "ralink,rt3050-soc"; model = "D-Link DCS-930"; @@ -76,13 +78,13 @@ wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x101>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/DCS-930L-B1.dts b/target/linux/ramips/dts/DCS-930L-B1.dts index 133245cb74b1..17996d2358c2 100644 --- a/target/linux/ramips/dts/DCS-930L-B1.dts +++ b/target/linux/ramips/dts/DCS-930L-B1.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "DCS-930L-B1", "ralink,rt5350-soc"; model = "D-Link DCS-930L B1"; @@ -29,13 +31,13 @@ reset { label = "reset"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 20 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/DIR-300-B1.dts b/target/linux/ramips/dts/DIR-300-B1.dts index 4f0a7ffde751..2ba6ae64c60b 100644 --- a/target/linux/ramips/dts/DIR-300-B1.dts +++ b/target/linux/ramips/dts/DIR-300-B1.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "DIR-300-B1", "ralink,rt3050-soc"; model = "D-Link DIR-300 B1"; @@ -47,13 +49,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/DIR-300-B7.dts b/target/linux/ramips/dts/DIR-300-B7.dts index 9b9a6a459260..fb93f5d646e1 100644 --- a/target/linux/ramips/dts/DIR-300-B7.dts +++ b/target/linux/ramips/dts/DIR-300-B7.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "DIR-300-B7", "ralink,rt5350-soc"; model = "D-Link DIR-300 B7"; @@ -29,13 +31,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/DIR-320-B1.dts b/target/linux/ramips/dts/DIR-320-B1.dts index 102e06abf9ac..2335c9a391e9 100644 --- a/target/linux/ramips/dts/DIR-320-B1.dts +++ b/target/linux/ramips/dts/DIR-320-B1.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "DIR-320-B1", "ralink,rt5350-soc"; model = "D-Link DIR-320 B1"; @@ -34,13 +36,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/DIR-600-B1.dts b/target/linux/ramips/dts/DIR-600-B1.dts index d45d3c5ccdf4..493d49bb7309 100644 --- a/target/linux/ramips/dts/DIR-600-B1.dts +++ b/target/linux/ramips/dts/DIR-600-B1.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "DIR-600-B1", "ralink,rt3050-soc"; model = "D-Link DIR-600 B1"; @@ -47,13 +49,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/DIR-600-B2.dts b/target/linux/ramips/dts/DIR-600-B2.dts index f0269cfa2e59..f1f10ad2545b 100644 --- a/target/linux/ramips/dts/DIR-600-B2.dts +++ b/target/linux/ramips/dts/DIR-600-B2.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "DIR-600-B2", "ralink,rt3050-soc"; model = "D-Link DIR-600 B2"; @@ -47,13 +49,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/DIR-610-A1.dts b/target/linux/ramips/dts/DIR-610-A1.dts index 9ec66b4b003c..e69997f47464 100644 --- a/target/linux/ramips/dts/DIR-610-A1.dts +++ b/target/linux/ramips/dts/DIR-610-A1.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "DIR-610-A1", "ralink,rt5350-soc"; model = "D-Link DIR-610 A1"; @@ -29,13 +31,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/DIR-615-D.dts b/target/linux/ramips/dts/DIR-615-D.dts index cac9d2602cb9..67705fe3ce44 100644 --- a/target/linux/ramips/dts/DIR-615-D.dts +++ b/target/linux/ramips/dts/DIR-615-D.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "DIR-615-D", "ralink,rt3050-soc"; model = "D-Link DIR-615 D"; @@ -47,13 +49,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/DIR-615-H1.dts b/target/linux/ramips/dts/DIR-615-H1.dts index d53c82609f0e..9fbd7356c496 100644 --- a/target/linux/ramips/dts/DIR-615-H1.dts +++ b/target/linux/ramips/dts/DIR-615-H1.dts @@ -2,6 +2,8 @@ #include "rt3352.dtsi" +#include + / { compatible = "DIR-615-H1", "ralink,rt3352-soc"; model = "D-Link DIR-615 H1"; @@ -44,13 +46,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/DIR-620-A1.dts b/target/linux/ramips/dts/DIR-620-A1.dts index 68a23465a643..50967b29c2a8 100644 --- a/target/linux/ramips/dts/DIR-620-A1.dts +++ b/target/linux/ramips/dts/DIR-620-A1.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "DIR-620-A1", "ralink,rt3050-soc"; model = "D-Link DIR-620 A1"; @@ -47,13 +49,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/DIR-620-D1.dts b/target/linux/ramips/dts/DIR-620-D1.dts index 5cf330e66bbe..1bdcaffb4ac6 100644 --- a/target/linux/ramips/dts/DIR-620-D1.dts +++ b/target/linux/ramips/dts/DIR-620-D1.dts @@ -2,6 +2,8 @@ #include "rt3352.dtsi" +#include + / { compatible = "DIR-620-D1", "ralink,rt3352-soc"; model = "D-Link DIR-620 D1"; @@ -29,7 +31,7 @@ reset_wps { label = "reset_wps"; gpios = <&gpio0 7 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/DIR-645.dts b/target/linux/ramips/dts/DIR-645.dts index d508297ac186..30eccaf5f591 100644 --- a/target/linux/ramips/dts/DIR-645.dts +++ b/target/linux/ramips/dts/DIR-645.dts @@ -2,6 +2,8 @@ #include "rt3883.dtsi" +#include + / { compatible = "DIR-645", "ralink,rt3883-soc"; model = "D-Link DIR-645"; @@ -22,13 +24,13 @@ reset { label = "reset"; gpios = <&gpio0 9 0>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 14 0>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/DIR-810L.dts b/target/linux/ramips/dts/DIR-810L.dts index 1f9ad8a5d2d6..4ccea0d45b03 100644 --- a/target/linux/ramips/dts/DIR-810L.dts +++ b/target/linux/ramips/dts/DIR-810L.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "dlink,dir-810l", "ralink,mt7620a-soc"; model = "D-Link DIR-810L"; @@ -15,13 +17,13 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x100>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 2 1>; - linux,code = <0x100>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/DIR-860L-B1.dts b/target/linux/ramips/dts/DIR-860L-B1.dts index 579df585c71a..5154a4dedb6e 100644 --- a/target/linux/ramips/dts/DIR-860L-B1.dts +++ b/target/linux/ramips/dts/DIR-860L-B1.dts @@ -2,6 +2,8 @@ #include "mt7621.dtsi" +#include + / { compatible = "ralink,mt7621-eval-board", "ralink,mt7621-soc"; model = "D-Link DIR-860L B1"; @@ -48,13 +50,13 @@ reset { label = "reset"; gpios = <&gpio0 7 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 18 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/DUZUN-DM06.dts b/target/linux/ramips/dts/DUZUN-DM06.dts index 05bb56181e59..5715791a6880 100644 --- a/target/linux/ramips/dts/DUZUN-DM06.dts +++ b/target/linux/ramips/dts/DUZUN-DM06.dts @@ -2,6 +2,8 @@ #include "mt7628an.dtsi" +#include + / { compatible = "duzun,dm06-mt7628an", "mediatek,mt7628an-soc"; model = "DuZun DM06"; @@ -20,13 +22,13 @@ reset { label = "reset"; gpios = <&gpio1 14 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio1 6 1>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/E1700.dts b/target/linux/ramips/dts/E1700.dts index 36126ab42b0c..050303a41364 100644 --- a/target/linux/ramips/dts/E1700.dts +++ b/target/linux/ramips/dts/E1700.dts @@ -12,6 +12,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "linksys,e1700", "ralink,mt7620a-soc"; model = "Linksys E1700"; @@ -25,13 +27,13 @@ reset { label = "reset"; gpios = <&gpio0 1 0>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 2 0>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/ESR-9753.dts b/target/linux/ramips/dts/ESR-9753.dts index 686916678746..59a961d69907 100644 --- a/target/linux/ramips/dts/ESR-9753.dts +++ b/target/linux/ramips/dts/ESR-9753.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "ESR-9753", "ralink,rt3052-soc"; model = "Senao / EnGenius ESR-9753"; @@ -61,13 +63,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/EX2700.dts b/target/linux/ramips/dts/EX2700.dts index c711adc6b4e7..348ca789d105 100644 --- a/target/linux/ramips/dts/EX2700.dts +++ b/target/linux/ramips/dts/EX2700.dts @@ -12,6 +12,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "ralink,mt7620a-soc"; model = "Netgear EX2700"; @@ -69,13 +71,13 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 2 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/F5D8235_V1.dts b/target/linux/ramips/dts/F5D8235_V1.dts index dacdea6ca400..74e423c26544 100644 --- a/target/linux/ramips/dts/F5D8235_V1.dts +++ b/target/linux/ramips/dts/F5D8235_V1.dts @@ -2,6 +2,8 @@ #include "rt2880.dtsi" +#include + / { #address-cells = <1>; #size-cells = <1>; @@ -55,13 +57,13 @@ wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio0 9 1>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/F7C027.dts b/target/linux/ramips/dts/F7C027.dts index c8ed765df284..d6a150a4a775 100644 --- a/target/linux/ramips/dts/F7C027.dts +++ b/target/linux/ramips/dts/F7C027.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "F7C027", "ralink,rt5350-soc"; model = "Belkin F7C027"; @@ -39,19 +41,19 @@ top { label = "restore"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; power { label = "power"; gpios = <&gpio0 12 1>; - linux,code = <0xf7>; + linux,code = ; }; sensor { label = "sensor"; gpios = <&gpio0 14 1>; - linux,code = <0x100>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/FIREWRT.dts b/target/linux/ramips/dts/FIREWRT.dts index 4299b68a3405..b318e6808bc7 100644 --- a/target/linux/ramips/dts/FIREWRT.dts +++ b/target/linux/ramips/dts/FIREWRT.dts @@ -2,6 +2,8 @@ #include "mt7621.dtsi" +#include + / { compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc"; model = "Firefly FireWRT"; @@ -33,13 +35,13 @@ wps { label = "wps"; gpios = <&gpio0 18 1>; - linux,code = <0x211>; + linux,code = ; }; power { label = "power"; gpios = <&gpio0 23 1>; - linux,code = <116>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/FONERA20N.dts b/target/linux/ramips/dts/FONERA20N.dts index b7eb91ea7bc4..c409f9b01d73 100644 --- a/target/linux/ramips/dts/FONERA20N.dts +++ b/target/linux/ramips/dts/FONERA20N.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "FONERA20N", "ralink,rt3052-soc"; model = "La Fonera 2.0N"; @@ -66,14 +68,14 @@ reset { label = "reset"; gpios = <&gpio0 12 1>; - linux,code = <0x198>; + linux,code = ; }; switch { label = "switch"; gpios = <&gpio0 13 1>; - linux,code = <0xf7>; - linux,input-type = <5>; /* EV_SW */ + linux,code = ; + linux,input-type = ; }; }; }; diff --git a/target/linux/ramips/dts/GL-MT300A.dts b/target/linux/ramips/dts/GL-MT300A.dts index 5edb7ca4878e..6922b958db46 100644 --- a/target/linux/ramips/dts/GL-MT300A.dts +++ b/target/linux/ramips/dts/GL-MT300A.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "GL-MT300A", "ralink,mt7620a-soc"; model = "GL-MT300A"; @@ -43,19 +45,19 @@ reset { label = "reset"; gpios = <&gpio0 13 1>; - linux,code = <0x198>; + linux,code = ; }; BTN_0 { label = "BTN_0"; gpios = <&gpio0 1 1>; - linux,code = <0x100>; + linux,code = ; }; BTN_1 { label = "BTN_1"; gpios = <&gpio0 2 1>; - linux,code = <0x101>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/GL-MT300N.dts b/target/linux/ramips/dts/GL-MT300N.dts index 341a8f646283..c6feb96f89c2 100644 --- a/target/linux/ramips/dts/GL-MT300N.dts +++ b/target/linux/ramips/dts/GL-MT300N.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "GL-MT300N", "ralink,mt7620a-soc"; model = "GL-MT300N"; @@ -38,19 +40,19 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = ; }; BTN_0 { label = "BTN_0"; gpios = <&gpio2 2 1>; - linux,code = <0x100>; + linux,code = ; }; BTN_1 { label = "BTN_1"; gpios = <&gpio2 3 1>; - linux,code = <0x101>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/GL-MT750.dts b/target/linux/ramips/dts/GL-MT750.dts index c59ffb37565b..46679842bc52 100644 --- a/target/linux/ramips/dts/GL-MT750.dts +++ b/target/linux/ramips/dts/GL-MT750.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "GL-MT750", "ralink,mt7620a-soc"; model = "GL-MT750"; @@ -38,19 +40,19 @@ reset { label = "reset"; gpios = <&gpio0 13 1>; - linux,code = <0x198>; + linux,code = ; }; BTN_0 { label = "BTN_0"; gpios = <&gpio2 2 1>; - linux,code = <0x100>; + linux,code = ; }; BTN_1 { label = "BTN_1"; gpios = <&gpio2 3 1>; - linux,code = <0x101>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/HC5XXX.dtsi b/target/linux/ramips/dts/HC5XXX.dtsi index d55d5b65cd6e..54bf40936e4a 100644 --- a/target/linux/ramips/dts/HC5XXX.dtsi +++ b/target/linux/ramips/dts/HC5XXX.dtsi @@ -1,5 +1,7 @@ #include "mt7620a.dtsi" +#include + / { chosen { bootargs = "console=ttyS0,115200"; @@ -14,7 +16,7 @@ reset { label = "reset"; gpios = <&gpio0 12 1>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/HG255D.dts b/target/linux/ramips/dts/HG255D.dts index ee385097b2ce..91426db3c981 100644 --- a/target/linux/ramips/dts/HG255D.dts +++ b/target/linux/ramips/dts/HG255D.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "HG255D", "ralink,rt3052-soc"; model = "HuaWei HG255D"; @@ -87,19 +89,19 @@ reset { label = "reset"; gpios = <&gpio0 4 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 10 1>; - linux,code = <0x211>; + linux,code = ; }; rfkill { label = "rfkill"; gpios = <&gpio0 0 1>; - linux,code = <0xf7>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/HLKRM04.dts b/target/linux/ramips/dts/HLKRM04.dts index 2f4e43548f58..cbd860967a8a 100644 --- a/target/linux/ramips/dts/HLKRM04.dts +++ b/target/linux/ramips/dts/HLKRM04.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "HLKRM04", "ralink,rt5350-soc"; model = "HILINK HLK-RM04"; @@ -42,12 +44,12 @@ reset { label = "reset"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 14 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/HPM.dts b/target/linux/ramips/dts/HPM.dts index 000750fa1270..ada12c1cf485 100644 --- a/target/linux/ramips/dts/HPM.dts +++ b/target/linux/ramips/dts/HPM.dts @@ -2,6 +2,8 @@ #include "rt3883.dtsi" +#include + / { compatible = "HPM", "ralink,rt3883-soc"; model = "Omnima HPM"; @@ -19,7 +21,7 @@ reset { label = "reset"; gpios = <&gpio0 14 0>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/HT-TM02.dts b/target/linux/ramips/dts/HT-TM02.dts index bfa3536a29d7..8dc2dbc52413 100644 --- a/target/linux/ramips/dts/HT-TM02.dts +++ b/target/linux/ramips/dts/HT-TM02.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "HT-TM02", "ralink,rt5350-soc"; model = "HooToo HT-TM02"; @@ -29,14 +31,14 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; modeswitch { label = "modeswitch"; gpios = <&gpio0 14 1>; - linux,code = <0x100>; - linux,input-type = <5>; + linux,code = ; + linux,input-type = ; }; }; }; diff --git a/target/linux/ramips/dts/HW550-3G.dts b/target/linux/ramips/dts/HW550-3G.dts index 0efa8d0f54b0..d5bca44f94f0 100644 --- a/target/linux/ramips/dts/HW550-3G.dts +++ b/target/linux/ramips/dts/HW550-3G.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "HW550-3G", "ralink,rt3052-soc"; model = "Aztech HW550-3G"; @@ -71,19 +73,19 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; connect { label = "connect"; gpios = <&gpio0 7 1>; - linux,code = <0xda>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/IP2202.dts b/target/linux/ramips/dts/IP2202.dts index 50d5532a2d6e..6f26f3b50a22 100644 --- a/target/linux/ramips/dts/IP2202.dts +++ b/target/linux/ramips/dts/IP2202.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "IP2202", "ralink,rt3052-soc"; model = "Poray IP2202"; @@ -61,7 +63,7 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/JHR-N805R.dts b/target/linux/ramips/dts/JHR-N805R.dts index 0688c3ab023c..20cdb8487608 100644 --- a/target/linux/ramips/dts/JHR-N805R.dts +++ b/target/linux/ramips/dts/JHR-N805R.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "JHR-N805R", "ralink,rt3050-soc"; model = "JCG JHR-N805R"; @@ -24,7 +26,7 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/JHR-N825R.dts b/target/linux/ramips/dts/JHR-N825R.dts index 1e9acdf1139c..4eab8932654d 100644 --- a/target/linux/ramips/dts/JHR-N825R.dts +++ b/target/linux/ramips/dts/JHR-N825R.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "JHR-N825R", "ralink,rt3052-soc"; model = "JCG JHR-N825R"; @@ -54,7 +56,7 @@ reset_wps { label = "reset_wps"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/JHR-N926R.dts b/target/linux/ramips/dts/JHR-N926R.dts index 1a63656ed939..e5b64c5b96fd 100644 --- a/target/linux/ramips/dts/JHR-N926R.dts +++ b/target/linux/ramips/dts/JHR-N926R.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "JHR-N926R", "ralink,rt3052-soc"; model = "JCG JHR-N926R"; @@ -94,13 +96,13 @@ reset_wps { label = "reset_wps"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wlan { label = "wlan"; gpios = <&gpio0 1 1>; - linux,code = <0x100>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/LINKIT7688.dts b/target/linux/ramips/dts/LINKIT7688.dts index 09a8c987f7c3..210d4d0b8d10 100644 --- a/target/linux/ramips/dts/LINKIT7688.dts +++ b/target/linux/ramips/dts/LINKIT7688.dts @@ -2,6 +2,8 @@ #include "mt7628an.dtsi" +#include + / { compatible = "mediatek,linkit", "mediatek,mt7628an-soc"; model = "MediaTek LinkIt Smart 7688"; @@ -44,7 +46,7 @@ wps { label = "reset"; gpios = <&gpio1 6 1>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/M2M.dts b/target/linux/ramips/dts/M2M.dts index 22ec534a2a6e..99e7b6a44b4d 100644 --- a/target/linux/ramips/dts/M2M.dts +++ b/target/linux/ramips/dts/M2M.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "M2M", "ralink,rt5350-soc"; model = "Intenso Memory 2 Move"; @@ -33,13 +35,13 @@ power { label = "power"; gpios = <&gpio0 1 1>; - linux,code = <0x116>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/M3.dts b/target/linux/ramips/dts/M3.dts index 9b6ed89142a5..f4169c779cad 100644 --- a/target/linux/ramips/dts/M3.dts +++ b/target/linux/ramips/dts/M3.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "M3", "ralink,rt5350-soc"; model = "Poray M3"; @@ -24,14 +26,14 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; mode { label = "mode"; gpios = <&gpio0 17 1>; - linux,code = <0x100>; - linux,input-type = <5>; + linux,code = ; + linux,input-type = ; }; }; }; diff --git a/target/linux/ramips/dts/M4-4M.dts b/target/linux/ramips/dts/M4-4M.dts index 0502714c3b0e..79bea1952e23 100644 --- a/target/linux/ramips/dts/M4-4M.dts +++ b/target/linux/ramips/dts/M4-4M.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "M4", "ralink,rt5350-soc"; model = "Poray M4"; @@ -24,7 +26,7 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/M4-8M.dts b/target/linux/ramips/dts/M4-8M.dts index 16ee184ed260..8d6453b0d07c 100644 --- a/target/linux/ramips/dts/M4-8M.dts +++ b/target/linux/ramips/dts/M4-8M.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "M4", "ralink,rt5350-soc"; model = "Poray M4"; @@ -24,7 +26,7 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/MINIEMBPLUG.dts b/target/linux/ramips/dts/MINIEMBPLUG.dts index eefac574c13e..5f1cfe93cba2 100644 --- a/target/linux/ramips/dts/MINIEMBPLUG.dts +++ b/target/linux/ramips/dts/MINIEMBPLUG.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "MINIEMBPLUG", "ralink,rt5350-soc"; model = "Omnima MiniEMBPlug"; @@ -29,25 +31,25 @@ wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x211>; + linux,code = ; }; mode-one { label = "mode1"; gpios = <&gpio0 11 1>; - linux,code = <0x211>; + linux,code = ; }; mode-two { label = "mode2"; gpios = <&gpio0 12 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/MINIEMBWIFI.dts b/target/linux/ramips/dts/MINIEMBWIFI.dts index 1240adede0ab..ccdd40f80145 100644 --- a/target/linux/ramips/dts/MINIEMBWIFI.dts +++ b/target/linux/ramips/dts/MINIEMBWIFI.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "MINIEMBWIFI", "ralink,rt3052-soc"; model = "Omnima MiniEMBWiFi"; @@ -29,7 +31,7 @@ reset { label = "reset"; gpios = <&gpio0 12 1>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/MIWIFI-MINI.dts b/target/linux/ramips/dts/MIWIFI-MINI.dts index e9ad3750b709..0cd511c4fae5 100644 --- a/target/linux/ramips/dts/MIWIFI-MINI.dts +++ b/target/linux/ramips/dts/MIWIFI-MINI.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "xiaomi,miwifi-mini", "ralink,mt7620a-soc"; model = "Xiaomi MiWiFi Mini"; @@ -38,7 +40,7 @@ reset { label = "reset"; gpios = <&gpio1 6 0>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/MLW221.dts b/target/linux/ramips/dts/MLW221.dts index 3406280a418f..05d7dfff8a45 100644 --- a/target/linux/ramips/dts/MLW221.dts +++ b/target/linux/ramips/dts/MLW221.dts @@ -2,6 +2,8 @@ #include "mt7620n.dtsi" +#include + / { compatible = "mlw221", "ralink,mt7620n-soc"; model = "Kingston MLW221"; @@ -29,13 +31,13 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = ; }; system { label = "system"; gpios = <&gpio0 2 1>; - linux,code = <0xf7>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/MLWG2.dts b/target/linux/ramips/dts/MLWG2.dts index aeedb464d512..9c71c91c1c48 100644 --- a/target/linux/ramips/dts/MLWG2.dts +++ b/target/linux/ramips/dts/MLWG2.dts @@ -2,6 +2,8 @@ #include "mt7620n.dtsi" +#include + / { compatible = "mlwg2", "ralink,mt7620n-soc"; model = "Kingston MLWG2"; @@ -29,13 +31,13 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = ; }; system { label = "system"; gpios = <&gpio0 2 1>; - linux,code = <0xf7>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/MOFI3500-3GN.dts b/target/linux/ramips/dts/MOFI3500-3GN.dts index 633f20a7504f..23596e0f344b 100644 --- a/target/linux/ramips/dts/MOFI3500-3GN.dts +++ b/target/linux/ramips/dts/MOFI3500-3GN.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "MOFI3500-3GN", "ralink,rt3052-soc"; model = "MoFi Network MOFI3500-3GN"; @@ -71,19 +73,19 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; connect { label = "connect"; gpios = <&gpio0 7 1>; - linux,code = <0xda>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/MPRA1.dts b/target/linux/ramips/dts/MPRA1.dts index d9baed732a21..e97e60ca59f1 100644 --- a/target/linux/ramips/dts/MPRA1.dts +++ b/target/linux/ramips/dts/MPRA1.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "MPRA1", "ralink,rt5350-soc"; model = "HAME MPR-A1"; @@ -29,7 +31,7 @@ wps { label = "reset"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/MPRA2.dts b/target/linux/ramips/dts/MPRA2.dts index 84f5dda3a63d..72ee8768b6bd 100644 --- a/target/linux/ramips/dts/MPRA2.dts +++ b/target/linux/ramips/dts/MPRA2.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "MPRA2", "ralink,rt5350-soc"; model = "HAME MPR-A2"; @@ -29,7 +31,7 @@ wps { label = "reset"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/MR-102N.dts b/target/linux/ramips/dts/MR-102N.dts index 6546601f158d..a28deb79eda7 100644 --- a/target/linux/ramips/dts/MR-102N.dts +++ b/target/linux/ramips/dts/MR-102N.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "MR-102N", "ralink,rt3052-soc"; model = "AXIMCom MR-102N"; @@ -76,13 +78,13 @@ reset { label = "reset"; gpios = <&gpio0 13 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 18 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/MT7620a.dts b/target/linux/ramips/dts/MT7620a.dts index 7bf38976f616..8f1b6d952106 100644 --- a/target/linux/ramips/dts/MT7620a.dts +++ b/target/linux/ramips/dts/MT7620a.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc"; model = "Ralink MT7620a + MT7610e evaluation board"; @@ -15,13 +17,13 @@ s2 { label = "S2"; gpios = <&gpio0 1 1>; - linux,code = <0x100>; + linux,code = ; }; s3 { label = "S3"; gpios = <&gpio0 2 1>; - linux,code = <0x101>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/MT7620a_MT7610e.dts b/target/linux/ramips/dts/MT7620a_MT7610e.dts index 52ceddcbc82a..da241a425310 100644 --- a/target/linux/ramips/dts/MT7620a_MT7610e.dts +++ b/target/linux/ramips/dts/MT7620a_MT7610e.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc"; model = "Ralink MT7620A evaluation board"; @@ -15,13 +17,13 @@ wps { label = "wps"; gpios = <&gpio0 12 1>; - linux,code = <0x100>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio0 13 1>; - linux,code = <0x101>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/MT7620a_V22SG.dts b/target/linux/ramips/dts/MT7620a_V22SG.dts index a3e206e5dddf..ea175120825e 100644 --- a/target/linux/ramips/dts/MT7620a_V22SG.dts +++ b/target/linux/ramips/dts/MT7620a_V22SG.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc"; model = "Ralink MT7620a V22SG High Power evaluation board"; @@ -15,13 +17,13 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = ; }; aoss { label = "aoss"; gpios = <&gpio0 2 1>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/MZK-750DHP.dts b/target/linux/ramips/dts/MZK-750DHP.dts index 01fe2a1e24fe..589b19e52cb9 100644 --- a/target/linux/ramips/dts/MZK-750DHP.dts +++ b/target/linux/ramips/dts/MZK-750DHP.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "ralink,mt7620a-soc"; model = "Planex MZK-750DHP"; @@ -34,13 +36,13 @@ s1 { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = ; }; s2 { label = "wps"; gpios = <&gpio2 19 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/MZK-DP150N.dts b/target/linux/ramips/dts/MZK-DP150N.dts index 86f82ba59ae4..7fa8ef4ab909 100644 --- a/target/linux/ramips/dts/MZK-DP150N.dts +++ b/target/linux/ramips/dts/MZK-DP150N.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "MZK-DP150N", "ralink,rt5350-soc"; model = "Planex MZK-DP150N"; @@ -24,7 +26,7 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/MZK-EX300NP.dts b/target/linux/ramips/dts/MZK-EX300NP.dts index 4c87f90c5673..569d0a951cbe 100644 --- a/target/linux/ramips/dts/MZK-EX300NP.dts +++ b/target/linux/ramips/dts/MZK-EX300NP.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "ralink,mt7620a-soc"; model = "Planex MZK-EX300NP"; @@ -49,13 +51,13 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio1 3 0>; - linux,code = <0xf7>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/MZK-EX750NP.dts b/target/linux/ramips/dts/MZK-EX750NP.dts index 74f72f04cad7..ec2ca5fc4b46 100644 --- a/target/linux/ramips/dts/MZK-EX750NP.dts +++ b/target/linux/ramips/dts/MZK-EX750NP.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "ralink,mt7620a-soc"; model = "Planex MZK-EX750NP"; @@ -54,13 +56,13 @@ reset { label = "reset"; gpios = <&gpio0 9 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 13 0>; - linux,code = <0xf7>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/MZK-W300NH2.dts b/target/linux/ramips/dts/MZK-W300NH2.dts index 987d6a7c0d24..4b002b7c20e3 100644 --- a/target/linux/ramips/dts/MZK-W300NH2.dts +++ b/target/linux/ramips/dts/MZK-W300NH2.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "MZK-W300NH2", "ralink,rt3052-soc"; model = "Planex MZK-W300NH2"; @@ -72,19 +74,19 @@ wps { label = "wps"; gpios = <&gpio0 12 1>; - linux,code = <0x211>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = ; }; rt { label = "rt"; gpios = <&gpio0 13 1>; - linux,code = <0x100>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/MicroWRT.dts b/target/linux/ramips/dts/MicroWRT.dts index 07e01550a7f7..c8558c6326ef 100644 --- a/target/linux/ramips/dts/MicroWRT.dts +++ b/target/linux/ramips/dts/MicroWRT.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "microwrt", "ralink,mt7620a-soc"; model = "Microduino MicroWRT"; @@ -19,13 +21,13 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 2 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/NA930.dts b/target/linux/ramips/dts/NA930.dts index 4093932a50e0..522bc7585510 100644 --- a/target/linux/ramips/dts/NA930.dts +++ b/target/linux/ramips/dts/NA930.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc"; model = "Sercomm NA930"; @@ -48,19 +50,19 @@ reset { label = "reset"; gpios = <&gpio0 11 1>; - linux,code = <0x198>; + linux,code = ; }; zwave { label = "zwave"; gpios = <&gpio0 12 1>; - linux,code = <0x100>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 14 1>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/NBG-419N.dts b/target/linux/ramips/dts/NBG-419N.dts index 59ab665da711..e19ce34b5c36 100644 --- a/target/linux/ramips/dts/NBG-419N.dts +++ b/target/linux/ramips/dts/NBG-419N.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "NBG-419N", "ralink,rt3052-soc"; model = "ZyXEL NBG-419N"; @@ -61,13 +63,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/NBG-419N2.dts b/target/linux/ramips/dts/NBG-419N2.dts index 981b4e5872fd..8bb0cc5280c0 100644 --- a/target/linux/ramips/dts/NBG-419N2.dts +++ b/target/linux/ramips/dts/NBG-419N2.dts @@ -2,6 +2,8 @@ #include "rt3352.dtsi" +#include + / { compatible = "NBG-419N2", "ralink,rt3352-soc"; model = "ZyXEL NBG-419N v2"; @@ -70,18 +72,18 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; rfkill { label = "rfkill"; - linux,input-type = <5>; + linux,input-type = ; gpios = <&gpio0 12 0>; - linux,code = <0xf7>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/NW718.dts b/target/linux/ramips/dts/NW718.dts index 06c6b0d62dc9..372bff6e7f29 100644 --- a/target/linux/ramips/dts/NW718.dts +++ b/target/linux/ramips/dts/NW718.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "NW718", "ralink,rt3050-soc"; model = "Netcore NW718"; @@ -34,13 +36,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/Newifi-D1.dts b/target/linux/ramips/dts/Newifi-D1.dts index 2d91c58c1e56..07950baed8ff 100644 --- a/target/linux/ramips/dts/Newifi-D1.dts +++ b/target/linux/ramips/dts/Newifi-D1.dts @@ -2,6 +2,8 @@ #include "mt7621.dtsi" +#include + / { compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc"; model = "Newifi-D1"; @@ -43,7 +45,7 @@ reset { label = "reset"; gpios = <&gpio0 15 1>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/OY-0001.dts b/target/linux/ramips/dts/OY-0001.dts index 6bf1ad6be709..932d379b700c 100644 --- a/target/linux/ramips/dts/OY-0001.dts +++ b/target/linux/ramips/dts/OY-0001.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "ralink,mt7620a-soc"; model = "OY-0001"; @@ -33,7 +35,7 @@ s1 { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/PBR-D1.dts b/target/linux/ramips/dts/PBR-D1.dts index 30477a0ddfe0..da32c8dff92a 100644 --- a/target/linux/ramips/dts/PBR-D1.dts +++ b/target/linux/ramips/dts/PBR-D1.dts @@ -2,6 +2,8 @@ #include "mt7628an.dtsi" +#include + / { compatible = "mediatek,pbr-d1", "mediatek,mt7628an-soc"; model = "PBR-D1"; @@ -44,7 +46,7 @@ wps { label = "reset"; gpios = <&gpio1 38 1>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/PBR-M1.dts b/target/linux/ramips/dts/PBR-M1.dts index ac77cd5c6aa7..e278fc54d2cb 100644 --- a/target/linux/ramips/dts/PBR-M1.dts +++ b/target/linux/ramips/dts/PBR-M1.dts @@ -2,6 +2,8 @@ #include "mt7621.dtsi" +#include + / { compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc"; model = "PBR-M1"; @@ -65,7 +67,7 @@ reset { label = "reset"; gpios = <&gpio0 18 1>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/PSG1208.dts b/target/linux/ramips/dts/PSG1208.dts index dc1adc4c731d..e9b66395dff0 100644 --- a/target/linux/ramips/dts/PSG1208.dts +++ b/target/linux/ramips/dts/PSG1208.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "PSG1208", "ralink,mt7620a-soc"; model = "Phicomm PSG1208"; @@ -29,7 +31,7 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/PSG1218.dts b/target/linux/ramips/dts/PSG1218.dts index 6fdb67869a41..b777c9b1f289 100644 --- a/target/linux/ramips/dts/PSG1218.dts +++ b/target/linux/ramips/dts/PSG1218.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "PSG1218", "ralink,mt7620a-soc"; model = "Phicomm PSG1218"; @@ -34,7 +36,7 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/PSR-680W.dts b/target/linux/ramips/dts/PSR-680W.dts index c4c4522afc52..f749a4e58994 100644 --- a/target/linux/ramips/dts/PSR-680W.dts +++ b/target/linux/ramips/dts/PSR-680W.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "PSR-680W", "ralink,rt3052-soc"; model = "Petatel PSR-680W Wireless 3G Router"; @@ -60,7 +62,7 @@ reset { label = "reset"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/PWH2004.dts b/target/linux/ramips/dts/PWH2004.dts index 51f43928f460..18ee7426f418 100644 --- a/target/linux/ramips/dts/PWH2004.dts +++ b/target/linux/ramips/dts/PWH2004.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "PWH2004", "ralink,rt3052-soc"; model = "Prolink PWH2004"; @@ -61,7 +63,7 @@ wps { label = "wps"; gpios = <&gpio0 12 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/PX-4885.dtsi b/target/linux/ramips/dts/PX-4885.dtsi index b135b5747b55..257a636412be 100644 --- a/target/linux/ramips/dts/PX-4885.dtsi +++ b/target/linux/ramips/dts/PX-4885.dtsi @@ -1,5 +1,7 @@ #include "rt5350.dtsi" +#include + / { compatible = "PX-4885", "ralink,rt5350-soc"; model = "7Links PX-4885"; @@ -13,7 +15,7 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/RE6500.dts b/target/linux/ramips/dts/RE6500.dts index 39205c41acf4..d34e857e61e3 100644 --- a/target/linux/ramips/dts/RE6500.dts +++ b/target/linux/ramips/dts/RE6500.dts @@ -2,6 +2,8 @@ #include "mt7621.dtsi" +#include + / { compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc"; model = "Linksys RE6500"; @@ -38,13 +40,13 @@ wps { label = "wps"; gpios = <&gpio0 10 1>; - linux,code = <0x211>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio0 11 0>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/RP-N53.dts b/target/linux/ramips/dts/RP-N53.dts index c661be3a28ce..514481b38218 100644 --- a/target/linux/ramips/dts/RP-N53.dts +++ b/target/linux/ramips/dts/RP-N53.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "asus,rp-n53", "ralink,mt7620a-soc"; model = "Asus RP-N53"; @@ -15,25 +17,25 @@ touch { label = "touch"; gpios = <&gpio1 0 1>; - linux,code = <0x100>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio1 1 1>; - linux,code = <0x100>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio1 2 1>; - linux,code = <0x100>; + linux,code = ; }; audio { label = "audio"; gpios = <&gpio1 3 0>; - linux,code = <0x101>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/RT-G32-B1.dts b/target/linux/ramips/dts/RT-G32-B1.dts index ab8e3fdad3c1..d392bb3545aa 100644 --- a/target/linux/ramips/dts/RT-G32-B1.dts +++ b/target/linux/ramips/dts/RT-G32-B1.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "RT-G32-B1", "ralink,rt3050-soc"; model = "Asus RT-G32 B1"; @@ -15,13 +17,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/RT-N10-PLUS.dts b/target/linux/ramips/dts/RT-N10-PLUS.dts index 43535d417bf1..cb5a13618d52 100644 --- a/target/linux/ramips/dts/RT-N10-PLUS.dts +++ b/target/linux/ramips/dts/RT-N10-PLUS.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "RT-N10-PLUS", "ralink,rt3050-soc"; model = "Asus RT-N10+"; @@ -56,13 +58,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/RT-N13U.dts b/target/linux/ramips/dts/RT-N13U.dts index 14cff67855a9..9625415b73e9 100644 --- a/target/linux/ramips/dts/RT-N13U.dts +++ b/target/linux/ramips/dts/RT-N13U.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "RT-N13U", "ralink,rt3052-soc"; model = "Asus RT-N13U"; @@ -61,13 +63,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/RT-N14U.dts b/target/linux/ramips/dts/RT-N14U.dts index 05263e165d65..22dd7b818b94 100644 --- a/target/linux/ramips/dts/RT-N14U.dts +++ b/target/linux/ramips/dts/RT-N14U.dts @@ -2,6 +2,8 @@ #include "mt7620n.dtsi" +#include + / { compatible = "asus,rt-n14u", "ralink,mt7620n-soc"; model = "Asus RT-N14U"; @@ -44,13 +46,13 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 2 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/RT-N15.dts b/target/linux/ramips/dts/RT-N15.dts index d5bcbe3409e2..704d3130c841 100644 --- a/target/linux/ramips/dts/RT-N15.dts +++ b/target/linux/ramips/dts/RT-N15.dts @@ -2,6 +2,8 @@ #include "rt2880.dtsi" +#include + / { #address-cells = <1>; #size-cells = <1>; @@ -55,13 +57,13 @@ wps { label = "wps"; gpios = <&gpio0 0 0>; - linux,code = <0x211>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio0 12 0>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/RT-N56U.dts b/target/linux/ramips/dts/RT-N56U.dts index fea73e27e722..d101ece83c91 100644 --- a/target/linux/ramips/dts/RT-N56U.dts +++ b/target/linux/ramips/dts/RT-N56U.dts @@ -2,6 +2,8 @@ #include "rt3883.dtsi" +#include + / { compatible = "RT-N56U", "ralink,rt3883-soc"; model = "Asus RT-N56U"; @@ -53,13 +55,13 @@ reset { label = "reset"; gpios = <&gpio0 13 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio1 2 1>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/RUT5XX.dts b/target/linux/ramips/dts/RUT5XX.dts index 85c26d96beed..76cf49bab2fe 100644 --- a/target/linux/ramips/dts/RUT5XX.dts +++ b/target/linux/ramips/dts/RUT5XX.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "RUT5XX", "ralink,rt3050-soc"; model = "Teltonika RUT5XX"; @@ -24,7 +26,7 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/SAP-G3200U3.dts b/target/linux/ramips/dts/SAP-G3200U3.dts index d6f2f3057668..9069f7cff23e 100644 --- a/target/linux/ramips/dts/SAP-G3200U3.dts +++ b/target/linux/ramips/dts/SAP-G3200U3.dts @@ -2,6 +2,8 @@ #include "mt7621.dtsi" +#include + / { compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc"; model = "STORYLiNK SAP-G3200U3"; @@ -33,13 +35,13 @@ reset { label = "reset"; gpios = <&gpio0 16 1>; - linux,code = <0x198>; + linux,code = ; }; rfkill { label = "rfkill"; gpios = <&gpio0 14 1>; - linux,code = <0xf7>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/SK-WB8.dts b/target/linux/ramips/dts/SK-WB8.dts index 1fed89e11e40..b50de555dc7a 100644 --- a/target/linux/ramips/dts/SK-WB8.dts +++ b/target/linux/ramips/dts/SK-WB8.dts @@ -2,6 +2,8 @@ #include "mt7621.dtsi" +#include + / { compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc"; model = "SamKnows Whitebox 8"; @@ -37,12 +39,12 @@ wps { label = "wps"; gpios = <&gpio1 11 1>; - linux,code = <0x211>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio1 9 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/SL-R7205.dts b/target/linux/ramips/dts/SL-R7205.dts index f5884fbecd82..7b6dc990e227 100644 --- a/target/linux/ramips/dts/SL-R7205.dts +++ b/target/linux/ramips/dts/SL-R7205.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "SL-R7205", "ralink,rt3052-soc"; model = "Skyline SL-R7205 Wireless 3G Router"; @@ -56,13 +58,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/TEW-691GR.dts b/target/linux/ramips/dts/TEW-691GR.dts index e92db1ecb297..af910798f5b0 100644 --- a/target/linux/ramips/dts/TEW-691GR.dts +++ b/target/linux/ramips/dts/TEW-691GR.dts @@ -2,6 +2,8 @@ #include "rt3883.dtsi" +#include + / { compatible = "TEW-691GR", "ralink,rt3883-soc"; model = "TRENDnet TEW-691GR"; @@ -46,19 +48,19 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio1 2 1>; - linux,code = <0x211>; + linux,code = ; }; rfkill { label = "rfkill"; gpios = <&gpio0 0 1>; - linux,code = <0xf7>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/TEW-692GR.dts b/target/linux/ramips/dts/TEW-692GR.dts index 2c9313f2002e..b9c7006406e8 100644 --- a/target/linux/ramips/dts/TEW-692GR.dts +++ b/target/linux/ramips/dts/TEW-692GR.dts @@ -2,6 +2,8 @@ #include "rt3883.dtsi" +#include + / { compatible = "TEW-692GR", "ralink,rt3883-soc"; model = "TRENDnet TEW-692GR"; @@ -46,13 +48,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio1 2 1>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/TEW-714TRU.dts b/target/linux/ramips/dts/TEW-714TRU.dts index 0e0f066518d1..79b30d1bfdca 100644 --- a/target/linux/ramips/dts/TEW-714TRU.dts +++ b/target/linux/ramips/dts/TEW-714TRU.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "TEW-714TRU", "ralink,rt5350-soc"; model = "TRENDnet TEW714TRU"; @@ -29,13 +31,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/TINY-AC.dts b/target/linux/ramips/dts/TINY-AC.dts index 81f1adee87fc..356c44d5118d 100644 --- a/target/linux/ramips/dts/TINY-AC.dts +++ b/target/linux/ramips/dts/TINY-AC.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "TINY-AC", "ralink,mt7620a-soc"; model = "Dovado Tiny AC"; @@ -34,7 +36,7 @@ reset { label = "reset"; gpios = <&gpio0 13 1>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/Timecloud.dts b/target/linux/ramips/dts/Timecloud.dts index 8ee312cd8665..2d60324f246b 100644 --- a/target/linux/ramips/dts/Timecloud.dts +++ b/target/linux/ramips/dts/Timecloud.dts @@ -2,6 +2,8 @@ #include "mt7621.dtsi" +#include + / { compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc"; model = "Thunder Timecloud"; @@ -39,13 +41,13 @@ reset { label = "reset"; gpios = <&gpio0 13 1>; - linux,code = <0x198>; + linux,code = ; }; BTN_0 { label = "BTN_0"; gpios = <&gpio0 4 1>; - linux,code = <0x100>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/UR-326N4G.dts b/target/linux/ramips/dts/UR-326N4G.dts index d90d77c0611c..6ca1aa9f62d6 100644 --- a/target/linux/ramips/dts/UR-326N4G.dts +++ b/target/linux/ramips/dts/UR-326N4G.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "UR-326N4G", "ralink,rt3052-soc"; model = "UPVEL UR-326N4G"; @@ -76,13 +78,13 @@ reset_wps { label = "reset_wps"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; mode { label = "mode"; gpios = <&gpio0 7 1>; - linux,code = <0x32>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/UR-336UN.dts b/target/linux/ramips/dts/UR-336UN.dts index e0325a7c5678..fa753047e89d 100644 --- a/target/linux/ramips/dts/UR-336UN.dts +++ b/target/linux/ramips/dts/UR-336UN.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "UR-336UN", "ralink,rt3052-soc"; model = "UPVEL UR-336UN"; @@ -53,13 +55,13 @@ reset_wps { label = "reset_wps"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; mode { label = "mode"; gpios = <&gpio0 7 1>; - linux,code = <0x32>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/V11STFE.dts b/target/linux/ramips/dts/V11STFE.dts index 6f7a5cbdfd65..c4867d8f1c35 100644 --- a/target/linux/ramips/dts/V11STFE.dts +++ b/target/linux/ramips/dts/V11STFE.dts @@ -2,6 +2,8 @@ #include "rt2880.dtsi" +#include + / { compatible = "V11ST-FE", "ralink,rt2880-soc"; model = "Ralink V11ST-FE"; @@ -56,7 +58,7 @@ wps { label = "wps"; gpios = <&gpio0 0 0>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/V22RW-2X2.dts b/target/linux/ramips/dts/V22RW-2X2.dts index 602e170e6077..29d14c2e5fed 100644 --- a/target/linux/ramips/dts/V22RW-2X2.dts +++ b/target/linux/ramips/dts/V22RW-2X2.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "V22RW-2X2", "ralink,rt3052-soc"; model = "Ralink AP-RT3052-V22RW-2X2"; @@ -61,13 +63,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/VR500.dts b/target/linux/ramips/dts/VR500.dts index 3cddce6fbe77..8b5d98fa6974 100644 --- a/target/linux/ramips/dts/VR500.dts +++ b/target/linux/ramips/dts/VR500.dts @@ -2,6 +2,8 @@ #include "mt7621.dtsi" +#include + / { compatible = "ralink,mt7621-eval-board", "ralink,mt7621-soc"; model = "Planex VR500"; @@ -33,7 +35,7 @@ reset { label = "reset"; gpios = <&gpio1 15 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/W150M.dts b/target/linux/ramips/dts/W150M.dts index 679db60af4a9..9ac84a0f4b77 100644 --- a/target/linux/ramips/dts/W150M.dts +++ b/target/linux/ramips/dts/W150M.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "W150M", "ralink,rt3050-soc"; model = "Tenda W150M"; @@ -81,13 +83,13 @@ reset { label = "reset"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = ; }; mode { label = "mode"; gpios = <&gpio0 10 1>; - linux,code = <0x100>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/W306R_V20.dts b/target/linux/ramips/dts/W306R_V20.dts index 79ae23dd6329..ff5ca59ad6df 100644 --- a/target/linux/ramips/dts/W306R_V20.dts +++ b/target/linux/ramips/dts/W306R_V20.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "W306R_V20", "ralink,rt3052-soc"; model = "Tenda W306R V2.0"; @@ -61,7 +63,7 @@ reset { label = "RESET/WPS"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/W502U.dts b/target/linux/ramips/dts/W502U.dts index 739817022b4b..1de6ffa33700 100644 --- a/target/linux/ramips/dts/W502U.dts +++ b/target/linux/ramips/dts/W502U.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "W502U", "ralink,rt3052-soc"; model = "ALFA Networks W502U"; @@ -65,13 +67,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/WCR150GN.dts b/target/linux/ramips/dts/WCR150GN.dts index 541836b21853..b47dd8b4afed 100644 --- a/target/linux/ramips/dts/WCR150GN.dts +++ b/target/linux/ramips/dts/WCR150GN.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "WCR150GN", "ralink,rt3050-soc"; model = "Sparklan WCR-150GN"; @@ -61,13 +63,13 @@ wps { label = "wps"; gpios = <&gpio0 10 1>; - linux,code = <0x211>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/WF-2881.dts b/target/linux/ramips/dts/WF-2881.dts index 050bc2e7ccb7..2cad0ec34452 100644 --- a/target/linux/ramips/dts/WF-2881.dts +++ b/target/linux/ramips/dts/WF-2881.dts @@ -2,6 +2,8 @@ #include "mt7621.dtsi" +#include + / { compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc"; model = "NETIS WF-2881"; @@ -71,7 +73,7 @@ reset { label = "reset"; gpios = <&gpio0 12 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/WHR-1166D.dts b/target/linux/ramips/dts/WHR-1166D.dts index fd2e451c3773..c3b85da2b341 100644 --- a/target/linux/ramips/dts/WHR-1166D.dts +++ b/target/linux/ramips/dts/WHR-1166D.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "ralink,mt7620a-soc"; model = "Buffalo WHR-1166D"; @@ -54,27 +56,27 @@ reset { label = "reset"; gpios = <&gpio2 12 1>; - linux,code = <0x198>; + linux,code = ; }; aoss { label = "aoss"; gpios = <&gpio2 13 1>; - linux,code = <0x211>; + linux,code = ; }; ap { label = "ap"; gpios = <&gpio2 14 1>; - linux,code = <0x100>; - linux,input-type = <5>; /* EV_SW */ + linux,code = ; + linux,input-type = ; }; bridge { label = "bridge"; gpios = <&gpio2 15 1>; - linux,code = <0x100>; - linux,input-type = <5>; /* EV_SW */ + linux,code = ; + linux,input-type = ; }; }; }; diff --git a/target/linux/ramips/dts/WHR-300HP2.dts b/target/linux/ramips/dts/WHR-300HP2.dts index acd4ce47e54c..395821708274 100644 --- a/target/linux/ramips/dts/WHR-300HP2.dts +++ b/target/linux/ramips/dts/WHR-300HP2.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "ralink,mt7620a-soc"; model = "Buffalo WHR-300HP2"; @@ -54,27 +56,27 @@ reset { label = "reset"; gpios = <&gpio2 12 1>; - linux,code = <0x198>; + linux,code = ; }; aoss { label = "aoss"; gpios = <&gpio2 13 1>; - linux,code = <0x211>; + linux,code = ; }; ap { label = "ap"; gpios = <&gpio2 14 1>; - linux,code = <0x100>; - linux,input-type = <5>; /* EV_SW */ + linux,code = ; + linux,input-type = ; }; bridge { label = "bridge"; gpios = <&gpio2 15 1>; - linux,code = <0x100>; - linux,input-type = <5>; /* EV_SW */ + linux,code = ; + linux,input-type = ; }; }; }; diff --git a/target/linux/ramips/dts/WHR-600D.dts b/target/linux/ramips/dts/WHR-600D.dts index c0633559b6ae..bea67a9a9019 100644 --- a/target/linux/ramips/dts/WHR-600D.dts +++ b/target/linux/ramips/dts/WHR-600D.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "ralink,mt7620a-soc"; model = "Buffalo WHR-600D"; @@ -54,27 +56,27 @@ reset { label = "reset"; gpios = <&gpio2 12 1>; - linux,code = <0x198>; + linux,code = ; }; aoss { label = "aoss"; gpios = <&gpio2 13 1>; - linux,code = <0x211>; + linux,code = ; }; ap { label = "ap"; gpios = <&gpio2 14 1>; - linux,code = <0x100>; - linux,input-type = <5>; /* EV_SW */ + linux,code = ; + linux,input-type = ; }; bridge { label = "bridge"; gpios = <&gpio2 15 1>; - linux,code = <0x100>; - linux,input-type = <5>; /* EV_SW */ + linux,code = ; + linux,input-type = ; }; }; }; diff --git a/target/linux/ramips/dts/WHR-G300N.dts b/target/linux/ramips/dts/WHR-G300N.dts index 4f80f2db1a36..c0779e25bdda 100644 --- a/target/linux/ramips/dts/WHR-G300N.dts +++ b/target/linux/ramips/dts/WHR-G300N.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "WHR-G300N", "ralink,rt3052-soc"; model = "Buffalo WHR-G300N"; @@ -43,25 +45,25 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; aoss { label = "aoss"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; router-off { label = "router-off"; gpios = <&gpio0 11 1>; - linux,code = <0x102>; + linux,code = ; }; router-on { label = "router-on"; gpios = <&gpio0 8 1>; - linux,code = <0x103>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/WIDORA-NEO.dts b/target/linux/ramips/dts/WIDORA-NEO.dts index 406b5ca099ad..f6b8f1d52c13 100644 --- a/target/linux/ramips/dts/WIDORA-NEO.dts +++ b/target/linux/ramips/dts/WIDORA-NEO.dts @@ -2,6 +2,8 @@ #include "mt7628an.dtsi" +#include + / { compatible = "mediatek,widora-neo", "mediatek,mt7628an-soc"; model = "Widora-NEO"; @@ -34,7 +36,7 @@ wps { label = "reset"; gpios = <&gpio1 6 1>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/WITI.dts b/target/linux/ramips/dts/WITI.dts index bffd4ff7a990..a82a49521ba9 100644 --- a/target/linux/ramips/dts/WITI.dts +++ b/target/linux/ramips/dts/WITI.dts @@ -2,6 +2,8 @@ #include "mt7621.dtsi" +#include + / { compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc"; model = "MQmaker WiTi"; @@ -36,7 +38,7 @@ reset { label = "reset"; gpios = <&gpio0 18 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/WIZFI630A.dts b/target/linux/ramips/dts/WIZFI630A.dts index 0f7ede54dfdc..78891c24b6d4 100644 --- a/target/linux/ramips/dts/WIZFI630A.dts +++ b/target/linux/ramips/dts/WIZFI630A.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "wizfi630a", "ralink,rt5350-soc"; model = "WIZnet WizFi630A"; @@ -48,25 +50,25 @@ reset { label = "reset"; gpios = <&gpio0 17 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; scm1 { label = "SCM1"; gpios = <&gpio0 19 1>; - linux,code = <0x100>; + linux,code = ; }; scm2 { label = "SCM2"; gpios = <&gpio0 2 1>; - linux,code = <0x101>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/WL-330N.dts b/target/linux/ramips/dts/WL-330N.dts index d3cd74b2ab3e..1cf1712dfa1f 100644 --- a/target/linux/ramips/dts/WL-330N.dts +++ b/target/linux/ramips/dts/WL-330N.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "WL-330N", "ralink,rt3050-soc"; model = "Asus WL-330N"; @@ -29,13 +31,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/WL-330N3G.dts b/target/linux/ramips/dts/WL-330N3G.dts index 9290673419d4..fe703ba5b3fd 100644 --- a/target/linux/ramips/dts/WL-330N3G.dts +++ b/target/linux/ramips/dts/WL-330N3G.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "WL-330N3G", "ralink,rt3050-soc"; model = "Asus WL-330N3G"; @@ -34,13 +36,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/WL-341V3.dts b/target/linux/ramips/dts/WL-341V3.dts index 5f9e1dd9246c..e8b6d689de4d 100644 --- a/target/linux/ramips/dts/WL-341V3.dts +++ b/target/linux/ramips/dts/WL-341V3.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "WL-341V3", "ralink,rt3052-soc"; model = "Sitecom WL-341 v3"; @@ -86,13 +88,13 @@ reset { label = "reset"; gpios = <&gpio0 7 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 5 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/WL-351.dts b/target/linux/ramips/dts/WL-351.dts index 541f8cef992f..91e71c657a67 100644 --- a/target/linux/ramips/dts/WL-351.dts +++ b/target/linux/ramips/dts/WL-351.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "WL-351", "ralink,rt3052-soc"; model = "Sitecom WL-351 v1 002"; @@ -66,13 +68,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/WLI-TX4-AG300N.dts b/target/linux/ramips/dts/WLI-TX4-AG300N.dts index 70521a71edbb..9d9b222bd7a8 100644 --- a/target/linux/ramips/dts/WLI-TX4-AG300N.dts +++ b/target/linux/ramips/dts/WLI-TX4-AG300N.dts @@ -2,6 +2,8 @@ #include "rt2880.dtsi" +#include + / { #address-cells = <1>; #size-cells = <1>; @@ -49,19 +51,19 @@ wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; bandwidth { label = "bandwidth"; gpios = <&gpio0 8 0>; - linux,code = <0x198>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio0 9 1>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/WMR-300.dts b/target/linux/ramips/dts/WMR-300.dts index 02fbdc598a5a..faa867b723d4 100644 --- a/target/linux/ramips/dts/WMR-300.dts +++ b/target/linux/ramips/dts/WMR-300.dts @@ -2,6 +2,8 @@ #include "mt7620n.dtsi" +#include + / { compatible = "buffalo,wmr-300", "ralink,mt7620n-soc"; model = "Buffalo WMR-300"; @@ -34,13 +36,13 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = ; }; aoss { label = "aoss"; gpios = <&gpio0 2 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/WNCE2001.dts b/target/linux/ramips/dts/WNCE2001.dts index 2dc39ce142af..92d03defdce3 100644 --- a/target/linux/ramips/dts/WNCE2001.dts +++ b/target/linux/ramips/dts/WNCE2001.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "WNCE2001", "ralink,rt3052-soc"; model = "Netgear WNCE2001"; @@ -43,25 +45,25 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; rt { label = "rt"; gpios = <&gpio0 11 1>; - linux,code = <0x100>; + linux,code = ; }; ap { label = "ap"; gpios = <&gpio0 7 1>; - linux,code = <0x101>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/WNDR3700V5.dts b/target/linux/ramips/dts/WNDR3700V5.dts index 9d3d0d53968e..f67c32030e5c 100644 --- a/target/linux/ramips/dts/WNDR3700V5.dts +++ b/target/linux/ramips/dts/WNDR3700V5.dts @@ -2,6 +2,8 @@ #include "mt7621.dtsi" +#include + / { compatible = "mediatek,mt7621-eval-board","ralink,mt7621-soc"; model = "Netgear WNDR3700v5"; @@ -38,19 +40,19 @@ wps { label = "wndr3700v5:wps"; gpios = <&gpio0 7 0>; - linux,code = <0x211>; + linux,code = ; }; wifi { label = "wndr3700v5:wifi"; gpios = <&gpio0 8 0>; - linux,code = <0xf7>; + linux,code = ; }; reset { label = "wndr3700v5:reset"; gpios = <&gpio0 14 0>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/WR512-3GN-4M.dts b/target/linux/ramips/dts/WR512-3GN-4M.dts index 45e1463bf0f5..09e448019a25 100644 --- a/target/linux/ramips/dts/WR512-3GN-4M.dts +++ b/target/linux/ramips/dts/WR512-3GN-4M.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "WR512-3GN", "ralink,rt3052-soc"; model = "WR512-3GN-like router"; @@ -76,13 +78,13 @@ reset_wps { label = "reset_wps"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; mode { label = "mode"; gpios = <&gpio0 7 1>; - linux,code = <0x32>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/WR512-3GN-8M.dts b/target/linux/ramips/dts/WR512-3GN-8M.dts index 7e9a0c25ed23..03583f99fe65 100644 --- a/target/linux/ramips/dts/WR512-3GN-8M.dts +++ b/target/linux/ramips/dts/WR512-3GN-8M.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "WR512-3GN", "ralink,rt3052-soc"; model = "WR512-3GN-like router"; @@ -76,13 +78,13 @@ reset_wps { label = "reset_wps"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; mode { label = "mode"; gpios = <&gpio0 7 1>; - linux,code = <0x32>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/WR6202.dts b/target/linux/ramips/dts/WR6202.dts index 534d78d3fa04..1740b188fb45 100644 --- a/target/linux/ramips/dts/WR6202.dts +++ b/target/linux/ramips/dts/WR6202.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "WR6202", "ralink,rt3052-soc"; model = "AWB WR6202"; @@ -33,13 +35,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/WRH-300CR.dts b/target/linux/ramips/dts/WRH-300CR.dts index aece2e688479..f7ef9335f1cf 100644 --- a/target/linux/ramips/dts/WRH-300CR.dts +++ b/target/linux/ramips/dts/WRH-300CR.dts @@ -2,6 +2,8 @@ #include "mt7620n.dtsi" +#include + / { compatible = "elecom,wrh-300cr", "ralink,mt7620n-soc"; model = "ELECOM WRH-300CR"; @@ -34,13 +36,13 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 2 1>; - linux,code = <0x211>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/WRTNODE2.dtsi b/target/linux/ramips/dts/WRTNODE2.dtsi index 0242314dfb2f..294616c0f785 100644 --- a/target/linux/ramips/dts/WRTNODE2.dtsi +++ b/target/linux/ramips/dts/WRTNODE2.dtsi @@ -1,5 +1,7 @@ #include "mt7628an.dtsi" +#include + / { chosen { bootargs = "console=ttyS0,115200"; @@ -14,7 +16,7 @@ reset { label = "reset"; gpios = <&gpio0 5 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/WSR-1166.dts b/target/linux/ramips/dts/WSR-1166.dts index 8f9991f4a7f0..97a4304a7393 100644 --- a/target/linux/ramips/dts/WSR-1166.dts +++ b/target/linux/ramips/dts/WSR-1166.dts @@ -2,6 +2,8 @@ #include "mt7621.dtsi" +#include + / { compatible = "ralink,mt7621-eval-board", "ralink,mt7621-soc"; model = "Buffalo WSR-1166DHP"; @@ -68,40 +70,40 @@ power { label = "power"; gpios = <&gpio0 18 1>; - linux,code = <0x74>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio0 3 1>; - linux,code = <0x198>; + linux,code = ; }; aoss { label = "aoss"; gpios = <&gpio0 6 1>; - linux,code = <0x211>; + linux,code = ; }; auto { label = "mode"; gpios = <&gpio0 7 0>; - linux,code = <0x100>; - linux,input-type = <5>; /* EV_SW */ + linux,code = ; + linux,input-type = ; }; ap { label = "ap"; gpios = <&gpio0 10 0>; - linux,code = <0x100>; - linux,input-type = <5>; /* EV_SW */ + linux,code = ; + linux,input-type = ; }; router { label = "router"; gpios = <&gpio0 12 0>; - linux,code = <0x100>; - linux,input-type = <5>; /* EV_SW */ + linux,code = ; + linux,input-type = ; }; }; diff --git a/target/linux/ramips/dts/WSR-600.dts b/target/linux/ramips/dts/WSR-600.dts index 2d08b9369bed..43f63f6fadd3 100644 --- a/target/linux/ramips/dts/WSR-600.dts +++ b/target/linux/ramips/dts/WSR-600.dts @@ -2,6 +2,8 @@ #include "mt7621.dtsi" +#include + / { compatible = "ralink,mt7621-eval-board", "ralink,mt7621-soc"; model = "Buffalo WSR-600DHP"; @@ -68,40 +70,40 @@ power { label = "power"; gpios = <&gpio0 8 1>; - linux,code = <0x74>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio0 11 1>; - linux,code = <0x198>; + linux,code = ; }; aoss { label = "aoss"; gpios = <&gpio0 18 1>; - linux,code = <0x211>; + linux,code = ; }; auto { label = "mode"; gpios = <&gpio0 7 0>; - linux,code = <0x100>; - linux,input-type = <5>; /* EV_SW */ + linux,code = ; + linux,input-type = ; }; ap { label = "ap"; gpios = <&gpio0 6 0>; - linux,code = <0x100>; - linux,input-type = <5>; /* EV_SW */ + linux,code = ; + linux,input-type = ; }; router { label = "router"; gpios = <&gpio0 10 0>; - linux,code = <0x100>; - linux,input-type = <5>; /* EV_SW */ + linux,code = ; + linux,input-type = ; }; }; diff --git a/target/linux/ramips/dts/WT3020-4M.dts b/target/linux/ramips/dts/WT3020-4M.dts index f611cdfce9a7..368a24619c66 100644 --- a/target/linux/ramips/dts/WT3020-4M.dts +++ b/target/linux/ramips/dts/WT3020-4M.dts @@ -2,6 +2,8 @@ #include "mt7620n.dtsi" +#include + / { compatible = "wt3020", "ralink,mt7620n-soc"; model = "Nexx WT3020"; @@ -15,7 +17,7 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/WT3020-8M.dts b/target/linux/ramips/dts/WT3020-8M.dts index 3c6230726c52..0e15d031f57b 100644 --- a/target/linux/ramips/dts/WT3020-8M.dts +++ b/target/linux/ramips/dts/WT3020-8M.dts @@ -2,6 +2,8 @@ #include "mt7620n.dtsi" +#include + / { compatible = "wt3020", "ralink,mt7620n-soc"; model = "Nexx WT3020"; @@ -15,7 +17,7 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/WZR-AGL300NH.dts b/target/linux/ramips/dts/WZR-AGL300NH.dts index 23fba7cb8fd1..0f2a73a48ac9 100644 --- a/target/linux/ramips/dts/WZR-AGL300NH.dts +++ b/target/linux/ramips/dts/WZR-AGL300NH.dts @@ -2,6 +2,8 @@ #include "rt2880.dtsi" +#include + / { #address-cells = <1>; #size-cells = <1>; @@ -63,19 +65,19 @@ wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; router { label = "router_switch"; gpios = <&gpio0 7 0>; - linux,code = <0x100>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio0 9 1>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/X5.dts b/target/linux/ramips/dts/X5.dts index 86f5c635f1a6..efb9d77d7102 100644 --- a/target/linux/ramips/dts/X5.dts +++ b/target/linux/ramips/dts/X5.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "X5", "ralink,rt5350-soc"; model = "Poray X5"; @@ -39,20 +41,20 @@ bat { label = "bat"; gpios = <&gpio0 9 1>; - linux,code = <0x211>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; mode { label = "mode"; gpios = <&gpio0 14 1>; - linux,code = <0x100>; - linux,input-type = <5>; + linux,code = ; + linux,input-type = ; }; }; diff --git a/target/linux/ramips/dts/X8.dts b/target/linux/ramips/dts/X8.dts index 733bbb55d497..db8eec56c5a1 100644 --- a/target/linux/ramips/dts/X8.dts +++ b/target/linux/ramips/dts/X8.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include + / { compatible = "X8", "ralink,rt5350-soc"; model = "Poray X8"; @@ -24,7 +26,7 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/XDXRN502J.dts b/target/linux/ramips/dts/XDXRN502J.dts index 34a29cc74b9d..304da9cf6e9b 100644 --- a/target/linux/ramips/dts/XDXRN502J.dts +++ b/target/linux/ramips/dts/XDXRN502J.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "XDXRN502J", "ralink,rt3052-soc"; model = "XDX RN502J"; @@ -61,7 +63,7 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/Y1.dtsi b/target/linux/ramips/dts/Y1.dtsi index 201f48b62614..1d5f1ef07435 100644 --- a/target/linux/ramips/dts/Y1.dtsi +++ b/target/linux/ramips/dts/Y1.dtsi @@ -1,5 +1,7 @@ #include "mt7620a.dtsi" +#include + / { chosen { bootargs = "console=ttyS0,115200"; @@ -14,7 +16,7 @@ reset { label = "reset"; gpios = <&gpio0 11 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/YOUKU-YK1.dts b/target/linux/ramips/dts/YOUKU-YK1.dts index a9c13e50b66e..1746f6c674ac 100644 --- a/target/linux/ramips/dts/YOUKU-YK1.dts +++ b/target/linux/ramips/dts/YOUKU-YK1.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "YOUKU-YK1", "ralink,mt7620a-soc"; model = "YOUKU YK1"; @@ -34,7 +36,7 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/ZBT-APE522II.dts b/target/linux/ramips/dts/ZBT-APE522II.dts index eff27c2a1590..f57012997770 100644 --- a/target/linux/ramips/dts/ZBT-APE522II.dts +++ b/target/linux/ramips/dts/ZBT-APE522II.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "zbtlink,zbt-ape522ii", "ralink,mt7620a-soc"; model = "ZBT-APE522II"; @@ -48,7 +50,7 @@ reset { label = "reset"; gpios = <&gpio0 2 0>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/ZBT-CPE102.dts b/target/linux/ramips/dts/ZBT-CPE102.dts index b93e58526a12..abfe0c0229ea 100644 --- a/target/linux/ramips/dts/ZBT-CPE102.dts +++ b/target/linux/ramips/dts/ZBT-CPE102.dts @@ -2,6 +2,8 @@ #include "mt7620n.dtsi" +#include + / { compatible = "zbtlink,zbt-cpe102", "ralink,mt7620n-soc"; model = "Zbtlink ZBT-CPE102"; @@ -38,7 +40,7 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/ZBT-WA05.dts b/target/linux/ramips/dts/ZBT-WA05.dts index c2d51c300ac7..43f08f51390e 100644 --- a/target/linux/ramips/dts/ZBT-WA05.dts +++ b/target/linux/ramips/dts/ZBT-WA05.dts @@ -2,6 +2,8 @@ #include "mt7620n.dtsi" +#include + / { compatible = "zbtlink,zbt-wa05", "ralink,mt7620n-soc"; model = "Zbtlink ZBT-WA05"; @@ -38,7 +40,7 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/ZBT-WE826.dts b/target/linux/ramips/dts/ZBT-WE826.dts index 75c99a7fdc54..1eb03189d1fe 100644 --- a/target/linux/ramips/dts/ZBT-WE826.dts +++ b/target/linux/ramips/dts/ZBT-WE826.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "zbtlink,zbt-we826", "ralink,mt7620a-soc"; model = "ZBT-WE826"; @@ -34,7 +36,7 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/ZBT-WG2626.dts b/target/linux/ramips/dts/ZBT-WG2626.dts index b599d7b49bdd..e926514f7b2a 100644 --- a/target/linux/ramips/dts/ZBT-WG2626.dts +++ b/target/linux/ramips/dts/ZBT-WG2626.dts @@ -2,6 +2,8 @@ #include "mt7621.dtsi" +#include + / { compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc"; model = "ZBT-WG2626"; @@ -30,7 +32,7 @@ reset { label = "reset"; gpios = <&gpio0 18 1>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/ZBT-WG3526.dts b/target/linux/ramips/dts/ZBT-WG3526.dts index 538a7d86326d..4c15f41ca520 100644 --- a/target/linux/ramips/dts/ZBT-WG3526.dts +++ b/target/linux/ramips/dts/ZBT-WG3526.dts @@ -2,6 +2,8 @@ #include "mt7621.dtsi" +#include + / { compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc"; model = "ZBT-WG3526"; @@ -30,7 +32,7 @@ reset { label = "reset"; gpios = <&gpio0 18 1>; - linux,code = <0x198>; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/ZBT-WR8305RT.dts b/target/linux/ramips/dts/ZBT-WR8305RT.dts index 694b7cfa962b..edc820f790ff 100644 --- a/target/linux/ramips/dts/ZBT-WR8305RT.dts +++ b/target/linux/ramips/dts/ZBT-WR8305RT.dts @@ -2,6 +2,8 @@ #include "mt7620n.dtsi" +#include + / { compatible = "zbtlink,zbt-wr8305rt", "ralink,mt7620n-soc"; model = "Zbtlink ZBT-WR8305RT"; @@ -34,7 +36,7 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/ZTE-Q7.dts b/target/linux/ramips/dts/ZTE-Q7.dts index 2c4c2e57121f..44bed871aa50 100644 --- a/target/linux/ramips/dts/ZTE-Q7.dts +++ b/target/linux/ramips/dts/ZTE-Q7.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include + / { compatible = "ZTE-Q7", "ralink,mt7620a-soc"; model = "ZTE Q7"; @@ -29,7 +31,7 @@ reset { label = "reset"; gpios = <&gpio1 2 1>; - linux,code = <0x198>; + linux,code = ; }; }; }; -- 2.30.2