-
Notifications
You must be signed in to change notification settings - Fork 0
/
system-top-append.dts
220 lines (186 loc) · 4.7 KB
/
system-top-append.dts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
// SPDX-License-Identifier: GPL-2.0+
// Some parts are based on arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts in the
// Xilinx/linux-xlnx repository which is licensed under GPL-2.0+.
// /*
// * dts file for Xilinx ZynqMP ZCU100 revC
// *
// * (C) Copyright 2016 - 2021, Xilinx, Inc.
// *
// * Michal Simek <[email protected]>
// * Nathalie Chan King Choy
// */
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/phy/phy.h>
#include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
/ {
model = "Avnet Ultra96-V2 Rev1";
chosen {
bootargs = "earlycon console=ttyPS0,115200n8 clk_ignore_unused root=/dev/mmcblk0p2 rw rootwait uio_pdrv_genirq.of_id=generic-uio systemd.unit=multi-user.target";
};
ipi-ctrl@ff340000 {
compatible = "generic-uio";
reg = <0x0 0xff340000 0x0 0x1000>; // IPI Ch 7
interrupt-parent = <&gic>;
interrupts = <0 29 4>;
};
ipi-buffer@ff990000 {
compatible = "generic-uio";
reg = <0x0 0xff990600 0x0 0x20>, // APU (Ch 7, buffer_index = 3) -> RPU0 request
<0x0 0xff990620 0x0 0x20>, // RPU0 (Ch 2, buffer_index = 0) -> APU response
<0x0 0xff9900c0 0x0 0x20>, // RPU0 (Ch 2, buffer_index = 0) -> APU request
<0x0 0xff9900e0 0x0 0x20>; // APU (Ch 7, buffer_index = 3) -> RPU0 response
};
// PS-GTR reference clocks (5P49V6975 in V2, SI5335A in V1)
psgtr_clk0_26m: psgtr-clk0-26m {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <26000000>; // 26 MHz clock for USB
};
psgtr_clk1_27m: psgtr-clk1-27m {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <27000000>; // 27 MHz clock for DP
};
};
&pinctrl0 {
status = "okay";
pinctrl_sdhci0_default: sdhci0-default {
mux {
groups = "sdio0_3_grp";
function = "sdio0";
};
conf {
groups = "sdio0_3_grp";
slew-rate = <SLEW_RATE_SLOW>;
power-source = <IO_STANDARD_LVCMOS18>;
bias-disable;
};
mux-cd {
groups = "sdio0_cd_0_grp";
function = "sdio0_cd";
};
conf-cd {
groups = "sdio0_cd_0_grp";
bias-high-impedance;
bias-pull-up;
slew-rate = <SLEW_RATE_SLOW>;
power-source = <IO_STANDARD_LVCMOS18>;
};
};
pinctrl_uart1_default: uart1-default {
mux {
groups = "uart1_0_grp";
function = "uart1";
};
conf {
groups = "uart1_0_grp";
slew-rate = <SLEW_RATE_SLOW>;
power-source = <IO_STANDARD_LVCMOS18>;
};
conf-rx {
pins = "MIO1";
bias-high-impedance;
};
conf-tx {
pins = "MIO0";
bias-disable;
};
};
pinctrl_usb0_default: usb0-default {
mux {
groups = "usb0_0_grp";
function = "usb0";
};
conf {
groups = "usb0_0_grp";
power-source = <IO_STANDARD_LVCMOS18>;
};
conf-rx {
pins = "MIO52", "MIO53", "MIO55";
bias-high-impedance;
drive-strength = <12>;
slew-rate = <SLEW_RATE_FAST>;
};
conf-tx {
pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
"MIO60", "MIO61", "MIO62", "MIO63";
bias-disable;
drive-strength = <4>;
slew-rate = <SLEW_RATE_SLOW>;
};
};
pinctrl_usb1_default: usb1-default {
mux {
groups = "usb1_0_grp";
function = "usb1";
};
conf {
groups = "usb1_0_grp";
power-source = <IO_STANDARD_LVCMOS18>;
};
conf-rx {
pins = "MIO64", "MIO65", "MIO67";
bias-high-impedance;
drive-strength = <12>;
slew-rate = <SLEW_RATE_FAST>;
};
conf-tx {
pins = "MIO66", "MIO68", "MIO69", "MIO70", "MIO71",
"MIO72", "MIO73", "MIO74", "MIO75";
bias-disable;
drive-strength = <4>;
slew-rate = <SLEW_RATE_SLOW>;
};
};
};
&gpio {
gpio-reserved-ranges = <17 4>;
};
&lpd_watchdog {
status = "reserved";
};
&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart1_default>;
};
&sdhci0 {
status = "okay";
no-1-8-v;
disable-wp;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_sdhci0_default>;
};
&sdhci1 {
status = "disabled";
};
&psgtr {
status = "okay";
clocks = <&psgtr_clk0_26m &psgtr_clk1_27m>;
clock-names = "ref0", "ref1";
};
&usb0 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usb0_default>;
phy-names = "usb3-phy";
phys = <&psgtr 2 PHY_TYPE_USB3 0 0>;
/delete-property/ reset-gpios;
};
&dwc3_0 {
status = "okay";
dr_mode = "peripheral";
maximum-speed = "super-speed";
};
&usb1 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usb1_default>;
phy-names = "usb3-phy";
phys = <&psgtr 3 PHY_TYPE_USB3 1 0>;
reset-gpios = <&modepin_gpio 1 GPIO_ACTIVE_LOW>;
};
&dwc3_1 {
status = "okay";
dr_mode = "host";
maximum-speed = "super-speed";
};