xref: /freebsd-src/sys/contrib/device-tree/src/arm/xilinx/zynq-microzed.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) 2016 Jagan Teki <jteki@openedev.com>
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 MicroZed board";
11*f126890aSEmmanuel Vadot	compatible = "avnet,zynq-microzed", "xlnx,zynq-microzed", "xlnx,zynq-7000";
12*f126890aSEmmanuel Vadot
13*f126890aSEmmanuel Vadot	aliases {
14*f126890aSEmmanuel Vadot		ethernet0 = &gem0;
15*f126890aSEmmanuel Vadot		serial0 = &uart1;
16*f126890aSEmmanuel Vadot	};
17*f126890aSEmmanuel Vadot
18*f126890aSEmmanuel Vadot	memory@0 {
19*f126890aSEmmanuel Vadot		device_type = "memory";
20*f126890aSEmmanuel Vadot		reg = <0x0 0x40000000>;
21*f126890aSEmmanuel Vadot	};
22*f126890aSEmmanuel Vadot
23*f126890aSEmmanuel Vadot	chosen {
24*f126890aSEmmanuel Vadot		bootargs = "earlycon";
25*f126890aSEmmanuel Vadot		stdout-path = "serial0:115200n8";
26*f126890aSEmmanuel Vadot	};
27*f126890aSEmmanuel Vadot
28*f126890aSEmmanuel Vadot	usb_phy0: phy0 {
29*f126890aSEmmanuel Vadot		compatible = "usb-nop-xceiv";
30*f126890aSEmmanuel Vadot		#phy-cells = <0>;
31*f126890aSEmmanuel Vadot	};
32*f126890aSEmmanuel Vadot};
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot&clkc {
35*f126890aSEmmanuel Vadot	ps-clk-frequency = <33333333>;
36*f126890aSEmmanuel Vadot};
37*f126890aSEmmanuel Vadot
38*f126890aSEmmanuel Vadot&gem0 {
39*f126890aSEmmanuel Vadot	status = "okay";
40*f126890aSEmmanuel Vadot	phy-mode = "rgmii-id";
41*f126890aSEmmanuel Vadot	phy-handle = <&ethernet_phy>;
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadot	ethernet_phy: ethernet-phy@0 {
44*f126890aSEmmanuel Vadot		reg = <0>;
45*f126890aSEmmanuel Vadot	};
46*f126890aSEmmanuel Vadot};
47*f126890aSEmmanuel Vadot
48*f126890aSEmmanuel Vadot&sdhci0 {
49*f126890aSEmmanuel Vadot	status = "okay";
50*f126890aSEmmanuel Vadot};
51*f126890aSEmmanuel Vadot
52*f126890aSEmmanuel Vadot&uart1 {
53*f126890aSEmmanuel Vadot	status = "okay";
54*f126890aSEmmanuel Vadot};
55*f126890aSEmmanuel Vadot
56*f126890aSEmmanuel Vadot&usb0 {
57*f126890aSEmmanuel Vadot	status = "okay";
58*f126890aSEmmanuel Vadot	dr_mode = "host";
59*f126890aSEmmanuel Vadot	usb-phy = <&usb_phy0>;
60*f126890aSEmmanuel Vadot	pinctrl-names = "default";
61*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usb0_default>;
62*f126890aSEmmanuel Vadot};
63*f126890aSEmmanuel Vadot
64*f126890aSEmmanuel Vadot&pinctrl0 {
65*f126890aSEmmanuel Vadot	pinctrl_usb0_default: usb0-default {
66*f126890aSEmmanuel Vadot		mux {
67*f126890aSEmmanuel Vadot			groups = "usb0_0_grp";
68*f126890aSEmmanuel Vadot			function = "usb0";
69*f126890aSEmmanuel Vadot		};
70*f126890aSEmmanuel Vadot
71*f126890aSEmmanuel Vadot		conf {
72*f126890aSEmmanuel Vadot			groups = "usb0_0_grp";
73*f126890aSEmmanuel Vadot			slew-rate = <0>;
74*f126890aSEmmanuel Vadot			io-standard = <1>;
75*f126890aSEmmanuel Vadot		};
76*f126890aSEmmanuel Vadot
77*f126890aSEmmanuel Vadot		conf-rx {
78*f126890aSEmmanuel Vadot			pins = "MIO29", "MIO31", "MIO36";
79*f126890aSEmmanuel Vadot			bias-high-impedance;
80*f126890aSEmmanuel Vadot		};
81*f126890aSEmmanuel Vadot
82*f126890aSEmmanuel Vadot		conf-tx {
83*f126890aSEmmanuel Vadot			pins = "MIO28", "MIO30", "MIO32", "MIO33", "MIO34",
84*f126890aSEmmanuel Vadot			       "MIO35", "MIO37", "MIO38", "MIO39";
85*f126890aSEmmanuel Vadot			bias-disable;
86*f126890aSEmmanuel Vadot		};
87*f126890aSEmmanuel Vadot	};
88*f126890aSEmmanuel Vadot};
89