1 // SPDX-License-Identifier: GPL-2.0
3 * dts file for Xilinx Versal a2197 RevA System Controller
5 * (C) Copyright 2019, Xilinx, Inc.
7 * Michal Simek <michal.simek@xilinx.com>
11 #include "zynqmp.dtsi"
12 #include "zynqmp-clk-ccf.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/phy/phy.h>
17 model = "Versal System Controller on a2197 Eval board RevA"; /* VCK190/VMK180 */
18 compatible = "xlnx,zynqmp-e-a2197-00-revA", "xlnx,zynqmp-a2197-revA",
19 "xlnx,zynqmp-a2197", "xlnx,zynqmp";
33 bootargs = "earlycon";
34 stdout-path = "serial0:115200n8";
35 xlnx,eeprom = <&eeprom>;
39 device_type = "memory";
40 reg = <0x0 0x0 0x0 0x80000000>;
44 compatible = "iio-hwmon";
45 io-channels = <&vccint 0>, <&vccint 1>, <&vccint 2>, <&vccint 3>;
48 compatible = "iio-hwmon";
49 io-channels = <&vcc_soc 0>, <&vcc_soc 1>, <&vcc_soc 2>, <&vcc_soc 3>;
52 compatible = "iio-hwmon";
53 io-channels = <&vcc_pmc 0>, <&vcc_pmc 1>, <&vcc_pmc 2>, <&vcc_pmc 3>;
56 compatible = "iio-hwmon";
57 io-channels = <&vcc_ram 0>, <&vcc_ram 1>, <&vcc_ram 2>, <&vcc_ram 3>;
60 compatible = "iio-hwmon";
61 io-channels = <&vcc_pslp 0>, <&vcc_pslp 1>, <&vcc_pslp 2>, <&vcc_pslp 3>;
64 compatible = "iio-hwmon";
65 io-channels = <&vcc_psfp 0>, <&vcc_psfp 1>, <&vcc_psfp 2>, <&vcc_psfp 3>;
68 compatible = "iio-hwmon";
69 io-channels = <&vccaux 0>, <&vccaux 1>, <&vccaux 2>, <&vccaux 3>;
72 compatible = "iio-hwmon";
73 io-channels = <&vccaux_pmc 0>, <&vccaux_pmc 1>, <&vccaux_pmc 2>, <&vccaux_pmc 3>;
76 compatible = "iio-hwmon";
77 io-channels = <&vcco_500 0>, <&vcco_500 1>, <&vcco_500 2>, <&vcco_500 3>;
80 compatible = "iio-hwmon";
81 io-channels = <&vcco_501 0>, <&vcco_501 1>, <&vcco_501 2>, <&vcco_501 3>;
84 compatible = "iio-hwmon";
85 io-channels = <&vcco_502 0>, <&vcco_502 1>, <&vcco_502 2>, <&vcco_502 3>;
88 compatible = "iio-hwmon";
89 io-channels = <&vcco_503 0>, <&vcco_503 1>, <&vcco_503 2>, <&vcco_503 3>;
92 compatible = "iio-hwmon";
93 io-channels = <&vcc_1v8 0>, <&vcc_1v8 1>, <&vcc_1v8 2>, <&vcc_1v8 3>;
96 compatible = "iio-hwmon";
97 io-channels = <&vcc_3v3 0>, <&vcc_3v3 1>, <&vcc_3v3 2>, <&vcc_3v3 3>;
100 compatible = "iio-hwmon";
101 io-channels = <&vcc_1v2_ddr4 0>, <&vcc_1v2_ddr4 1>, <&vcc_1v2_ddr4 2>, <&vcc_1v2_ddr4 3>;
104 compatible = "iio-hwmon";
105 io-channels = <&vcc1v1_lp4 0>, <&vcc1v1_lp4 1>, <&vcc1v1_lp4 2>, <&vcc1v1_lp4 3>;
108 compatible = "iio-hwmon";
109 io-channels = <&vadj_fmc 0>, <&vadj_fmc 1>, <&vadj_fmc 2>, <&vadj_fmc 3>;
112 compatible = "iio-hwmon";
113 io-channels = <&mgtyavcc 0>, <&mgtyavcc 1>, <&mgtyavcc 2>, <&mgtyavcc 3>;
116 compatible = "iio-hwmon";
117 io-channels = <&mgtyavtt 0>, <&mgtyavtt 1>, <&mgtyavtt 2>, <&mgtyavtt 3>;
120 compatible = "iio-hwmon";
121 io-channels = <&mgtyvccaux 0>, <&mgtyvccaux 1>, <&mgtyvccaux 2>, <&mgtyvccaux 3>;
125 &uart0 { /* uart0 MIO38-39 */
130 &sdhci1 { /* sd1 MIO45-51 cd in place */
139 phy-handle = <&phy0>;
142 phy0: ethernet-phy@0 { /* u131 M88E1512 */
149 gpio-line-names = "", "", "", "", "", /* 0 - 4 */
150 "", "", "DC_SYS_CTRL0", "DC_SYS_CTRL1", "DC_SYS_CTRL2", /* 5 - 9 */
151 "DC_SYS_CTRL3", "ZU4_TRIGGER", "SYSCTLR_PB", "", "", /* 10 - 14 */
152 "", "", "", "", "", /* 15 - 19 */
153 "", "", "", "", "", /* 20 - 24 */
154 "", "", "", "", "", /* 25 - 29 */
155 "", "", "", "", "LP_I2C0_PMC_SCL", /* 30 - 34 */
156 "LP_I2C0_PMC_SDA", "LP_I2C1_SCL", "LP_I2C1_SDA", "UART0_RXD_IN", "UART0_TXD_OUT", /* 35 - 39 */
157 "", "", "ETH_RESET_B", "", "", /* 40 - 44 */
158 "SD1_CD_B", "SD1_DATA0", "SD1_DATA1", "SD1_DATA2", "SD1_DATA3", /* 45 - 49 */
159 "SD1_CMD", "SD1_CLK", "", "", "", /* 50 - 54 */
160 "", "", "", "", "", /* 55 - 59 */
161 "", "", "", "", "", /* 60 - 64 */
162 "", "", "", "", "", /* 65 - 69 */
163 "", "", "", "", "", /* 70 - 74 */
164 "", "ETH_MDC", "ETH_MDIO", /* 75 - 77, MIO end and EMIO start */
165 "SYSCTLR_VERSAL_MODE0", "SYSCTLR_VERSAL_MODE1", /* 78 - 79 */
166 "SYSCTLR_VERSAL_MODE2", "SYSCTLR_VERSAL_MODE3", "SYSCTLR_POR_B_LS", "", "", /* 80 - 84 */
167 "", "", "", "", "", /* 85 - 89 */
168 "", "", "", "", "", /* 90 - 94 */
169 "", "", "", "", "", /* 95 - 99 */
170 "", "", "", "", "", /* 100 - 104 */
171 "", "", "", "", "", /* 105 - 109 */
172 "", "", "", "", "", /* 110 - 114 */
173 "", "", "", "", "", /* 115 - 119 */
174 "", "", "", "", "", /* 120 - 124 */
175 "", "", "", "", "", /* 125 - 129 */
176 "", "", "", "", "", /* 130 - 134 */
177 "", "", "", "", "", /* 135 - 139 */
178 "", "", "", "", "", /* 140 - 144 */
179 "", "", "", "", "", /* 145 - 149 */
180 "", "", "", "", "", /* 150 - 154 */
181 "", "", "", "", "", /* 155 - 159 */
182 "", "", "", "", "", /* 160 - 164 */
183 "", "", "", "", "", /* 165 - 169 */
184 "", "", "", ""; /* 170 - 174 */
187 &i2c0 { /* MIO 34-35 - can't stay here */
189 clock-frequency = <400000>;
190 i2c-mux@74 { /* u33 */
191 compatible = "nxp,pca9548";
192 #address-cells = <1>;
195 /* reset-gpios = <&gpio SYSCTLR_IIC_MUX0_RESET_B GPIO_ACTIVE_HIGH>; */
197 #address-cells = <1>;
200 /* u152 IR35215 0x16/0x46 vcc_soc */
201 /* u179 ir38164 0x19/0x49 vcco_500 */
202 /* u181 ir38164 0x1a/0x4a vcco_501 */
203 /* u183 ir38164 0x1b/0x4b vcco_502 */
204 /* u185 ir38164 0x1e/0x4e vadj_fmc */
205 /* u187 ir38164 0x1F/0x4f mgtyavcc */
206 /* u189 ir38164 0x20/0x50 mgtyavtt */
207 /* u194 ir38164 0x13/0x43 vdd1_1v8_lp4 */
208 /* u195 ir38164 0x14/0x44 vdd2_1v8_lp4 */
210 irps5401_47: irps5401@47 { /* IRPS5401 - u160 */
211 compatible = "infineon,irps5401";
212 reg = <0x47>; /* pmbus / i2c 0x17 */
214 irps5401_4c: irps5401@4c { /* IRPS5401 - u167 */
215 compatible = "infineon,irps5401";
216 reg = <0x4c>; /* pmbus / i2c 0x1c */
218 irps5401_4d: irps5401@4d { /* IRPS5401 - u175 */
219 compatible = "infineon,irps5401";
220 reg = <0x4d>; /* pmbus / i2c 0x1d */
223 i2c@1 { /* PMBUS1_INA226 */
224 #address-cells = <1>;
227 /* FIXME check alerts coming to SC */
228 vccint: ina226@40 { /* u65 */
229 compatible = "ti,ina226";
230 #io-channel-cells = <1>;
231 label = "ina226-vccint";
233 shunt-resistor = <5000>; /* R440 */
234 /* 0.78V @ 32A 1 of 6 Phases*/
236 vcc_soc: ina226@41 { /* u161 */
237 compatible = "ti,ina226";
238 #io-channel-cells = <1>;
239 label = "ina226-vcc-soc";
241 shunt-resistor = <2000>; /* R1186 */
244 vcc_pmc: ina226@42 { /* u163 */
245 compatible = "ti,ina226";
246 #io-channel-cells = <1>;
247 label = "ina226-vcc-pmc";
249 shunt-resistor = <5000>; /* R1214 */
252 vcc_ram: ina226@43 { /* u162 */
253 compatible = "ti,ina226";
254 #io-channel-cells = <1>;
255 label = "ina226-vcc-ram";
257 shunt-resistor = <5000>; /* r1221 */
260 vcc_pslp: ina226@44 { /* u165 */
261 compatible = "ti,ina226";
262 #io-channel-cells = <1>;
263 label = "ina226-vcc-pslp";
265 shunt-resistor = <5000>; /* R1216 */
268 vcc_psfp: ina226@45 { /* u164 */
269 compatible = "ti,ina226";
270 #io-channel-cells = <1>;
271 label = "ina226-vcc-psfp";
273 shunt-resistor = <5000>; /* R1219 */
277 i2c@2 { /* PCIE_CLK */
278 #address-cells = <1>;
281 clock_8t49n287: clock-generator@d8 { /* u39 8T49N240 */
282 #clock-cells = <1>; /* author David Cater <david.cater@idt.com>*/
283 compatible = "idt,8t49n240", "idt,8t49n241"; /* FIXME no driver for 240 */
285 /* Documentation/devicetree/bindings/clock/idt,idt8t49n24x.txt */
286 /* FIXME there input via J241 Samtec CLK1 and CLK0 from U38 - selection PIN */
289 i2c@3 { /* PMBUS2_INA226 */
290 #address-cells = <1>;
293 /* FIXME check alerts coming to SC */
294 vccaux: ina226@40 { /* u166 */
295 compatible = "ti,ina226";
296 #io-channel-cells = <1>;
297 label = "ina226-vccaux";
299 shunt-resistor = <5000>; /* R382 */
302 vccaux_pmc: ina226@41 { /* u168 */
303 compatible = "ti,ina226";
304 #io-channel-cells = <1>;
305 label = "ina226-vccaux-pmc";
307 shunt-resistor = <5000>; /* R1246 */
310 vcco_500: ina226@42 { /* u178 */
311 compatible = "ti,ina226";
312 #io-channel-cells = <1>;
313 label = "ina226-vcco-500";
315 shunt-resistor = <2000>; /* R1300 */
318 vcco_501: ina226@43 { /* u180 */
319 compatible = "ti,ina226";
320 #io-channel-cells = <1>;
321 label = "ina226-vcco-501";
323 shunt-resistor = <2000>; /* R1313 */
326 vcco_502: ina226@44 { /* u182 */
327 compatible = "ti,ina226";
328 #io-channel-cells = <1>;
329 label = "ina226-vcco-502";
331 shunt-resistor = <2000>; /* R1330 */
334 vcco_503: ina226@45 { /* u172 */
335 compatible = "ti,ina226";
336 #io-channel-cells = <1>;
337 label = "ina226-vcco-503";
339 shunt-resistor = <5000>; /* R1229 */
342 vcc_1v8: ina226@46 { /* u173 */
343 compatible = "ti,ina226";
344 #io-channel-cells = <1>;
345 label = "ina226-vcc-1v8";
347 shunt-resistor = <5000>; /* R400 */
350 vcc_3v3: ina226@47 { /* u174 */
351 compatible = "ti,ina226";
352 #io-channel-cells = <1>;
353 label = "ina226-vcc-3v3";
355 shunt-resistor = <5000>; /* R1232 */
358 vcc_1v2_ddr4: ina226@48 { /* u176 */
359 compatible = "ti,ina226";
360 #io-channel-cells = <1>;
361 label = "ina226-vcc-1v2-ddr4";
363 shunt-resistor = <5000>; /* R1275 */
366 vcc1v1_lp4: ina226@49 { /* u177 */
367 compatible = "ti,ina226";
368 #io-channel-cells = <1>;
369 label = "ina226-vcc1v1-lp4";
371 shunt-resistor = <5000>; /* R1286 */
374 vadj_fmc: ina226@4a { /* u184 */
375 compatible = "ti,ina226";
376 #io-channel-cells = <1>;
377 label = "ina226-vadj-fmc";
379 shunt-resistor = <2000>; /* R1350 */
382 mgtyavcc: ina226@4b { /* u186 */
383 compatible = "ti,ina226";
384 #io-channel-cells = <1>;
385 label = "ina226-mgtyavcc";
387 shunt-resistor = <2000>; /* R1367 */
390 mgtyavtt: ina226@4c { /* u188 */
391 compatible = "ti,ina226";
392 #io-channel-cells = <1>;
393 label = "ina226-mgtyavtt";
395 shunt-resistor = <2000>; /* R1384 */
398 mgtyvccaux: ina226@4d { /* u234 */
399 compatible = "ti,ina226";
400 #io-channel-cells = <1>;
401 label = "ina226-mgtyvccaux";
403 shunt-resistor = <5000>; /* r1679 */
407 i2c@4 { /* LP_I2C_SM */
408 #address-cells = <1>;
411 /* FIXME wires ready but chip is missing */
413 i2c@5 { /* zSFP_SI570 */
414 #address-cells = <1>;
417 si570_zsfp: clock-generator@5d { /* u192 */
419 compatible = "silabs,si570";
421 temperature-stability = <50>;
422 factory-fout = <156250000>;
423 clock-frequency = <156250000>;
424 clock-output-names = "si570_hsdp_clk";
427 i2c@6 { /* USER_SI570_1 */
428 #address-cells = <1>;
431 si570_user1_clk: clock-generator@5d { /* u205 */
433 compatible = "silabs,si570";
435 temperature-stability = <50>;
436 factory-fout = <100000000>;
437 clock-frequency = <100000000>;
438 clock-output-names = "si570_user1";
442 i2c@7 { /* USER_SI570_2 */
443 #address-cells = <1>;
446 /* FIXME wires ready but chip is missing */
451 &i2c1 { /* i2c1 MIO 36-37 */
453 clock-frequency = <400000>;
455 i2c-mux@74 { /* u35 */
456 compatible = "nxp,pca9548";
457 #address-cells = <1>;
460 /* reset-gpios = <&gpio SYSCTLR_IIC_MUX1_RESET_B GPIO_ACTIVE_HIGH>; */
461 dc_i2c: i2c@0 { /* DC_I2C */
462 #address-cells = <1>;
465 /* Use for storing information about SC board */
466 eeprom: eeprom@54 { /* u34 - m24128 16kB */
467 compatible = "st,24c128", "atmel,24c128";
468 reg = <0x54>; /* 0x5c too */
470 si570_ref_clk: clock-generator@5d { /* u32 */
472 compatible = "silabs,si570";
474 temperature-stability = <50>;
475 factory-fout = <33333333>;
476 clock-frequency = <33333333>;
477 clock-output-names = "ref_clk";
479 /* and connector J212D */
481 fmc1: i2c@1 { /* FMCP1_IIC */
482 #address-cells = <1>;
485 /* FIXME connection to Samtec J51C */
486 /* expected eeprom 0x50 FMC cards */
488 fmc2: i2c@2 { /* FMCP2_IIC */
489 #address-cells = <1>;
492 /* FIXME connection to Samtec J53C */
493 /* expected eeprom 0x50 FMC cards */
495 i2c@3 { /* DDR4_DIMM1 */
496 #address-cells = <1>;
499 si570_ddr_dimm1: clock-generator@60 { /* u2 */
501 compatible = "silabs,si570";
503 temperature-stability = <50>;
504 factory-fout = <200000000>;
505 clock-frequency = <200000000>;
506 clock-output-names = "si570_ddrdimm1_clk";
509 i2c@4 { /* LPDDR4_SI570_CLK2 */
510 #address-cells = <1>;
513 si570_ddr_dimm2: clock-generator@60 { /* u3 */
515 compatible = "silabs,si570";
517 temperature-stability = <50>;
518 factory-fout = <200000000>;
519 clock-frequency = <200000000>;
520 clock-output-names = "si570_lpddr4_clk2";
523 i2c@5 { /* LPDDR4_SI570_CLK1 */
524 #address-cells = <1>;
527 si570_lpddr4: clock-generator@60 { /* u4 */
529 compatible = "silabs,si570";
531 temperature-stability = <50>;
532 factory-fout = <200000000>;
533 clock-frequency = <200000000>;
534 clock-output-names = "si570_lpddr4_clk1";
537 i2c@6 { /* HSDP_SI570 */
538 #address-cells = <1>;
541 si570_hsdp: clock-generator@5d { /* u5 */
543 compatible = "silabs,si570";
545 temperature-stability = <50>;
546 factory-fout = <156250000>;
547 clock-frequency = <156250000>;
548 clock-output-names = "si570_hsdp_clk";
551 i2c@7 { /* 8A34001 - U219B and J310 connector */
552 #address-cells = <1>;