diff mbox

[3/3] arm: dts: zynq: Add LEDs to the Zybo Z7 board

Message ID 20180712055049.5098-4-luaraneda@gmail.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Luis Araneda July 12, 2018, 5:50 a.m. UTC
Add an LED node, connected to the Processing System (PS)

Signed-off-by: Luis Araneda <luaraneda@gmail.com>
---
 arch/arm/boot/dts/zynq-zybo-z7.dts | 9 +++++++++
 1 file changed, 9 insertions(+)
diff mbox

Patch

diff --git a/arch/arm/boot/dts/zynq-zybo-z7.dts b/arch/arm/boot/dts/zynq-zybo-z7.dts
index b68a5e921464..710076c9bc19 100644
--- a/arch/arm/boot/dts/zynq-zybo-z7.dts
+++ b/arch/arm/boot/dts/zynq-zybo-z7.dts
@@ -22,6 +22,15 @@ 
 		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";