]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: allwinner: Enable button wakeup on Orange Pi PC2
authorSamuel Holland <samuel@sholland.org>
Sun, 19 Jan 2020 16:30:56 +0000 (10:30 -0600)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 10 Feb 2020 07:57:41 +0000 (08:57 +0100)
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 <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts

index 70b5f09984218e9b0e3fb9f6df8d2d66df5dd2d5..c4f89c312f4277ced9645cda61564e2b4dfe4ff7 100644 (file)
@@ -61,6 +61,7 @@
                        label = "sw4";
                        linux,code = <BTN_0>;
                        gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>;
+                       wakeup-source;
                };
        };