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/20221108.163909~110 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32cb137f85ad3eb97da7ca2437a26d0ab991483f;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 963bf96..77ea34b 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>; + }; + }; +};