blob: 3e8ee429eb79f842eab57ff63298455277922d78 [file] [log] [blame]
Michal Simek31e83022019-11-25 08:38:25 +01001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * dts file for Xilinx ZynqMP ZCU208
4 *
Michal Simek821e32a2021-05-31 09:50:01 +02005 * (C) Copyright 2017 - 2021, Xilinx, Inc.
Michal Simek31e83022019-11-25 08:38:25 +01006 *
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 Simek31e83022019-11-25 08:38:25 +010017#include <dt-bindings/phy/phy.h>
18
19/ {
20 model = "ZynqMP ZCU208 RevA";
21 compatible = "xlnx,zynqmp-zcu208-revA", "xlnx,zynqmp-zcu208", "xlnx,zynqmp";
22
23 aliases {
24 ethernet0 = &gem3;
Michal Simek31e83022019-11-25 08:38:25 +010025 i2c0 = &i2c0;
26 i2c1 = &i2c1;
27 mmc0 = &sdhci1;
Michal Simek53b145d2021-06-03 11:46:50 +020028 nvmem0 = &eeprom;
Michal Simek31e83022019-11-25 08:38:25 +010029 rtc0 = &rtc;
30 serial0 = &uart0;
31 serial1 = &dcc;
32 spi0 = &qspi;
33 usb0 = &usb0;
34 };
35
36 chosen {
37 bootargs = "earlycon";
38 stdout-path = "serial0:115200n8";
Michal Simek31e83022019-11-25 08:38:25 +010039 };
40
41 memory@0 {
42 device_type = "memory";
43 reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
44 };
45
46 gpio-keys {
47 compatible = "gpio-keys";
48 autorepeat;
49 sw19 {
50 label = "sw19";
51 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
52 linux,code = <KEY_DOWN>;
Michal Simekf701e192020-02-18 12:06:14 +010053 wakeup-source;
Michal Simek31e83022019-11-25 08:38:25 +010054 autorepeat;
55 };
56 };
57
58 leds {
59 compatible = "gpio-leds";
60 heartbeat_led {
61 label = "heartbeat";
62 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
63 linux,default-trigger = "heartbeat";
64 };
65 };
66
67 ina226-vccint {
68 compatible = "iio-hwmon";
69 io-channels = <&vccint 0>, <&vccint 1>, <&vccint 2>, <&vccint 3>;
70 };
71 ina226-vccint-io-bram-ps {
72 compatible = "iio-hwmon";
73 io-channels = <&vccint_io_bram_ps 0>, <&vccint_io_bram_ps 1>, <&vccint_io_bram_ps 2>, <&vccint_io_bram_ps 3>;
74 };
75 ina226-vcc1v8 {
76 compatible = "iio-hwmon";
77 io-channels = <&vcc1v8 0>, <&vcc1v8 1>, <&vcc1v8 2>, <&vcc1v8 3>;
78 };
79 ina226-vcc1v2 {
80 compatible = "iio-hwmon";
81 io-channels = <&vcc1v2 0>, <&vcc1v2 1>, <&vcc1v2 2>, <&vcc1v2 3>;
82 };
83 ina226-vadj-fmc {
84 compatible = "iio-hwmon";
85 io-channels = <&vadj_fmc 0>, <&vadj_fmc 1>, <&vadj_fmc 2>, <&vadj_fmc 3>;
86 };
87 ina226-mgtavcc {
88 compatible = "iio-hwmon";
89 io-channels = <&mgtavcc 0>, <&mgtavcc 1>, <&mgtavcc 2>, <&mgtavcc 3>;
90 };
91 ina226-mgt1v2 {
92 compatible = "iio-hwmon";
93 io-channels = <&mgt1v2 0>, <&mgt1v2 1>, <&mgt1v2 2>, <&mgt1v2 3>;
94 };
95 ina226-mgt1v8 {
96 compatible = "iio-hwmon";
97 io-channels = <&mgt1v8 0>, <&mgt1v8 1>, <&mgt1v8 2>, <&mgt1v8 3>;
98 };
99 ina226-vccint-ams {
100 compatible = "iio-hwmon";
101 io-channels = <&vccint_ams 0>, <&vccint_ams 1>, <&vccint_ams 2>, <&vccint_ams 3>;
102 };
103 ina226-dac-avtt {
104 compatible = "iio-hwmon";
105 io-channels = <&dac_avtt 0>, <&dac_avtt 1>, <&dac_avtt 2>, <&dac_avtt 3>;
106 };
107 ina226-dac-avccaux {
108 compatible = "iio-hwmon";
109 io-channels = <&dac_avccaux 0>, <&dac_avccaux 1>, <&dac_avccaux 2>, <&dac_avccaux 3>;
110 };
111 ina226-adc-avcc {
112 compatible = "iio-hwmon";
113 io-channels = <&adc_avcc 0>, <&adc_avcc 1>, <&adc_avcc 2>, <&adc_avcc 3>;
114 };
115 ina226-adc-avccaux {
116 compatible = "iio-hwmon";
117 io-channels = <&adc_avccaux 0>, <&adc_avccaux 1>, <&adc_avccaux 2>, <&adc_avccaux 3>;
118 };
119 ina226-dac-avcc {
120 compatible = "iio-hwmon";
121 io-channels = <&dac_avcc 0>, <&dac_avcc 1>, <&dac_avcc 2>, <&dac_avcc 3>;
122 };
Michal Simek958c0e92020-11-26 14:25:02 +0100123
124 /* 48MHz reference crystal */
125 ref48: ref48M {
126 compatible = "fixed-clock";
127 #clock-cells = <0>;
128 clock-frequency = <48000000>;
129 };
Michal Simek31e83022019-11-25 08:38:25 +0100130};
131
132&dcc {
133 status = "okay";
134};
135
136&fpd_dma_chan1 {
137 status = "okay";
138};
139
140&fpd_dma_chan2 {
141 status = "okay";
142};
143
144&fpd_dma_chan3 {
145 status = "okay";
146};
147
148&fpd_dma_chan4 {
149 status = "okay";
150};
151
152&fpd_dma_chan5 {
153 status = "okay";
154};
155
156&fpd_dma_chan6 {
157 status = "okay";
158};
159
160&fpd_dma_chan7 {
161 status = "okay";
162};
163
164&fpd_dma_chan8 {
165 status = "okay";
166};
167
168&gem3 {
169 status = "okay";
170 phy-handle = <&phy0>;
171 phy-mode = "rgmii-id";
Michal Simeka4224f22022-09-09 13:05:48 +0200172 mdio: mdio {
173 #address-cells = <1>;
174 #size-cells = <0>;
175 phy0: ethernet-phy@c {
176 #phy-cells = <1>;
177 compatible = "ethernet-phy-id2000.a231";
178 reg = <0xc>;
179 ti,rx-internal-delay = <0x8>;
180 ti,tx-internal-delay = <0xa>;
181 ti,fifo-depth = <0x1>;
182 ti,dp83867-rxctrl-strap-quirk;
183 };
Michal Simek31e83022019-11-25 08:38:25 +0100184 };
185};
186
187&gpio {
188 status = "okay";
189 gpio-line-names = "QSPI_LWR_CLK", "QSPI_LWR_DQ1", "QSPI_LWR_DQ2", "QSPI_LWR_DQ3", "QSPI_LWR_DQ0", /* 0 - 4 */
190 "QSPI_LWR_CS_B", "", "QSPI_UPR_CS_B", "QSPI_UPR_DQ0", "QSPI_UPR_DQ1", /* 5 - 9 */
191 "QSPI_UPR_DQ2", "QSPI_UPR_DQ3", "QSPI_UPR_CLK", "PS_GPIO2", "I2C0_SCL", /* 10 - 14 */
192 "I2C0_SDA", "I2C1_SCL", "I2C1_SDA", "UART0_TXD", "UART0_RXD", /* 15 - 19 */
193 "", "", "BUTTON", "LED", "", /* 20 - 24 */
194 "", "PMU_INPUT", "", "", "", /* 25 - 29 */
195 "", "", "PMU_GPO0", "PMU_GPO1", "PMU_GPO2", /* 30 - 34 */
196 "PMU_GPO3", "PMU_GPO4", "PMU_GPO5", "PS_GPIO1", "SDIO_SEL", /* 35 - 39 */
197 "SDIO_DIR_CMD", "SDIO_DIR_DAT0", "SDIO_DIR_DAT1", "", "", /* 40 - 44 */
198 "SDIO_DETECT", "SDIO_DAT0", "SDIO_DAT1", "SDIO_DAT2", "SDIO_DAT3", /* 45 - 49 */
199 "SDIO_CMD", "SDIO_CLK", "USB_CLK", "USB_DIR", "USB_DATA2", /* 50 - 54 */
200 "USB_NXT", "USB_DATA0", "USB_DATA1", "USB_STP", "USB_DATA3", /* 55 - 59 */
201 "USB_DATA4", "USB_DATA5", "USB_DATA6", "USB_DATA7", "ENET_TX_CLK", /* 60 - 64 */
202 "ENET_TX_D0", "ENET_TX_D1", "ENET_TX_D2", "ENET_TX_D3", "ENET_TX_CTRL", /* 65 - 69 */
203 "ENET_RX_CLK", "ENET_RX_D0", "ENET_RX_D1", "ENET_RX_D2", "ENET_RX_D3", /* 70 - 74 */
204 "ENET_RX_CTRL", "ENET_MDC", "ENET_MDIO", /* 75 - 77, MIO end and EMIO start */
205 "", "", /* 78 - 79 */
206 "", "", "", "", "", /* 80 - 84 */
207 "", "", "", "", "", /* 85 -89 */
208 "", "", "", "", "", /* 90 - 94 */
209 "", "", "", "", "", /* 95 - 99 */
210 "", "", "", "", "", /* 100 - 104 */
211 "", "", "", "", "", /* 105 - 109 */
212 "", "", "", "", "", /* 110 - 114 */
213 "", "", "", "", "", /* 115 - 119 */
214 "", "", "", "", "", /* 120 - 124 */
215 "", "", "", "", "", /* 125 - 129 */
216 "", "", "", "", "", /* 130 - 134 */
217 "", "", "", "", "", /* 135 - 139 */
218 "", "", "", "", "", /* 140 - 144 */
219 "", "", "", "", "", /* 145 - 149 */
220 "", "", "", "", "", /* 150 - 154 */
221 "", "", "", "", "", /* 155 - 159 */
222 "", "", "", "", "", /* 160 - 164 */
223 "", "", "", "", "", /* 165 - 169 */
224 "", "", "", ""; /* 170 - 174 */
225};
226
227&i2c0 {
228 status = "okay";
229 clock-frequency = <400000>;
Michal Simekf7b922a2021-05-10 13:14:02 +0200230 pinctrl-names = "default", "gpio";
231 pinctrl-0 = <&pinctrl_i2c0_default>;
232 pinctrl-1 = <&pinctrl_i2c0_gpio>;
233 scl-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
234 sda-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
Michal Simek31e83022019-11-25 08:38:25 +0100235
236 tca6416_u15: gpio@20 { /* u15 */
237 compatible = "ti,tca6416";
238 reg = <0x20>;
239 gpio-controller; /* interrupt not connected */
240 #gpio-cells = <2>;
241 gpio-line-names = "MAX6643_OT_B", "MAX6643_FANFAIL_B", "MIO26_PMU_INPUT_LS", "DAC_AVTT_VOUT_SEL", /* 0 - 3 */
242 "", "IIC_MUX_RESET_B", "GEM3_EXP_RESET_B", "MAX6643_FULL_SPEED", /* 4 - 7 */
243 "FMCP_HSPC_PRSNT_M2C_B", "", "", "VCCINT_VRHOT_B", /* 10 - 13 */
244 "", "8A34001_EXP_RST_B", "IRPS5401_ALERT_B", "INA226_PMBUS_ALERT"; /* 14 - 17 */
245 };
246
247 i2c-mux@75 { /* u17 */
248 compatible = "nxp,pca9544";
249 #address-cells = <1>;
250 #size-cells = <0>;
251 reg = <0x75>;
252 i2c@0 {
253 #address-cells = <1>;
254 #size-cells = <0>;
255 reg = <0>;
256 /* PS_PMBUS */
257 /* PMBUS_ALERT done via pca9544 */
258 vccint: ina226@40 { /* u65 */
259 compatible = "ti,ina226";
260 #io-channel-cells = <1>;
261 label = "ina226-vccint";
262 reg = <0x40>;
263 shunt-resistor = <5000>;
264 };
265 vccint_io_bram_ps: ina226@41 { /* u57 */
266 compatible = "ti,ina226";
267 #io-channel-cells = <1>;
268 label = "ina226-vccint-io-bram-ps";
269 reg = <0x41>;
270 shunt-resistor = <5000>;
271 };
272 vcc1v8: ina226@42 { /* u60 */
273 compatible = "ti,ina226";
274 #io-channel-cells = <1>;
275 label = "ina226-vcc1v8";
276 reg = <0x42>;
277 shunt-resistor = <2000>;
278 };
279 vcc1v2: ina226@43 { /* u58 */
280 compatible = "ti,ina226";
281 #io-channel-cells = <1>;
282 label = "ina226-vcc1v2";
283 reg = <0x43>;
284 shunt-resistor = <5000>;
285 };
286 vadj_fmc: ina226@45 { /* u62 */
287 compatible = "ti,ina226";
288 #io-channel-cells = <1>;
289 label = "ina226-vadj-fmc";
290 reg = <0x45>;
291 shunt-resistor = <5000>;
292 };
293 mgtavcc: ina226@46 { /* u67 */
294 compatible = "ti,ina226";
295 #io-channel-cells = <1>;
296 label = "ina226-mgtavcc";
297 reg = <0x46>;
298 shunt-resistor = <2000>;
299 };
300 mgt1v2: ina226@47 { /* u63 */
301 compatible = "ti,ina226";
302 #io-channel-cells = <1>;
303 label = "ina226-mgt1v2";
304 reg = <0x47>;
305 shunt-resistor = <5000>;
306 };
307 mgt1v8: ina226@48 { /* u64 */
308 compatible = "ti,ina226";
309 #io-channel-cells = <1>;
310 label = "ina226-mgt1v8";
311 reg = <0x48>;
312 shunt-resistor = <5000>;
313 };
314 vccint_ams: ina226@49 { /* u61 */
315 compatible = "ti,ina226";
316 #io-channel-cells = <1>;
317 label = "ina226-vccint-ams";
318 reg = <0x49>;
319 shunt-resistor = <5000>;
320 };
321 dac_avtt: ina226@4a { /* u59 */
322 compatible = "ti,ina226";
323 #io-channel-cells = <1>;
324 label = "ina226-dac-avtt";
325 reg = <0x4a>;
326 shunt-resistor = <5000>;
327 };
328 dac_avccaux: ina226@4b { /* u124 */
329 compatible = "ti,ina226";
330 #io-channel-cells = <1>;
331 label = "ina226-dac-avccaux";
332 reg = <0x4b>;
333 shunt-resistor = <5000>;
334 };
335 adc_avcc: ina226@4c { /* u75 */
336 compatible = "ti,ina226";
337 #io-channel-cells = <1>;
338 label = "ina226-adc-avcc";
339 reg = <0x4c>;
340 shunt-resistor = <5000>;
341 };
342 adc_avccaux: ina226@4d { /* u71 */
343 compatible = "ti,ina226";
344 #io-channel-cells = <1>;
345 label = "ina226-adc-avccaux";
346 reg = <0x4d>;
347 shunt-resistor = <5000>;
348 };
349 dac_avcc: ina226@4e { /* u77 */
350 compatible = "ti,ina226";
351 #io-channel-cells = <1>;
352 label = "ina226-dac-avcc";
353 reg = <0x4e>;
354 shunt-resistor = <5000>;
355 };
356 };
357 i2c@1 {
358 #address-cells = <1>;
359 #size-cells = <0>;
360 reg = <1>;
361 /* NC */
362 };
363 i2c@2 {
364 #address-cells = <1>;
365 #size-cells = <0>;
366 reg = <2>;
367 /* u104 - ir35215 0x10/0x40 */
368 /* u127 - ir38164 0x1b/0x4b */
369 /* u112 - ir38164 0x13/0x43 */
370 /* u123 - ir38164 0x1c/0x4c */
371
Michal Simek3514e4e2020-03-30 11:35:38 +0200372 irps5401_44: irps5401@44 { /* IRPS5401 - u53 */
Michal Simek31e83022019-11-25 08:38:25 +0100373 compatible = "infineon,irps5401";
374 reg = <0x44>; /* i2c addr 0x14 */
375 };
Michal Simek3514e4e2020-03-30 11:35:38 +0200376 irps5401_45: irps5401@45 { /* IRPS5401 - u55 */
Michal Simek31e83022019-11-25 08:38:25 +0100377 compatible = "infineon,irps5401";
378 reg = <0x45>; /* i2c addr 0x15 */
379 };
380 /* J21 header too */
381
382 };
383 i2c@3 {
384 #address-cells = <1>;
385 #size-cells = <0>;
386 reg = <3>;
387 /* SYSMON */
388 };
389 };
390 /* u38 MPS430 */
391};
392
393&i2c1 {
394 status = "okay";
395 clock-frequency = <400000>;
Michal Simekf7b922a2021-05-10 13:14:02 +0200396 pinctrl-names = "default", "gpio";
397 pinctrl-0 = <&pinctrl_i2c1_default>;
398 pinctrl-1 = <&pinctrl_i2c1_gpio>;
399 scl-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
400 sda-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
Michal Simek31e83022019-11-25 08:38:25 +0100401
402 i2c-mux@74 {
403 compatible = "nxp,pca9548"; /* u20 */
404 #address-cells = <1>;
405 #size-cells = <0>;
406 reg = <0x74>;
Raviteja Narayanam574fa192021-04-01 07:14:10 -0600407 i2c-mux-idle-disconnect;
Michal Simek31e83022019-11-25 08:38:25 +0100408 /* FIXME reset-gpios = <&tca6416_u15 SYSCTLR_IIC_MUX0_RESET_B GPIO_ACTIVE_HIGH>; */
409 i2c_eeprom: i2c@0 {
410 #address-cells = <1>;
411 #size-cells = <0>;
412 reg = <0>;
413 /*
414 * IIC_EEPROM 1kB memory which uses 256B blocks
415 * where every block has different address.
416 * 0 - 256B address 0x54
417 * 256B - 512B address 0x55
418 * 512B - 768B address 0x56
419 * 768B - 1024B address 0x57
420 */
421 eeprom: eeprom@54 { /* u21 */
422 compatible = "atmel,24c128";
423 reg = <0x54>;
424 };
425 };
426 i2c_si5341: i2c@1 {
427 #address-cells = <1>;
428 #size-cells = <0>;
429 reg = <1>;
430 si5341: clock-generator@36 { /* SI5341 - u43 */
Michal Simek958c0e92020-11-26 14:25:02 +0100431 compatible = "silabs,si5341";
Michal Simek31e83022019-11-25 08:38:25 +0100432 reg = <0x36>;
Michal Simek958c0e92020-11-26 14:25:02 +0100433 #clock-cells = <2>;
434 #address-cells = <1>;
435 #size-cells = <0>;
436 clocks = <&ref48>;
437 clock-names = "xtal";
438 clock-output-names = "si5341";
Michal Simek31e83022019-11-25 08:38:25 +0100439
Michal Simek958c0e92020-11-26 14:25:02 +0100440 si5341_2: out@2 {
441 /* refclk2 for PS-GT, used for USB3 */
442 reg = <2>;
Michal Simek94d1ae12021-03-11 13:34:02 +0100443 always-on;
Michal Simek958c0e92020-11-26 14:25:02 +0100444 };
445 si5341_3: out@3 {
446 /* refclk3 for PS-GT, used for SATA */
447 reg = <3>;
Michal Simek94d1ae12021-03-11 13:34:02 +0100448 always-on;
Michal Simek958c0e92020-11-26 14:25:02 +0100449 };
450 si5341_5: out@5 {
451 /* refclk5 PL CLK100 */
452 reg = <5>;
Michal Simek94d1ae12021-03-11 13:34:02 +0100453 always-on;
Michal Simek958c0e92020-11-26 14:25:02 +0100454 };
455 si5341_6: out@6 {
456 /* refclk6 PL CLK125 */
457 reg = <6>;
Michal Simek94d1ae12021-03-11 13:34:02 +0100458 always-on;
Michal Simek958c0e92020-11-26 14:25:02 +0100459 };
460 si5341_9: out@9 {
461 /* refclk9 used for PS_REF_CLK 33.3 MHz */
462 reg = <9>;
Michal Simek94d1ae12021-03-11 13:34:02 +0100463 always-on;
Michal Simek958c0e92020-11-26 14:25:02 +0100464 };
465 };
Michal Simek31e83022019-11-25 08:38:25 +0100466 };
467 i2c_si570_user_c0: i2c@2 {
468 #address-cells = <1>;
469 #size-cells = <0>;
470 reg = <2>;
471 si570_1: clock-generator@5d { /* USER C0 SI570 - u47 */
472 #clock-cells = <0>;
473 compatible = "silabs,si570";
474 reg = <0x5d>;
475 temperature-stability = <50>;
476 factory-fout = <300000000>;
477 clock-frequency = <300000000>;
478 clock-output-names = "si570_user_c0";
479 };
480 };
481 i2c_si570_mgt: i2c@3 {
482 #address-cells = <1>;
483 #size-cells = <0>;
484 reg = <3>;
485 si570_2: clock-generator@5d { /* USER MGT SI570 - u48 */
486 #clock-cells = <0>;
487 compatible = "silabs,si570";
488 reg = <0x5d>;
489 temperature-stability = <50>;
490 factory-fout = <156250000>;
491 clock-frequency = <148500000>;
492 clock-output-names = "si570_mgt";
493 };
494 };
495 i2c_8a34001: i2c@4 {
496 #address-cells = <1>;
497 #size-cells = <0>;
498 reg = <4>;
Michal Simek1c4e7da2021-01-22 14:42:29 +0100499 idt_8a34001: phc@5b {
500 compatible = "idt,8a34001"; /* u409B */
501 reg = <0x5b>;
502 };
Michal Simek31e83022019-11-25 08:38:25 +0100503 };
504 i2c_clk104: i2c@5 {
505 #address-cells = <1>;
506 #size-cells = <0>;
507 reg = <5>;
508 /* CLK104_SDA */
509 };
510 i2c@6 {
511 #address-cells = <1>;
512 #size-cells = <0>;
513 reg = <6>;
514 /* RFMCP connector */
515 };
516 /* 7 NC */
517 };
518
519 i2c-mux@75 {
520 compatible = "nxp,pca9548"; /* u22 */
521 #address-cells = <1>;
522 #size-cells = <0>;
523 reg = <0x75>;
Raviteja Narayanam574fa192021-04-01 07:14:10 -0600524 i2c-mux-idle-disconnect;
Michal Simek31e83022019-11-25 08:38:25 +0100525 /* FIXME reset-gpios = <&tca6416_u15 SYSCTLR_IIC_MUX0_RESET_B GPIO_ACTIVE_HIGH>; */
526 i2c@0 {
527 #address-cells = <1>;
528 #size-cells = <0>;
529 reg = <0>;
530 /* FMCP_HSPC_IIC */
531 };
532 i2c_si570_user_c1: i2c@1 {
533 #address-cells = <1>;
534 #size-cells = <0>;
535 reg = <1>;
536 si570_3: clock-generator@5d { /* USER C1 SI570 - u130 */
537 #clock-cells = <0>;
538 compatible = "silabs,si570";
539 reg = <0x5d>;
540 temperature-stability = <50>;
541 factory-fout = <300000000>;
542 clock-frequency = <300000000>;
543 clock-output-names = "si570_user_c1";
544 };
545 };
546 i2c@2 {
547 #address-cells = <1>;
548 #size-cells = <0>;
549 reg = <2>;
550 /* SYSMON */
551 };
552 i2c@3 {
553 #address-cells = <1>;
554 #size-cells = <0>;
555 reg = <3>;
556 /* DDR4 SODIMM */
557 };
558 i2c@4 {
559 #address-cells = <1>;
560 #size-cells = <0>;
561 reg = <4>;
562 /* SFP3 */
563 };
564 i2c@5 {
565 #address-cells = <1>;
566 #size-cells = <0>;
567 reg = <5>;
568 /* SFP2 */
569 };
570 i2c@6 {
571 #address-cells = <1>;
572 #size-cells = <0>;
573 reg = <6>;
574 /* SFP1 */
575 };
576 i2c@7 {
577 #address-cells = <1>;
578 #size-cells = <0>;
579 reg = <7>;
580 /* SFP0 */
581 };
582 };
583 /* MSP430 */
584};
585
Michal Simekf7b922a2021-05-10 13:14:02 +0200586&pinctrl0 {
587 status = "okay";
588 pinctrl_i2c0_default: i2c0-default {
589 mux {
590 groups = "i2c0_3_grp";
591 function = "i2c0";
592 };
593
594 conf {
595 groups = "i2c0_3_grp";
596 bias-pull-up;
597 slew-rate = <SLEW_RATE_SLOW>;
598 power-source = <IO_STANDARD_LVCMOS18>;
599 };
600 };
601
602 pinctrl_i2c0_gpio: i2c0-gpio {
603 mux {
604 groups = "gpio0_14_grp", "gpio0_15_grp";
605 function = "gpio0";
606 };
607
608 conf {
609 groups = "gpio0_14_grp", "gpio0_15_grp";
610 slew-rate = <SLEW_RATE_SLOW>;
611 power-source = <IO_STANDARD_LVCMOS18>;
612 };
613 };
614
615 pinctrl_i2c1_default: i2c1-default {
616 mux {
617 groups = "i2c1_4_grp";
618 function = "i2c1";
619 };
620
621 conf {
622 groups = "i2c1_4_grp";
623 bias-pull-up;
624 slew-rate = <SLEW_RATE_SLOW>;
625 power-source = <IO_STANDARD_LVCMOS18>;
626 };
627 };
628
629 pinctrl_i2c1_gpio: i2c1-gpio {
630 mux {
631 groups = "gpio0_16_grp", "gpio0_17_grp";
632 function = "gpio0";
633 };
634
635 conf {
636 groups = "gpio0_16_grp", "gpio0_17_grp";
637 slew-rate = <SLEW_RATE_SLOW>;
638 power-source = <IO_STANDARD_LVCMOS18>;
639 };
640 };
641};
642
Michal Simek31e83022019-11-25 08:38:25 +0100643&qspi {
644 status = "okay";
645 is-dual = <1>;
646 flash@0 {
647 compatible = "m25p80", "jedec,spi-nor"; /* U11 and U12 MT25QU02GCBBE12 1Gb */
648 #address-cells = <1>;
649 #size-cells = <1>;
650 reg = <0>;
Amit Kumar Mahapatraa02408b2022-05-10 16:33:01 +0200651 spi-tx-bus-width = <4>;
Michal Simek31e83022019-11-25 08:38:25 +0100652 spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
653 spi-max-frequency = <108000000>; /* Based on DC1 spec */
654 };
655};
656
Michal Simek958c0e92020-11-26 14:25:02 +0100657&psgtr {
658 status = "okay";
Michal Simek9697c3b2021-05-31 09:56:58 +0200659 /* nc, nc, usb3, sata */
660 clocks = <&si5341 0 2>, <&si5341 0 3>;
661 clock-names = "ref2", "ref3";
Michal Simek958c0e92020-11-26 14:25:02 +0100662};
663
Michal Simek31e83022019-11-25 08:38:25 +0100664&rtc {
665 status = "okay";
666};
667
668&sata {
669 status = "okay";
670 /* SATA OOB timing settings */
671 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
672 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
673 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
674 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
675 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
676 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
677 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
678 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
Michal Simekfe8cb0c2021-05-10 14:55:34 +0200679 phy-names = "sata-phy";
Michal Simek958c0e92020-11-26 14:25:02 +0100680 phys = <&psgtr 3 PHY_TYPE_SATA 1 3>;
Michal Simek31e83022019-11-25 08:38:25 +0100681};
682
683/* SD1 with level shifter */
684&sdhci1 {
685 status = "okay";
686 disable-wp;
Manish Naranie2ba0932020-02-13 23:37:30 -0700687 /*
688 * This property should be removed for supporting UHS mode
689 */
690 no-1-8-v;
Michal Simek3b662642020-07-22 17:42:43 +0200691 xlnx,mio-bank = <1>;
Michal Simek31e83022019-11-25 08:38:25 +0100692};
693
Michal Simek31e83022019-11-25 08:38:25 +0100694&uart0 {
695 status = "okay";
696};
697
698/* ULPI SMSC USB3320 */
699&usb0 {
700 status = "okay";
Manish Naranif3c63382021-07-14 06:17:19 -0600701 phy-names = "usb3-phy";
702 phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
Michal Simek31e83022019-11-25 08:38:25 +0100703};
704
705&dwc3_0 {
706 status = "okay";
707 dr_mode = "host";
708 snps,usb3_lpm_capable;
Michal Simekeb4b55c2021-05-31 17:51:58 +0200709 maximum-speed = "super-speed";
Michal Simek31e83022019-11-25 08:38:25 +0100710};