blob: ba3989cad3e47781e7620d2dd150f930f514aec4 [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 Simek3f283ea2023-09-22 12:35:41 +02005 * (C) Copyright 2016 - 2022, Xilinx, Inc.
6 * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc.
Michal Simek1a79c272018-03-28 15:43:51 +02007 *
Michal Simeka8c94362023-07-10 14:35:49 +02008 * Michal Simek <michal.simek@amd.com>
Michal Simek1a79c272018-03-28 15:43:51 +02009 */
10
11/dts-v1/;
12
13#include "zynqmp.dtsi"
14#include "zynqmp-clk-ccf.dtsi"
15#include <dt-bindings/input/input.h>
16#include <dt-bindings/gpio/gpio.h>
Michal Simekf7b922a2021-05-10 13:14:02 +020017#include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
Michal Simek1a79c272018-03-28 15:43:51 +020018#include <dt-bindings/phy/phy.h>
19
20/ {
21 model = "ZynqMP ZCU106 RevA";
22 compatible = "xlnx,zynqmp-zcu106-revA", "xlnx,zynqmp-zcu106", "xlnx,zynqmp";
23
24 aliases {
25 ethernet0 = &gem3;
Michal Simek1a79c272018-03-28 15:43:51 +020026 i2c0 = &i2c0;
27 i2c1 = &i2c1;
28 mmc0 = &sdhci1;
Michal Simek53b145d2021-06-03 11:46:50 +020029 nvmem0 = &eeprom;
Michal Simek1a79c272018-03-28 15:43:51 +020030 rtc0 = &rtc;
31 serial0 = &uart0;
32 serial1 = &uart1;
33 serial2 = &dcc;
34 spi0 = &qspi;
35 usb0 = &usb0;
36 };
37
38 chosen {
39 bootargs = "earlycon";
40 stdout-path = "serial0:115200n8";
41 };
42
43 memory@0 {
44 device_type = "memory";
45 reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
46 };
47
48 gpio-keys {
49 compatible = "gpio-keys";
Michal Simek1a79c272018-03-28 15:43:51 +020050 autorepeat;
Michal Simek192d4ae2022-12-09 13:56:40 +010051 switch-19 {
Michal Simek1a79c272018-03-28 15:43:51 +020052 label = "sw19";
53 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
54 linux,code = <KEY_DOWN>;
Sudeep Holla13104ce2018-10-24 12:45:40 +010055 wakeup-source;
Michal Simek1a79c272018-03-28 15:43:51 +020056 autorepeat;
57 };
58 };
59
60 leds {
61 compatible = "gpio-leds";
Michal Simek2ef53362018-11-08 10:06:53 +010062 heartbeat-led {
Michal Simek1a79c272018-03-28 15:43:51 +020063 label = "heartbeat";
64 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
65 linux,default-trigger = "heartbeat";
66 };
67 };
Michal Simek2ec41ef2019-08-26 09:46:36 +020068
69 ina226-u76 {
70 compatible = "iio-hwmon";
71 io-channels = <&u76 0>, <&u76 1>, <&u76 2>, <&u76 3>;
72 };
73 ina226-u77 {
74 compatible = "iio-hwmon";
75 io-channels = <&u77 0>, <&u77 1>, <&u77 2>, <&u77 3>;
76 };
77 ina226-u78 {
78 compatible = "iio-hwmon";
79 io-channels = <&u78 0>, <&u78 1>, <&u78 2>, <&u78 3>;
80 };
81 ina226-u87 {
82 compatible = "iio-hwmon";
83 io-channels = <&u87 0>, <&u87 1>, <&u87 2>, <&u87 3>;
84 };
85 ina226-u85 {
86 compatible = "iio-hwmon";
87 io-channels = <&u85 0>, <&u85 1>, <&u85 2>, <&u85 3>;
88 };
89 ina226-u86 {
90 compatible = "iio-hwmon";
91 io-channels = <&u86 0>, <&u86 1>, <&u86 2>, <&u86 3>;
92 };
93 ina226-u93 {
94 compatible = "iio-hwmon";
95 io-channels = <&u93 0>, <&u93 1>, <&u93 2>, <&u93 3>;
96 };
97 ina226-u88 {
98 compatible = "iio-hwmon";
99 io-channels = <&u88 0>, <&u88 1>, <&u88 2>, <&u88 3>;
100 };
101 ina226-u15 {
102 compatible = "iio-hwmon";
103 io-channels = <&u15 0>, <&u15 1>, <&u15 2>, <&u15 3>;
104 };
105 ina226-u92 {
106 compatible = "iio-hwmon";
107 io-channels = <&u92 0>, <&u92 1>, <&u92 2>, <&u92 3>;
108 };
109 ina226-u79 {
110 compatible = "iio-hwmon";
111 io-channels = <&u79 0>, <&u79 1>, <&u79 2>, <&u79 3>;
112 };
113 ina226-u81 {
114 compatible = "iio-hwmon";
115 io-channels = <&u81 0>, <&u81 1>, <&u81 2>, <&u81 3>;
116 };
117 ina226-u80 {
118 compatible = "iio-hwmon";
119 io-channels = <&u80 0>, <&u80 1>, <&u80 2>, <&u80 3>;
120 };
121 ina226-u84 {
122 compatible = "iio-hwmon";
123 io-channels = <&u84 0>, <&u84 1>, <&u84 2>, <&u84 3>;
124 };
125 ina226-u16 {
126 compatible = "iio-hwmon";
127 io-channels = <&u16 0>, <&u16 1>, <&u16 2>, <&u16 3>;
128 };
129 ina226-u65 {
130 compatible = "iio-hwmon";
131 io-channels = <&u65 0>, <&u65 1>, <&u65 2>, <&u65 3>;
132 };
133 ina226-u74 {
134 compatible = "iio-hwmon";
135 io-channels = <&u74 0>, <&u74 1>, <&u74 2>, <&u74 3>;
136 };
137 ina226-u75 {
138 compatible = "iio-hwmon";
139 io-channels = <&u75 0>, <&u75 1>, <&u75 2>, <&u75 3>;
140 };
Michal Simek958c0e92020-11-26 14:25:02 +0100141
142 /* 48MHz reference crystal */
143 ref48: ref48M {
144 compatible = "fixed-clock";
145 #clock-cells = <0>;
146 clock-frequency = <48000000>;
147 };
148
149 refhdmi: refhdmi {
150 compatible = "fixed-clock";
151 #clock-cells = <0>;
152 clock-frequency = <114285000>;
153 };
Laurent Pinchart47443372023-09-22 12:35:38 +0200154
155 dpcon {
156 compatible = "dp-connector";
157 label = "P11";
158 type = "full-size";
159
160 port {
161 dpcon_in: endpoint {
162 remote-endpoint = <&dpsub_dp_out>;
163 };
164 };
165 };
Michal Simek1a79c272018-03-28 15:43:51 +0200166};
167
168&can1 {
169 status = "okay";
Michal Simekf7b922a2021-05-10 13:14:02 +0200170 pinctrl-names = "default";
171 pinctrl-0 = <&pinctrl_can1_default>;
Michal Simek1a79c272018-03-28 15:43:51 +0200172};
173
174&dcc {
175 status = "okay";
Michal Simek958c0e92020-11-26 14:25:02 +0100176};
177
Michal Simek1a79c272018-03-28 15:43:51 +0200178&fpd_dma_chan1 {
179 status = "okay";
180};
181
182&fpd_dma_chan2 {
183 status = "okay";
184};
185
186&fpd_dma_chan3 {
187 status = "okay";
188};
189
190&fpd_dma_chan4 {
191 status = "okay";
192};
193
194&fpd_dma_chan5 {
195 status = "okay";
196};
197
198&fpd_dma_chan6 {
199 status = "okay";
200};
201
202&fpd_dma_chan7 {
203 status = "okay";
204};
205
206&fpd_dma_chan8 {
207 status = "okay";
208};
209
210&gem3 {
211 status = "okay";
212 phy-handle = <&phy0>;
213 phy-mode = "rgmii-id";
Michal Simekf7b922a2021-05-10 13:14:02 +0200214 pinctrl-names = "default";
215 pinctrl-0 = <&pinctrl_gem3_default>;
Michal Simek62b5cfc2022-11-16 11:59:19 +0100216 mdio: mdio {
217 #address-cells = <1>;
218 #size-cells = <0>;
219 phy0: ethernet-phy@c {
220 #phy-cells = <1>;
221 reg = <0xc>;
222 compatible = "ethernet-phy-id2000.a231";
223 ti,rx-internal-delay = <0x8>;
224 ti,tx-internal-delay = <0xa>;
225 ti,fifo-depth = <0x1>;
226 ti,dp83867-rxctrl-strap-quirk;
227 reset-gpios = <&tca6416_u97 6 GPIO_ACTIVE_LOW>;
228 };
Michal Simek1a79c272018-03-28 15:43:51 +0200229 };
230};
231
232&gpio {
233 status = "okay";
Michal Simekf7b922a2021-05-10 13:14:02 +0200234 pinctrl-names = "default";
235 pinctrl-0 = <&pinctrl_gpio_default>;
Michal Simek1a79c272018-03-28 15:43:51 +0200236};
237
238&gpu {
239 status = "okay";
240};
241
242&i2c0 {
243 status = "okay";
244 clock-frequency = <400000>;
Michal Simekf7b922a2021-05-10 13:14:02 +0200245 pinctrl-names = "default", "gpio";
246 pinctrl-0 = <&pinctrl_i2c0_default>;
247 pinctrl-1 = <&pinctrl_i2c0_gpio>;
Manikanta Guntupallicc45c9c2023-07-10 14:37:28 +0200248 scl-gpios = <&gpio 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
249 sda-gpios = <&gpio 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
Michal Simek1a79c272018-03-28 15:43:51 +0200250
251 tca6416_u97: gpio@20 {
252 compatible = "ti,tca6416";
253 reg = <0x20>;
254 gpio-controller; /* interrupt not connected */
255 #gpio-cells = <2>;
256 /*
257 * IRQ not connected
258 * Lines:
259 * 0 - SFP_SI5328_INT_ALM
260 * 1 - HDMI_SI5328_INT_ALM
261 * 5 - IIC_MUX_RESET_B
262 * 6 - GEM3_EXP_RESET_B
263 * 10 - FMC_HPC0_PRSNT_M2C_B
264 * 11 - FMC_HPC1_PRSNT_M2C_B
265 * 2-4, 7, 12-17 - not connected
266 */
267 };
268
269 tca6416_u61: gpio@21 {
270 compatible = "ti,tca6416";
271 reg = <0x21>;
272 gpio-controller;
273 #gpio-cells = <2>;
274 /*
275 * IRQ not connected
276 * Lines:
277 * 0 - VCCPSPLL_EN
278 * 1 - MGTRAVCC_EN
279 * 2 - MGTRAVTT_EN
280 * 3 - VCCPSDDRPLL_EN
281 * 4 - MIO26_PMU_INPUT_LS
282 * 5 - PL_PMBUS_ALERT
283 * 6 - PS_PMBUS_ALERT
284 * 7 - MAXIM_PMBUS_ALERT
285 * 10 - PL_DDR4_VTERM_EN
286 * 11 - PL_DDR4_VPP_2V5_EN
287 * 12 - PS_DIMM_VDDQ_TO_PSVCCO_ON
288 * 13 - PS_DIMM_SUSPEND_EN
289 * 14 - PS_DDR4_VTERM_EN
290 * 15 - PS_DDR4_VPP_2V5_EN
291 * 16 - 17 - not connected
292 */
293 };
294
295 i2c-mux@75 { /* u60 */
296 compatible = "nxp,pca9544";
297 #address-cells = <1>;
298 #size-cells = <0>;
299 reg = <0x75>;
300 i2c@0 {
301 #address-cells = <1>;
302 #size-cells = <0>;
303 reg = <0>;
304 /* PS_PMBUS */
Michal Simek2ec41ef2019-08-26 09:46:36 +0200305 u76: ina226@40 { /* u76 */
Michal Simek1a79c272018-03-28 15:43:51 +0200306 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200307 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200308 label = "ina226-u76";
Michal Simek1a79c272018-03-28 15:43:51 +0200309 reg = <0x40>;
310 shunt-resistor = <5000>;
311 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200312 u77: ina226@41 { /* u77 */
Michal Simek1a79c272018-03-28 15:43:51 +0200313 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200314 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200315 label = "ina226-u77";
Michal Simek1a79c272018-03-28 15:43:51 +0200316 reg = <0x41>;
317 shunt-resistor = <5000>;
318 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200319 u78: ina226@42 { /* u78 */
Michal Simek1a79c272018-03-28 15:43:51 +0200320 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200321 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200322 label = "ina226-u78";
Michal Simek1a79c272018-03-28 15:43:51 +0200323 reg = <0x42>;
324 shunt-resistor = <5000>;
325 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200326 u87: ina226@43 { /* u87 */
Michal Simek1a79c272018-03-28 15:43:51 +0200327 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200328 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200329 label = "ina226-u87";
Michal Simek1a79c272018-03-28 15:43:51 +0200330 reg = <0x43>;
331 shunt-resistor = <5000>;
332 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200333 u85: ina226@44 { /* u85 */
Michal Simek1a79c272018-03-28 15:43:51 +0200334 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200335 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200336 label = "ina226-u85";
Michal Simek1a79c272018-03-28 15:43:51 +0200337 reg = <0x44>;
338 shunt-resistor = <5000>;
339 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200340 u86: ina226@45 { /* u86 */
Michal Simek1a79c272018-03-28 15:43:51 +0200341 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200342 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200343 label = "ina226-u86";
Michal Simek1a79c272018-03-28 15:43:51 +0200344 reg = <0x45>;
345 shunt-resistor = <5000>;
346 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200347 u93: ina226@46 { /* u93 */
Michal Simek1a79c272018-03-28 15:43:51 +0200348 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200349 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200350 label = "ina226-u93";
Michal Simek1a79c272018-03-28 15:43:51 +0200351 reg = <0x46>;
352 shunt-resistor = <5000>;
353 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200354 u88: ina226@47 { /* u88 */
Michal Simek1a79c272018-03-28 15:43:51 +0200355 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200356 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200357 label = "ina226-u88";
Michal Simek1a79c272018-03-28 15:43:51 +0200358 reg = <0x47>;
359 shunt-resistor = <5000>;
360 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200361 u15: ina226@4a { /* u15 */
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-u15";
Michal Simek1a79c272018-03-28 15:43:51 +0200365 reg = <0x4a>;
366 shunt-resistor = <5000>;
367 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200368 u92: ina226@4b { /* u92 */
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-u92";
Michal Simek1a79c272018-03-28 15:43:51 +0200372 reg = <0x4b>;
373 shunt-resistor = <5000>;
374 };
375 };
376 i2c@1 {
377 #address-cells = <1>;
378 #size-cells = <0>;
379 reg = <1>;
380 /* PL_PMBUS */
Michal Simek2ec41ef2019-08-26 09:46:36 +0200381 u79: ina226@40 { /* u79 */
Michal Simek1a79c272018-03-28 15:43:51 +0200382 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200383 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200384 label = "ina226-u79";
Michal Simek1a79c272018-03-28 15:43:51 +0200385 reg = <0x40>;
386 shunt-resistor = <2000>;
387 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200388 u81: ina226@41 { /* u81 */
Michal Simek1a79c272018-03-28 15:43:51 +0200389 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200390 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200391 label = "ina226-u81";
Michal Simek1a79c272018-03-28 15:43:51 +0200392 reg = <0x41>;
393 shunt-resistor = <5000>;
394 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200395 u80: ina226@42 { /* u80 */
Michal Simek1a79c272018-03-28 15:43:51 +0200396 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200397 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200398 label = "ina226-u80";
Michal Simek1a79c272018-03-28 15:43:51 +0200399 reg = <0x42>;
400 shunt-resistor = <5000>;
401 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200402 u84: ina226@43 { /* u84 */
Michal Simek1a79c272018-03-28 15:43:51 +0200403 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200404 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200405 label = "ina226-u84";
Michal Simek1a79c272018-03-28 15:43:51 +0200406 reg = <0x43>;
407 shunt-resistor = <5000>;
408 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200409 u16: ina226@44 { /* u16 */
Michal Simek1a79c272018-03-28 15:43:51 +0200410 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200411 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200412 label = "ina226-u16";
Michal Simek1a79c272018-03-28 15:43:51 +0200413 reg = <0x44>;
414 shunt-resistor = <5000>;
415 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200416 u65: ina226@45 { /* u65 */
Michal Simek1a79c272018-03-28 15:43:51 +0200417 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200418 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200419 label = "ina226-u65";
Michal Simek1a79c272018-03-28 15:43:51 +0200420 reg = <0x45>;
421 shunt-resistor = <5000>;
422 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200423 u74: ina226@46 { /* u74 */
Michal Simek1a79c272018-03-28 15:43:51 +0200424 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200425 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200426 label = "ina226-u74";
Michal Simek1a79c272018-03-28 15:43:51 +0200427 reg = <0x46>;
428 shunt-resistor = <5000>;
429 };
Michal Simek2ec41ef2019-08-26 09:46:36 +0200430 u75: ina226@47 { /* u75 */
Michal Simek1a79c272018-03-28 15:43:51 +0200431 compatible = "ti,ina226";
Michal Simek2ec41ef2019-08-26 09:46:36 +0200432 #io-channel-cells = <1>;
Michal Simek9df54d12019-08-26 10:18:13 +0200433 label = "ina226-u75";
Michal Simek1a79c272018-03-28 15:43:51 +0200434 reg = <0x47>;
435 shunt-resistor = <5000>;
436 };
437 };
438 i2c@2 {
439 #address-cells = <1>;
440 #size-cells = <0>;
441 reg = <2>;
442 /* MAXIM_PMBUS - 00 */
443 max15301@a { /* u46 */
444 compatible = "maxim,max15301";
445 reg = <0xa>;
446 };
447 max15303@b { /* u4 */
448 compatible = "maxim,max15303";
449 reg = <0xb>;
450 };
451 max15303@10 { /* u13 */
452 compatible = "maxim,max15303";
453 reg = <0x10>;
454 };
455 max15301@13 { /* u47 */
456 compatible = "maxim,max15301";
457 reg = <0x13>;
458 };
459 max15303@14 { /* u7 */
460 compatible = "maxim,max15303";
461 reg = <0x14>;
462 };
463 max15303@15 { /* u6 */
464 compatible = "maxim,max15303";
465 reg = <0x15>;
466 };
467 max15303@16 { /* u10 */
468 compatible = "maxim,max15303";
469 reg = <0x16>;
470 };
471 max15303@17 { /* u9 */
472 compatible = "maxim,max15303";
473 reg = <0x17>;
474 };
475 max15301@18 { /* u63 */
476 compatible = "maxim,max15301";
477 reg = <0x18>;
478 };
479 max15303@1a { /* u49 */
480 compatible = "maxim,max15303";
481 reg = <0x1a>;
482 };
483 max15303@1b { /* u8 */
484 compatible = "maxim,max15303";
485 reg = <0x1b>;
486 };
487 max15303@1d { /* u18 */
488 compatible = "maxim,max15303";
489 reg = <0x1d>;
490 };
491
492 max20751@72 { /* u95 */
493 compatible = "maxim,max20751";
494 reg = <0x72>;
495 };
496 max20751@73 { /* u96 */
497 compatible = "maxim,max20751";
498 reg = <0x73>;
499 };
500 };
501 /* Bus 3 is not connected */
502 };
503};
504
505&i2c1 {
506 status = "okay";
507 clock-frequency = <400000>;
Michal Simekf7b922a2021-05-10 13:14:02 +0200508 pinctrl-names = "default", "gpio";
509 pinctrl-0 = <&pinctrl_i2c1_default>;
510 pinctrl-1 = <&pinctrl_i2c1_gpio>;
Manikanta Guntupallicc45c9c2023-07-10 14:37:28 +0200511 scl-gpios = <&gpio 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
512 sda-gpios = <&gpio 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
Michal Simek1a79c272018-03-28 15:43:51 +0200513
514 /* PL i2c via PCA9306 - u45 */
515 i2c-mux@74 { /* u34 */
516 compatible = "nxp,pca9548";
517 #address-cells = <1>;
518 #size-cells = <0>;
519 reg = <0x74>;
520 i2c@0 {
521 #address-cells = <1>;
522 #size-cells = <0>;
523 reg = <0>;
524 /*
525 * IIC_EEPROM 1kB memory which uses 256B blocks
526 * where every block has different address.
527 * 0 - 256B address 0x54
528 * 256B - 512B address 0x55
529 * 512B - 768B address 0x56
530 * 768B - 1024B address 0x57
531 */
532 eeprom: eeprom@54 { /* u23 */
533 compatible = "atmel,24c08";
534 reg = <0x54>;
535 };
536 };
537 i2c@1 {
538 #address-cells = <1>;
539 #size-cells = <0>;
540 reg = <1>;
541 si5341: clock-generator@36 { /* SI5341 - u69 */
Michal Simek958c0e92020-11-26 14:25:02 +0100542 compatible = "silabs,si5341";
Michal Simek1a79c272018-03-28 15:43:51 +0200543 reg = <0x36>;
Michal Simek958c0e92020-11-26 14:25:02 +0100544 #clock-cells = <2>;
545 #address-cells = <1>;
546 #size-cells = <0>;
547 clocks = <&ref48>;
548 clock-names = "xtal";
549 clock-output-names = "si5341";
550
551 si5341_0: out@0 {
552 /* refclk0 for PS-GT, used for DP */
553 reg = <0>;
554 always-on;
555 };
556 si5341_2: out@2 {
557 /* refclk2 for PS-GT, used for USB3 */
558 reg = <2>;
559 always-on;
560 };
561 si5341_3: out@3 {
562 /* refclk3 for PS-GT, used for SATA */
563 reg = <3>;
564 always-on;
565 };
566 si5341_6: out@6 {
567 /* refclk6 PL CLK125 */
568 reg = <6>;
569 always-on;
570 };
571 si5341_7: out@7 {
572 /* refclk7 PL CLK74 */
573 reg = <7>;
574 always-on;
575 };
576 si5341_9: out@9 {
577 /* refclk9 used for PS_REF_CLK 33.3 MHz */
578 reg = <9>;
579 always-on;
580 };
Michal Simek1a79c272018-03-28 15:43:51 +0200581 };
582
583 };
584 i2c@2 {
585 #address-cells = <1>;
586 #size-cells = <0>;
587 reg = <2>;
588 si570_1: clock-generator@5d { /* USER SI570 - u42 */
589 #clock-cells = <0>;
590 compatible = "silabs,si570";
591 reg = <0x5d>;
592 temperature-stability = <50>;
593 factory-fout = <300000000>;
594 clock-frequency = <300000000>;
Michal Simek3cf07bf2018-07-18 12:10:02 +0200595 clock-output-names = "si570_user";
Michal Simek1a79c272018-03-28 15:43:51 +0200596 };
597 };
598 i2c@3 {
599 #address-cells = <1>;
600 #size-cells = <0>;
601 reg = <3>;
602 si570_2: clock-generator@5d { /* USER MGT SI570 - u56 */
603 #clock-cells = <0>;
604 compatible = "silabs,si570";
605 reg = <0x5d>;
606 temperature-stability = <50>; /* copy from zc702 */
607 factory-fout = <156250000>;
Michal Simek9c7b8362023-08-25 09:11:29 +0200608 clock-frequency = <156250000>;
Michal Simek3cf07bf2018-07-18 12:10:02 +0200609 clock-output-names = "si570_mgt";
Michal Simek1a79c272018-03-28 15:43:51 +0200610 };
611 };
612 i2c@4 {
613 #address-cells = <1>;
614 #size-cells = <0>;
615 reg = <4>;
Michal Simek345508b2022-05-11 11:52:54 +0200616 si5328: clock-generator@69 {/* SI5328 - u20 */
617 compatible = "silabs,si5328";
618 reg = <0x69>;
619 /*
620 * Chip has interrupt present connected to PL
621 * interrupt-parent = <&>;
622 * interrupts = <>;
623 */
624 #address-cells = <1>;
625 #size-cells = <0>;
626 #clock-cells = <1>;
627 clocks = <&refhdmi>;
628 clock-names = "xtal";
629 clock-output-names = "si5328";
630
631 si5328_clk: clk0@0 {
632 reg = <0>;
633 clock-frequency = <27000000>;
634 };
635 };
Michal Simek1a79c272018-03-28 15:43:51 +0200636 };
637 i2c@5 {
638 #address-cells = <1>;
639 #size-cells = <0>;
640 reg = <5>; /* FAN controller */
641 temp@4c {/* lm96163 - u128 */
642 compatible = "national,lm96163";
643 reg = <0x4c>;
644 };
645 };
646 /* 6 - 7 unconnected */
647 };
648
649 i2c-mux@75 {
650 compatible = "nxp,pca9548"; /* u135 */
651 #address-cells = <1>;
652 #size-cells = <0>;
653 reg = <0x75>;
654
655 i2c@0 {
656 #address-cells = <1>;
657 #size-cells = <0>;
658 reg = <0>;
659 /* HPC0_IIC */
660 };
661 i2c@1 {
662 #address-cells = <1>;
663 #size-cells = <0>;
664 reg = <1>;
665 /* HPC1_IIC */
666 };
667 i2c@2 {
668 #address-cells = <1>;
669 #size-cells = <0>;
670 reg = <2>;
671 /* SYSMON */
672 };
673 i2c@3 {
674 #address-cells = <1>;
675 #size-cells = <0>;
676 reg = <3>;
677 /* DDR4 SODIMM */
Michal Simek1a79c272018-03-28 15:43:51 +0200678 };
679 i2c@4 {
680 #address-cells = <1>;
681 #size-cells = <0>;
682 reg = <4>;
683 /* SEP 3 */
684 };
685 i2c@5 {
686 #address-cells = <1>;
687 #size-cells = <0>;
688 reg = <5>;
689 /* SEP 2 */
690 };
691 i2c@6 {
692 #address-cells = <1>;
693 #size-cells = <0>;
694 reg = <6>;
695 /* SEP 1 */
696 };
697 i2c@7 {
698 #address-cells = <1>;
699 #size-cells = <0>;
700 reg = <7>;
701 /* SEP 0 */
702 };
703 };
704};
705
Michal Simekf7b922a2021-05-10 13:14:02 +0200706&pinctrl0 {
707 status = "okay";
708 pinctrl_i2c0_default: i2c0-default {
709 mux {
710 groups = "i2c0_3_grp";
711 function = "i2c0";
712 };
713
714 conf {
715 groups = "i2c0_3_grp";
716 bias-pull-up;
717 slew-rate = <SLEW_RATE_SLOW>;
718 power-source = <IO_STANDARD_LVCMOS18>;
719 };
720 };
721
Michal Simekcf3cd802023-12-19 17:16:50 +0100722 pinctrl_i2c0_gpio: i2c0-gpio-grp {
Michal Simekf7b922a2021-05-10 13:14:02 +0200723 mux {
724 groups = "gpio0_14_grp", "gpio0_15_grp";
725 function = "gpio0";
726 };
727
728 conf {
729 groups = "gpio0_14_grp", "gpio0_15_grp";
730 slew-rate = <SLEW_RATE_SLOW>;
731 power-source = <IO_STANDARD_LVCMOS18>;
732 };
733 };
734
735 pinctrl_i2c1_default: i2c1-default {
736 mux {
737 groups = "i2c1_4_grp";
738 function = "i2c1";
739 };
740
741 conf {
742 groups = "i2c1_4_grp";
743 bias-pull-up;
744 slew-rate = <SLEW_RATE_SLOW>;
745 power-source = <IO_STANDARD_LVCMOS18>;
746 };
747 };
748
Michal Simekcf3cd802023-12-19 17:16:50 +0100749 pinctrl_i2c1_gpio: i2c1-gpio-grp {
Michal Simekf7b922a2021-05-10 13:14:02 +0200750 mux {
751 groups = "gpio0_16_grp", "gpio0_17_grp";
752 function = "gpio0";
753 };
754
755 conf {
756 groups = "gpio0_16_grp", "gpio0_17_grp";
757 slew-rate = <SLEW_RATE_SLOW>;
758 power-source = <IO_STANDARD_LVCMOS18>;
759 };
760 };
761
762 pinctrl_uart0_default: uart0-default {
763 mux {
764 groups = "uart0_4_grp";
765 function = "uart0";
766 };
767
768 conf {
769 groups = "uart0_4_grp";
770 slew-rate = <SLEW_RATE_SLOW>;
771 power-source = <IO_STANDARD_LVCMOS18>;
772 };
773
774 conf-rx {
775 pins = "MIO18";
776 bias-high-impedance;
777 };
778
779 conf-tx {
780 pins = "MIO19";
781 bias-disable;
782 };
783 };
784
785 pinctrl_uart1_default: uart1-default {
786 mux {
787 groups = "uart1_5_grp";
788 function = "uart1";
789 };
790
791 conf {
792 groups = "uart1_5_grp";
793 slew-rate = <SLEW_RATE_SLOW>;
794 power-source = <IO_STANDARD_LVCMOS18>;
795 };
796
797 conf-rx {
798 pins = "MIO21";
799 bias-high-impedance;
800 };
801
802 conf-tx {
803 pins = "MIO20";
804 bias-disable;
805 };
806 };
807
808 pinctrl_usb0_default: usb0-default {
809 mux {
810 groups = "usb0_0_grp";
811 function = "usb0";
812 };
813
814 conf {
815 groups = "usb0_0_grp";
Michal Simekf7b922a2021-05-10 13:14:02 +0200816 power-source = <IO_STANDARD_LVCMOS18>;
817 };
818
819 conf-rx {
820 pins = "MIO52", "MIO53", "MIO55";
821 bias-high-impedance;
Ashok Reddy Soma4d0ecf62022-06-15 12:16:13 +0200822 drive-strength = <12>;
823 slew-rate = <SLEW_RATE_FAST>;
Michal Simekf7b922a2021-05-10 13:14:02 +0200824 };
825
826 conf-tx {
827 pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
828 "MIO60", "MIO61", "MIO62", "MIO63";
829 bias-disable;
Ashok Reddy Soma4d0ecf62022-06-15 12:16:13 +0200830 drive-strength = <4>;
831 slew-rate = <SLEW_RATE_SLOW>;
Michal Simekf7b922a2021-05-10 13:14:02 +0200832 };
833 };
834
835 pinctrl_gem3_default: gem3-default {
836 mux {
837 function = "ethernet3";
838 groups = "ethernet3_0_grp";
839 };
840
841 conf {
842 groups = "ethernet3_0_grp";
843 slew-rate = <SLEW_RATE_SLOW>;
844 power-source = <IO_STANDARD_LVCMOS18>;
845 };
846
847 conf-rx {
848 pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
849 "MIO75";
850 bias-high-impedance;
851 low-power-disable;
852 };
853
854 conf-tx {
855 pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
856 "MIO69";
857 bias-disable;
858 low-power-enable;
859 };
860
861 mux-mdio {
862 function = "mdio3";
863 groups = "mdio3_0_grp";
864 };
865
866 conf-mdio {
867 groups = "mdio3_0_grp";
868 slew-rate = <SLEW_RATE_SLOW>;
869 power-source = <IO_STANDARD_LVCMOS18>;
870 bias-disable;
871 };
872 };
873
874 pinctrl_can1_default: can1-default {
875 mux {
876 function = "can1";
877 groups = "can1_6_grp";
878 };
879
880 conf {
881 groups = "can1_6_grp";
882 slew-rate = <SLEW_RATE_SLOW>;
883 power-source = <IO_STANDARD_LVCMOS18>;
884 };
885
886 conf-rx {
887 pins = "MIO25";
888 bias-high-impedance;
889 };
890
891 conf-tx {
892 pins = "MIO24";
893 bias-disable;
894 };
895 };
896
897 pinctrl_sdhci1_default: sdhci1-default {
898 mux {
899 groups = "sdio1_0_grp";
900 function = "sdio1";
901 };
902
903 conf {
904 groups = "sdio1_0_grp";
905 slew-rate = <SLEW_RATE_SLOW>;
906 power-source = <IO_STANDARD_LVCMOS18>;
907 bias-disable;
908 };
909
910 mux-cd {
911 groups = "sdio1_cd_0_grp";
912 function = "sdio1_cd";
913 };
914
915 conf-cd {
916 groups = "sdio1_cd_0_grp";
917 bias-high-impedance;
918 bias-pull-up;
919 slew-rate = <SLEW_RATE_SLOW>;
920 power-source = <IO_STANDARD_LVCMOS18>;
921 };
922
923 mux-wp {
924 groups = "sdio1_wp_0_grp";
925 function = "sdio1_wp";
926 };
927
928 conf-wp {
929 groups = "sdio1_wp_0_grp";
930 bias-high-impedance;
931 bias-pull-up;
932 slew-rate = <SLEW_RATE_SLOW>;
933 power-source = <IO_STANDARD_LVCMOS18>;
934 };
935 };
936
937 pinctrl_gpio_default: gpio-default {
938 mux {
939 function = "gpio0";
940 groups = "gpio0_22_grp", "gpio0_23_grp";
941 };
942
943 conf {
944 groups = "gpio0_22_grp", "gpio0_23_grp";
945 slew-rate = <SLEW_RATE_SLOW>;
946 power-source = <IO_STANDARD_LVCMOS18>;
947 };
948
949 mux-msp {
950 function = "gpio0";
951 groups = "gpio0_13_grp", "gpio0_38_grp";
952 };
953
954 conf-msp {
955 groups = "gpio0_13_grp", "gpio0_38_grp";
956 slew-rate = <SLEW_RATE_SLOW>;
957 power-source = <IO_STANDARD_LVCMOS18>;
958 };
959
960 conf-pull-up {
961 pins = "MIO22";
962 bias-pull-up;
963 };
964
965 conf-pull-none {
966 pins = "MIO13", "MIO23", "MIO38";
967 bias-disable;
968 };
969 };
970};
971
Michal Simek93a89f32021-06-01 16:42:50 +0200972&psgtr {
973 status = "okay";
974 /* nc, sata, usb3, dp */
975 clocks = <&si5341 0 3>, <&si5341 0 2>, <&si5341 0 0>;
976 clock-names = "ref1", "ref2", "ref3";
977};
978
Michal Simek1a79c272018-03-28 15:43:51 +0200979&qspi {
980 status = "okay";
Michal Simek27c83202023-09-22 12:35:43 +0200981 num-cs = <2>;
Michal Simek1a79c272018-03-28 15:43:51 +0200982 flash@0 {
Neil Armstronga009fa72019-02-10 10:16:20 +0000983 compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
Michal Simek1a79c272018-03-28 15:43:51 +0200984 #address-cells = <1>;
985 #size-cells = <1>;
Michal Simek27c83202023-09-22 12:35:43 +0200986 reg = <0>, <1>;
987 parallel-memories = /bits/ 64 <0x4000000 0x4000000>; /* 64MB */
Amit Kumar Mahapatraa02408b2022-05-10 16:33:01 +0200988 spi-tx-bus-width = <4>;
Michal Simek1a79c272018-03-28 15:43:51 +0200989 spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
990 spi-max-frequency = <108000000>; /* Based on DC1 spec */
Michal Simek70fafdf2020-02-14 14:19:56 +0100991 partition@0 { /* for testing purpose */
Michal Simek1a79c272018-03-28 15:43:51 +0200992 label = "qspi-fsbl-uboot";
993 reg = <0x0 0x100000>;
994 };
Michal Simek70fafdf2020-02-14 14:19:56 +0100995 partition@100000 { /* for testing purpose */
Michal Simek1a79c272018-03-28 15:43:51 +0200996 label = "qspi-linux";
997 reg = <0x100000 0x500000>;
998 };
Michal Simek70fafdf2020-02-14 14:19:56 +0100999 partition@600000 { /* for testing purpose */
Michal Simek1a79c272018-03-28 15:43:51 +02001000 label = "qspi-device-tree";
1001 reg = <0x600000 0x20000>;
1002 };
Michal Simek70fafdf2020-02-14 14:19:56 +01001003 partition@620000 { /* for testing purpose */
Michal Simek1a79c272018-03-28 15:43:51 +02001004 label = "qspi-rootfs";
1005 reg = <0x620000 0x5E0000>;
1006 };
1007 };
1008};
1009
1010&rtc {
1011 status = "okay";
1012};
1013
1014&sata {
1015 status = "okay";
1016 /* SATA OOB timing settings */
1017 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
1018 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
1019 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
1020 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
1021 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
1022 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
1023 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
1024 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
1025 phy-names = "sata-phy";
Michal Simek958c0e92020-11-26 14:25:02 +01001026 phys = <&psgtr 3 PHY_TYPE_SATA 1 1>;
Michal Simek1a79c272018-03-28 15:43:51 +02001027};
1028
1029/* SD1 with level shifter */
1030&sdhci1 {
1031 status = "okay";
Manish Naranie2ba0932020-02-13 23:37:30 -07001032 /*
1033 * This property should be removed for supporting UHS mode
1034 */
1035 no-1-8-v;
Michal Simekf7b922a2021-05-10 13:14:02 +02001036 pinctrl-names = "default";
1037 pinctrl-0 = <&pinctrl_sdhci1_default>;
Michal Simek3b662642020-07-22 17:42:43 +02001038 xlnx,mio-bank = <1>;
Michal Simek1a79c272018-03-28 15:43:51 +02001039};
1040
Michal Simek1a79c272018-03-28 15:43:51 +02001041&uart0 {
1042 status = "okay";
Michal Simekf7b922a2021-05-10 13:14:02 +02001043 pinctrl-names = "default";
1044 pinctrl-0 = <&pinctrl_uart0_default>;
Michal Simek1a79c272018-03-28 15:43:51 +02001045};
1046
1047&uart1 {
1048 status = "okay";
Michal Simekf7b922a2021-05-10 13:14:02 +02001049 pinctrl-names = "default";
1050 pinctrl-0 = <&pinctrl_uart1_default>;
Michal Simek1a79c272018-03-28 15:43:51 +02001051};
1052
1053/* ULPI SMSC USB3320 */
1054&usb0 {
1055 status = "okay";
Michal Simekf7b922a2021-05-10 13:14:02 +02001056 pinctrl-names = "default";
1057 pinctrl-0 = <&pinctrl_usb0_default>;
Manish Naranif3c63382021-07-14 06:17:19 -06001058 phy-names = "usb3-phy";
1059 phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
Michal Simek1a79c272018-03-28 15:43:51 +02001060};
1061
1062&dwc3_0 {
1063 status = "okay";
1064 dr_mode = "host";
1065 snps,usb3_lpm_capable;
Michal Simekeb4b55c2021-05-31 17:51:58 +02001066 maximum-speed = "super-speed";
Michal Simek1a79c272018-03-28 15:43:51 +02001067};
1068
1069&watchdog0 {
1070 status = "okay";
1071};
Michal Simek6412f602021-05-27 13:44:35 +02001072
1073&zynqmp_dpdma {
1074 status = "okay";
1075};
1076
1077&zynqmp_dpsub {
1078 status = "okay";
1079 phy-names = "dp-phy0", "dp-phy1";
1080 phys = <&psgtr 1 PHY_TYPE_DP 0 3>,
1081 <&psgtr 0 PHY_TYPE_DP 1 3>;
Laurent Pinchart47443372023-09-22 12:35:38 +02001082
1083 ports {
1084 port@5 {
1085 dpsub_dp_out: endpoint {
1086 remote-endpoint = <&dpcon_in>;
1087 };
1088 };
1089 };
Michal Simek6412f602021-05-27 13:44:35 +02001090};