bcm53xx: add power button for WXR-1900DHP
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45467
This commit is contained in:
parent
c9aeb21405
commit
b860db2c63
1 changed files with 7 additions and 1 deletions
|
@ -8,7 +8,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
|
||||||
---
|
---
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
|
+++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
|
||||||
@@ -0,0 +1,152 @@
|
@@ -0,0 +1,158 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Broadcom BCM470X / BCM5301X ARM platform code.
|
+ * Broadcom BCM470X / BCM5301X ARM platform code.
|
||||||
+ * DTS for Buffalo WXR-1900DHP
|
+ * DTS for Buffalo WXR-1900DHP
|
||||||
|
@ -128,6 +128,12 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
|
||||||
+ #address-cells = <1>;
|
+ #address-cells = <1>;
|
||||||
+ #size-cells = <0>;
|
+ #size-cells = <0>;
|
||||||
+
|
+
|
||||||
|
+ power {
|
||||||
|
+ label = "Power";
|
||||||
|
+ linux,code = <KEY_POWER>;
|
||||||
|
+ gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
+ restart {
|
+ restart {
|
||||||
+ label = "Reset";
|
+ label = "Reset";
|
||||||
+ linux,code = <KEY_RESTART>;
|
+ linux,code = <KEY_RESTART>;
|
||||||
|
|
Loading…
Reference in a new issue