arm: brain: enable power button of GPIO keyboard
This commit is contained in:
parent
dc9e615196
commit
a1b5c6af05
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue