diff options
author | Matthias Kaehlcke <mka@chromium.org> | 2019-06-05 23:43:19 +0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2019-06-06 13:41:04 +0300 |
commit | b8925b7c2f867df6ce3e20deb4b3e2b9b32b20ff (patch) | |
tree | 7dc171ce1811853ab322fb00f1897a81a85a2440 /arch/arm/boot/dts/rk3288-veyron.dtsi | |
parent | cd6386087d826b9421ed97b778676f4177ffdfbd (diff) | |
download | linux-b8925b7c2f867df6ce3e20deb4b3e2b9b32b20ff.tar.xz |
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.dtsi | 4 |
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>; |