blob: 6dfc8fe17bf218ae2501d75b55f8c9d9fa4f87f1 [file] [log] [blame]
Michal Simek1a79c272018-03-28 15:43:51 +02001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * dts file for Xilinx ZynqMP ZCU106
4 *
Michal Simek821e32a2021-05-31 09:50:01 +02005 * (C) Copyright 2016 - 2021, Xilinx, Inc.
Michal Simek1a79c272018-03-28 15:43:51 +02006 *
7 * Michal Simek <michal.simek@xilinx.com>
8 */
9
10/dts-v1/;
11
12#include "zynqmp.dtsi"
13#include "zynqmp-clk-ccf.dtsi"
14#include <dt-bindings/input/input.h>
15#include <dt-bindings/gpio/gpio.h>
Michal Simekf7b922a2021-05-10 13:14:02 +020016#include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
Michal Simek1a79c272018-03-28 15:43:51 +020017#include <dt-bindings/phy/phy.h>
18
19/ {
20 model = "ZynqMP ZCU106 RevA";
21 compatible = "xlnx,zynqmp-zcu106-revA", "xlnx,zynqmp-zcu106", "xlnx,zynqmp";
22
23 aliases {
24 ethernet0 = &gem3;
Michal Simek1a79c272018-03-28 15:43:51 +020025 i2c0 = &i2c0;
26 i2c1 = &i2c1;
27 mmc0 = &sdhci1;
Michal Simek53b145d2021-06-03 11:46:50 +020028 nvmem0 = &eeprom;
Michal Simek1a79c272018-03-28 15:43:51 +020029 rtc0 = &rtc;
30 serial0 = &uart0;
31 serial1 = &uart1;
32 serial2 = &dcc;
33 spi0 = &qspi;
34 usb0 = &usb0;
35 };
36
37 chosen {
38 bootargs = "earlycon";
39 stdout-path = "serial0:115200n8";
40 };
41
42 memory@0 {
43 device_type = "memory";
44 reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
45 };
46
47 gpio-keys {
48 compatible = "gpio-keys";
Michal Simek1a79c272018-03-28 15:43:51 +020049 autorepeat;
50 sw19 {
51 label = "sw19";
52 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
53 linux,code = <KEY_DOWN>;
Sudeep Holla13104ce2018-10-24 12:45:40 +010054 wakeup-source;
Michal Simek1a79c272018-03-28 15:43:51 +020055 autorepeat;
56 };
57 };
58
59 leds {
60 compatible = "gpio-leds";
Michal Simek2ef53362018-11-08 10:06:53 +010061 heartbeat-led {
Michal Simek1a79c272018-03-28 15:43:51 +020062 label = "heartbeat";
63 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
64 linux,default-trigger = "heartbeat";
65 };
66 };
Michal Simek2ec41ef2019-08-26 09:46:36 +020067
68 ina226-u76 {
69 compatible = "iio-hwmon";
70 io-channels = <&u76 0>, <&u76 1>, <&u76 2>, <&u76 3>;
71 };
72 ina226-u77 {
73 compatible = "iio-hwmon";
74 io-channels = <&u77 0>, <&u77 1>, <&u77 2>, <&u77 3>;
75 };
76 ina226-u78 {
77 compatible = "iio-hwmon";
78 io-channels = <&u78 0>, <&u78 1>, <&u78 2>, <&u78 3>;
79 };
80 ina226-u87 {
81 compatible = "iio-hwmon";
82 io-channels = <&u87 0>, <&u87 1>, <&u87 2>, <&u87 3>;
83 };
84 ina226-u85 {
85 compatible = "iio-hwmon";
86 io-channels = <&u85 0>, <&u85 1>, <&u85 2>, <&u85 3>;
87 };
88 ina226-u86 {
89 compatible = "iio-hwmon";
90 io-channels = <&u86 0>, <&u86 1>, <&u86 2>, <&u86 3>;
91 };
92 ina226-u93 {
93 compatible = "iio-hwmon";
94 io-channels = <&u93 0>, <&u93 1>, <&u93 2>, <&u93 3>;
95 };
96 ina226-u88 {
97 compatible = "iio-hwmon";
98 io-channels = <&u88 0>, <&u88 1>, <&u88 2>, <&u88 3>;
99 };
100 ina226-u15 {
101 compatible = "iio-hwmon";
102 io-channels = <&u15 0>, <&u15 1>, <&u15 2>, <&u15 3>;
103 };
104 ina226-u92 {
105 compatible = "iio-hwmon";
106 io-channels = <&u92 0>, <&u92 1>, <&u92 2>, <&u92 3>;
107 };
108 ina226-u79 {
109 compatible = "iio-hwmon";
110 io-channels = <&u79 0>, <&u79 1>, <&u79 2>, <&u79 3>;
111 };
112 ina226-u81 {
113 compatible = "iio-hwmon";
114 io-channels = <&u81 0>, <&u81 1>, <&u81 2>, <&u81 3>;
115 };
116 ina226-u80 {
117 compatible = "iio-hwmon";
118 io-channels = <&u80 0>, <&u80 1>, <&u80 2>, <&u80 3>;
119 };
120 ina226-u84 {
121 compatible = "iio-hwmon";
122 io-channels = <&u84 0>, <&u84 1>, <&u84 2>, <&u84 3>;
123 };
124 ina226-u16 {
125 compatible = "iio-hwmon";
126 io-channels = <&u16 0>, <&u16 1>, <&u16 2>, <&u16 3>;
127 };
128 ina226-u65 {
129 compatible = "iio-hwmon";
130 io-channels = <&u65 0>, <&u65 1>, <&u65 2>, <&u65 3>;
131 };
132 ina226-u74 {
133 compatible = "iio-hwmon";
134 io-channels = <&u74 0>, <&u74 1>, <&u74 2>, <&u74 3>;
135 };
136 ina226-u75 {
137 compatible = "iio-hwmon";
138 io-channels = <&u75 0>, <&u75 1>, <&u75 2>, <&u75 3>;
139 };
Michal Simek958c0e92020-11-26 14:25:02 +0100140
141 /* 48MHz reference crystal */
142 ref48: ref48M {
143 compatible = "fixed-clock";
144 #clock-cells = <0>;
145 clock-frequency = <48000000>;
146 };
147
148 refhdmi: refhdmi {
149 compatible = "fixed-clock";
150 #clock-cells = <0>;
151 clock-frequency = <114285000>;
152 };
Michal Simek1a79c272018-03-28 15:43:51 +0200153};
154
155&can1 {
156 status = "okay";
Michal Simekf7b922a2021-05-10 13:14:02 +0200157 pinctrl-names = "default";
158 pinctrl-0 = <&pinctrl_can1_default>;
Michal Simek1a79c272018-03-28 15:43:51 +0200159};
160
161&dcc {
162 status = "okay";
Michal Simek958c0e92020-11-26 14:25:02 +0100163};
164
Michal Simek1a79c272018-03-28 15:43:51 +0200165&fpd_dma_chan1 {
166 status = "okay";
167};
168
169&fpd_dma_chan2 {
170 status = "okay";
171};
172
173&fpd_dma_chan3 {
174 status = "okay";
175};
176
177&fpd_dma_chan4 {
178 status = "okay";
179};
180
181&fpd_dma_chan5 {
182 status = "okay";
183};
184
185&fpd_dma_chan6 {
186 status = "okay";
187};
188
189&fpd_dma_chan7 {
190 status = "okay";
191};
192
193&fpd_dma_chan8 {
194 status = "okay";
195};
196
197&gem3 {
198 status = "okay";
199 phy-handle = <&phy0>;
200 phy-mode = "rgmii-id";
Michal Simekf7b922a2021-05-10 13:14:02 +0200201 pinctrl-names = "default";
202 pinctrl-0 = <&pinctrl_gem3_default>;
Michal Simek393decf2019-08-08 12:44:22 +0200203 phy0: ethernet-phy@c {
Michal Simek1a79c272018-03-28 15:43:51 +0200204 reg = <0xc>;
205 ti,rx-internal-delay = <0x8>;
206 ti,tx-internal-delay = <0xa>;
207 ti,fifo-depth = <0x1>;
Harini Katakam991a1612019-02-13 17:02:21 +0530208 ti,dp83867-rxctrl-strap-quirk;
Michal Simek1a79c272018-03-28 15:43:51 +0200209 };
210};
211
212&gpio {
213 status = "okay";
Michal Simekf7b922a2021-05-10 13:14:02 +0200214 pinctrl-names = "default";
215 pinctrl-0 = <&pinctrl_gpio_default>;
Michal Simek1a79c272018-03-28 15:43:51 +0200216};
217
218&gpu {
219 status = "okay";
220};
221
222&i2c0 {
223 status = "okay";
224 clock-frequency = <400000>;
Michal Simekf7b922a2021-05-10 13:14:02 +0200225 pinctrl-names = "default", "gpio";
226 pinctrl-0 = <&pinctrl_i2c0_default>;
227 pinctrl-1 = <&pinctrl_i2c0_gpio>;
228 scl-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
229 sda-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
Michal Simek1a79c272018-03-28 15:43:51 +0200230
231 tca6416_u97: gpio@20 {
232 compatible = "ti,tca6416";
233 reg = <0x20>;
234 gpio-controller; /* interrupt not connected */
235 #gpio-cells = <2>;
236 /*
237 * IRQ not connected
238 * Lines:
239 * 0 - SFP_SI5328_INT_ALM
240 * 1 - HDMI_SI5328_INT_ALM
241 * 5 - IIC_MUX_RESET_B
242 * 6 - GEM3_EXP_RESET_B
243 * 10 - FMC_HPC0_PRSNT_M2C_B
244 * 11 - FMC_HPC1_PRSNT_M2C_B
245 * 2-4, 7, 12-17 - not connected
246 */
247 };
248
249 tca6416_u61: gpio@21 {
250 compatible = "ti,tca6416";
251 reg = <0x21>;
252 gpio-controller;
253 #gpio-cells = <2>;
254 /*
255 * IRQ not connected
256 * Lines:
257 * 0 - VCCPSPLL_EN
258 * 1 - MGTRAVCC_EN
259 * 2 - MGTRAVTT_EN
260 * 3 - VCCPSDDRPLL_EN
261 * 4 - MIO26_PMU_INPUT_LS
262 * 5 - PL_PMBUS_ALERT
263 * 6 - PS_PMBUS_ALERT
264 * 7 - MAXIM_PMBUS_ALERT
265 * 10 - PL_DDR4_VTERM_EN
266 * 11 - PL_DDR4_VPP_2V5_EN
267 * 12 - PS_DIMM_VDDQ_TO_PSVCCO_ON
268 * 13 - PS_DIMM_SUSPEND_EN
269 * 14 - PS_DDR4_VTERM_EN
270 * 15 - PS_DDR4_VPP_2V5_EN
271 * 16 - 17 - not connected
272 */
273 };
274
275 i2c-mux@75 { /* u60 */
276 compatible = "nxp,pca9544";
277 #address-cells = <1>;
278 #size-cells = <0>;
279 reg = <0x75>;
280 i2c@0 {
281 #address-cells = <1>;
282 #size-cells = <0>;
283 reg = <0>;
284 /* PS_PMBUS */
Michal Simek2ec41ef2019-08-26 09:46:36 +0200285 u76: ina226@40 { /* u76 */
Michal Simek1a79c272018-03-28 15:43:51 +0200286 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200287 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200288 label = "ina226-u76";
Michal Simek1a79c272018-03-28 15:43:51 +0200289 reg = <0x40>;
290 shunt-resistor = <5000>;
291 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200292 u77: ina226@41 { /* u77 */
Michal Simek1a79c272018-03-28 15:43:51 +0200293 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200294 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200295 label = "ina226-u77";
Michal Simek1a79c272018-03-28 15:43:51 +0200296 reg = <0x41>;
297 shunt-resistor = <5000>;
298 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200299 u78: ina226@42 { /* u78 */
Michal Simek1a79c272018-03-28 15:43:51 +0200300 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200301 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200302 label = "ina226-u78";
Michal Simek1a79c272018-03-28 15:43:51 +0200303 reg = <0x42>;
304 shunt-resistor = <5000>;
305 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200306 u87: ina226@43 { /* u87 */
Michal Simek1a79c272018-03-28 15:43:51 +0200307 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200308 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200309 label = "ina226-u87";
Michal Simek1a79c272018-03-28 15:43:51 +0200310 reg = <0x43>;
311 shunt-resistor = <5000>;
312 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200313 u85: ina226@44 { /* u85 */
Michal Simek1a79c272018-03-28 15:43:51 +0200314 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200315 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200316 label = "ina226-u85";
Michal Simek1a79c272018-03-28 15:43:51 +0200317 reg = <0x44>;
318 shunt-resistor = <5000>;
319 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200320 u86: ina226@45 { /* u86 */
Michal Simek1a79c272018-03-28 15:43:51 +0200321 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200322 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200323 label = "ina226-u86";
Michal Simek1a79c272018-03-28 15:43:51 +0200324 reg = <0x45>;
325 shunt-resistor = <5000>;
326 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200327 u93: ina226@46 { /* u93 */
Michal Simek1a79c272018-03-28 15:43:51 +0200328 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200329 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200330 label = "ina226-u93";
Michal Simek1a79c272018-03-28 15:43:51 +0200331 reg = <0x46>;
332 shunt-resistor = <5000>;
333 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200334 u88: ina226@47 { /* u88 */
Michal Simek1a79c272018-03-28 15:43:51 +0200335 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200336 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200337 label = "ina226-u88";
Michal Simek1a79c272018-03-28 15:43:51 +0200338 reg = <0x47>;
339 shunt-resistor = <5000>;
340 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200341 u15: ina226@4a { /* u15 */
Michal Simek1a79c272018-03-28 15:43:51 +0200342 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200343 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200344 label = "ina226-u15";
Michal Simek1a79c272018-03-28 15:43:51 +0200345 reg = <0x4a>;
346 shunt-resistor = <5000>;
347 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200348 u92: ina226@4b { /* u92 */
Michal Simek1a79c272018-03-28 15:43:51 +0200349 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200350 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200351 label = "ina226-u92";
Michal Simek1a79c272018-03-28 15:43:51 +0200352 reg = <0x4b>;
353 shunt-resistor = <5000>;
354 };
355 };
356 i2c@1 {
357 #address-cells = <1>;
358 #size-cells = <0>;
359 reg = <1>;
360 /* PL_PMBUS */
Michal Simek2ec41ef2019-08-26 09:46:36 +0200361 u79: ina226@40 { /* u79 */
Michal Simek1a79c272018-03-28 15:43:51 +0200362 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200363 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200364 label = "ina226-u79";
Michal Simek1a79c272018-03-28 15:43:51 +0200365 reg = <0x40>;
366 shunt-resistor = <2000>;
367 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200368 u81: ina226@41 { /* u81 */
Michal Simek1a79c272018-03-28 15:43:51 +0200369 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200370 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200371 label = "ina226-u81";
Michal Simek1a79c272018-03-28 15:43:51 +0200372 reg = <0x41>;
373 shunt-resistor = <5000>;
374 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200375 u80: ina226@42 { /* u80 */
Michal Simek1a79c272018-03-28 15:43:51 +0200376 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200377 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200378 label = "ina226-u80";
Michal Simek1a79c272018-03-28 15:43:51 +0200379 reg = <0x42>;
380 shunt-resistor = <5000>;
381 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200382 u84: ina226@43 { /* u84 */
Michal Simek1a79c272018-03-28 15:43:51 +0200383 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200384 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200385 label = "ina226-u84";
Michal Simek1a79c272018-03-28 15:43:51 +0200386 reg = <0x43>;
387 shunt-resistor = <5000>;
388 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200389 u16: ina226@44 { /* u16 */
Michal Simek1a79c272018-03-28 15:43:51 +0200390 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200391 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200392 label = "ina226-u16";
Michal Simek1a79c272018-03-28 15:43:51 +0200393 reg = <0x44>;
394 shunt-resistor = <5000>;
395 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200396 u65: ina226@45 { /* u65 */
Michal Simek1a79c272018-03-28 15:43:51 +0200397 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200398 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200399 label = "ina226-u65";
Michal Simek1a79c272018-03-28 15:43:51 +0200400 reg = <0x45>;
401 shunt-resistor = <5000>;
402 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200403 u74: ina226@46 { /* u74 */
Michal Simek1a79c272018-03-28 15:43:51 +0200404 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200405 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200406 label = "ina226-u74";
Michal Simek1a79c272018-03-28 15:43:51 +0200407 reg = <0x46>;
408 shunt-resistor = <5000>;
409 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200410 u75: ina226@47 { /* u75 */
Michal Simek1a79c272018-03-28 15:43:51 +0200411 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200412 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200413 label = "ina226-u75";
Michal Simek1a79c272018-03-28 15:43:51 +0200414 reg = <0x47>;
415 shunt-resistor = <5000>;
416 };
417 };
418 i2c@2 {
419 #address-cells = <1>;
420 #size-cells = <0>;
421 reg = <2>;
422 /* MAXIM_PMBUS - 00 */
423 max15301@a { /* u46 */
424 compatible = "maxim,max15301";
425 reg = <0xa>;
426 };
427 max15303@b { /* u4 */
428 compatible = "maxim,max15303";
429 reg = <0xb>;
430 };
431 max15303@10 { /* u13 */
432 compatible = "maxim,max15303";
433 reg = <0x10>;
434 };
435 max15301@13 { /* u47 */
436 compatible = "maxim,max15301";
437 reg = <0x13>;
438 };
439 max15303@14 { /* u7 */
440 compatible = "maxim,max15303";
441 reg = <0x14>;
442 };
443 max15303@15 { /* u6 */
444 compatible = "maxim,max15303";
445 reg = <0x15>;
446 };
447 max15303@16 { /* u10 */
448 compatible = "maxim,max15303";
449 reg = <0x16>;
450 };
451 max15303@17 { /* u9 */
452 compatible = "maxim,max15303";
453 reg = <0x17>;
454 };
455 max15301@18 { /* u63 */
456 compatible = "maxim,max15301";
457 reg = <0x18>;
458 };
459 max15303@1a { /* u49 */
460 compatible = "maxim,max15303";
461 reg = <0x1a>;
462 };
463 max15303@1b { /* u8 */
464 compatible = "maxim,max15303";
465 reg = <0x1b>;
466 };
467 max15303@1d { /* u18 */
468 compatible = "maxim,max15303";
469 reg = <0x1d>;
470 };
471
472 max20751@72 { /* u95 */
473 compatible = "maxim,max20751";
474 reg = <0x72>;
475 };
476 max20751@73 { /* u96 */
477 compatible = "maxim,max20751";
478 reg = <0x73>;
479 };
480 };
481 /* Bus 3 is not connected */
482 };
483};
484
485&i2c1 {
486 status = "okay";
487 clock-frequency = <400000>;
Michal Simekf7b922a2021-05-10 13:14:02 +0200488 pinctrl-names = "default", "gpio";
489 pinctrl-0 = <&pinctrl_i2c1_default>;
490 pinctrl-1 = <&pinctrl_i2c1_gpio>;
491 scl-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
492 sda-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
Michal Simek1a79c272018-03-28 15:43:51 +0200493
494 /* PL i2c via PCA9306 - u45 */
495 i2c-mux@74 { /* u34 */
496 compatible = "nxp,pca9548";
497 #address-cells = <1>;
498 #size-cells = <0>;
499 reg = <0x74>;
500 i2c@0 {
501 #address-cells = <1>;
502 #size-cells = <0>;
503 reg = <0>;
504 /*
505 * IIC_EEPROM 1kB memory which uses 256B blocks
506 * where every block has different address.
507 * 0 - 256B address 0x54
508 * 256B - 512B address 0x55
509 * 512B - 768B address 0x56
510 * 768B - 1024B address 0x57
511 */
512 eeprom: eeprom@54 { /* u23 */
513 compatible = "atmel,24c08";
514 reg = <0x54>;
515 };
516 };
517 i2c@1 {
518 #address-cells = <1>;
519 #size-cells = <0>;
520 reg = <1>;
521 si5341: clock-generator@36 { /* SI5341 - u69 */
Michal Simek958c0e92020-11-26 14:25:02 +0100522 compatible = "silabs,si5341";
Michal Simek1a79c272018-03-28 15:43:51 +0200523 reg = <0x36>;
Michal Simek958c0e92020-11-26 14:25:02 +0100524 #clock-cells = <2>;
525 #address-cells = <1>;
526 #size-cells = <0>;
527 clocks = <&ref48>;
528 clock-names = "xtal";
529 clock-output-names = "si5341";
530
531 si5341_0: out@0 {
532 /* refclk0 for PS-GT, used for DP */
533 reg = <0>;
534 always-on;
535 };
536 si5341_2: out@2 {
537 /* refclk2 for PS-GT, used for USB3 */
538 reg = <2>;
539 always-on;
540 };
541 si5341_3: out@3 {
542 /* refclk3 for PS-GT, used for SATA */
543 reg = <3>;
544 always-on;
545 };
546 si5341_6: out@6 {
547 /* refclk6 PL CLK125 */
548 reg = <6>;
549 always-on;
550 };
551 si5341_7: out@7 {
552 /* refclk7 PL CLK74 */
553 reg = <7>;
554 always-on;
555 };
556 si5341_9: out@9 {
557 /* refclk9 used for PS_REF_CLK 33.3 MHz */
558 reg = <9>;
559 always-on;
560 };
Michal Simek1a79c272018-03-28 15:43:51 +0200561 };
562
563 };
564 i2c@2 {
565 #address-cells = <1>;
566 #size-cells = <0>;
567 reg = <2>;
568 si570_1: clock-generator@5d { /* USER SI570 - u42 */
569 #clock-cells = <0>;
570 compatible = "silabs,si570";
571 reg = <0x5d>;
572 temperature-stability = <50>;
573 factory-fout = <300000000>;
574 clock-frequency = <300000000>;
Michal Simek3cf07bf2018-07-18 12:10:02 +0200575 clock-output-names = "si570_user";
Michal Simek1a79c272018-03-28 15:43:51 +0200576 };
577 };
578 i2c@3 {
579 #address-cells = <1>;
580 #size-cells = <0>;
581 reg = <3>;
582 si570_2: clock-generator@5d { /* USER MGT SI570 - u56 */
583 #clock-cells = <0>;
584 compatible = "silabs,si570";
585 reg = <0x5d>;
586 temperature-stability = <50>; /* copy from zc702 */
587 factory-fout = <156250000>;
588 clock-frequency = <148500000>;
Michal Simek3cf07bf2018-07-18 12:10:02 +0200589 clock-output-names = "si570_mgt";
Michal Simek1a79c272018-03-28 15:43:51 +0200590 };
591 };
592 i2c@4 {
593 #address-cells = <1>;
594 #size-cells = <0>;
595 reg = <4>;
Michal Simek345508b2022-05-11 11:52:54 +0200596 si5328: clock-generator@69 {/* SI5328 - u20 */
597 compatible = "silabs,si5328";
598 reg = <0x69>;
599 /*
600 * Chip has interrupt present connected to PL
601 * interrupt-parent = <&>;
602 * interrupts = <>;
603 */
604 #address-cells = <1>;
605 #size-cells = <0>;
606 #clock-cells = <1>;
607 clocks = <&refhdmi>;
608 clock-names = "xtal";
609 clock-output-names = "si5328";
610
611 si5328_clk: clk0@0 {
612 reg = <0>;
613 clock-frequency = <27000000>;
614 };
615 };
Michal Simek1a79c272018-03-28 15:43:51 +0200616 };
617 i2c@5 {
618 #address-cells = <1>;
619 #size-cells = <0>;
620 reg = <5>; /* FAN controller */
621 temp@4c {/* lm96163 - u128 */
622 compatible = "national,lm96163";
623 reg = <0x4c>;
624 };
625 };
626 /* 6 - 7 unconnected */
627 };
628
629 i2c-mux@75 {
630 compatible = "nxp,pca9548"; /* u135 */
631 #address-cells = <1>;
632 #size-cells = <0>;
633 reg = <0x75>;
634
635 i2c@0 {
636 #address-cells = <1>;
637 #size-cells = <0>;
638 reg = <0>;
639 /* HPC0_IIC */
640 };
641 i2c@1 {
642 #address-cells = <1>;
643 #size-cells = <0>;
644 reg = <1>;
645 /* HPC1_IIC */
646 };
647 i2c@2 {
648 #address-cells = <1>;
649 #size-cells = <0>;
650 reg = <2>;
651 /* SYSMON */
652 };
653 i2c@3 {
654 #address-cells = <1>;
655 #size-cells = <0>;
656 reg = <3>;
657 /* DDR4 SODIMM */
Michal Simek1a79c272018-03-28 15:43:51 +0200658 };
659 i2c@4 {
660 #address-cells = <1>;
661 #size-cells = <0>;
662 reg = <4>;
663 /* SEP 3 */
664 };
665 i2c@5 {
666 #address-cells = <1>;
667 #size-cells = <0>;
668 reg = <5>;
669 /* SEP 2 */
670 };
671 i2c@6 {
672 #address-cells = <1>;
673 #size-cells = <0>;
674 reg = <6>;
675 /* SEP 1 */
676 };
677 i2c@7 {
678 #address-cells = <1>;
679 #size-cells = <0>;
680 reg = <7>;
681 /* SEP 0 */
682 };
683 };
684};
685
Michal Simekf7b922a2021-05-10 13:14:02 +0200686&pinctrl0 {
687 status = "okay";
688 pinctrl_i2c0_default: i2c0-default {
689 mux {
690 groups = "i2c0_3_grp";
691 function = "i2c0";
692 };
693
694 conf {
695 groups = "i2c0_3_grp";
696 bias-pull-up;
697 slew-rate = <SLEW_RATE_SLOW>;
698 power-source = <IO_STANDARD_LVCMOS18>;
699 };
700 };
701
702 pinctrl_i2c0_gpio: i2c0-gpio {
703 mux {
704 groups = "gpio0_14_grp", "gpio0_15_grp";
705 function = "gpio0";
706 };
707
708 conf {
709 groups = "gpio0_14_grp", "gpio0_15_grp";
710 slew-rate = <SLEW_RATE_SLOW>;
711 power-source = <IO_STANDARD_LVCMOS18>;
712 };
713 };
714
715 pinctrl_i2c1_default: i2c1-default {
716 mux {
717 groups = "i2c1_4_grp";
718 function = "i2c1";
719 };
720
721 conf {
722 groups = "i2c1_4_grp";
723 bias-pull-up;
724 slew-rate = <SLEW_RATE_SLOW>;
725 power-source = <IO_STANDARD_LVCMOS18>;
726 };
727 };
728
729 pinctrl_i2c1_gpio: i2c1-gpio {
730 mux {
731 groups = "gpio0_16_grp", "gpio0_17_grp";
732 function = "gpio0";
733 };
734
735 conf {
736 groups = "gpio0_16_grp", "gpio0_17_grp";
737 slew-rate = <SLEW_RATE_SLOW>;
738 power-source = <IO_STANDARD_LVCMOS18>;
739 };
740 };
741
742 pinctrl_uart0_default: uart0-default {
743 mux {
744 groups = "uart0_4_grp";
745 function = "uart0";
746 };
747
748 conf {
749 groups = "uart0_4_grp";
750 slew-rate = <SLEW_RATE_SLOW>;
751 power-source = <IO_STANDARD_LVCMOS18>;
752 };
753
754 conf-rx {
755 pins = "MIO18";
756 bias-high-impedance;
757 };
758
759 conf-tx {
760 pins = "MIO19";
761 bias-disable;
762 };
763 };
764
765 pinctrl_uart1_default: uart1-default {
766 mux {
767 groups = "uart1_5_grp";
768 function = "uart1";
769 };
770
771 conf {
772 groups = "uart1_5_grp";
773 slew-rate = <SLEW_RATE_SLOW>;
774 power-source = <IO_STANDARD_LVCMOS18>;
775 };
776
777 conf-rx {
778 pins = "MIO21";
779 bias-high-impedance;
780 };
781
782 conf-tx {
783 pins = "MIO20";
784 bias-disable;
785 };
786 };
787
788 pinctrl_usb0_default: usb0-default {
789 mux {
790 groups = "usb0_0_grp";
791 function = "usb0";
792 };
793
794 conf {
795 groups = "usb0_0_grp";
796 slew-rate = <SLEW_RATE_SLOW>;
797 power-source = <IO_STANDARD_LVCMOS18>;
798 };
799
800 conf-rx {
801 pins = "MIO52", "MIO53", "MIO55";
802 bias-high-impedance;
803 };
804
805 conf-tx {
806 pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
807 "MIO60", "MIO61", "MIO62", "MIO63";
808 bias-disable;
809 };
810 };
811
812 pinctrl_gem3_default: gem3-default {
813 mux {
814 function = "ethernet3";
815 groups = "ethernet3_0_grp";
816 };
817
818 conf {
819 groups = "ethernet3_0_grp";
820 slew-rate = <SLEW_RATE_SLOW>;
821 power-source = <IO_STANDARD_LVCMOS18>;
822 };
823
824 conf-rx {
825 pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
826 "MIO75";
827 bias-high-impedance;
828 low-power-disable;
829 };
830
831 conf-tx {
832 pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
833 "MIO69";
834 bias-disable;
835 low-power-enable;
836 };
837
838 mux-mdio {
839 function = "mdio3";
840 groups = "mdio3_0_grp";
841 };
842
843 conf-mdio {
844 groups = "mdio3_0_grp";
845 slew-rate = <SLEW_RATE_SLOW>;
846 power-source = <IO_STANDARD_LVCMOS18>;
847 bias-disable;
848 };
849 };
850
851 pinctrl_can1_default: can1-default {
852 mux {
853 function = "can1";
854 groups = "can1_6_grp";
855 };
856
857 conf {
858 groups = "can1_6_grp";
859 slew-rate = <SLEW_RATE_SLOW>;
860 power-source = <IO_STANDARD_LVCMOS18>;
861 };
862
863 conf-rx {
864 pins = "MIO25";
865 bias-high-impedance;
866 };
867
868 conf-tx {
869 pins = "MIO24";
870 bias-disable;
871 };
872 };
873
874 pinctrl_sdhci1_default: sdhci1-default {
875 mux {
876 groups = "sdio1_0_grp";
877 function = "sdio1";
878 };
879
880 conf {
881 groups = "sdio1_0_grp";
882 slew-rate = <SLEW_RATE_SLOW>;
883 power-source = <IO_STANDARD_LVCMOS18>;
884 bias-disable;
885 };
886
887 mux-cd {
888 groups = "sdio1_cd_0_grp";
889 function = "sdio1_cd";
890 };
891
892 conf-cd {
893 groups = "sdio1_cd_0_grp";
894 bias-high-impedance;
895 bias-pull-up;
896 slew-rate = <SLEW_RATE_SLOW>;
897 power-source = <IO_STANDARD_LVCMOS18>;
898 };
899
900 mux-wp {
901 groups = "sdio1_wp_0_grp";
902 function = "sdio1_wp";
903 };
904
905 conf-wp {
906 groups = "sdio1_wp_0_grp";
907 bias-high-impedance;
908 bias-pull-up;
909 slew-rate = <SLEW_RATE_SLOW>;
910 power-source = <IO_STANDARD_LVCMOS18>;
911 };
912 };
913
914 pinctrl_gpio_default: gpio-default {
915 mux {
916 function = "gpio0";
917 groups = "gpio0_22_grp", "gpio0_23_grp";
918 };
919
920 conf {
921 groups = "gpio0_22_grp", "gpio0_23_grp";
922 slew-rate = <SLEW_RATE_SLOW>;
923 power-source = <IO_STANDARD_LVCMOS18>;
924 };
925
926 mux-msp {
927 function = "gpio0";
928 groups = "gpio0_13_grp", "gpio0_38_grp";
929 };
930
931 conf-msp {
932 groups = "gpio0_13_grp", "gpio0_38_grp";
933 slew-rate = <SLEW_RATE_SLOW>;
934 power-source = <IO_STANDARD_LVCMOS18>;
935 };
936
937 conf-pull-up {
938 pins = "MIO22";
939 bias-pull-up;
940 };
941
942 conf-pull-none {
943 pins = "MIO13", "MIO23", "MIO38";
944 bias-disable;
945 };
946 };
947};
948
Michal Simek93a89f32021-06-01 16:42:50 +0200949&psgtr {
950 status = "okay";
951 /* nc, sata, usb3, dp */
952 clocks = <&si5341 0 3>, <&si5341 0 2>, <&si5341 0 0>;
953 clock-names = "ref1", "ref2", "ref3";
954};
955
Michal Simek1a79c272018-03-28 15:43:51 +0200956&qspi {
957 status = "okay";
958 is-dual = <1>;
959 flash@0 {
Neil Armstronga009fa72019-02-10 10:16:20 +0000960 compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
Michal Simek1a79c272018-03-28 15:43:51 +0200961 #address-cells = <1>;
962 #size-cells = <1>;
963 reg = <0x0>;
Amit Kumar Mahapatraa02408b2022-05-10 16:33:01 +0200964 spi-tx-bus-width = <4>;
Michal Simek1a79c272018-03-28 15:43:51 +0200965 spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
966 spi-max-frequency = <108000000>; /* Based on DC1 spec */
Michal Simek70fafdf2020-02-14 14:19:56 +0100967 partition@0 { /* for testing purpose */
Michal Simek1a79c272018-03-28 15:43:51 +0200968 label = "qspi-fsbl-uboot";
969 reg = <0x0 0x100000>;
970 };
Michal Simek70fafdf2020-02-14 14:19:56 +0100971 partition@100000 { /* for testing purpose */
Michal Simek1a79c272018-03-28 15:43:51 +0200972 label = "qspi-linux";
973 reg = <0x100000 0x500000>;
974 };
Michal Simek70fafdf2020-02-14 14:19:56 +0100975 partition@600000 { /* for testing purpose */
Michal Simek1a79c272018-03-28 15:43:51 +0200976 label = "qspi-device-tree";
977 reg = <0x600000 0x20000>;
978 };
Michal Simek70fafdf2020-02-14 14:19:56 +0100979 partition@620000 { /* for testing purpose */
Michal Simek1a79c272018-03-28 15:43:51 +0200980 label = "qspi-rootfs";
981 reg = <0x620000 0x5E0000>;
982 };
983 };
984};
985
986&rtc {
987 status = "okay";
988};
989
990&sata {
991 status = "okay";
992 /* SATA OOB timing settings */
993 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
994 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
995 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
996 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
997 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
998 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
999 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
1000 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
1001 phy-names = "sata-phy";
Michal Simek958c0e92020-11-26 14:25:02 +01001002 phys = <&psgtr 3 PHY_TYPE_SATA 1 1>;
Michal Simek1a79c272018-03-28 15:43:51 +02001003};
1004
1005/* SD1 with level shifter */
1006&sdhci1 {
1007 status = "okay";
Manish Naranie2ba0932020-02-13 23:37:30 -07001008 /*
1009 * This property should be removed for supporting UHS mode
1010 */
1011 no-1-8-v;
Michal Simekf7b922a2021-05-10 13:14:02 +02001012 pinctrl-names = "default";
1013 pinctrl-0 = <&pinctrl_sdhci1_default>;
Michal Simek3b662642020-07-22 17:42:43 +02001014 xlnx,mio-bank = <1>;
Michal Simek1a79c272018-03-28 15:43:51 +02001015};
1016
Michal Simek1a79c272018-03-28 15:43:51 +02001017&uart0 {
1018 status = "okay";
Michal Simekf7b922a2021-05-10 13:14:02 +02001019 pinctrl-names = "default";
1020 pinctrl-0 = <&pinctrl_uart0_default>;
Michal Simek1a79c272018-03-28 15:43:51 +02001021};
1022
1023&uart1 {
1024 status = "okay";
Michal Simekf7b922a2021-05-10 13:14:02 +02001025 pinctrl-names = "default";
1026 pinctrl-0 = <&pinctrl_uart1_default>;
Michal Simek1a79c272018-03-28 15:43:51 +02001027};
1028
1029/* ULPI SMSC USB3320 */
1030&usb0 {
1031 status = "okay";
Michal Simekf7b922a2021-05-10 13:14:02 +02001032 pinctrl-names = "default";
1033 pinctrl-0 = <&pinctrl_usb0_default>;
Manish Naranif3c63382021-07-14 06:17:19 -06001034 phy-names = "usb3-phy";
1035 phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
Michal Simek1a79c272018-03-28 15:43:51 +02001036};
1037
1038&dwc3_0 {
1039 status = "okay";
1040 dr_mode = "host";
1041 snps,usb3_lpm_capable;
Michal Simekeb4b55c2021-05-31 17:51:58 +02001042 maximum-speed = "super-speed";
Michal Simek1a79c272018-03-28 15:43:51 +02001043};
1044
1045&watchdog0 {
1046 status = "okay";
1047};
Michal Simek6412f602021-05-27 13:44:35 +02001048
1049&zynqmp_dpdma {
1050 status = "okay";
1051};
1052
1053&zynqmp_dpsub {
1054 status = "okay";
1055 phy-names = "dp-phy0", "dp-phy1";
1056 phys = <&psgtr 1 PHY_TYPE_DP 0 3>,
1057 <&psgtr 0 PHY_TYPE_DP 1 3>;
1058};