xref: /freebsd/sys/contrib/device-tree/src/arm/xilinx/zynq-zed.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot *  Copyright (C) 2011 - 2014 Xilinx
4*f126890aSEmmanuel Vadot *  Copyright (C) 2012 National Instruments Corp.
5*f126890aSEmmanuel Vadot */
6*f126890aSEmmanuel Vadot/dts-v1/;
7*f126890aSEmmanuel Vadot#include "zynq-7000.dtsi"
8*f126890aSEmmanuel Vadot
9*f126890aSEmmanuel Vadot/ {
10*f126890aSEmmanuel Vadot	model = "Avnet ZedBoard board";
11*f126890aSEmmanuel Vadot	compatible = "avnet,zynq-zed", "xlnx,zynq-zed", "xlnx,zynq-7000";
12*f126890aSEmmanuel Vadot
13*f126890aSEmmanuel Vadot	aliases {
14*f126890aSEmmanuel Vadot		ethernet0 = &gem0;
15*f126890aSEmmanuel Vadot		serial0 = &uart1;
16*f126890aSEmmanuel Vadot		mmc0 = &sdhci0;
17*f126890aSEmmanuel Vadot	};
18*f126890aSEmmanuel Vadot
19*f126890aSEmmanuel Vadot	memory@0 {
20*f126890aSEmmanuel Vadot		device_type = "memory";
21*f126890aSEmmanuel Vadot		reg = <0x0 0x20000000>;
22*f126890aSEmmanuel Vadot	};
23*f126890aSEmmanuel Vadot
24*f126890aSEmmanuel Vadot	chosen {
25*f126890aSEmmanuel Vadot		bootargs = "";
26*f126890aSEmmanuel Vadot		stdout-path = "serial0:115200n8";
27*f126890aSEmmanuel Vadot	};
28*f126890aSEmmanuel Vadot
29*f126890aSEmmanuel Vadot	usb_phy0: phy0 {
30*f126890aSEmmanuel Vadot		compatible = "usb-nop-xceiv";
31*f126890aSEmmanuel Vadot		#phy-cells = <0>;
32*f126890aSEmmanuel Vadot	};
33*f126890aSEmmanuel Vadot};
34*f126890aSEmmanuel Vadot
35*f126890aSEmmanuel Vadot&clkc {
36*f126890aSEmmanuel Vadot	ps-clk-frequency = <33333333>;
37*f126890aSEmmanuel Vadot};
38*f126890aSEmmanuel Vadot
39*f126890aSEmmanuel Vadot&gem0 {
40*f126890aSEmmanuel Vadot	status = "okay";
41*f126890aSEmmanuel Vadot	phy-mode = "rgmii-id";
42*f126890aSEmmanuel Vadot	phy-handle = <&ethernet_phy>;
43*f126890aSEmmanuel Vadot
44*f126890aSEmmanuel Vadot	ethernet_phy: ethernet-phy@0 {
45*f126890aSEmmanuel Vadot		reg = <0>;
46*f126890aSEmmanuel Vadot		device_type = "ethernet-phy";
47*f126890aSEmmanuel Vadot	};
48*f126890aSEmmanuel Vadot};
49*f126890aSEmmanuel Vadot
50*f126890aSEmmanuel Vadot&sdhci0 {
51*f126890aSEmmanuel Vadot	status = "okay";
52*f126890aSEmmanuel Vadot};
53*f126890aSEmmanuel Vadot
54*f126890aSEmmanuel Vadot&uart1 {
55*f126890aSEmmanuel Vadot	status = "okay";
56*f126890aSEmmanuel Vadot};
57*f126890aSEmmanuel Vadot
58*f126890aSEmmanuel Vadot&usb0 {
59*f126890aSEmmanuel Vadot	status = "okay";
60*f126890aSEmmanuel Vadot	dr_mode = "host";
61*f126890aSEmmanuel Vadot	usb-phy = <&usb_phy0>;
62*f126890aSEmmanuel Vadot};
63