From 8b9d5c91fadfb5bd569ab0fa391d2c339bfe804a Mon Sep 17 00:00:00 2001 From: blogic Date: Mon, 11 Nov 2013 12:19:18 +0000 Subject: [PATCH] lantiq: update TDW8970.dts to support buttons properly Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38728 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/lantiq/dts/TDW8970.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/lantiq/dts/TDW8970.dts b/target/linux/lantiq/dts/TDW8970.dts index a31cf9a74f..006df1c3a8 100644 --- a/target/linux/lantiq/dts/TDW8970.dts +++ b/target/linux/lantiq/dts/TDW8970.dts @@ -205,14 +205,14 @@ wifi { label = "wifi"; gpios = <&gpio 9 0>; - linux,code = <0x101>; + linux,code = <0xf7>; linux,input-type = <5>; /* EV_SW */ }; wps { label = "wps"; gpios = <&gpio 39 1>; - linux,code = <0x102>; + linux,code = <0x211>; }; }; -- 2.11.0