From 103ed00cfb370236c3e96e427d5feb643a8d7c8e Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 30 Jun 2016 15:18:03 +0200 Subject: ramips: add button support and make LEDs known to userspace for DIR-860L B1 Signed-off-by: Matthias Schiffer Reviewed-by: Jo-Philipp Wich --- target/linux/ramips/dts/DIR-860L-B1.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'target/linux/ramips/dts/DIR-860L-B1.dts') diff --git a/target/linux/ramips/dts/DIR-860L-B1.dts b/target/linux/ramips/dts/DIR-860L-B1.dts index b6336d87d3..579df585c7 100644 --- a/target/linux/ramips/dts/DIR-860L-B1.dts +++ b/target/linux/ramips/dts/DIR-860L-B1.dts @@ -44,6 +44,18 @@ #address-cells = <1>; #size-cells = <0>; poll-interval = <20>; + + reset { + label = "reset"; + gpios = <&gpio0 7 1>; + linux,code = <0x198>; + }; + + wps { + label = "wps"; + gpios = <&gpio0 18 1>; + linux,code = <0x211>; + }; }; }; -- cgit v1.2.3