ARM: tegra: Add gpio-leds to Tegra30 Beaver
authorEric Brower <ebrower@nvidia.com>
Fri, 10 May 2013 14:40:29 +0000 (14:40 +0000)
committerStephen Warren <swarren@nvidia.com>
Tue, 28 May 2013 22:13:49 +0000 (16:13 -0600)
Add support for general-purpose LEDs present on Beaver

Signed-off-by: Eric Brower <ebrower@nvidia.com>
[swarren: put new node in correct sort order]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/boot/dts/tegra30-beaver.dts

index 7a63cde..4114f87 100644 (file)
                        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 */
+               };
+       };
 };