[OpenWrt-Devel] [PATCH 1/2] ralink: add FireWRT power button
wengbj
fl.service at t-firefly.com
Sat Mar 21 01:06:25 EDT 2015
Signed-off-by: wengbj <fl.service at t-firefly.com>
---
target/linux/ramips/dts/FIREWRT.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/target/linux/ramips/dts/FIREWRT.dts b/target/linux/ramips/dts/FIREWRT.dts
index 54f0e55..2b018e6 100644
--- a/target/linux/ramips/dts/FIREWRT.dts
+++ b/target/linux/ramips/dts/FIREWRT.dts
@@ -103,6 +103,11 @@
gpios = <&gpio0 18 1>;
linux,code = <0x211>;
};
+ power {
+ label = "power";
+ gpios = <&gpio0 23 1>;
+ linux,code = <116>;
+ };
};
pinctrl {
--
1.7.9.5
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list