From: Benoit Cousson Date: Tue, 8 May 2012 16:37:27 +0000 (+0200) Subject: arm/dts: omap4-panda: Add LEDs support X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~18985^2~2^2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=40364b9f5a4d167d97bb6a76cd239ca8cfff056a;p=mirror_ubuntu-focal-kernel.git arm/dts: omap4-panda: Add LEDs support Add the debug LEDs nodes for an OMAP4 PandaBoard. Signed-off-by: Benoit Cousson Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/dts/omap4-panda.dts b/arch/arm/boot/dts/omap4-panda.dts index ea6f5bb8a120..e671361bc791 100644 --- a/arch/arm/boot/dts/omap4-panda.dts +++ b/arch/arm/boot/dts/omap4-panda.dts @@ -17,6 +17,21 @@ device_type = "memory"; reg = <0x80000000 0x40000000>; /* 1 GB */ }; + + leds { + compatible = "gpio-leds"; + heartbeat { + label = "pandaboard::status1"; + gpios = <&gpio1 7 0>; + linux,default-trigger = "heartbeat"; + }; + + mmc { + label = "pandaboard::status2"; + gpios = <&gpio1 8 0>; + linux,default-trigger = "mmc0"; + }; + }; }; &i2c1 {