| .. | .. |
|---|
| 7 | 7 | model = "Zaius BMC"; |
|---|
| 8 | 8 | compatible = "ingrasys,zaius-bmc", "aspeed,ast2500"; |
|---|
| 9 | 9 | |
|---|
| 10 | + aliases { |
|---|
| 11 | + i2c15 = &i2cpcie0; |
|---|
| 12 | + i2c16 = &i2cpcie1; |
|---|
| 13 | + i2c17 = &i2cpcie2; |
|---|
| 14 | + i2c19 = &i2cpcie3; |
|---|
| 15 | + i2c20 = &i2cpcie4; |
|---|
| 16 | + }; |
|---|
| 17 | + |
|---|
| 10 | 18 | chosen { |
|---|
| 11 | 19 | stdout-path = &uart5; |
|---|
| 12 | 20 | bootargs = "console=ttyS4,115200 earlyprintk"; |
|---|
| .. | .. |
|---|
| 122 | 130 | status = "okay"; |
|---|
| 123 | 131 | label = "bmc"; |
|---|
| 124 | 132 | m25p,fast-read; |
|---|
| 133 | + spi-max-frequency = <50000000>; |
|---|
| 125 | 134 | #include "openbmc-flash-layout.dtsi" |
|---|
| 126 | 135 | }; |
|---|
| 127 | 136 | }; |
|---|
| .. | .. |
|---|
| 135 | 144 | status = "okay"; |
|---|
| 136 | 145 | label = "pnor"; |
|---|
| 137 | 146 | m25p,fast-read; |
|---|
| 147 | + spi-max-frequency = <100000000>; |
|---|
| 138 | 148 | }; |
|---|
| 139 | 149 | }; |
|---|
| 140 | 150 | |
|---|
| .. | .. |
|---|
| 179 | 189 | status = "okay"; |
|---|
| 180 | 190 | pinctrl-names = "default"; |
|---|
| 181 | 191 | pinctrl-0 = <&pinctrl_rmii1_default>; |
|---|
| 192 | + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, |
|---|
| 193 | + <&syscon ASPEED_CLK_MAC1RCLK>; |
|---|
| 194 | + clock-names = "MACCLK", "RCLK"; |
|---|
| 182 | 195 | use-ncsi; |
|---|
| 183 | 196 | }; |
|---|
| 184 | 197 | |
|---|
| .. | .. |
|---|
| 223 | 236 | reg = <0x71>; |
|---|
| 224 | 237 | #address-cells = <1>; |
|---|
| 225 | 238 | #size-cells = <0>; |
|---|
| 239 | + |
|---|
| 240 | + i2cpcie0: i2c@0 { |
|---|
| 241 | + #address-cells = <1>; |
|---|
| 242 | + #size-cells = <0>; |
|---|
| 243 | + reg = <0>; |
|---|
| 244 | + }; |
|---|
| 245 | + i2cpcie1: i2c@1 { |
|---|
| 246 | + #address-cells = <1>; |
|---|
| 247 | + #size-cells = <0>; |
|---|
| 248 | + reg = <1>; |
|---|
| 249 | + }; |
|---|
| 250 | + i2cpcie2: i2c@2 { |
|---|
| 251 | + #address-cells = <1>; |
|---|
| 252 | + #size-cells = <0>; |
|---|
| 253 | + reg = <2>; |
|---|
| 254 | + }; |
|---|
| 255 | + i2ctpm: i2c@3 { |
|---|
| 256 | + #address-cells = <1>; |
|---|
| 257 | + #size-cells = <0>; |
|---|
| 258 | + reg = <3>; |
|---|
| 259 | + }; |
|---|
| 226 | 260 | }; |
|---|
| 227 | 261 | |
|---|
| 228 | 262 | /* MUX1 PCA9546A @71h |
|---|
| .. | .. |
|---|
| 253 | 287 | reg = <0x71>; |
|---|
| 254 | 288 | #address-cells = <1>; |
|---|
| 255 | 289 | #size-cells = <0>; |
|---|
| 290 | + |
|---|
| 291 | + i2cpcie3: i2c@0 { |
|---|
| 292 | + #address-cells = <1>; |
|---|
| 293 | + #size-cells = <0>; |
|---|
| 294 | + reg = <0>; |
|---|
| 295 | + }; |
|---|
| 296 | + i2cpcie4: i2c@1 { |
|---|
| 297 | + #address-cells = <1>; |
|---|
| 298 | + #size-cells = <0>; |
|---|
| 299 | + reg = <1>; |
|---|
| 300 | + }; |
|---|
| 256 | 301 | }; |
|---|
| 257 | 302 | |
|---|
| 258 | 303 | /* MUX1 PCA9546A @71h |
|---|
| .. | .. |
|---|
| 296 | 341 | reg = <0x54>; |
|---|
| 297 | 342 | }; |
|---|
| 298 | 343 | }; |
|---|
| 344 | + |
|---|
| 345 | + }; |
|---|
| 346 | + |
|---|
| 347 | + vrm@64 { |
|---|
| 348 | + compatible = "isil,isl68137"; |
|---|
| 349 | + reg = <0x64>; |
|---|
| 350 | + }; |
|---|
| 351 | + |
|---|
| 352 | + vrm@40 { |
|---|
| 353 | + compatible = "isil,isl68137"; |
|---|
| 354 | + reg = <0x40>; |
|---|
| 355 | + }; |
|---|
| 356 | + |
|---|
| 357 | + vrm@60 { |
|---|
| 358 | + compatible = "isil,isl68137"; |
|---|
| 359 | + reg = <0x60>; |
|---|
| 360 | + }; |
|---|
| 361 | + |
|---|
| 362 | + vrm@43 { |
|---|
| 363 | + compatible = "infineon,ir38064"; |
|---|
| 364 | + reg = <0x43>; |
|---|
| 365 | + }; |
|---|
| 366 | + |
|---|
| 367 | + vrm@41 { |
|---|
| 368 | + compatible = "isil,isl68137"; |
|---|
| 369 | + reg = <0x41>; |
|---|
| 299 | 370 | }; |
|---|
| 300 | 371 | |
|---|
| 301 | 372 | /* Master selector PCA9541A @70h (other master: CPU0) |
|---|
| 302 | 373 | * LM5066I PMBUS @10h |
|---|
| 303 | 374 | */ |
|---|
| 304 | 375 | |
|---|
| 305 | | - /* 12V Quarter Brick DC/DC Converter Q54SJ12050 @61h */ |
|---|
| 306 | | - power-brick@61 { |
|---|
| 376 | + /* |
|---|
| 377 | + * Brick will be one of these types/addresses. Depending |
|---|
| 378 | + * on the board SKU only one is actually present and will successfully |
|---|
| 379 | + * instantiate while the others will fail the probe operation. |
|---|
| 380 | + * These are the PVT (and presumably beyond) addresses: |
|---|
| 381 | + * 12V Quarter Brick DC/DC Converter Q54SJ12050 @6Ah |
|---|
| 382 | + * 12V Quarter Brick DC/DC Converter Q54SH12050 @30h |
|---|
| 383 | + */ |
|---|
| 384 | + power-brick@6a { |
|---|
| 307 | 385 | compatible = "delta,dps800"; |
|---|
| 308 | | - reg = <0x61>; |
|---|
| 386 | + reg = <0x6a>; |
|---|
| 387 | + }; |
|---|
| 388 | + power-brick@30 { |
|---|
| 389 | + compatible = "delta,dps800"; |
|---|
| 390 | + reg = <0x30>; |
|---|
| 309 | 391 | }; |
|---|
| 310 | 392 | |
|---|
| 311 | 393 | /* CPU0 VR ISL68137 0.7V, 0.96V PMBUS @64h */ |
|---|
| 312 | 394 | /* CPU0 VR ISL68137 1.2V CH03 PMBUS @40h */ |
|---|
| 313 | 395 | /* CPU0 VR ISL68137 0.8V PMBUS @60h */ |
|---|
| 314 | | - /* CPU0 VR 1.0V IR38064 I2C @11h, PMBUS @41h */ |
|---|
| 396 | + /* CPU0 VR 1.0V IR38064 I2C @11h, PMBUS @43h */ |
|---|
| 315 | 397 | /* CPU0 VR ISL68137 1.2V CH47 PMBUS @41h */ |
|---|
| 398 | + /* Master selector PCA9541A @70h (other master: CPU0) |
|---|
| 399 | + * LM5066I PMBUS @10h |
|---|
| 400 | + */ |
|---|
| 316 | 401 | }; |
|---|
| 317 | 402 | |
|---|
| 318 | 403 | &i2c8 { |
|---|
| 319 | 404 | status = "okay"; |
|---|
| 320 | 405 | |
|---|
| 321 | | - /* CPU1 VR ISL68137 0.7V, 0.96V PMBUS @65h */ |
|---|
| 322 | | - /* CPU1 VR ISL68137 1.2V CH03 PMBUS @44h */ |
|---|
| 323 | | - /* CPU1 VR ISL68137 0.8V PMBUS @61h */ |
|---|
| 406 | + vrm@64 { |
|---|
| 407 | + compatible = "isil,isl68137"; |
|---|
| 408 | + reg = <0x64>; |
|---|
| 409 | + }; |
|---|
| 410 | + |
|---|
| 411 | + vrm@40 { |
|---|
| 412 | + compatible = "isil,isl68137"; |
|---|
| 413 | + reg = <0x40>; |
|---|
| 414 | + }; |
|---|
| 415 | + |
|---|
| 416 | + vrm@41 { |
|---|
| 417 | + compatible = "isil,isl68137"; |
|---|
| 418 | + reg = <0x41>; |
|---|
| 419 | + }; |
|---|
| 420 | + |
|---|
| 421 | + vrm@42 { |
|---|
| 422 | + compatible = "infineon,ir38064"; |
|---|
| 423 | + reg = <0x42>; |
|---|
| 424 | + }; |
|---|
| 425 | + |
|---|
| 426 | + vrm@60 { |
|---|
| 427 | + compatible = "isil,isl68137"; |
|---|
| 428 | + reg = <0x60>; |
|---|
| 429 | + }; |
|---|
| 430 | + |
|---|
| 431 | + /* CPU1 VR ISL68137 0.7V, 0.96V PMBUS @64h */ |
|---|
| 432 | + /* CPU1 VR ISL68137 1.2V CH03 PMBUS @40h */ |
|---|
| 433 | + /* CPU1 VR ISL68137 1.2V CH47 PMBUS @41h */ |
|---|
| 324 | 434 | /* CPU1 VR 1.0V IR38064 I2C @12h, PMBUS @42h */ |
|---|
| 325 | | - /* CPU0 VR ISL68137 1.2V CH47 PMBUS @45h */ |
|---|
| 435 | + /* CPU1 VR ISL68137 0.8V PMBUS @60h */ |
|---|
| 326 | 436 | }; |
|---|
| 327 | 437 | |
|---|
| 328 | 438 | |
|---|
| .. | .. |
|---|
| 368 | 478 | pinctrl-names = "default"; |
|---|
| 369 | 479 | pinctrl-0 = <&pinctrl_gpioh_unbiased>; |
|---|
| 370 | 480 | |
|---|
| 481 | + gpio-line-names = |
|---|
| 482 | + /*A0-A7*/ "","cfam-reset","","","","","","", |
|---|
| 483 | + /*B0-B7*/ "","","","","","","","", |
|---|
| 484 | + /*C0-C7*/ "","","","","","","","", |
|---|
| 485 | + /*D0-D7*/ "fsi-enable","","","","","led-sys-boot-status","led-attention", |
|---|
| 486 | + "led-fault", |
|---|
| 487 | + /*E0-E7*/ "","","","","","","","presence-pcie-e2b", |
|---|
| 488 | + /*F0-F7*/ "","","","","","","","checkstop", |
|---|
| 489 | + /*G0-G7*/ "fsi-clock","fsi-data","","","","","","", |
|---|
| 490 | + /*H0-H7*/ "onewire0","onewire1","onewire2","onewire3","","","","", |
|---|
| 491 | + /*I0-I7*/ "","","","power-button","","","","", |
|---|
| 492 | + /*J0-J7*/ "","","","","","","","", |
|---|
| 493 | + /*K0-K7*/ "","","","","","","","", |
|---|
| 494 | + /*L0-L7*/ "","","","","","","","", |
|---|
| 495 | + /*M0-M7*/ "","","","","","","","", |
|---|
| 496 | + /*N0-N7*/ "","","","","","","","", |
|---|
| 497 | + /*O0-O7*/ "","","","","iso_u164_en","","fsi-trans","", |
|---|
| 498 | + /*P0-P7*/ "ncsi_mux_en_n","bmc_i2c2_sw_rst_n","","bmc_i2c5_sw_rst_n","", |
|---|
| 499 | + "","fsi-mux","", |
|---|
| 500 | + /*Q0-Q7*/ "","","","","","","","", |
|---|
| 501 | + /*R0-R7*/ "","","","","","","","", |
|---|
| 502 | + /*S0-S7*/ "","","","","","","","", |
|---|
| 503 | + /*T0-T7*/ "","","","","","","","", |
|---|
| 504 | + /*U0-U7*/ "","","","","","","","", |
|---|
| 505 | + /*V0-V7*/ "","","","","","","","", |
|---|
| 506 | + /*W0-W7*/ "","","","","","","","", |
|---|
| 507 | + /*X0-X7*/ "","","","","","","","", |
|---|
| 508 | + /*Y0-Y7*/ "","","","","","","","", |
|---|
| 509 | + /*Z0-Z7*/ "","","","","","","","", |
|---|
| 510 | + /*AA0-AA7*/ "","","led-hdd-fault","","","","","", |
|---|
| 511 | + /*AB0-AB7*/ "","","","","","","","", |
|---|
| 512 | + /*AC0-AC7*/ "","","","","","","",""; |
|---|
| 513 | + |
|---|
| 371 | 514 | line_iso_u146_en { |
|---|
| 372 | 515 | gpio-hog; |
|---|
| 373 | 516 | gpios = <ASPEED_GPIO(O, 4) GPIO_ACTIVE_HIGH>; |
|---|
| 374 | 517 | output-high; |
|---|
| 375 | | - line-name = "iso_u164_en"; |
|---|
| 376 | 518 | }; |
|---|
| 377 | 519 | |
|---|
| 378 | 520 | ncsi_mux_en_n { |
|---|
| 379 | 521 | gpio-hog; |
|---|
| 380 | 522 | gpios = <ASPEED_GPIO(P, 0) GPIO_ACTIVE_HIGH>; |
|---|
| 381 | 523 | output-low; |
|---|
| 382 | | - line-name = "ncsi_mux_en_n"; |
|---|
| 383 | 524 | }; |
|---|
| 384 | 525 | |
|---|
| 385 | 526 | line_bmc_i2c2_sw_rst_n { |
|---|
| 386 | 527 | gpio-hog; |
|---|
| 387 | 528 | gpios = <ASPEED_GPIO(P, 1) GPIO_ACTIVE_HIGH>; |
|---|
| 388 | 529 | output-high; |
|---|
| 389 | | - line-name = "bmc_i2c2_sw_rst_n"; |
|---|
| 390 | 530 | }; |
|---|
| 391 | 531 | |
|---|
| 392 | 532 | line_bmc_i2c5_sw_rst_n { |
|---|
| 393 | 533 | gpio-hog; |
|---|
| 394 | 534 | gpios = <ASPEED_GPIO(P, 3) GPIO_ACTIVE_HIGH>; |
|---|
| 395 | 535 | output-high; |
|---|
| 396 | | - line-name = "bmc_i2c5_sw_rst_n"; |
|---|
| 397 | 536 | }; |
|---|
| 398 | 537 | }; |
|---|
| 399 | 538 | |
|---|
| .. | .. |
|---|
| 435 | 574 | &ibt { |
|---|
| 436 | 575 | status = "okay"; |
|---|
| 437 | 576 | }; |
|---|
| 577 | + |
|---|
| 578 | +#include "ibm-power9-dual.dtsi" |
|---|