Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c75e7b3 authored by Ezequiel Garcia's avatar Ezequiel Garcia Committed by Jason Cooper
Browse files

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: default avatarEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Acked-by: default avatarFlorian Fainelli <florian@openwrt.org>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent c3117ede
Loading
Loading
Loading
Loading
+11 −0
Original line number Original line Diff line number Diff line
@@ -65,4 +65,15 @@
			/* No CD or WP GPIOs */
			/* 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>;
		};
	};
};
};