xref: /freebsd-src/sys/contrib/device-tree/src/arm/xilinx/zynq-zybo.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 = "Digilent Zybo board";
11*f126890aSEmmanuel Vadot	compatible = "digilent,zynq-zybo", "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		#phy-cells = <0>;
31*f126890aSEmmanuel Vadot		compatible = "usb-nop-xceiv";
32*f126890aSEmmanuel Vadot		reset-gpios = <&gpio0 46 1>;
33*f126890aSEmmanuel Vadot	};
34*f126890aSEmmanuel Vadot};
35*f126890aSEmmanuel Vadot
36*f126890aSEmmanuel Vadot&clkc {
37*f126890aSEmmanuel Vadot	ps-clk-frequency = <50000000>;
38*f126890aSEmmanuel Vadot};
39*f126890aSEmmanuel Vadot
40*f126890aSEmmanuel Vadot&gem0 {
41*f126890aSEmmanuel Vadot	status = "okay";
42*f126890aSEmmanuel Vadot	phy-mode = "rgmii-id";
43*f126890aSEmmanuel Vadot	phy-handle = <&ethernet_phy>;
44*f126890aSEmmanuel Vadot
45*f126890aSEmmanuel Vadot	ethernet_phy: ethernet-phy@0 {
46*f126890aSEmmanuel Vadot		reg = <0>;
47*f126890aSEmmanuel Vadot		device_type = "ethernet-phy";
48*f126890aSEmmanuel Vadot	};
49*f126890aSEmmanuel Vadot};
50*f126890aSEmmanuel Vadot
51*f126890aSEmmanuel Vadot&sdhci0 {
52*f126890aSEmmanuel Vadot	status = "okay";
53*f126890aSEmmanuel Vadot};
54*f126890aSEmmanuel Vadot
55*f126890aSEmmanuel Vadot&uart1 {
56*f126890aSEmmanuel Vadot	status = "okay";
57*f126890aSEmmanuel Vadot};
58*f126890aSEmmanuel Vadot
59*f126890aSEmmanuel Vadot&usb0 {
60*f126890aSEmmanuel Vadot	status = "okay";
61*f126890aSEmmanuel Vadot	dr_mode = "host";
62*f126890aSEmmanuel Vadot	usb-phy = <&usb_phy0>;
63*f126890aSEmmanuel Vadot};
64