From: Thomas Petazzoni Date: Mon, 7 Jan 2013 16:29:58 +0000 (+0100) Subject: arm: mvebu: add button for OpenBlocks AX3-4 X-Git-Tag: next-20130220~18^2~5^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1bead82fa5a52cd21c30c0c28615157d5c3dac9f;p=karo-tx-linux.git arm: mvebu: add button for OpenBlocks AX3-4 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 Signed-off-by: Jason Cooper --- 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 b42652fd3d8c..ec368643e478 100644 --- a/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts +++ b/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts @@ -66,6 +66,18 @@ }; }; + gpio_keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + + button@1 { + label = "Init Button"; + linux,code = <116>; + gpios = <&gpio1 28 0>; + }; + }; + mdio { phy0: ethernet-phy@0 { reg = <0>;