diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2013-03-21 20:43:08 +0100 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-03-30 21:33:44 +0100 |
commit | 8c75e7b3d2a63a43b791e2a13229ad5e048497ce (patch) | |
tree | 52261e85813bc5d7939295948212b40b024fca8f /arch/arm/boot/dts/armada-370-rd.dts | |
parent | Dove: Thermal: Add DT node and enable in defconfig (diff) | |
download | linux-8c75e7b3d2a63a43b791e2a13229ad5e048497ce.tar.xz linux-8c75e7b3d2a63a43b791e2a13229ad5e048497ce.zip |
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.dts | 11 |
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 f8e4855bc9a5..0656c815616e 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>; + }; + }; }; |