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: submit/tizen/20211123.233157~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f28e66721c89c056f684fb70f450070e871afd25;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>; + }; + }; +};