Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba5c7a03 authored by Nobuhiro Iwamatsu's avatar Nobuhiro Iwamatsu Committed by Michal Simek
Browse files

arm: dts: zynq: Add Digilent Zybo Z7 board



This add a DTS for the Digilent Zybo Z7 board.
This board is the successor board of Zybo, these are almost the same except
for ps-clk-frequency specifications.

Signed-off-by: default avatarNobuhiro Iwamatsu <nobuhiro.iwamatsu@cybertrust.co.jp>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 73793093
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -17,6 +17,9 @@ Additional compatible strings:
  "xlnx,zynq-zc770-xm012"
  "xlnx,zynq-zc770-xm013"

- Digilent Zybo Z7 board
  "digilent,zynq-zybo-z7"

---------------------------------------------------------------

Xilinx Zynq UltraScale+ MPSoC Platforms Device Tree Bindings
+2 −1
Original line number Diff line number Diff line
@@ -1072,7 +1072,8 @@ dtb-$(CONFIG_ARCH_ZYNQ) += \
	zynq-zc770-xm012.dtb \
	zynq-zc770-xm013.dtb \
	zynq-zed.dtb \
	zynq-zybo.dtb
	zynq-zybo.dtb \
	zynq-zybo-z7.dtb
dtb-$(CONFIG_MACH_ARMADA_370) += \
	armada-370-db.dtb \
	armada-370-dlink-dns327l.dtb \
+58 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0+
/dts-v1/;
#include "zynq-7000.dtsi"

/ {
	model = "Zynq ZYBO Z7 Development Board";
	compatible = "digilent,zynq-zybo-z7", "xlnx,zynq-7000";

	aliases {
		ethernet0 = &gem0;
		serial0 = &uart1;
	};

	memory@0 {
		device_type = "memory";
		reg = <0x0 0x20000000>;
	};

	chosen {
		bootargs = "";
		stdout-path = "serial0:115200n8";
	};

	usb_phy0: phy0 {
		#phy-cells = <0>;
		compatible = "usb-nop-xceiv";
		reset-gpios = <&gpio0 46 1>;
	};
};

&clkc {
	ps-clk-frequency = <33333333>;
};

&gem0 {
	status = "okay";
	phy-mode = "rgmii-id";
	phy-handle = <&ethernet_phy>;

	ethernet_phy: ethernet-phy@0 {
		reg = <0>;
		device_type = "ethernet-phy";
	};
};

&sdhci0 {
	status = "okay";
};

&uart1 {
	status = "okay";
};

&usb0 {
	status = "okay";
	dr_mode = "host";
	usb-phy = <&usb_phy0>;
};