1 // SPDX-License-Identifier: GPL-2.0+
3 * dts file for Xilinx ZynqMP ZCU216
5 * (C) Copyright 2017 - 2021, Xilinx, Inc.
7 * Michal Simek <michal.simek@xilinx.com>
12 #include "zynqmp.dtsi"
13 #include "zynqmp-clk-ccf.dtsi"
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
17 #include <dt-bindings/phy/phy.h>
20 model = "ZynqMP ZCU216 RevA";
21 compatible = "xlnx,zynqmp-zcu216-revA", "xlnx,zynqmp-zcu216", "xlnx,zynqmp";
37 bootargs = "earlycon";
38 stdout-path = "serial0:115200n8";
42 device_type = "memory";
43 reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
47 compatible = "gpio-keys";
51 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
52 linux,code = <KEY_DOWN>;
59 compatible = "gpio-leds";
62 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
63 linux,default-trigger = "heartbeat";
68 compatible = "iio-hwmon";
69 io-channels = <&vccint 0>, <&vccint 1>, <&vccint 2>, <&vccint 3>;
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>;
76 compatible = "iio-hwmon";
77 io-channels = <&vcc1v8 0>, <&vcc1v8 1>, <&vcc1v8 2>, <&vcc1v8 3>;
80 compatible = "iio-hwmon";
81 io-channels = <&vcc1v2 0>, <&vcc1v2 1>, <&vcc1v2 2>, <&vcc1v2 3>;
84 compatible = "iio-hwmon";
85 io-channels = <&vadj_fmc 0>, <&vadj_fmc 1>, <&vadj_fmc 2>, <&vadj_fmc 3>;
88 compatible = "iio-hwmon";
89 io-channels = <&mgtavcc 0>, <&mgtavcc 1>, <&mgtavcc 2>, <&mgtavcc 3>;
92 compatible = "iio-hwmon";
93 io-channels = <&mgt1v2 0>, <&mgt1v2 1>, <&mgt1v2 2>, <&mgt1v2 3>;
96 compatible = "iio-hwmon";
97 io-channels = <&mgt1v8 0>, <&mgt1v8 1>, <&mgt1v8 2>, <&mgt1v8 3>;
100 compatible = "iio-hwmon";
101 io-channels = <&vccint_ams 0>, <&vccint_ams 1>, <&vccint_ams 2>, <&vccint_ams 3>;
104 compatible = "iio-hwmon";
105 io-channels = <&dac_avtt 0>, <&dac_avtt 1>, <&dac_avtt 2>, <&dac_avtt 3>;
108 compatible = "iio-hwmon";
109 io-channels = <&dac_avccaux 0>, <&dac_avccaux 1>, <&dac_avccaux 2>, <&dac_avccaux 3>;
112 compatible = "iio-hwmon";
113 io-channels = <&adc_avcc 0>, <&adc_avcc 1>, <&adc_avcc 2>, <&adc_avcc 3>;
116 compatible = "iio-hwmon";
117 io-channels = <&adc_avccaux 0>, <&adc_avccaux 1>, <&adc_avccaux 2>, <&adc_avccaux 3>;
120 compatible = "iio-hwmon";
121 io-channels = <&dac_avcc 0>, <&dac_avcc 1>, <&dac_avcc 2>, <&dac_avcc 3>;
124 /* 48MHz reference crystal */
126 compatible = "fixed-clock";
128 clock-frequency = <48000000>;
134 /* nc, nc, usb3, sata */
135 clocks = <&si5341 0 2>, <&si5341 0 3>;
136 clock-names = "ref2", "ref3";
177 phy-handle = <&phy0>;
178 phy-mode = "rgmii-id";
179 phy0: ethernet-phy@c {
181 ti,rx-internal-delay = <0x8>;
182 ti,tx-internal-delay = <0xa>;
183 ti,fifo-depth = <0x1>;
184 ti,dp83867-rxctrl-strap-quirk;
190 gpio-line-names = "QSPI_LWR_CLK", "QSPI_LWR_DQ1", "QSPI_LWR_DQ2", "QSPI_LWR_DQ3", "QSPI_LWR_DQ0", /* 0 - 4 */
191 "QSPI_LWR_CS_B", "", "QSPI_UPR_CS_B", "QSPI_UPR_DQ0", "QSPI_UPR_DQ1", /* 5 - 9 */
192 "QSPI_UPR_DQ2", "QSPI_UPR_DQ3", "QSPI_UPR_CLK", "PS_GPIO2", "I2C0_SCL", /* 10 - 14 */
193 "I2C0_SDA", "I2C1_SCL", "I2C1_SDA", "UART0_TXD", "UART0_RXD", /* 15 - 19 */
194 "", "", "BUTTON", "LED", "", /* 20 - 24 */
195 "", "PMU_INPUT", "", "", "", /* 25 - 29 */
196 "", "", "PMU_GPO0", "PMU_GPO1", "PMU_GPO2", /* 30 - 34 */
197 "PMU_GPO3", "PMU_GPO4", "PMU_GPO5", "PS_GPIO1", "SDIO_SEL", /* 35 - 39 */
198 "SDIO_DIR_CMD", "SDIO_DIR_DAT0", "SDIO_DIR_DAT1", "", "", /* 40 - 44 */
199 "SDIO_DETECT", "SDIO_DAT0", "SDIO_DAT1", "SDIO_DAT2", "SDIO_DAT3", /* 45 - 49 */
200 "SDIO_CMD", "SDIO_CLK", "USB_CLK", "USB_DIR", "USB_DATA2", /* 50 - 54 */
201 "USB_NXT", "USB_DATA0", "USB_DATA1", "USB_STP", "USB_DATA3", /* 55 - 59 */
202 "USB_DATA4", "USB_DATA5", "USB_DATA6", "USB_DATA7", "ENET_TX_CLK", /* 60 - 64 */
203 "ENET_TX_D0", "ENET_TX_D1", "ENET_TX_D2", "ENET_TX_D3", "ENET_TX_CTRL", /* 65 - 69 */
204 "ENET_RX_CLK", "ENET_RX_D0", "ENET_RX_D1", "ENET_RX_D2", "ENET_RX_D3", /* 70 - 74 */
205 "ENET_RX_CTRL", "ENET_MDC", "ENET_MDIO", /* 75 - 77, MIO end and EMIO start */
206 "", "", /* 78 - 79 */
207 "", "", "", "", "", /* 80 - 84 */
208 "", "", "", "", "", /* 85 -89 */
209 "", "", "", "", "", /* 90 - 94 */
210 "", "", "", "", "", /* 95 - 99 */
211 "", "", "", "", "", /* 100 - 104 */
212 "", "", "", "", "", /* 105 - 109 */
213 "", "", "", "", "", /* 110 - 114 */
214 "", "", "", "", "", /* 115 - 119 */
215 "", "", "", "", "", /* 120 - 124 */
216 "", "", "", "", "", /* 125 - 129 */
217 "", "", "", "", "", /* 130 - 134 */
218 "", "", "", "", "", /* 135 - 139 */
219 "", "", "", "", "", /* 140 - 144 */
220 "", "", "", "", "", /* 145 - 149 */
221 "", "", "", "", "", /* 150 - 154 */
222 "", "", "", "", "", /* 155 - 159 */
223 "", "", "", "", "", /* 160 - 164 */
224 "", "", "", "", "", /* 165 - 169 */
225 "", "", "", ""; /* 170 - 174 */
234 clock-frequency = <400000>;
235 pinctrl-names = "default", "gpio";
236 pinctrl-0 = <&pinctrl_i2c0_default>;
237 pinctrl-1 = <&pinctrl_i2c0_gpio>;
238 scl-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
239 sda-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
241 tca6416_u15: gpio@20 { /* u15 */
242 compatible = "ti,tca6416";
244 gpio-controller; /* interrupt not connected */
246 gpio-line-names = "MAX6643_OT_B", "MAX6643_FANFAIL_B", "MIO26_PMU_INPUT_LS", "", /* 0 - 3 */
247 "", "IIC_MUX_RESET_B", "GEM3_EXP_RESET_B", "MAX6643_FULL_SPEED", /* 4 - 7 */
248 "FMCP_HSPC_PRSNT_M2C_B", "", "", "VCCINT_VRHOT_B", /* 10 - 13 */
249 "", "8A34001_EXP_RST_B", "IRPS5401_ALERT_B", "INA226_PMBUS_ALERT"; /* 14 - 17 */
252 i2c-mux@75 { /* u17 */
253 compatible = "nxp,pca9544";
254 #address-cells = <1>;
258 #address-cells = <1>;
262 /* PMBUS_ALERT done via pca9544 */
263 vccint: ina226@40 { /* u65 */
264 compatible = "ti,ina226";
265 #io-channel-cells = <1>;
266 label = "ina226-vccint";
268 shunt-resistor = <5000>;
270 vccint_io_bram_ps: ina226@41 { /* u57 */
271 compatible = "ti,ina226";
272 #io-channel-cells = <1>;
273 label = "ina226-vccint-io-bram-ps";
275 shunt-resistor = <5000>;
277 vcc1v8: ina226@42 { /* u60 */
278 compatible = "ti,ina226";
279 #io-channel-cells = <1>;
280 label = "ina226-vcc1v8";
282 shunt-resistor = <2000>;
284 vcc1v2: ina226@43 { /* u58 */
285 compatible = "ti,ina226";
286 #io-channel-cells = <1>;
287 label = "ina226-vcc1v2";
289 shunt-resistor = <5000>;
291 vadj_fmc: ina226@45 { /* u62 */
292 compatible = "ti,ina226";
293 #io-channel-cells = <1>;
294 label = "ina226-vadj-fmc";
296 shunt-resistor = <5000>;
298 mgtavcc: ina226@46 { /* u67 */
299 compatible = "ti,ina226";
300 #io-channel-cells = <1>;
301 label = "ina226-mgtavcc";
303 shunt-resistor = <2000>;
305 mgt1v2: ina226@47 { /* u63 */
306 compatible = "ti,ina226";
307 #io-channel-cells = <1>;
308 label = "ina226-mgt1v2";
310 shunt-resistor = <5000>;
312 mgt1v8: ina226@48 { /* u64 */
313 compatible = "ti,ina226";
314 #io-channel-cells = <1>;
315 label = "ina226-mgt1v8";
317 shunt-resistor = <5000>;
319 vccint_ams: ina226@49 { /* u61 */
320 compatible = "ti,ina226";
321 #io-channel-cells = <1>;
322 label = "ina226-vccint-ams";
324 shunt-resistor = <5000>;
326 dac_avtt: ina226@4a { /* u59 */
327 compatible = "ti,ina226";
328 #io-channel-cells = <1>;
329 label = "ina226-dac-avtt";
331 shunt-resistor = <5000>;
333 dac_avccaux: ina226@4b { /* u124 */
334 compatible = "ti,ina226";
335 #io-channel-cells = <1>;
336 label = "ina226-dac-avccaux";
338 shunt-resistor = <5000>;
340 adc_avcc: ina226@4c { /* u75 */
341 compatible = "ti,ina226";
342 #io-channel-cells = <1>;
343 label = "ina226-adc-avcc";
345 shunt-resistor = <5000>;
347 adc_avccaux: ina226@4d { /* u71 */
348 compatible = "ti,ina226";
349 #io-channel-cells = <1>;
350 label = "ina226-adc-avccaux";
352 shunt-resistor = <5000>;
354 dac_avcc: ina226@4e { /* u77 */
355 compatible = "ti,ina226";
356 #io-channel-cells = <1>;
357 label = "ina226-dac-avcc";
359 shunt-resistor = <5000>;
363 #address-cells = <1>;
369 #address-cells = <1>;
372 /* u104 - ir35215 0x10/0x40 */
373 /* u127 - ir38164 0x1b/0x4b */
374 /* u112 - ir38164 0x13/0x43 */
375 /* u123 - ir38164 0x1c/0x4c */
377 irps5401_44: irps5401@44 { /* IRPS5401 - u53 */
378 compatible = "infineon,irps5401";
379 reg = <0x44>; /* i2c addr 0x14 */
381 irps5401_45: irps5401@45 { /* IRPS5401 - u55 */
382 compatible = "infineon,irps5401";
383 reg = <0x45>; /* i2c addr 0x15 */
389 #address-cells = <1>;
400 clock-frequency = <400000>;
401 pinctrl-names = "default", "gpio";
402 pinctrl-0 = <&pinctrl_i2c1_default>;
403 pinctrl-1 = <&pinctrl_i2c1_gpio>;
404 scl-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
405 sda-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
408 compatible = "nxp,pca9548"; /* u20 */
409 #address-cells = <1>;
412 i2c-mux-idle-disconnect;
413 /* FIXME reset-gpios = <&tca6416_u15 SYSCTLR_IIC_MUX0_RESET_B GPIO_ACTIVE_HIGH>; */
415 #address-cells = <1>;
419 * IIC_EEPROM 1kB memory which uses 256B blocks
420 * where every block has different address.
421 * 0 - 256B address 0x54
422 * 256B - 512B address 0x55
423 * 512B - 768B address 0x56
424 * 768B - 1024B address 0x57
426 eeprom: eeprom@54 { /* u21 */
427 compatible = "atmel,24c128";
432 #address-cells = <1>;
435 si5341: clock-generator@36 { /* SI5341 - u43 */
436 compatible = "silabs,si5341";
439 #address-cells = <1>;
442 clock-names = "xtal";
443 clock-output-names = "si5341";
446 /* refclk2 for PS-GT, used for USB3 */
451 /* refclk3 for PS-GT, used for SATA */
456 /* refclk5 PL CLK100 */
461 /* refclk6 PL CLK125 */
466 /* refclk9 used for PS_REF_CLK 33.3 MHz */
472 i2c_si570_user_c0: i2c@2 {
473 #address-cells = <1>;
476 si570_1: clock-generator@5d { /* USER C0 SI570 - u47 */
478 compatible = "silabs,si570";
480 temperature-stability = <50>;
481 factory-fout = <300000000>;
482 clock-frequency = <300000000>;
483 clock-output-names = "si570_user_c0";
486 i2c_si570_mgt: i2c@3 {
487 #address-cells = <1>;
490 si570_2: clock-generator@5d { /* USER MGT SI570 - u48 */
492 compatible = "silabs,si570";
494 temperature-stability = <50>;
495 factory-fout = <156250000>;
496 clock-frequency = <148500000>;
497 clock-output-names = "si570_mgt";
501 #address-cells = <1>;
504 idt_8a34001: phc@5b {
505 compatible = "idt,8a34001"; /* u409B */
510 #address-cells = <1>;
516 #address-cells = <1>;
519 /* RFMCP connector */
525 compatible = "nxp,pca9548"; /* u22 */
526 #address-cells = <1>;
529 i2c-mux-idle-disconnect;
530 /* FIXME reset-gpios = <&tca6416_u15 SYSCTLR_IIC_MUX0_RESET_B GPIO_ACTIVE_HIGH>; */
532 #address-cells = <1>;
537 i2c_si570_user_c1: i2c@1 {
538 #address-cells = <1>;
541 si570_3: clock-generator@5d { /* USER C1 SI570 - u130 */
543 compatible = "silabs,si570";
545 temperature-stability = <50>;
546 factory-fout = <300000000>;
547 clock-frequency = <300000000>;
548 clock-output-names = "si570_user_c1";
552 #address-cells = <1>;
558 #address-cells = <1>;
564 #address-cells = <1>;
570 #address-cells = <1>;
576 #address-cells = <1>;
582 #address-cells = <1>;
593 pinctrl_i2c0_default: i2c0-default {
595 groups = "i2c0_3_grp";
600 groups = "i2c0_3_grp";
602 slew-rate = <SLEW_RATE_SLOW>;
603 power-source = <IO_STANDARD_LVCMOS18>;
607 pinctrl_i2c0_gpio: i2c0-gpio {
609 groups = "gpio0_14_grp", "gpio0_15_grp";
614 groups = "gpio0_14_grp", "gpio0_15_grp";
615 slew-rate = <SLEW_RATE_SLOW>;
616 power-source = <IO_STANDARD_LVCMOS18>;
620 pinctrl_i2c1_default: i2c1-default {
622 groups = "i2c1_4_grp";
627 groups = "i2c1_4_grp";
629 slew-rate = <SLEW_RATE_SLOW>;
630 power-source = <IO_STANDARD_LVCMOS18>;
634 pinctrl_i2c1_gpio: i2c1-gpio {
636 groups = "gpio0_16_grp", "gpio0_17_grp";
641 groups = "gpio0_16_grp", "gpio0_17_grp";
642 slew-rate = <SLEW_RATE_SLOW>;
643 power-source = <IO_STANDARD_LVCMOS18>;
652 compatible = "m25p80", "jedec,spi-nor"; /* U11 and U12 MT25QU02GCBBE12 1Gb */
653 #address-cells = <1>;
656 spi-tx-bus-width = <1>;
657 spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
658 spi-max-frequency = <108000000>; /* Based on DC1 spec */
668 /* SATA OOB timing settings */
669 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
670 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
671 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
672 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
673 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
674 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
675 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
676 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
677 phy-names = "sata-phy";
678 phys = <&psgtr 3 PHY_TYPE_SATA 1 3>;
681 /* SD1 with level shifter */
686 * This property should be removed for supporting UHS mode
696 /* ULPI SMSC USB3320 */
704 snps,usb3_lpm_capable;
705 phy-names = "usb3-phy";
706 phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
707 maximum-speed = "super-speed";