summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2016-04-20 11:12:25 (GMT)
committerMichal Simek <michal.simek@xilinx.com>2016-11-15 14:30:38 (GMT)
commit4ae78e55b051a416942c00266327869b8e5bd4c8 (patch)
treebbab6969991007ab42235cb98356387cbbbdf660
parent01b78c7eba6dbbdd9873965aa0e4b85bd9a181bc (diff)
downloadu-boot-fsl-qoriq-4ae78e55b051a416942c00266327869b8e5bd4c8.tar.xz
ARM64: zynqmp: Enable gpio-led as heartbeat on zcu102
Show user that Linux is alive on the board. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r--arch/arm/dts/zynqmp-zcu102.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/dts/zynqmp-zcu102.dts b/arch/arm/dts/zynqmp-zcu102.dts
index b3f5eaa..d6cee07 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 {