ARM64: zynqmp: Enable gpio-led as heartbeat on zcu102
authorMichal Simek <michal.simek@xilinx.com>
Wed, 20 Apr 2016 11:12:25 +0000 (13:12 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 15 Nov 2016 14:30:38 +0000 (15:30 +0100)
Show user that Linux is alive on the board.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp-zcu102.dts

index b3f5eaacaefcc9cd4a869ff88b8ad92c1ca85fb7..d6cee07890c500d0ec32c2cbd902b098a3505a06 100644 (file)
                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 {