ramips: add button support and make LEDs known to userspace for DIR-860L B1

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Reviewed-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Matthias Schiffer
2016-06-30 15:18:03 +02:00
parent fa9811814a
commit 103ed00cfb
3 changed files with 16 additions and 0 deletions

View File

@@ -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>;
};
};
};