Skip to contentSkip to conversation

ARM: DT: tegra: Add gpio-leds to Tegra30 Beaver

PATCH New Eric Brower 2 participants 2 messages May 11, 2013 – May 17, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: DT: tegra: Add gpio-leds to Tegra30 Beaver

Add support for general-purpose LEDs present on Beaver

---
 arch/arm/boot/dts/tegra30-beaver.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm/boot/dts/tegra30-beaver.dts +13 -0
index 6248b24..d44cd81 100644
@@ -383,4 +383,17 @@
 			vin-supply = <&sys_3v3_reg>;
 		};
 	};
+
+	gpio-leds {
+		compatible = "gpio-leds";
+
+		gpled1 {
+			label = "LED1"; /* CR5A1 (blue) */
+			gpios = <&gpio 89 0>; /* gpio PL1 */
+		};
+		gpled2 {
+			label = "LED2"; /* CR4A2 (green) */
+			gpios = <&gpio 88 0>; /* gpio PL0 */
+		};
+	};
 };
Signature · 2 lines
1.8.1.5
nvpublic
#1 lore raw

PATCH 1/1 ARM: DT: tegra: Add gpio-leds to Tegra30 Beaver

Quoted 1 line · Eric Brower

Add support for general-purpose LEDs present on Beaver

I've applied this to Tegra's for-3.11/dt branch. When applying, I moved the newly added node to maintain the node sort order.