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

Commit 155acbe7 authored by Nobuhiro Iwamatsu's avatar Nobuhiro Iwamatsu Committed by Jason Cooper
Browse files

ARM: Kirkwood: Add support LED of OpenBlocks A6



OpenBlocks A6 has three leds via GPIO. This supports them.
And this fix typo about led, because hardware manual has typo.

Signed-off-by: default avatarNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent 5cd0e6e7
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -76,4 +76,23 @@
			};
		};
	};

	gpio-leds {
		compatible = "gpio-leds";

		led-red {
			label = "obsa6:red:stat";
			gpios = <&gpio1 9 1>;
		};

		led-green {
			label = "obsa6:green:stat";
			gpios = <&gpio1 10 1>;
		};

		led-yellow {
			label = "obsa6:yellow:stat";
			gpios = <&gpio1 11 1>;
		};
        };
};
+2 −2
Original line number Diff line number Diff line
@@ -55,8 +55,8 @@ static unsigned int openblocks_a6_mpp_config[] __initdata = {
	MPP38_GPIO, /* INIT */
	MPP39_GPIO, /* USB OC */
	MPP41_GPIO, /* LED: Red */
	MPP42_GPIO, /* LED: Yellow */
	MPP43_GPIO, /* LED: Green */
	MPP42_GPIO, /* LED: Green */
	MPP43_GPIO, /* LED: Yellow */
	0,
};