diff options
author | Jernej Skrabec <jernej.skrabec@siol.net> | 2021-03-23 21:43:41 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2021-03-24 10:25:37 +0100 |
commit | d580e6f0ec3ab42e81f3825ef4438836ead88c5f (patch) | |
tree | 6999eb71988f03d0b8c2c60b06083fe8611df00b /arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | |
parent | arm64: dts: allwinner: h6: Use RSB for AXP805 PMIC connection (diff) | |
download | linux-d580e6f0ec3ab42e81f3825ef4438836ead88c5f.tar.xz linux-d580e6f0ec3ab42e81f3825ef4438836ead88c5f.zip |
ARM: dts: sun8i: h3: beelink-x2: Add power button
Beelink X2 has power button. Add node for it.
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20210323204341.28825-1-jernej.skrabec@siol.net
Diffstat (limited to 'arch/arm/boot/dts/sun8i-h3-beelink-x2.dts')
-rw-r--r-- | arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts index 62b5280ec093..f0e591e1c771 100644 --- a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts +++ b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts @@ -111,6 +111,17 @@ #sound-dai-cells = <0>; compatible = "linux,spdif-dit"; }; + + r-gpio-keys { + compatible = "gpio-keys"; + + power { + label = "power"; + linux,code = <KEY_POWER>; + gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + }; }; &de { |