Skip to content

Commit

Permalink
arm64: dts: allwinner: Enable button wakeup on Orange Pi PC2
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
smaeul authored and mripard committed Feb 10, 2020
1 parent 674ef1d commit 787615a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
label = "sw4";
linux,code = <BTN_0>;
gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>;
wakeup-source;
};
};

Expand Down

0 comments on commit 787615a

Please sign in to comment.