arm: brain: enable power button of GPIO keyboard

This commit is contained in:
Takumi Sueda 2023-02-26 00:40:55 +09:00
parent dc9e615196
commit a1b5c6af05
1 changed files with 14 additions and 0 deletions

View File

@ -4,6 +4,7 @@
/dts-v1/;
#include "imx28.dtsi"
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>
/ {
@ -393,6 +394,19 @@
compatible = "sharp,brain-kbd-gpio";
};
gpio_keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
button@16 {
wakeup-source;
linux,code = <KEY_POWER>;
label = "Power";
gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
};
};
buzzer_cold: buzzer_cold {
status = "disabled";
compatible = "regulator-fixed";