From b4dd3e0c0c72c6429f67e4e83a799f268308ca32 Mon Sep 17 00:00:00 2001 From: Eric Brower Date: Fri, 10 May 2013 14:40:29 +0000 Subject: ARM: tegra: Add gpio-leds to Tegra30 Beaver Add support for general-purpose LEDs present on Beaver Signed-off-by: Eric Brower [swarren: put new node in correct sort order] Signed-off-by: Stephen Warren --- arch/arm/boot/dts/tegra30-beaver.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'arch/arm') 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 */ + }; + }; }; -- cgit v1.2.1