mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 18:43:33 +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> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
This commit is contained in:
parent
cfa65ef7c8
commit
731daaa509
|
|
@ -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