arm64: dts: hip05: Append power button node for D02 board

This patch adds poweroff button device node to support
poweroff feature on hip05 d02 board.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
This commit is contained in:
Kefeng Wang 2016-01-29 16:39:05 +08:00 committed by Wei Xu
parent 8f41d122bf
commit 82a14b1e95

View File

@ -11,6 +11,7 @@
/dts-v1/;
#include <dt-bindings/gpio/gpio.h>
#include "hip05.dtsi"
/ {
@ -29,8 +30,25 @@ aliases {
chosen {
stdout-path = "serial0:115200n8";
};
gpio_keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
pwrbutton {
label = "Power Button";
gpios = <&porta 8 GPIO_ACTIVE_LOW>;
linux,code = <116>;
debounce-interval = <0>;
};
};
};
&uart0 {
status = "ok";
};
&peri_gpio0 {
status = "ok";
};