aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/zynq/patches-4.14/025-v4.19-update-digilent-zybo-z7-dts.patch
diff options
context:
space:
mode:
authorLuis Araneda <luaraneda@gmail.com>2018-08-24 00:40:26 -0300
committerHauke Mehrtens <hauke@hauke-m.de>2018-08-25 15:33:51 +0200
commit64f4c3ef357815e5d8c780a0d02924b9176db794 (patch)
tree356d9909d26ed1f692b9c042001656f418ccdae0 /target/linux/zynq/patches-4.14/025-v4.19-update-digilent-zybo-z7-dts.patch
parent43dedd0661e3f83405c71b80e1f8d4b4a1e7ac00 (diff)
downloadupstream-64f4c3ef357815e5d8c780a0d02924b9176db794.tar.gz
upstream-64f4c3ef357815e5d8c780a0d02924b9176db794.tar.bz2
upstream-64f4c3ef357815e5d8c780a0d02924b9176db794.zip
zynq: add support for the Zybo Z7 board
The board is manufactured by Digilent Main features: - Soc: XC7Z010 (Z7-10) or XC7Z020 (Z7-20) - RAM: 1 GB DDR3L - FLASH: 16 MB QSPI - 1 Gbps Ethernet - USB 2.0 - microSD slot - Pcam camera connector - HDMI Tx and Rx - Audio codec: stereo out, stereo in, mic - 5 (Z7-10) or 6 (Z7-20) Pmod ports - 6 push-buttons, 4 switches, 5 LEDs - 1 (Z7-10) or 2 (Z7-20) RGB LEDs Signed-off-by: Luis Araneda <luaraneda@gmail.com>
Diffstat (limited to 'target/linux/zynq/patches-4.14/025-v4.19-update-digilent-zybo-z7-dts.patch')
-rw-r--r--target/linux/zynq/patches-4.14/025-v4.19-update-digilent-zybo-z7-dts.patch52
1 files changed, 52 insertions, 0 deletions
diff --git a/target/linux/zynq/patches-4.14/025-v4.19-update-digilent-zybo-z7-dts.patch b/target/linux/zynq/patches-4.14/025-v4.19-update-digilent-zybo-z7-dts.patch
new file mode 100644
index 0000000000..d4726498d2
--- /dev/null
+++ b/target/linux/zynq/patches-4.14/025-v4.19-update-digilent-zybo-z7-dts.patch
@@ -0,0 +1,52 @@
+From 7d90ca6f19199a54d3f8417c5f36c50dfa0accc8 Mon Sep 17 00:00:00 2001
+From: Luis Araneda <luaraneda@gmail.com>
+Date: Thu, 12 Jul 2018 01:50:46 -0400
+Subject: [PATCH] v4.19: Backport dts updates to the Digilent Zybo Z7 board
+
+- 7d90ca6: Fix memory size (512 MiB -> 1 GiB)
+- edd62b9: Use GPIO constants
+- a2b7baf: Add gpio-leds node
+
+Signed-off-by: Luis Araneda <luaraneda@gmail.com>
+---
+
+--- a/arch/arm/boot/dts/zynq-zybo-z7.dts
++++ b/arch/arm/boot/dts/zynq-zybo-z7.dts
+@@ -1,6 +1,7 @@
+ // SPDX-License-Identifier: GPL-2.0+
+ /dts-v1/;
+ #include "zynq-7000.dtsi"
++#include <dt-bindings/gpio/gpio.h>
+
+ / {
+ model = "Zynq ZYBO Z7 Development Board";
+@@ -13,7 +14,7 @@
+
+ memory@0 {
+ device_type = "memory";
+- reg = <0x0 0x20000000>;
++ reg = <0x0 0x40000000>;
+ };
+
+ chosen {
+@@ -21,10 +22,19 @@
+ 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";
+- reset-gpios = <&gpio0 46 1>;
++ reset-gpios = <&gpio0 46 GPIO_ACTIVE_LOW>;
+ };
+ };
+