summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/tegra30-beaver.dts
diff options
context:
space:
mode:
authorEric Brower <ebrower@nvidia.com>2013-05-10 14:40:29 +0000
committerStephen Warren <swarren@nvidia.com>2013-05-28 16:13:49 -0600
commitb4dd3e0c0c72c6429f67e4e83a799f268308ca32 (patch)
tree35884e4e9c5dea98e7f20da47ab36a17412fb7fe /arch/arm/boot/dts/tegra30-beaver.dts
parent30022bb43dd9937d5abef17bb762829c82d7ec85 (diff)
downloadlwn-b4dd3e0c0c72c6429f67e4e83a799f268308ca32.tar.gz
lwn-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>
Diffstat (limited to 'arch/arm/boot/dts/tegra30-beaver.dts')
-rw-r--r--arch/arm/boot/dts/tegra30-beaver.dts13
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 */
+ };
+ };
};