From: Mathias Kresin Date: Fri, 11 Nov 2016 21:43:08 +0000 (+0100) Subject: treewide: dts: use keycode defines from input dt-binding X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2b55c83e68068887db9e49de8e81b1b4a267a4f2;p=openwrt%2Fstaging%2Fdangole.git 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 --- diff --git a/target/linux/brcm63xx/dts/homehub2a.dts b/target/linux/brcm63xx/dts/homehub2a.dts index af5136c882..b86a48fe40 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 6f07c5f996..c34ffe81d9 100644 --- a/target/linux/lantiq/dts/ARV4510PW.dts +++ b/target/linux/lantiq/dts/ARV4510PW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV4510PW - Wippies, Elisa"; diff --git a/target/linux/lantiq/dts/ARV4518PWR01.dtsi b/target/linux/lantiq/dts/ARV4518PWR01.dtsi index 49b7e50eb6..84c3c4aff5 100644 --- a/target/linux/lantiq/dts/ARV4518PWR01.dtsi +++ b/target/linux/lantiq/dts/ARV4518PWR01.dtsi @@ -1,5 +1,7 @@ #include "danube.dtsi" +#include + / { chosen { bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; diff --git a/target/linux/lantiq/dts/ARV4519PW.dts b/target/linux/lantiq/dts/ARV4519PW.dts index 43334f18d7..77d466d826 100644 --- a/target/linux/lantiq/dts/ARV4519PW.dts +++ b/target/linux/lantiq/dts/ARV4519PW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV4519PW - Vodafone Netfaster IAD 2, Pirelli P.RG A4201G"; diff --git a/target/linux/lantiq/dts/ARV4520PW.dts b/target/linux/lantiq/dts/ARV4520PW.dts index 17288b3527..0466968e6f 100644 --- a/target/linux/lantiq/dts/ARV4520PW.dts +++ b/target/linux/lantiq/dts/ARV4520PW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV4520PW - Easybox 800, WAV-281"; diff --git a/target/linux/lantiq/dts/ARV4525PW.dts b/target/linux/lantiq/dts/ARV4525PW.dts index 69fd1aa29d..605df428ef 100644 --- a/target/linux/lantiq/dts/ARV4525PW.dts +++ b/target/linux/lantiq/dts/ARV4525PW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV4525PW - Speedport W501V Typ A"; diff --git a/target/linux/lantiq/dts/ARV452CQW.dts b/target/linux/lantiq/dts/ARV452CQW.dts index 4710a01486..7d0f981561 100644 --- a/target/linux/lantiq/dts/ARV452CQW.dts +++ b/target/linux/lantiq/dts/ARV452CQW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV452CQW - Arcor 801"; diff --git a/target/linux/lantiq/dts/ARV7506PW11.dts b/target/linux/lantiq/dts/ARV7506PW11.dts index 5c8b0fe3a3..ef3ff306a9 100644 --- a/target/linux/lantiq/dts/ARV7506PW11.dts +++ b/target/linux/lantiq/dts/ARV7506PW11.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV7506PW11 - Alice/O2 IAD 4421"; diff --git a/target/linux/lantiq/dts/ARV7510PW22.dts b/target/linux/lantiq/dts/ARV7510PW22.dts index 079c856308..3c2b0a7457 100644 --- a/target/linux/lantiq/dts/ARV7510PW22.dts +++ b/target/linux/lantiq/dts/ARV7510PW22.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV7510PW22 - Astoria Networks"; diff --git a/target/linux/lantiq/dts/ARV7518PW.dts b/target/linux/lantiq/dts/ARV7518PW.dts index d44927b813..8a6b620eb7 100644 --- a/target/linux/lantiq/dts/ARV7518PW.dts +++ b/target/linux/lantiq/dts/ARV7518PW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV7518PW - Astoria Networks"; diff --git a/target/linux/lantiq/dts/ARV7519PW.dts b/target/linux/lantiq/dts/ARV7519PW.dts index 1fa52c3d90..ea9b0dab00 100644 --- a/target/linux/lantiq/dts/ARV7519PW.dts +++ b/target/linux/lantiq/dts/ARV7519PW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV7519PW - Astoria Networks"; diff --git a/target/linux/lantiq/dts/ARV7519RW22.dts b/target/linux/lantiq/dts/ARV7519RW22.dts index 3d08b93840..c25a3b5d5e 100644 --- a/target/linux/lantiq/dts/ARV7519RW22.dts +++ b/target/linux/lantiq/dts/ARV7519RW22.dts @@ -2,6 +2,8 @@ #include "vr9.dtsi" +#include + / { model = "ARV7519RW22 - Orange Livebox 2.1"; diff --git a/target/linux/lantiq/dts/ARV7525PW.dts b/target/linux/lantiq/dts/ARV7525PW.dts index f259c17d26..be498e4d1e 100644 --- a/target/linux/lantiq/dts/ARV7525PW.dts +++ b/target/linux/lantiq/dts/ARV7525PW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV7525PW - Speedport W303V Typ A"; diff --git a/target/linux/lantiq/dts/ARV752DPW.dts b/target/linux/lantiq/dts/ARV752DPW.dts index d51a70a593..d324e6e854 100644 --- a/target/linux/lantiq/dts/ARV752DPW.dts +++ b/target/linux/lantiq/dts/ARV752DPW.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV752DPW - Arcor 802"; diff --git a/target/linux/lantiq/dts/ARV752DPW22.dts b/target/linux/lantiq/dts/ARV752DPW22.dts index 7343a5d2ff..2a37a3a0bd 100644 --- a/target/linux/lantiq/dts/ARV752DPW22.dts +++ b/target/linux/lantiq/dts/ARV752DPW22.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV752DPW22 - Arcor 803"; diff --git a/target/linux/lantiq/dts/ARV8539PW22.dts b/target/linux/lantiq/dts/ARV8539PW22.dts index 5728993017..e00bd149fc 100644 --- a/target/linux/lantiq/dts/ARV8539PW22.dts +++ b/target/linux/lantiq/dts/ARV8539PW22.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "ARV8539PW22 - Speedport W 504V Typ A"; diff --git a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts index 502132e4e9..d707a75265 100644 --- a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts +++ b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "BTHOMEHUBV2B - BT Home Hub 2B"; /* SoC: Lantiq Danube-S PSB 50712 @ 333MHz V1.3/1.5 */ diff --git a/target/linux/lantiq/dts/BTHOMEHUBV3A.dts b/target/linux/lantiq/dts/BTHOMEHUBV3A.dts index e3a252bfc4..c290c7081b 100644 --- a/target/linux/lantiq/dts/BTHOMEHUBV3A.dts +++ b/target/linux/lantiq/dts/BTHOMEHUBV3A.dts @@ -2,6 +2,8 @@ #include "ar9.dtsi" +#include + / { model = "BTHOMEHUBV3A - BT Home Hub 3A"; /* SoC: Lantiq ar9 @ 333MHz */ diff --git a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts index c2fe11a59e..f99d32e071 100644 --- a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts +++ b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts @@ -2,6 +2,8 @@ #include "vr9.dtsi" +#include + / { model = "BTHOMEHUBV5A - BT Home Hub 5A"; diff --git a/target/linux/lantiq/dts/DGN1000B.dts b/target/linux/lantiq/dts/DGN1000B.dts index a63199f4f5..e15a4e25ce 100644 --- a/target/linux/lantiq/dts/DGN1000B.dts +++ b/target/linux/lantiq/dts/DGN1000B.dts @@ -2,6 +2,8 @@ #include "amazonse.dtsi" +#include + / { model = "DGN1000B - Netgear DGN1000B"; diff --git a/target/linux/lantiq/dts/DGN3500.dtsi b/target/linux/lantiq/dts/DGN3500.dtsi index c7d0b2d30c..1d0d71cdae 100644 --- a/target/linux/lantiq/dts/DGN3500.dtsi +++ b/target/linux/lantiq/dts/DGN3500.dtsi @@ -1,5 +1,7 @@ #include "ar9.dtsi" +#include + / { chosen { bootargs = "root= console=ttyLTQ0,115200"; diff --git a/target/linux/lantiq/dts/EASY80920.dtsi b/target/linux/lantiq/dts/EASY80920.dtsi index bce8d5e265..5ce89178be 100644 --- a/target/linux/lantiq/dts/EASY80920.dtsi +++ b/target/linux/lantiq/dts/EASY80920.dtsi @@ -1,5 +1,7 @@ #include "vr9.dtsi" +#include + / { chosen { bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; diff --git a/target/linux/lantiq/dts/FRITZ3370.dts b/target/linux/lantiq/dts/FRITZ3370.dts index 775fa5d438..e12c7bf900 100644 --- a/target/linux/lantiq/dts/FRITZ3370.dts +++ b/target/linux/lantiq/dts/FRITZ3370.dts @@ -2,6 +2,8 @@ #include "vr9.dtsi" +#include + / { model = "FRITZ3370 - Fritz!Box WLAN 3370"; diff --git a/target/linux/lantiq/dts/FRITZ7320.dts b/target/linux/lantiq/dts/FRITZ7320.dts index e1e70bef6c..f14cac2850 100644 --- a/target/linux/lantiq/dts/FRITZ7320.dts +++ b/target/linux/lantiq/dts/FRITZ7320.dts @@ -2,6 +2,8 @@ #include "ar9.dtsi" +#include + / { model = "FRITZ7320 - 1&1 HomeServer"; diff --git a/target/linux/lantiq/dts/FRITZ7360SL.dts b/target/linux/lantiq/dts/FRITZ7360SL.dts index f41ea41f3b..796458a6a5 100644 --- a/target/linux/lantiq/dts/FRITZ7360SL.dts +++ b/target/linux/lantiq/dts/FRITZ7360SL.dts @@ -2,6 +2,8 @@ #include "vr9.dtsi" +#include + / { model = "FRITZ7360SL - 1&1 HomeServer"; diff --git a/target/linux/lantiq/dts/GIGASX76X.dts b/target/linux/lantiq/dts/GIGASX76X.dts index 6507157d98..6602693b7c 100644 --- a/target/linux/lantiq/dts/GIGASX76X.dts +++ b/target/linux/lantiq/dts/GIGASX76X.dts @@ -2,6 +2,8 @@ #include "danube.dtsi" +#include + / { model = "GIGASX76X - Gigaset SX761,SX762,SX763"; diff --git a/target/linux/lantiq/dts/H201L.dts b/target/linux/lantiq/dts/H201L.dts index 85723592b5..7d4a24c661 100644 --- a/target/linux/lantiq/dts/H201L.dts +++ b/target/linux/lantiq/dts/H201L.dts @@ -2,6 +2,8 @@ #include "ar9.dtsi" +#include + / { model = "H201L - ZTE H210L"; diff --git a/target/linux/lantiq/dts/P2601HNFX.dts b/target/linux/lantiq/dts/P2601HNFX.dts index 250de38122..c82ab3dcb8 100644 --- a/target/linux/lantiq/dts/P2601HNFX.dts +++ b/target/linux/lantiq/dts/P2601HNFX.dts @@ -2,6 +2,8 @@ #include "ar9.dtsi" +#include + / { model = "P2601HNFX - ZyXEL P-2601HN-Fx"; diff --git a/target/linux/lantiq/dts/P2812HNUFX.dtsi b/target/linux/lantiq/dts/P2812HNUFX.dtsi index f0dfe98501..afd13eaf03 100644 --- a/target/linux/lantiq/dts/P2812HNUFX.dtsi +++ b/target/linux/lantiq/dts/P2812HNUFX.dtsi @@ -1,5 +1,7 @@ #include "vr9.dtsi" +#include + / { chosen { bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; diff --git a/target/linux/lantiq/dts/TDW89X0.dtsi b/target/linux/lantiq/dts/TDW89X0.dtsi index fd37352959..6447451d18 100644 --- a/target/linux/lantiq/dts/TDW89X0.dtsi +++ b/target/linux/lantiq/dts/TDW89X0.dtsi @@ -1,5 +1,7 @@ #include "vr9.dtsi" +#include + / { chosen { bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; diff --git a/target/linux/lantiq/dts/VG3503J.dts b/target/linux/lantiq/dts/VG3503J.dts index 46b047a09d..db25b87488 100644 --- a/target/linux/lantiq/dts/VG3503J.dts +++ b/target/linux/lantiq/dts/VG3503J.dts @@ -2,6 +2,8 @@ #include "vr9.dtsi" +#include + / { model = "VG3503J - BT OpenReach VDSL Modem"; diff --git a/target/linux/lantiq/dts/VGV7510KW22.dtsi b/target/linux/lantiq/dts/VGV7510KW22.dtsi index 5ca2844d08..370ef57e06 100644 --- a/target/linux/lantiq/dts/VGV7510KW22.dtsi +++ b/target/linux/lantiq/dts/VGV7510KW22.dtsi @@ -1,5 +1,7 @@ #include "vr9.dtsi" +#include + / { model = "VGV7510KW22 - o2 Box 6431"; diff --git a/target/linux/lantiq/dts/VGV7519.dtsi b/target/linux/lantiq/dts/VGV7519.dtsi index a7b421fff9..ad4233a43d 100644 --- a/target/linux/lantiq/dts/VGV7519.dtsi +++ b/target/linux/lantiq/dts/VGV7519.dtsi @@ -1,5 +1,7 @@ #include "vr9.dtsi" +#include + / { model = "VGV7519 - KPN Experiabox V8"; diff --git a/target/linux/lantiq/dts/VR200v.dts b/target/linux/lantiq/dts/VR200v.dts index 777bef9372..f814d242d6 100644 --- a/target/linux/lantiq/dts/VR200v.dts +++ b/target/linux/lantiq/dts/VR200v.dts @@ -2,6 +2,8 @@ #include "vr9.dtsi" +#include + / { model = "VR200v - TP-LINK Archer VR200v"; diff --git a/target/linux/lantiq/dts/WBMR.dts b/target/linux/lantiq/dts/WBMR.dts index 07671d6053..3dbc641e66 100644 --- a/target/linux/lantiq/dts/WBMR.dts +++ b/target/linux/lantiq/dts/WBMR.dts @@ -2,6 +2,8 @@ #include "ar9.dtsi" +#include + / { model = "WBMR - Buffalo WBMR-HP-G300H"; diff --git a/target/linux/lantiq/dts/WBMR300.dts b/target/linux/lantiq/dts/WBMR300.dts index dc0b2862a9..54bb98e81a 100644 --- a/target/linux/lantiq/dts/WBMR300.dts +++ b/target/linux/lantiq/dts/WBMR300.dts @@ -2,6 +2,8 @@ #include "vr9.dtsi" +#include + / { model = "WBMR300 - Buffalo WBMR-300HPD"; diff --git a/target/linux/lantiq/dts/amazonse.dtsi b/target/linux/lantiq/dts/amazonse.dtsi index 520f0e0e85..33a5a35339 100644 --- a/target/linux/lantiq/dts/amazonse.dtsi +++ b/target/linux/lantiq/dts/amazonse.dtsi @@ -1,5 +1,4 @@ #include -#include / { #address-cells = <1>; diff --git a/target/linux/lantiq/dts/ar9.dtsi b/target/linux/lantiq/dts/ar9.dtsi index 32bed972b1..4d3fd6f9a3 100644 --- a/target/linux/lantiq/dts/ar9.dtsi +++ b/target/linux/lantiq/dts/ar9.dtsi @@ -1,5 +1,4 @@ #include -#include / { #address-cells = <1>; diff --git a/target/linux/lantiq/dts/danube.dtsi b/target/linux/lantiq/dts/danube.dtsi index 39f2865779..62e31d6bec 100644 --- a/target/linux/lantiq/dts/danube.dtsi +++ b/target/linux/lantiq/dts/danube.dtsi @@ -1,5 +1,4 @@ #include -#include / { #address-cells = <1>; diff --git a/target/linux/lantiq/dts/vr9.dtsi b/target/linux/lantiq/dts/vr9.dtsi index 5478e1a9df..779e23e61f 100644 --- a/target/linux/lantiq/dts/vr9.dtsi +++ b/target/linux/lantiq/dts/vr9.dtsi @@ -1,5 +1,4 @@ #include -#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 4dc969c1fd..712c03e425 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 b5c79dede3..1312fd63b5 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 a0704bb348..a8112c947c 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 a8032c5a78..502020e5d1 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 453e45b022..111fef314f 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 3d348ff0f3..b64f940367 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 df770d83d5..4d19bca6da 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 51eb005874..748e1edac7 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 2c3293331a..2405ae700f 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 2b08895b49..4d9a3b5432 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 d1d92e168c..7957bad2f9 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 1cfaed67bb..19cef87cbd 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 074273d608..a3fbeecb27 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 c1eac43881..3d26c3b6ff 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 3b8cfb3be7..3a2003e8a3 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 56f3c9d99c..2887a6ef02 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 0dbc1dd337..5ab65938a1 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 c15d3a4645..7e872985dd 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 7babe42d56..a1b5b217b2 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 e125232557..f647a9658c 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 f2f91bb3d9..3c34c4aaaa 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 13e6964ccc..9f8c2d266b 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 a58fa57ced..711274e625 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 5ae10a31a0..55cf8964f3 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 b871ead992..1e13c97ada 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 2ab2cba894..a93b8177be 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 790dcc0467..6cfac0f988 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 913f142f35..6ce4b27301 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 c3cb711a05..bdd828fe8f 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 95827d5017..e772279525 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 2e86d1edac..f7ace49f62 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 4628544fb6..c3225db952 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 4560dc5ca8..400c5ef51b 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 ee7c2c404a..21133a9b88 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 373973c3df..d57682ec7b 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 133245cb74..17996d2358 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 4f0a7ffde7..2ba6ae64c6 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 9b9a6a4592..fb93f5d646 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 102e06abf9..2335c9a391 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 d45d3c5ccd..493d49bb73 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 f0269cfa2e..f1f10ad254 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 9ec66b4b00..e69997f474 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 cac9d2602c..67705fe3ce 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 d53c82609f..9fbd7356c4 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 68a23465a6..50967b29c2 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 5cf330e66b..1bdcaffb4a 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 d508297ac1..30eccaf5f5 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 1f9ad8a5d2..4ccea0d45b 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 579df585c7..5154a4dedb 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 05bb56181e..5715791a68 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 36126ab42b..050303a413 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 6869166787..59a961d699 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 c711adc6b4..348ca789d1 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 dacdea6ca4..74e423c265 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 c8ed765df2..d6a150a4a7 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 4299b68a34..b318e6808b 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 b7eb91ea7b..c409f9b01d 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 5edb7ca487..6922b958db 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 341a8f6462..c6feb96f89 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 c59ffb3756..46679842bc 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 d55d5b65cd..54bf40936e 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 ee385097b2..91426db3c9 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 2f4e43548f..cbd860967a 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 000750fa12..ada12c1cf4 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 bfa3536a29..8dc2dbc524 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 0efa8d0f54..d5bca44f94 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 50d5532a2d..6f26f3b50a 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 0688c3ab02..20cdb84876 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 1e9acdf113..4eab893265 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 1a63656ed9..e5b64c5b96 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 09a8c987f7..210d4d0b8d 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 22ec534a2a..99e7b6a44b 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 9b6ed89142..f4169c779c 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 0502714c3b..79bea1952e 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 16ee184ed2..8d6453b0d0 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 eefac574c1..5f1cfe93cb 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 1240adede0..ccdd40f801 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 e9ad3750b7..0cd511c4fa 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 3406280a41..05d7dfff8a 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 aeedb464d5..9c71c91c1c 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 633f20a750..23596e0f34 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 d9baed732a..e97e60ca59 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 84f5dda3a6..72ee8768b6 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 6546601f15..a28deb79ed 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 7bf38976f6..8f1b6d9521 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 52ceddcbc8..da241a4253 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 a3e206e5dd..ea17512082 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 01fe2a1e24..589b19e52c 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 86f82ba59a..7fa8ef4ab9 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 4c87f90c56..569d0a951c 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 74f72f04ca..ec2ca5fc4b 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 987d6a7c0d..4b002b7c20 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 07e01550a7..c8558c6326 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 4093932a50..522bc75855 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 59ab665da7..e19ce34b5c 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 981b4e5872..8bb0cc5280 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 06c6b0d62d..372bff6e7f 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 2d91c58c1e..07950baed8 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 6bf1ad6be7..932d379b70 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 30477a0ddf..da32c8dff9 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 ac77cd5c6a..e278fc54d2 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 dc1adc4c73..e9b66395df 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 6fdb67869a..b777c9b1f2 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 c4c4522afc..f749a4e589 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 51f43928f4..18ee7426f4 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 b135b5747b..257a636412 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 39205c41ac..d34e857e61 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 c661be3a28..514481b382 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 ab8e3fdad3..d392bb3545 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 43535d417b..cb5a13618d 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 14cff67855..9625415b73 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 05263e165d..22dd7b818b 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 d5bcbe3409..704d3130c8 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 fea73e27e7..d101ece83c 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 85c26d96be..76cf49bab2 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 d6f2f30576..9069f7cff2 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 1fed89e11e..b50de555dc 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 f5884fbecd..7b6dc990e2 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 e92db1ecb2..af910798f5 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 2c9313f200..b9c7006406 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 0e0f066518..79b30d1bfd 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 81f1adee87..356c44d511 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 8ee312cd86..2d60324f24 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 d90d77c061..6ca1aa9f62 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 e0325a7c56..fa753047e8 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 6f7a5cbdfd..c4867d8f1c 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 602e170e60..29d14c2e5f 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 3cddce6fbe..8b5d98fa69 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 679db60af4..9ac84a0f4b 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 79ae23dd63..ff5ca59ad6 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 739817022b..1de6ffa337 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 541836b218..b47dd8b4af 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 050bc2e7cc..2cad0ec344 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 fd2e451c37..c3b85da2b3 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 acd4ce47e5..3958217082 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 c0633559b6..bea67a9a90 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 4f80f2db1a..c0779e25bd 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 406b5ca099..f6b8f1d52c 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 bffd4ff7a9..a82a49521b 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 0f7ede54df..78891c24b6 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 d3cd74b2ab..1cf1712dfa 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 9290673419..fe703ba5b3 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 5f9e1dd924..e8b6d689de 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 541f8cef99..91e71c657a 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 70521a71ed..9d9b222bd7 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 02fbdc598a..faa867b723 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 2dc39ce142..92d03defdc 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 9d3d0d5396..f67c32030e 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 45e1463bf0..09e448019a 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 7e9a0c25ed..03583f99fe 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 534d78d3fa..1740b188fb 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 aece2e6884..f7ef9335f1 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 0242314dfb..294616c0f7 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 8f9991f4a7..97a4304a73 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 2d08b9369b..43f63f6fad 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 f611cdfce9..368a24619c 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 3c6230726c..0e15d031f5 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 23fba7cb8f..0f2a73a48a 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 86f5c635f1..efb9d77d71 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 733bbb55d4..db8eec56c5 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 34a29cc74b..304da9cf6e 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 201f48b626..1d5f1ef074 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 a9c13e50b6..1746f6c674 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 eff27c2a15..f570129977 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 b93e58526a..abfe0c0229 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 c2d51c300a..43f08f5139 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 75c99a7fdc..1eb03189d1 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 b599d7b49b..e926514f7b 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 538a7d8632..4c15f41ca5 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 694b7cfa96..edc820f790 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 2c4c2e5712..44bed871aa 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 = ; }; }; };