From: Samuel Holland Date: Sun, 19 Jan 2020 16:30:56 +0000 (-0600) Subject: arm64: dts: allwinner: Enable button wakeup on Orange Pi PC2 X-Git-Tag: v5.7-rc1~97^2~35^2~40 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=787615ad874151af11017e95e29b7f1ef1c1590f;p=users%2Fjedix%2Flinux-maple.git arm64: dts: allwinner: Enable button wakeup on Orange Pi PC2 The Orange Pi PC2 features a GPIO button. As the button is connected to Port L (pin PL3), it can be used as a wakeup source. Enable this. Signed-off-by: Samuel Holland Signed-off-by: Maxime Ripard --- diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts index 70b5f0998421..c4f89c312f42 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts @@ -61,6 +61,7 @@ label = "sw4"; linux,code = ; gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>; + wakeup-source; }; };