mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
ARM: dts: exynos5422-odroidxu3: Enable power key
This changes enables the power button on the Exynos5422 Odroid-XU3/4 boards. Change-Id: Iafd025be921da348797b6a510586abf3e47bfe75 Signed-off-by: Brian Kim <brian.kim@hardkernel.com>
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
*/
|
||||
|
||||
#include <dt-bindings/clock/samsung,s2mps11.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/sound/samsung-i2s.h>
|
||||
@@ -51,6 +52,22 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&gpio_power_key>;
|
||||
|
||||
power_key {
|
||||
interrupt-parent = <&gpx0>;
|
||||
interrupts = <3 0>;
|
||||
gpios = <&gpx0 3 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_POWER>;
|
||||
label = "power key";
|
||||
debounce-interval = <10>;
|
||||
wakeup-source;
|
||||
};
|
||||
};
|
||||
|
||||
emmc_pwrseq: pwrseq {
|
||||
pinctrl-0 = <&emmc_nrst_pin>;
|
||||
pinctrl-names = "default";
|
||||
@@ -620,6 +637,11 @@
|
||||
};
|
||||
|
||||
&pinctrl_0 {
|
||||
gpio_power_key: power_key {
|
||||
samsung,pins = "gpx0-3";
|
||||
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
||||
};
|
||||
|
||||
hdmi_hpd_irq: hdmi-hpd-irq {
|
||||
samsung,pins = "gpx3-7";
|
||||
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
|
||||
|
||||
Reference in New Issue
Block a user