diff options
author | Luis Araneda <luaraneda@gmail.com> | 2018-07-12 07:50:48 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2018-07-19 10:08:51 +0200 |
commit | a2b7baf4abee17b28a4fff3d16575217da75cfa9 (patch) | |
tree | f6689fcbeafb6b43d99247e524680cb02677c82c /arch/arm/boot/dts/zynq-zybo-z7.dts | |
parent | ARM: dts: zynq: Use gpio constants for the Zybo Z7 board (diff) | |
download | linux-a2b7baf4abee17b28a4fff3d16575217da75cfa9.tar.xz linux-a2b7baf4abee17b28a4fff3d16575217da75cfa9.zip |
ARM: dts: zynq: Add LEDs to the Zybo Z7 board
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>
Diffstat (limited to 'arch/arm/boot/dts/zynq-zybo-z7.dts')
-rw-r--r-- | arch/arm/boot/dts/zynq-zybo-z7.dts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/zynq-zybo-z7.dts b/arch/arm/boot/dts/zynq-zybo-z7.dts index 7f19b767e991..357b78a5c11b 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"; |