Commit ade99061 authored by Marek Behún's avatar Marek Behún Committed by Arnd Bergmann

ARM: dts: turris-omnia: Add GPIO key node for front button

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: default avatarMarek Behún <kabel@kernel.org>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Reviewed-by: default avatarAndy Shevchenko <andy@kernel.org>
Reviewed-by: default avatarConor Dooley <conor.dooley@microchip.com>
Acked-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Acked-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20240701113010.16447-9-kabel@kernel.orgSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 04515932
......@@ -112,6 +112,19 @@ sfp: sfp {
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";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment