From: Jaehoon Chung Date: Wed, 6 Jan 2021 05:01:03 +0000 (+0900) Subject: ARM: dts: meson: add gpio-keys node to use PowerKey X-Git-Tag: accepted/tizen/unified/20241126.175211~292 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2dc3966d21b414a3238f06273e3d0ca5681e0a3f;p=platform%2Fkernel%2Fu-boot.git ARM: dts: meson: add gpio-keys node to use PowerKey Add gpio-keys node to use PowerKey. PowerKey - GPIOX_3 Change-Id: I99dae986119d4dc355c02b114a318a727134374c Signed-off-by: Jaehoon Chung --- diff --git a/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi b/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi index 963bf96b25..77ea34bee1 100644 --- a/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi +++ b/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi @@ -21,3 +21,14 @@ &tflash_vdd { gpio = <&gpio_ao GPIOAO_3 GPIO_OPEN_DRAIN>; }; + +/ { + gpio-keys { + compatible = "gpio-keys"; + + power_key { + label = "PowerKey"; + gpios = <&gpio GPIOX_3 GPIO_ACTIVE_HIGH>; + }; + }; +};