[LEDE-DEV] [PATCH] ramips: MiWiFi-Nano add the reset button
L. D. Pinney
ldpinney at gmail.com
Tue Dec 27 16:13:57 PST 2016
This patch defines the reset button in the MIWIFI-NANO.dts
Signed-off-by: L. D. Pinney <ldpinney at gmail.com>
---
diff --git a/target/linux/ramips/dts/MIWIFI-NANO.dts b/target/linux/ramips/dts/MIWIFI-NANO.dts
index 6906ef3..9b1ca42 100644
--- a/target/linux/ramips/dts/MIWIFI-NANO.dts
+++ b/target/linux/ramips/dts/MIWIFI-NANO.dts
@@ -34,6 +34,19 @@
default-state = "1";
};
};
+
+ gpio-keys-polled {
+ compatible = "gpio-keys-polled";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ poll-interval = <20>;
+
+ reset {
+ label = "reset";
+ gpios = <&gpio1 6 1>;
+ linux,code = <0x198>;
+ };
+ };
};
&pinctrl {
More information about the Lede-dev
mailing list