1// SPDX-License-Identifier: GPL-2.0+
2/dts-v1/;
3#include "zynq-7000.dtsi"
4#include <dt-bindings/gpio/gpio.h>
5
6/ {
7	model = "Digilent Zybo Z7 board";
8	compatible = "digilent,zynq-zybo-z7", "xlnx,zynq-7000";
9
10	aliases {
11		ethernet0 = &gem0;
12		serial0 = &uart1;
13	};
14
15	memory@0 {
16		device_type = "memory";
17		reg = <0x0 0x40000000>;
18	};
19
20	chosen {
21		bootargs = "";
22		stdout-path = "serial0:115200n8";
23	};
24
25	gpio-leds {
26		compatible = "gpio-leds";
27
28		led-ld4 {
29			label = "zynq-zybo-z7:green:ld4";
30			gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
31		};
32	};
33
34	usb_phy0: phy0 {
35		#phy-cells = <0>;
36		compatible = "usb-nop-xceiv";
37		reset-gpios = <&gpio0 46 GPIO_ACTIVE_LOW>;
38	};
39};
40
41&clkc {
42	ps-clk-frequency = <33333333>;
43};
44
45&gem0 {
46	status = "okay";
47	phy-mode = "rgmii-id";
48	phy-handle = <&ethernet_phy>;
49
50	ethernet_phy: ethernet-phy@0 {
51		reg = <0>;
52		device_type = "ethernet-phy";
53	};
54};
55
56&sdhci0 {
57	status = "okay";
58};
59
60&uart1 {
61	status = "okay";
62};
63
64&usb0 {
65	status = "okay";
66	dr_mode = "host";
67	usb-phy = <&usb_phy0>;
68};
69