[PATCH 1/1] arm: Fix bootled on Excito B3 boards
From: Gordon Bos <hidden>
Date: 2015-02-06 09:13:11
Subsystem:
the rest · Maintainer:
Linus Torvalds
On a normal boot Excito B3 boards will set the LED color to purple, however when booting a kernel with the kirkwood-b3 device tree blob attached the LED will switch off. There is a default-state parameter wit value "off" included for the green gpio-led, but this is already the default. Add default-state parameter to blue and red gpio-leds and set their value to "on". Note: when creating a kernel for a USB device the default-state for the gpio-leds should be reversed, i.e. the LED should be green while the kernel is being loaded. Verified on my own Excito B3 Signed-off-by: Gordon Bos <redacted> --- arch/arm/boot/dts/kirkwood-b3.dts | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/kirkwood-b3.dts b/arch/arm/boot/dts/kirkwood-b3.dts
index c9247f8..f24e4fe 100644
--- a/arch/arm/boot/dts/kirkwood-b3.dts
+++ b/arch/arm/boot/dts/kirkwood-b3.dts@@ -141,11 +141,13 @@ error_led { label = "bubba3:red:error"; gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; + default-state = "on"; }; active_led { label = "bubba3:blue:active"; gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; + default-state = "on"; }; };
--
2.2.2
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html