diff options
author | Eric Brower <ebrower@nvidia.com> | 2013-05-10 16:40:29 +0200 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-05-29 00:13:49 +0200 |
commit | b4dd3e0c0c72c6429f67e4e83a799f268308ca32 (patch) | |
tree | 35884e4e9c5dea98e7f20da47ab36a17412fb7fe | |
parent | ARM: tegra: fix memory size on Beaver (diff) | |
download | linux-b4dd3e0c0c72c6429f67e4e83a799f268308ca32.tar.xz linux-b4dd3e0c0c72c6429f67e4e83a799f268308ca32.zip |
ARM: tegra: Add gpio-leds to Tegra30 Beaver
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>
-rw-r--r-- | arch/arm/boot/dts/tegra30-beaver.dts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra30-beaver.dts b/arch/arm/boot/dts/tegra30-beaver.dts index 7a63cde06378..4114f87fc0d2 100644 --- a/arch/arm/boot/dts/tegra30-beaver.dts +++ b/arch/arm/boot/dts/tegra30-beaver.dts @@ -391,4 +391,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 */ + }; + }; }; |