mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 10:57:46 +00:00
ARM: mvebu: Add button on Armada 370 Reference Design board
The Marvell Armada 370 Reference Design board has a software-controlled button on the front side, marked as "SW". This patch adds minimal support for this button. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Acked-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
This commit is contained in:
parent
c3117edec5
commit
8c75e7b3d2
1 changed files with 11 additions and 0 deletions
|
@ -65,4 +65,15 @@ mvsdio@d00d4000 {
|
||||||
/* No CD or WP GPIOs */
|
/* No CD or WP GPIOs */
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gpio-keys {
|
||||||
|
compatible = "gpio-keys";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
button@1 {
|
||||||
|
label = "Software Button";
|
||||||
|
linux,code = <116>;
|
||||||
|
gpios = <&gpio0 6 1>;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue