mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
40c0d28e84
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 8cdafa149e
)
21 lines
530 B
Diff
21 lines
530 B
Diff
From: Felix Fietkau <nbd@nbd.name>
|
|
Subject: [PATCH] ARM: BCM5301X: Add power button for Buffalo WZR-1750DHP
|
|
|
|
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|
---
|
|
--- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
|
+++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
|
@@ -100,6 +100,12 @@
|
|
gpio-keys {
|
|
compatible = "gpio-keys";
|
|
|
|
+ button-power {
|
|
+ label = "Power";
|
|
+ linux,code = <KEY_POWER>;
|
|
+ gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
|
|
+ };
|
|
+
|
|
button-restart {
|
|
label = "Reset";
|
|
linux,code = <KEY_RESTART>;
|