diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-01-07 11:29:58 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-02-28 12:57:13 -0500 |
commit | 4ca73962a15caccd310093266783be89a81d571f (patch) | |
tree | c0027caa76bff18531c62bb75913034db1ebe863 /arch/arm | |
parent | 102c9543ff368709980c6d68b7a75f840edda6b5 (diff) |
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 <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 12 |
1 files changed, 12 insertions, 0 deletions
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 @@ | |||
66 | }; | 66 | }; |
67 | }; | 67 | }; |
68 | 68 | ||
69 | gpio_keys { | ||
70 | compatible = "gpio-keys"; | ||
71 | #address-cells = <1>; | ||
72 | #size-cells = <0>; | ||
73 | |||
74 | button@1 { | ||
75 | label = "Init Button"; | ||
76 | linux,code = <116>; | ||
77 | gpios = <&gpio1 28 0>; | ||
78 | }; | ||
79 | }; | ||
80 | |||
69 | mdio { | 81 | mdio { |
70 | phy0: ethernet-phy@0 { | 82 | phy0: ethernet-phy@0 { |
71 | reg = <0>; | 83 | reg = <0>; |