ARM: dts: zynq: Add LEDs to the Zybo Z7 board
authorLuis Araneda <luaraneda@gmail.com>
Thu, 12 Jul 2018 05:50:48 +0000 (01:50 -0400)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 19 Jul 2018 08:08:51 +0000 (10:08 +0200)
Add an LED node, connected to the Processing System (PS)

Signed-off-by: Luis Araneda <luaraneda@gmail.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/boot/dts/zynq-zybo-z7.dts

index 7f19b76..357b78a 100644 (file)
                stdout-path = "serial0:115200n8";
        };
 
+       gpio-leds {
+               compatible = "gpio-leds";
+
+               ld4 {
+                       label = "zynq-zybo-z7:green:ld4";
+                       gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
+               };
+       };
+
        usb_phy0: phy0 {
                #phy-cells = <0>;
                compatible = "usb-nop-xceiv";