Add support for general-purpose LEDs present on Beaver

Signed-off-by: Eric Brower <[email protected]>
---
 arch/arm/boot/dts/tegra30-beaver.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/tegra30-beaver.dts 
b/arch/arm/boot/dts/tegra30-beaver.dts
index 6248b24..d44cd81 100644
--- a/arch/arm/boot/dts/tegra30-beaver.dts
+++ b/arch/arm/boot/dts/tegra30-beaver.dts
@@ -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 */
+               };
+       };
 };
-- 
1.8.1.5
nvpublic
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to