[PATCH 2/2] ARM: at91/dt: sama5d3: enable D2 as the heartbeat LED

Josh Wu josh.wu at atmel.com
Tue Dec 9 02:54:46 PST 2014


This D2 led is aviable for all sama5d3x-ek board. So make it as
heartbeat led.

Signed-off-by: Josh Wu <josh.wu at atmel.com>
---
 arch/arm/boot/dts/sama5d3xcm.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/sama5d3xcm.dtsi b/arch/arm/boot/dts/sama5d3xcm.dtsi
index 962dc28..5a57c45 100644
--- a/arch/arm/boot/dts/sama5d3xcm.dtsi
+++ b/arch/arm/boot/dts/sama5d3xcm.dtsi
@@ -122,6 +122,7 @@
 		d2 {
 			label = "d2";
 			gpios = <&pioE 25 GPIO_ACTIVE_LOW>;	/* PE25, conflicts with A25, RXD2 */
+			linux,default-trigger = "heartbeat";
 		};
 	};
 };
-- 
1.9.1




More information about the linux-arm-kernel mailing list