Skip to content

Commit

Permalink
arm: mvebu: add button for OpenBlocks AX3-4
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
tpetazzoni authored and arndb committed Feb 28, 2013
1 parent 102c954 commit 4ca7396
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down

0 comments on commit 4ca7396

Please sign in to comment.