| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- From c3eeabe0b8d22d7c869278cc0cb35b83512fbed5 Mon Sep 17 00:00:00 2001
- From: =?UTF-8?q?Marek=20Beh=C3=BAn?= <[email protected]>
- Date: Mon, 1 Jul 2024 13:30:10 +0200
- Subject: [PATCH 08/11] ARM: dts: turris-omnia: Add GPIO key node for front
- button
- MIME-Version: 1.0
- Content-Type: text/plain; charset=UTF-8
- Content-Transfer-Encoding: 8bit
- Now that we have the MCU device-tree node, which acts as a GPIO
- controller, add GPIO key node for the front button.
- Signed-off-by: Marek Behún <[email protected]>
- Reviewed-by: Andrew Lunn <[email protected]>
- Reviewed-by: Andy Shevchenko <[email protected]>
- Reviewed-by: Conor Dooley <[email protected]>
- Acked-by: Bartosz Golaszewski <[email protected]>
- Acked-by: Alexandre Belloni <[email protected]>
- Link: https://lore.kernel.org/r/[email protected]
- Signed-off-by: Arnd Bergmann <[email protected]>
- ---
- .../boot/dts/marvell/armada-385-turris-omnia.dts | 13 +++++++++++++
- 1 file changed, 13 insertions(+)
- --- a/arch/arm/boot/dts/marvell/armada-385-turris-omnia.dts
- +++ b/arch/arm/boot/dts/marvell/armada-385-turris-omnia.dts
- @@ -112,6 +112,19 @@
- status = "disabled";
- };
-
- + gpio-keys {
- + compatible = "gpio-keys";
- +
- + front-button {
- + label = "Front Button";
- + linux,code = <KEY_VENDOR>;
- + linux,can-disable;
- + gpios = <&mcu 0 12 GPIO_ACTIVE_HIGH>;
- + /* debouncing is done by the microcontroller */
- + debounce-interval = <0>;
- + };
- + };
- +
- sound {
- compatible = "simple-audio-card";
- simple-audio-card,name = "SPDIF";
|