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:
Ezequiel Garcia 2013-03-21 16:43:08 -03:00 коммит произвёл Jason Cooper
Родитель c3117edec5
Коммит 8c75e7b3d2
1 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -65,4 +65,15 @@
/* 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>;
};
};
};