diff mbox

[U-Boot,04/27] ARM64: zynqmp: Enable gpio-led as heartbeat on zcu102

Message ID e7ce347ae6f49f89f56e18274b20f2606632d2fe.1478871698.git.michal.simek@xilinx.com
State Accepted
Commit 4ae78e55b051a416942c00266327869b8e5bd4c8
Delegated to: Michal Simek
Headers show

Commit Message

Michal Simek Nov. 11, 2016, 1:41 p.m. UTC
Show user that Linux is alive on the board.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 arch/arm/dts/zynqmp-zcu102.dts | 9 +++++++++
 1 file changed, 9 insertions(+)
diff mbox

Patch

diff --git a/arch/arm/dts/zynqmp-zcu102.dts b/arch/arm/dts/zynqmp-zcu102.dts
index b3f5eaacaefc..d6cee07890c5 100644
--- a/arch/arm/dts/zynqmp-zcu102.dts
+++ b/arch/arm/dts/zynqmp-zcu102.dts
@@ -39,6 +39,15 @@ 
 		device_type = "memory";
 		reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
 	};
+
+	leds {
+		compatible = "gpio-leds";
+		heartbeat_led {
+			label = "heartbeat";
+			gpios = <&gpio 23 0>;
+			linux,default-trigger = "heartbeat";
+		};
+	};
 };
 
 &can1 {