diff mbox

[5/5] ARM: dt: tegra: add the wifi led to paz00 device tree

Message ID a9f2b18eddc5cc1990d7a1717a3feb1bea5ae687.1327776641.git.marvin24@gmx.de
State Accepted, archived
Headers show

Commit Message

Marc Dietrich Jan. 28, 2012, 7:03 p.m. UTC
This adds the wifi led bound to the rfkill0 event to the device
tree of paz00.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
---
 arch/arm/boot/dts/tegra-paz00.dts |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/arch/arm/boot/dts/tegra-paz00.dts b/arch/arm/boot/dts/tegra-paz00.dts
index 2a16ff0..31c2d08 100644
--- a/arch/arm/boot/dts/tegra-paz00.dts
+++ b/arch/arm/boot/dts/tegra-paz00.dts
@@ -102,4 +102,14 @@ 
 			gpio-key,wakeup;
 		};
 	};
+
+	gpio-leds {
+		compatible = "gpio-leds";
+
+		wifi {
+			label = "wifi-led";
+			gpios = <&gpio 24 0>;
+			linux,default-trigger = "rfkill0";
+		};
+	};
 };