* [PATCH 3.9] arm: mvebu: add button for OpenBlocks AX3-4
@ 2013-01-07 16:29 Thomas Petazzoni
2013-01-23 14:14 ` Jason Cooper
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Petazzoni @ 2013-01-07 16:29 UTC (permalink / raw)
To: linux-arm-kernel
The OpenBlocks AX3-4 board has one software-controlled button on the
front side, labeled "INIT", so we add minimal support for this button
in the kernel.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts b/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts
index b24644f..c16015c 100644
--- a/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts
+++ b/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts
@@ -72,6 +72,18 @@
};
};
+ gpio_keys {
+ compatible = "gpio-keys";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ button at 1 {
+ label = "Init Button";
+ linux,code = <116>;
+ gpios = <&gpio1 28 0>;
+ };
+ };
+
mdio {
phy0: ethernet-phy at 0 {
reg = <0>;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 3.9] arm: mvebu: add button for OpenBlocks AX3-4
2013-01-07 16:29 [PATCH 3.9] arm: mvebu: add button for OpenBlocks AX3-4 Thomas Petazzoni
@ 2013-01-23 14:14 ` Jason Cooper
0 siblings, 0 replies; 2+ messages in thread
From: Jason Cooper @ 2013-01-23 14:14 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Jan 07, 2013 at 05:29:58PM +0100, Thomas Petazzoni wrote:
> The OpenBlocks AX3-4 board has one software-controlled button on the
> front side, labeled "INIT", so we add minimal support for this button
> in the kernel.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
Applied to mvebu/dt
thx,
Jason.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-23 14:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-07 16:29 [PATCH 3.9] arm: mvebu: add button for OpenBlocks AX3-4 Thomas Petazzoni
2013-01-23 14:14 ` Jason Cooper
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.