Skip to contentSkip to conversation

ARM: dts: omap3-beagle: Add heartbeat and mmc LEDs support

PATCH New Benoit Cousson 1 participant 1 message Sep 7, 2012 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: omap3-beagle: Add heartbeat and mmc LEDs support

Add the support for D6 and D7 LEDs on Beagle board.
- D6 will be used for heartbeat
- D7 will be used for mmc0

---

It is based on top of the LEDB support added by Florian.

Regards,
Benoit

 arch/arm/boot/dts/omap3-beagle.dts |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
arch/arm/boot/dts/omap3-beagle.dts +12 -0
index 3fe35c2..ca46fb2 100644
@@ -24,6 +24,18 @@
 			label = "beagleboard::pmu_stat";
 			gpios = <&twl_gpio 19 0>; /* LEDB */
 		};
+
+		heartbeat {
+			label = "beagleboard::usr0";
+			gpios = <&gpio5 22 0>; /* 150 -> D6 LED */
+			linux,default-trigger = "heartbeat";
+		};
+
+		mmc {
+			label = "beagleboard::usr1";
+			gpios = <&gpio5 21 0>; /* 149 -> D7 LED */
+			linux,default-trigger = "mmc0";
+		};
 	};
 };
 
Signature · 1 line
1.7.0.4