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-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=890918a4733aa72c32e33ed014c493b8fa4ccee3;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 55ae74be80..882c992ed3 100644 --- a/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi +++ b/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi @@ -15,3 +15,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>; + }; + }; +};