aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boot/dts/sun8i-h3-orangepi-2.dts')
-rw-r--r--arch/arm/boot/dts/sun8i-h3-orangepi-2.dts9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
index 597c425d08ec..f1f9dbead32a 100644
--- a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
+++ b/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
@@ -88,19 +88,20 @@
};
};
- r_gpio_keys {
+ gpio-keys {
compatible = "gpio-keys";
- sw2 {
+ switch-2 {
label = "sw2";
linux,code = <BTN_1>;
gpios = <&r_pio 0 4 GPIO_ACTIVE_LOW>;
};
- sw4 {
+ switch-4 {
label = "sw4";
- linux,code = <BTN_0>;
+ linux,code = <KEY_POWER>;
gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>;
+ wakeup-source;
};
};