summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/rk3288-veyron.dtsi
diff options
context:
space:
mode:
authorMatthias Kaehlcke <mka@chromium.org>2019-06-05 13:43:19 -0700
committerHeiko Stuebner <heiko@sntech.de>2019-06-06 12:41:04 +0200
commitb8925b7c2f867df6ce3e20deb4b3e2b9b32b20ff (patch)
tree7dc171ce1811853ab322fb00f1897a81a85a2440 /arch/arm/boot/dts/rk3288-veyron.dtsi
parentcd6386087d826b9421ed97b778676f4177ffdfbd (diff)
downloadlinux-stable-b8925b7c2f867df6ce3e20deb4b3e2b9b32b20ff.tar.gz
linux-stable-b8925b7c2f867df6ce3e20deb4b3e2b9b32b20ff.tar.bz2
linux-stable-b8925b7c2f867df6ce3e20deb4b3e2b9b32b20ff.zip
ARM: dts: rockchip: Split GPIO keys for veyron into multiple devices
With a single device DT overrides can become messy, especially when keys are added or removed. Multiple devices also allow to enable/disable wakeup per key/group. Signed-off-by: Matthias Kaehlcke <mka@chromium.org> [used actual switch+event constants in new lid-switch entry] Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rk3288-veyron.dtsi')
-rw-r--r--arch/arm/boot/dts/rk3288-veyron.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/rk3288-veyron.dtsi b/arch/arm/boot/dts/rk3288-veyron.dtsi
index c574844a6bb2..3257ca90f0e8 100644
--- a/arch/arm/boot/dts/rk3288-veyron.dtsi
+++ b/arch/arm/boot/dts/rk3288-veyron.dtsi
@@ -23,11 +23,11 @@
reg = <0x0 0x0 0x0 0x80000000>;
};
- gpio_keys: gpio-keys {
+ power_button: power-button {
compatible = "gpio-keys";
-
pinctrl-names = "default";
pinctrl-0 = <&pwr_key_l>;
+
power {
label = "Power";
gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;