mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
bcm53xx: add power button for WXR-1900DHP
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45467 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6ff9f53c3d
commit
48732ce05d
@ -8,7 +8,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
|
||||
---
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
|
||||
@@ -0,0 +1,152 @@
|
||||
@@ -0,0 +1,158 @@
|
||||
+/*
|
||||
+ * Broadcom BCM470X / BCM5301X ARM platform code.
|
||||
+ * DTS for Buffalo WXR-1900DHP
|
||||
@ -128,6 +128,12 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ power {
|
||||
+ label = "Power";
|
||||
+ linux,code = <KEY_POWER>;
|
||||
+ gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
|
||||
+ };
|
||||
+
|
||||
+ restart {
|
||||
+ label = "Reset";
|
||||
+ linux,code = <KEY_RESTART>;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user