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