mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
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: Marek Behún <kabel@kernel.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Andy Shevchenko <andy@kernel.org> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20240701113010.16447-9-kabel@kernel.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
04515932e5
commit
ade9906194
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user