From: Jaehoon Chung Date: Tue, 31 Oct 2023 09:54:10 +0000 (+0900) Subject: dts: meson-sm1-odroid-c4-u-boot: add linux-event-codes about button X-Git-Tag: accepted/tizen/unified/20231106.171643~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a3810ce948be0d659dd3e7c65400e7b05ce6a39b;p=platform%2Fkernel%2Fu-boot.git dts: meson-sm1-odroid-c4-u-boot: add linux-event-codes about button Add a property of linux-event-code about button. Fixed the below message during booting. "Checking PowerKey button state (for THOR download mode): Button 'PowerKey' not found (err=-22)" Change-Id: I96bc91ce936754513059ff7b219c6714874e2bca 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 a4bf195476..ab8bf1321a 100644 --- a/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi +++ b/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi @@ -5,6 +5,7 @@ */ #include "meson-sm1-u-boot.dtsi" +#include ðmac { snps,reset-gpio = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>; @@ -28,6 +29,7 @@ power_key { label = "PowerKey"; + linux,code = ; gpios = <&gpio GPIOX_3 GPIO_ACTIVE_LOW>; }; };