Michal Simek | eaa6f3d | 2023-09-27 11:53:34 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * dts file for Xilinx ZynqMP VPK120 revB |
| 4 | * |
| 5 | * (C) Copyright 2021 - 2022, Xilinx, Inc. |
| 6 | * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. |
| 7 | * |
| 8 | * Michal Simek <michal.simek@amd.com> |
| 9 | */ |
| 10 | |
| 11 | #include <dt-bindings/gpio/gpio.h> |
| 12 | |
| 13 | /dts-v1/; |
| 14 | /plugin/; |
| 15 | |
Michal Simek | eaa6f3d | 2023-09-27 11:53:34 +0200 | [diff] [blame] | 16 | &{/} { |
| 17 | compatible = "xlnx,zynqmp-sc-vpk120-revB", "xlnx,zynqmp-vpk120-revB", |
| 18 | "xlnx,zynqmp-vpk120", "xlnx,zynqmp"; |
| 19 | }; |
| 20 | |
| 21 | &i2c0 { |
| 22 | #address-cells = <1>; |
| 23 | #size-cells = <0>; |
| 24 | |
| 25 | tca6416_u233: gpio@20 { /* u233 */ |
| 26 | compatible = "ti,tca6416"; |
| 27 | reg = <0x20>; |
| 28 | gpio-controller; /* interrupt not connected */ |
| 29 | #gpio-cells = <2>; |
| 30 | gpio-line-names = "", "", "QSFPDD1_MODSELL", "QSFPDD2_MODSELL", /* 0 - 3 */ |
| 31 | "PMBUS2_INA226_ALERT", "", "", "", /* 4 - 7 */ |
| 32 | "FMCP1_FMC_PRSNT_M2C_B", "", "FMCP1_FMCP_PRSNT_M2C_B", "", /* 10 - 13 */ |
| 33 | "VCCINT_VRHOT_B", "8A34001_EXP_RST_B", "PMBUS_ALERT", "PMBUS1_INA226_ALERT"; /* 14 - 17 */ |
| 34 | }; |
| 35 | |
| 36 | i2c-mux@74 { /* u33 */ |
| 37 | compatible = "nxp,pca9548"; |
| 38 | #address-cells = <1>; |
| 39 | #size-cells = <0>; |
| 40 | reg = <0x74>; |
| 41 | /* reset-gpios = <&gpio SYSCTLR_IIC_MUX0_RESET_B GPIO_ACTIVE_HIGH>; */ |
| 42 | pmbus_i2c: i2c@0 { |
| 43 | #address-cells = <1>; |
| 44 | #size-cells = <0>; |
| 45 | reg = <0>; |
| 46 | /* On connector J325 */ |
| 47 | ir38060_41: regulator@41 { /* IR38060 - u259 */ |
| 48 | compatible = "infineon,ir38060", "infineon,ir38064"; |
| 49 | reg = <0x41>; /* i2c addr 0x11 */ |
| 50 | }; |
| 51 | ir38164_43: regulator@43 { /* IR38164 - u13 */ |
| 52 | compatible = "infineon,ir38164"; |
| 53 | reg = <0x43>; /* i2c addr 0x13 */ |
| 54 | }; |
| 55 | ir35221_46: pmic@46 { /* IR35221 - u152 */ |
| 56 | compatible = "infineon,ir35221"; |
| 57 | reg = <0x46>; /* i2c addr - 0x16 */ |
| 58 | }; |
| 59 | irps5401_47: pmic5401@47 { /* IRPS5401 - u160 */ |
| 60 | compatible = "infineon,irps5401"; |
| 61 | reg = <0x47>; /* i2c addr 0x17 */ |
| 62 | }; |
| 63 | ir38164_49: regulator@49 { /* IR38164 - u189 */ |
| 64 | compatible = "infineon,ir38164"; |
| 65 | reg = <0x49>; /* i2c addr 0x19 */ |
| 66 | }; |
| 67 | irps5401_4c: pmic@4c { /* IRPS5401 - u167 */ |
| 68 | compatible = "infineon,irps5401"; |
| 69 | reg = <0x4c>; /* i2c addr 0x1c */ |
| 70 | }; |
| 71 | irps5401_4d: pmic@4d { /* IRPS5401 - u175 */ |
| 72 | compatible = "infineon,irps5401"; |
| 73 | reg = <0x4d>; /* i2c addr 0x1d */ |
| 74 | }; |
| 75 | ir38164_4e: regulator@4e { /* IR38164 - u185 */ |
| 76 | compatible = "infineon,ir38164"; |
| 77 | reg = <0x4e>; /* i2c addr 0x1e */ |
| 78 | }; |
| 79 | ir38164_4f: regulator@4f { /* IR38164 - u187 */ |
| 80 | compatible = "infineon,ir38164"; |
| 81 | reg = <0x4f>; /* i2c addr 0x1f */ |
| 82 | }; |
| 83 | }; |
| 84 | pmbus1_ina226_i2c: i2c@1 { |
| 85 | #address-cells = <1>; |
| 86 | #size-cells = <0>; |
| 87 | reg = <1>; |
| 88 | /* FIXME check alerts coming to SC */ |
| 89 | vccint: ina226@40 { /* u65 */ |
| 90 | compatible = "ti,ina226"; |
| 91 | reg = <0x40>; |
| 92 | shunt-resistor = <5000>; |
| 93 | }; |
| 94 | vcc_soc: ina226@41 { /* u161 */ |
| 95 | compatible = "ti,ina226"; |
| 96 | reg = <0x41>; |
| 97 | shunt-resistor = <5000>; |
| 98 | }; |
| 99 | vcc_pmc: ina226@42 { /* u163 */ |
| 100 | compatible = "ti,ina226"; |
| 101 | reg = <0x42>; |
| 102 | shunt-resistor = <5000>; |
| 103 | }; |
| 104 | vcc_ram: ina226@43 { /* u5 */ |
| 105 | compatible = "ti,ina226"; |
| 106 | reg = <0x43>; |
| 107 | shunt-resistor = <5000>; |
| 108 | }; |
| 109 | vcc_pslp: ina226@44 { /* u165 */ |
| 110 | compatible = "ti,ina226"; |
| 111 | reg = <0x44>; |
| 112 | shunt-resistor = <5000>; |
| 113 | }; |
| 114 | vcc_psfp: ina226@45 { /* u164 */ |
| 115 | compatible = "ti,ina226"; |
| 116 | reg = <0x45>; |
| 117 | shunt-resistor = <5000>; |
| 118 | }; |
| 119 | }; |
| 120 | i2c@2 { /* NC */ /* FIXME maybe remove */ |
| 121 | #address-cells = <1>; |
| 122 | #size-cells = <0>; |
| 123 | reg = <2>; |
| 124 | }; |
| 125 | pmbus2_ina226_i2c: i2c@3 { |
| 126 | #address-cells = <1>; |
| 127 | #size-cells = <0>; |
| 128 | reg = <3>; |
| 129 | /* FIXME check alerts coming to SC */ |
| 130 | vccaux: ina226@40 { /* u166 */ |
| 131 | compatible = "ti,ina226"; |
| 132 | reg = <0x40>; |
| 133 | shunt-resistor = <5000>; |
| 134 | }; |
| 135 | vccaux_pmc: ina226@41 { /* u168 */ |
| 136 | compatible = "ti,ina226"; |
| 137 | reg = <0x41>; |
| 138 | shunt-resistor = <5000>; |
| 139 | }; |
| 140 | mgtavcc: ina226@42 { /* u265 */ |
| 141 | compatible = "ti,ina226"; |
| 142 | reg = <0x42>; |
| 143 | shunt-resistor = <5000>; |
| 144 | }; |
| 145 | vcc1v5: ina226@43 { /* u264 */ |
| 146 | compatible = "ti,ina226"; |
| 147 | reg = <0x43>; |
| 148 | shunt-resistor = <5000>; |
| 149 | }; |
| 150 | vcco_mio: ina226@45 { /* u172 */ |
| 151 | compatible = "ti,ina226"; |
| 152 | reg = <0x45>; |
| 153 | shunt-resistor = <5000>; |
| 154 | }; |
| 155 | mgtavtt: ina226@46 { /* u188 */ |
| 156 | compatible = "ti,ina226"; |
| 157 | reg = <0x46>; |
| 158 | shunt-resistor = <2000>; |
| 159 | }; |
| 160 | vcco_502: ina226@47 { /* u174 */ |
| 161 | compatible = "ti,ina226"; |
| 162 | reg = <0x47>; |
| 163 | shunt-resistor = <5000>; |
| 164 | }; |
| 165 | mgtvccaux: ina226@48 { /* u176 */ |
| 166 | compatible = "ti,ina226"; |
| 167 | reg = <0x48>; |
| 168 | shunt-resistor = <5000>; |
| 169 | }; |
| 170 | vcc1v1_lp4: ina226@49 { /* u186 */ |
| 171 | compatible = "ti,ina226"; |
| 172 | reg = <0x49>; |
| 173 | shunt-resistor = <2000>; |
| 174 | }; |
| 175 | vadj_fmc: ina226@4a { /* u184 */ |
| 176 | compatible = "ti,ina226"; |
| 177 | reg = <0x4a>; |
| 178 | shunt-resistor = <2000>; |
| 179 | }; |
| 180 | lpdmgtyavcc: ina226@4b { /* u177 */ |
| 181 | compatible = "ti,ina226"; |
| 182 | reg = <0x4b>; |
| 183 | shunt-resistor = <5000>; |
| 184 | }; |
| 185 | lpdmgtyavtt: ina226@4c { /* u260 */ |
| 186 | compatible = "ti,ina226"; |
| 187 | reg = <0x4c>; |
| 188 | shunt-resistor = <2000>; |
| 189 | }; |
| 190 | lpdmgtyvccaux: ina226@4d { /* u234 */ |
| 191 | compatible = "ti,ina226"; |
| 192 | reg = <0x4d>; |
| 193 | shunt-resistor = <5000>; |
| 194 | }; |
| 195 | }; |
| 196 | i2c@4 { /* NC */ |
| 197 | #address-cells = <1>; |
| 198 | #size-cells = <0>; |
| 199 | reg = <4>; |
| 200 | }; |
| 201 | i2c@5 { /* NC */ |
| 202 | #address-cells = <1>; |
| 203 | #size-cells = <0>; |
| 204 | reg = <5>; |
| 205 | }; |
| 206 | user_si570: i2c@6 { |
| 207 | #address-cells = <1>; |
| 208 | #size-cells = <0>; |
| 209 | reg = <6>; |
| 210 | user_si570_1: clock-generator@5f { /* USER C0 SI570 - u205 */ |
| 211 | #clock-cells = <0>; |
| 212 | compatible = "silabs,si570"; |
| 213 | reg = <0x5f>; |
| 214 | temperature-stability = <50>; |
| 215 | factory-fout = <100000000>; |
| 216 | clock-frequency = <100000000>; |
| 217 | clock-output-names = "fmc_si570"; |
| 218 | silabs,skip-recall; |
| 219 | }; |
| 220 | |
| 221 | }; |
| 222 | /* 7 unused */ |
| 223 | }; |
| 224 | }; |
| 225 | |
| 226 | &i2c1 { |
| 227 | #address-cells = <1>; |
| 228 | #size-cells = <0>; |
| 229 | |
| 230 | i2c-mux@74 { /* u35 */ |
| 231 | compatible = "nxp,pca9548"; |
| 232 | #address-cells = <1>; |
| 233 | #size-cells = <0>; |
| 234 | reg = <0x74>; |
| 235 | /* reset-gpios = <&gpio SYSCTLR_IIC_MUX1_RESET_B GPIO_ACTIVE_HIGH>; */ |
| 236 | ref_clk_i2c: i2c@0 { |
| 237 | #address-cells = <1>; |
| 238 | #size-cells = <0>; |
| 239 | reg = <0>; |
| 240 | ref_clk: clock-generator@5d { /* u32 */ |
| 241 | #clock-cells = <0>; |
| 242 | compatible = "silabs,si570"; |
| 243 | reg = <0x5d>; |
| 244 | temperature-stability = <50>; |
| 245 | factory-fout = <33333333>; |
| 246 | clock-frequency = <33333333>; |
| 247 | clock-output-names = "ref_clk"; |
| 248 | silabs,skip-recall; |
| 249 | }; |
| 250 | }; |
| 251 | fmcp1_i2c: i2c@1 { |
| 252 | #address-cells = <1>; |
| 253 | #size-cells = <0>; |
| 254 | reg = <1>; |
| 255 | /* FIXME connection to Samtec J51C */ |
| 256 | /* expected eeprom 0x50 SE cards */ |
| 257 | }; |
| 258 | i2c@2 { /* NC - FIXME */ |
| 259 | #address-cells = <1>; |
| 260 | #size-cells = <0>; |
| 261 | reg = <2>; |
| 262 | }; |
| 263 | lpddr4_si570_clk3_i2c: i2c@3 { |
| 264 | #address-cells = <1>; |
| 265 | #size-cells = <0>; |
| 266 | reg = <3>; |
| 267 | lpddr4_clk3: clock-generator@60 { /* u4 */ |
| 268 | #clock-cells = <0>; |
| 269 | compatible = "silabs,si570"; |
| 270 | reg = <0x60>; |
| 271 | temperature-stability = <50>; |
| 272 | factory-fout = <200000000>; |
| 273 | clock-frequency = <200000000>; |
| 274 | clock-output-names = "lpddr4_clk3"; |
| 275 | silabs,skip-recall; |
| 276 | }; |
| 277 | }; |
| 278 | lpddr4_si570_clk2_i2c: i2c@4 { |
| 279 | #address-cells = <1>; |
| 280 | #size-cells = <0>; |
| 281 | reg = <4>; |
| 282 | lpddr4_clk2: clock-generator@60 { /* u3 */ |
| 283 | #clock-cells = <0>; |
| 284 | compatible = "silabs,si570"; |
| 285 | reg = <0x60>; |
| 286 | temperature-stability = <50>; |
| 287 | factory-fout = <200000000>; |
| 288 | clock-frequency = <200000000>; |
| 289 | clock-output-names = "lpddr4_clk2"; |
| 290 | silabs,skip-recall; |
| 291 | }; |
| 292 | }; |
| 293 | lpddr4_si570_clk1_i2c: i2c@5 { |
| 294 | #address-cells = <1>; |
| 295 | #size-cells = <0>; |
| 296 | reg = <5>; |
| 297 | lpddr4_clk1: clock-generator@60 { /* u248 */ |
| 298 | #clock-cells = <0>; |
| 299 | compatible = "silabs,si570"; |
| 300 | reg = <0x60>; |
| 301 | temperature-stability = <50>; |
| 302 | factory-fout = <200000000>; |
| 303 | clock-frequency = <200000000>; |
| 304 | clock-output-names = "lpddr4_clk1"; |
| 305 | silabs,skip-recall; |
| 306 | }; |
| 307 | }; |
| 308 | qsfpdd_i2c: i2c@6 { |
| 309 | #address-cells = <1>; |
| 310 | #size-cells = <0>; |
| 311 | reg = <6>; |
| 312 | /* J1/J2 connectors */ |
| 313 | }; |
| 314 | idt8a34001_i2c: i2c@7 { |
| 315 | #address-cells = <1>; |
| 316 | #size-cells = <0>; |
| 317 | reg = <7>; |
| 318 | /* Via J310 connector */ |
| 319 | idt_8a34001: phc@5b { |
| 320 | compatible = "idt,8a34001"; /* u219B */ |
| 321 | reg = <0x5b>; /* FIXME not in schematics */ |
| 322 | }; |
| 323 | }; |
| 324 | }; |
| 325 | }; |