summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/armada-370-rd.dts
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2013-03-21 16:43:08 -0300
committerJason Cooper <jason@lakedaemon.net>2013-03-30 20:33:44 +0000
commit8c75e7b3d2a63a43b791e2a13229ad5e048497ce (patch)
tree52261e85813bc5d7939295948212b40b024fca8f /arch/arm/boot/dts/armada-370-rd.dts
parentc3117edec5f92cce39f2d220c62f76675397af8d (diff)
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>
Diffstat (limited to 'arch/arm/boot/dts/armada-370-rd.dts')
-rw-r--r--arch/arm/boot/dts/armada-370-rd.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-370-rd.dts b/arch/arm/boot/dts/armada-370-rd.dts
index f8e4855bc9a..0656c815616 100644
--- a/arch/arm/boot/dts/armada-370-rd.dts
+++ b/arch/arm/boot/dts/armada-370-rd.dts
@@ -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>;
+ };
+ };
};