From e317f022b6578c1ab819a653bc2f1cdd7782e88d Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 4 Jul 2013 13:31:23 +0000 Subject: [PATCH] ramips: fix RT-N13U gpio buttons https://dev.openwrt.org/ticket/13795 Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37163 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/dts/RT-N13U.dts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/target/linux/ramips/dts/RT-N13U.dts b/target/linux/ramips/dts/RT-N13U.dts index 162a5c85d9..2e1a62cdc2 100644 --- a/target/linux/ramips/dts/RT-N13U.dts +++ b/target/linux/ramips/dts/RT-N13U.dts @@ -70,14 +70,19 @@ poll-interval = <10>; reset { label = "reset"; - gpios = <&gpio0 10 1>; + gpios = <&gpio0 4 1>; linux,code = <0x198>; }; wps { label = "wps"; - gpios = <&gpio0 0 1>; + gpios = <&gpio0 10 1>; linux,code = <0x211>; }; + rfkill { + label = "rfkill"; + gpios = <&gpio0 0 1>; + linux,code = <0xf7>; + }; }; ethernet@10100000 {