1// SPDX-License-Identifier: GPL-2.0+ 2// Copyright (C) 2020 Bytedance. 3/dts-v1/; 4 5#include "aspeed-g5.dtsi" 6#include <dt-bindings/gpio/aspeed-gpio.h> 7#include <dt-bindings/i2c/i2c.h> 8#include <dt-bindings/leds/leds-pca955x.h> 9 10/ { 11 model = "Bytedance G220A BMC"; 12 compatible = "bytedance,g220a-bmc", "aspeed,ast2500"; 13 14 aliases { 15 serial4 = &uart5; 16 i2c14 = &channel_3_0; 17 i2c15 = &channel_3_1; 18 i2c16 = &channel_3_2; 19 i2c17 = &channel_3_3; 20 i2c18 = &channel_6_0; 21 i2c19 = &channel_6_1; 22 i2c20 = &channel_6_2; 23 i2c21 = &channel_6_3; 24 i2c22 = &channel_6_4; 25 i2c23 = &channel_6_5; 26 i2c24 = &channel_6_6; 27 i2c25 = &channel_6_7; 28 i2c26 = &channel_6_8; 29 i2c27 = &channel_6_9; 30 i2c28 = &channel_6_10; 31 i2c29 = &channel_6_11; 32 i2c30 = &channel_6_12; 33 i2c31 = &channel_6_13; 34 i2c32 = &channel_6_14; 35 i2c33 = &channel_6_15; 36 i2c34 = &channel_6_16; 37 i2c35 = &channel_6_17; 38 i2c36 = &channel_6_18; 39 i2c37 = &channel_6_19; 40 i2c38 = &channel_6_20; 41 i2c39 = &channel_6_21; 42 i2c40 = &channel_6_22; 43 i2c41 = &channel_6_23; 44 i2c42 = &channel_6_24; 45 i2c43 = &channel_6_25; 46 i2c44 = &channel_10_0; 47 i2c45 = &channel_10_1; 48 i2c46 = &channel_10_2; 49 i2c47 = &channel_10_3; 50 i2c48 = &channel_10_4; 51 i2c49 = &channel_10_5; 52 i2c50 = &channel_10_6; 53 i2c51 = &channel_10_7; 54 }; 55 56 chosen { 57 stdout-path = &uart5; 58 bootargs = "console=ttyS4,115200 earlycon"; 59 }; 60 61 memory@80000000 { 62 reg = <0x80000000 0x40000000>; 63 }; 64 65 reserved-memory { 66 #address-cells = <1>; 67 #size-cells = <1>; 68 ranges; 69 70 vga_memory: framebuffer@bc000000 { 71 no-map; 72 reg = <0xbc000000 0x04000000>; /* 64M */ 73 }; 74 75 video_engine_memory: jpegbuffer { 76 size = <0x02000000>; /* 32M */ 77 alignment = <0x01000000>; 78 compatible = "shared-dma-pool"; 79 reusable; 80 }; 81 }; 82 83 iio-hwmon { 84 compatible = "iio-hwmon"; 85 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, 86 <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>, 87 <&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>, 88 <&adc 12>, <&adc 13>, <&adc 14>, <&adc 15>; 89 }; 90 91 leds { 92 compatible = "gpio-leds"; 93 bmc_alive { 94 label = "bmc_alive"; 95 gpios = <&gpio ASPEED_GPIO(B, 0) GPIO_ACTIVE_LOW>; 96 linux,default-trigger = "timer"; 97 led-pattern = <1000 1000>; 98 }; 99 }; 100 101 gpio-keys { 102 compatible = "gpio-keys"; 103 burn-in-signal { 104 label = "burn-in"; 105 gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>; 106 linux,code = <ASPEED_GPIO(R, 5)>; 107 }; 108 }; 109 110 gpio-keys-polled { 111 compatible = "gpio-keys-polled"; 112 poll-interval = <1000>; 113 114 rear-riser1-presence { 115 label = "rear-riser1-presence"; 116 gpios = <&pca0 1 GPIO_ACTIVE_LOW>; 117 linux,code = <1>; 118 }; 119 120 alrt-pvddq-cpu0 { 121 label = "alrt-pvddq-cpu0"; 122 gpios = <&pca0 8 GPIO_ACTIVE_LOW>; 123 linux,code = <2>; 124 }; 125 126 rear-riser0-presence { 127 label = "rear-riser0-presence"; 128 gpios = <&pca0 9 GPIO_ACTIVE_LOW>; 129 linux,code = <3>; 130 }; 131 132 fault-pvddq-cpu0 { 133 label = "fault-pvddq-cpu0"; 134 gpios = <&pca0 10 GPIO_ACTIVE_LOW>; 135 linux,code = <4>; 136 }; 137 138 alrt-pvddq-cpu1 { 139 label = "alrt-pvddq-cpu1"; 140 gpios = <&pca0 11 GPIO_ACTIVE_LOW>; 141 linux,code = <5>; 142 }; 143 144 fault-pvddq-cpu1 { 145 label = "alrt-pvddq-cpu1"; 146 gpios = <&pca0 12 GPIO_ACTIVE_LOW>; 147 linux,code = <6>; 148 }; 149 150 fault-pvccin-cpu1 { 151 label = "fault-pvccin-cpuq"; 152 gpios = <&pca0 13 GPIO_ACTIVE_LOW>; 153 linux,code = <7>; 154 }; 155 156 bmc-rom0-wp { 157 label = "bmc-rom0-wp"; 158 gpios = <&pca1 0 GPIO_ACTIVE_LOW>; 159 linux,code = <8>; 160 }; 161 162 bmc-rom1-wp { 163 label = "bmc-rom1-wp"; 164 gpios = <&pca1 1 GPIO_ACTIVE_LOW>; 165 linux,code = <9>; 166 }; 167 168 fan0-presence { 169 label = "fan0-presence"; 170 gpios = <&pca1 2 GPIO_ACTIVE_LOW>; 171 linux,code = <10>; 172 }; 173 174 fan1-presence { 175 label = "fan1-presence"; 176 gpios = <&pca1 3 GPIO_ACTIVE_LOW>; 177 linux,code = <11>; 178 }; 179 180 fan2-presence { 181 label = "fan2-presence"; 182 gpios = <&pca1 4 GPIO_ACTIVE_LOW>; 183 linux,code = <12>; 184 }; 185 186 fan3-presence { 187 label = "fan3-presence"; 188 gpios = <&pca1 5 GPIO_ACTIVE_LOW>; 189 linux,code = <13>; 190 }; 191 192 fan4-presence { 193 label = "fan4-presence"; 194 gpios = <&pca1 6 GPIO_ACTIVE_LOW>; 195 linux,code = <14>; 196 }; 197 198 fan5-presence { 199 label = "fan5-presence"; 200 gpios = <&pca1 7 GPIO_ACTIVE_LOW>; 201 linux,code = <15>; 202 }; 203 204 front-bp1-presence { 205 label = "front-bp1-presence"; 206 gpios = <&pca1 8 GPIO_ACTIVE_LOW>; 207 linux,code = <16>; 208 }; 209 210 rear-bp-presence { 211 label = "rear-bp-presence"; 212 gpios = <&pca1 9 GPIO_ACTIVE_LOW>; 213 linux,code = <17>; 214 }; 215 216 fault-pvccin-cpu0 { 217 label = "fault-pvccin-cpu0"; 218 gpios = <&pca1 10 GPIO_ACTIVE_LOW>; 219 linux,code = <18>; 220 }; 221 222 alrt-p1v05-pvcc { 223 label = "alrt-p1v05-pvcc1"; 224 gpios = <&pca1 11 GPIO_ACTIVE_LOW>; 225 linux,code = <19>; 226 }; 227 228 fault-p1v05-pvccio { 229 label = "alrt-p1v05-pvcc1"; 230 gpios = <&pca1 12 GPIO_ACTIVE_LOW>; 231 linux,code = <20>; 232 }; 233 234 alrt-p1v8-pvccio { 235 label = "alrt-p1v8-pvccio"; 236 gpios = <&pca1 13 GPIO_ACTIVE_LOW>; 237 linux,code = <21>; 238 }; 239 240 fault-p1v8-pvccio { 241 label = "fault-p1v8-pvccio"; 242 gpios = <&pca1 14 GPIO_ACTIVE_LOW>; 243 linux,code = <22>; 244 }; 245 246 front-bp0-presence { 247 label = "front-bp0-presence"; 248 gpios = <&pca1 15 GPIO_ACTIVE_LOW>; 249 linux,code = <23>; 250 }; 251 }; 252}; 253 254&fmc { 255 status = "okay"; 256 flash@0 { 257 status = "okay"; 258 label = "bmc"; 259 m25p,fast-read; 260 spi-max-frequency = <50000000>; 261#include "openbmc-flash-layout-64.dtsi" 262 }; 263}; 264 265&spi1 { 266 status = "okay"; 267 pinctrl-names = "default"; 268 pinctrl-0 = <&pinctrl_spi1_default>; 269 flash@0 { 270 status = "okay"; 271 m25p,fast-read; 272 label = "bios"; 273 spi-max-frequency = <100000000>; 274 }; 275}; 276 277&adc { 278 status = "okay"; 279}; 280 281&gpio { 282 status = "okay"; 283 gpio-line-names = 284 /*A0-A7*/ "SMRST_OCP_N","MAC2_LINK","BMC_CPLD_SMB_RST_R_N","BMC_CPLD_GPIO0", 285 "","","","", 286 /*B0-B7*/ "BMC_INIT_R_OK","FM_BOARD_REV_ID2","FM_PROJECT_ID7","FAULT_P12V_STBY_N", 287 "","CPU0_PROCHOT_LVT3_N","","BIOS_LOAD_DEFAULT_R_N", 288 /*C0-C7*/ "","","","","","","","", 289 /*D0-D7*/ "","","","","","","","", 290 /*E0-E7*/ "FM_PROJECT_ID0","FM_PROJECT_ID1","FM_PROJECT_ID2","FM_PROJECT_ID3", 291 "FM_PROJECT_ID4","FM_PROJECT_ID5","","", 292 /*F0-F7*/ "PSU0_PRSNT_N","PSU1_PRSNT_N","","FAULT_P12V_NVME_N", 293 "BIOS_DEBUG_MODE_R_N","DISABLE_CPU_DDR_R_SPD","COOLING_STRATEGY", 294 "PCH_GLB_RST_N", 295 /*G0-G7*/ "P12V_PMBUS_ALERT_N","CPLD_ALERT_N","BMC_RELOAD_N", 296 "P12V_PVDDQ_PMBUS_ALERT_N","BMC_JTAG_TCK_MUX_R_SEL","","NMI_OUT", 297 "NMI_BUTTON", 298 /*H0-H7*/ "BMC_CPLD_JTAG_TDI","BMC_CPLD_JTAG_TDO","BMC_CPLD_JTAG_TCK", 299 "BMC_CPLD_JTAG_TMS","FM_PROJECT_ID6","FM_BOARD_REV_ID0", 300 "PCA9546_U70_RST_N","IRQ_SML0_ALERT_N", 301 /*I0-I7*/ "FAULT_FRONT_RISER_P12V_N","FAULT_OCP_P12V_N","FM_BMC_PCH_SCI_R_N", 302 "","","","","", 303 /*J0-J7*/ "FM_CPU0_SKTOCC_N","FM_CPU1_SKTOCC_N","FM_CPU1_DISABLE_COD_N", 304 "","","","","", 305 /*K0-K7*/ "","","","","","","","", 306 /*L0-L7*/ "P12V_FAULT_N","PWRGD_P12V_PCIE_RISER","","LEAKAGE_DETECT_INPUT_N", 307 "","IRQ_SML1_PMBUS_ALERT_N","","", 308 /*M0-M7*/ "","","","","","","","", 309 /*N0-N7*/ "","","","","","","","", 310 /*O0-O7*/ "","","","","","","","", 311 /*P0-P7*/ "","","","","","","","", 312 /*Q0-Q7*/ "","","","","","","FM_PCH_THERMTRIP_N","CHASSIS_INTRUSION", 313 /*R0-R7*/ "","PVCCIN_CPU1_SMBALERT_N","BMC_PREQ_R_N","FAULT_P12V_PCIE_RISER_N", 314 "ALT_P12V_PCIE_RISER_N","BURN_BOARD_N","PVCCIN_CPU0_SMBALERT_N","", 315 /*S0-S7*/ "BMC_PRDY_N","SIO_POWER_GOOD","FM_BMC_PWR_DEBUG_R_N", 316 "FM_BMC_XDP_DEBUG_EN","","STRAP_BMC_BATTERY_GPIOS5","","", 317 /*T0-T7*/ "","","","","","","","", 318 /*U0-U7*/ "","","","","","","","", 319 /*V0-V7*/ "","","","","","","","", 320 /*W0-W7*/ "","","","","","","","", 321 /*X0-X7*/ "","","","","","","","", 322 /*Y0-Y7*/ "","PWRGD_PSU0_PWROK","CPU1_PROCHOT_LVT3_N","IRQ_BMC_PCH_SMI_LPC_N", 323 "","","","", 324 /*Z0-Z7*/ "XDP_PRSNT_N","BMC_XDP_SYS_PWROK","BMC_XDP_JTAG_SEL", 325 "PCH_BMC_SMI_ACTIVE_R_N","","","","", 326 /*AA0-AA7*/ "PWRGD_P12V_STBY_OCP","PS_PWROK","RST_PLTRST_BMC_R_N","HDA_SDO_R", 327 "FM_SLPS4_R_N","PWRGD_PSU1_PWROK","POWER_BUTTON","POWER_OUT", 328 /*AB0-AB7*/ "","RESET_OUT","SPI_BIOS_MODE_SELECT","POST_COMPLETE","","","","", 329 /*AC0-AC7*/ "","","","","","","","CPLD_PLTRST_B_N"; 330}; 331 332&kcs3 { 333 aspeed,lpc-io-reg = <0xCA2>; 334 status = "okay"; 335}; 336 337&kcs4 { 338 aspeed,lpc-io-reg = <0xCA4>; 339 status = "okay"; 340}; 341 342&lpc_snoop { 343 snoop-ports = <0x80>; 344 status = "okay"; 345}; 346 347&uart1 { 348 status = "okay"; 349 pinctrl-names = "default"; 350 pinctrl-0 = <&pinctrl_txd1_default 351 &pinctrl_rxd1_default 352 &pinctrl_nrts1_default 353 &pinctrl_ndtr1_default 354 &pinctrl_ndsr1_default 355 &pinctrl_ncts1_default 356 &pinctrl_ndcd1_default 357 &pinctrl_nri1_default>; 358}; 359 360&uart2 { 361 status = "okay"; 362 pinctrl-names = "default"; 363 pinctrl-0 = <&pinctrl_txd2_default 364 &pinctrl_rxd2_default 365 &pinctrl_nrts2_default 366 &pinctrl_ndtr2_default 367 &pinctrl_ndsr2_default 368 &pinctrl_ncts2_default 369 &pinctrl_ndcd2_default 370 &pinctrl_nri2_default>; 371}; 372 373&uart3 { 374 status = "okay"; 375}; 376 377&uart4 { 378 status = "okay"; 379}; 380 381&uart5 { 382 status = "okay"; 383}; 384 385&mac0 { 386 status = "okay"; 387 pinctrl-names = "default"; 388 pinctrl-0 = <&pinctrl_rmii1_default>; 389 clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, 390 <&syscon ASPEED_CLK_MAC1RCLK>; 391 clock-names = "MACCLK", "RCLK"; 392 use-ncsi; 393}; 394 395&mac1 { 396 status = "okay"; 397 pinctrl-names = "default"; 398 pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; 399}; 400 401&i2c0 { 402 status = "okay"; 403}; 404 405&i2c1 { 406 status = "okay"; 407}; 408 409&i2c2 { 410 status = "okay"; 411}; 412 413&i2c3 { 414 status = "okay"; 415 i2c-switch@70 { 416 compatible = "nxp,pca9546"; 417 reg = <0x70>; 418 #address-cells = <1>; 419 #size-cells = <0>; 420 421 channel_3_0: i2c@0 { 422 #address-cells = <1>; 423 #size-cells = <0>; 424 reg = <0>; 425 }; 426 427 channel_3_1: i2c@1 { 428 #address-cells = <1>; 429 #size-cells = <0>; 430 reg = <1>; 431 }; 432 433 channel_3_2: i2c@2 { 434 #address-cells = <1>; 435 #size-cells = <0>; 436 reg = <2>; 437 }; 438 439 channel_3_3: i2c@3 { 440 #address-cells = <1>; 441 #size-cells = <0>; 442 reg = <3>; 443 }; 444 }; 445}; 446 447&i2c4 { 448 status = "okay"; 449 ipmb0@10 { 450 compatible = "ipmb-dev"; 451 reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; 452 i2c-protocol; 453 }; 454}; 455 456&i2c5 { 457 status = "okay"; 458}; 459 460&i2c6 { 461 status = "okay"; 462 i2c-switch@72 { 463 compatible = "nxp,pca9548"; 464 reg = <0x72>; 465 #address-cells = <1>; 466 #size-cells = <0>; 467 channel_6_0: i2c@0 { 468 #address-cells = <1>; 469 #size-cells = <0>; 470 reg = <0>; 471 }; 472 473 channel_6_1: i2c@1 { 474 #address-cells = <1>; 475 #size-cells = <0>; 476 reg = <1>; 477 }; 478 479 channel_6_2: i2c@2 { 480 #address-cells = <1>; 481 #size-cells = <0>; 482 reg = <2>; 483 }; 484 485 channel_6_3: i2c@3 { 486 #address-cells = <1>; 487 #size-cells = <0>; 488 reg = <3>; 489 }; 490 channel_6_4: i2c@4 { 491 #address-cells = <1>; 492 #size-cells = <0>; 493 reg = <4>; 494 }; 495 496 channel_6_5: i2c@5 { 497 #address-cells = <1>; 498 #size-cells = <0>; 499 reg = <5>; 500 }; 501 502 channel_6_6: i2c@6 { 503 #address-cells = <1>; 504 #size-cells = <0>; 505 reg = <6>; 506 }; 507 508 channel_6_7: i2c@7 { 509 #address-cells = <1>; 510 #size-cells = <0>; 511 reg = <7>; 512 }; 513 }; 514 515 i2c-switch@70 { 516 compatible = "nxp,pca9546"; 517 reg = <0x70>; 518 #address-cells = <1>; 519 #size-cells = <0>; 520 channel_6_8: i2c@0 { 521 #address-cells = <1>; 522 #size-cells = <0>; 523 reg = <0>; 524 i2c-switch@71 { 525 compatible = "nxp,pca9546"; 526 reg = <0x71>; 527 #address-cells = <1>; 528 #size-cells = <0>; 529 channel_6_12: i2c@0 { 530 #address-cells = <1>; 531 #size-cells = <0>; 532 reg = <0>; 533 534 }; 535 536 channel_6_13: i2c@1 { 537 #address-cells = <1>; 538 #size-cells = <0>; 539 reg = <1>; 540 }; 541 542 channel_6_14: i2c@2 { 543 #address-cells = <1>; 544 #size-cells = <0>; 545 reg = <2>; 546 }; 547 548 channel_6_15: i2c@3 { 549 #address-cells = <1>; 550 #size-cells = <0>; 551 reg = <3>; 552 }; 553 }; 554 }; 555 556 channel_6_9: i2c@1 { 557 #address-cells = <1>; 558 #size-cells = <0>; 559 reg = <1>; 560 i2c-switch@71 { 561 compatible = "nxp,pca9546"; 562 reg = <0x71>; 563 #address-cells = <1>; 564 #size-cells = <0>; 565 channel_6_16: i2c@0 { 566 #address-cells = <1>; 567 #size-cells = <0>; 568 reg = <0>; 569 570 }; 571 572 channel_6_17: i2c@1 { 573 #address-cells = <1>; 574 #size-cells = <0>; 575 reg = <1>; 576 }; 577 578 channel_6_18: i2c@2 { 579 #address-cells = <1>; 580 #size-cells = <0>; 581 reg = <2>; 582 }; 583 584 channel_6_19: i2c@3 { 585 #address-cells = <1>; 586 #size-cells = <0>; 587 reg = <3>; 588 }; 589 }; 590 }; 591 592 channel_6_10: i2c@2 { 593 #address-cells = <1>; 594 #size-cells = <0>; 595 reg = <2>; 596 i2c-switch@71 { 597 compatible = "nxp,pca9546"; 598 reg = <0x71>; 599 #address-cells = <1>; 600 #size-cells = <0>; 601 channel_6_20: i2c@0 { 602 #address-cells = <1>; 603 #size-cells = <0>; 604 reg = <0>; 605 }; 606 607 channel_6_21: i2c@1 { 608 #address-cells = <1>; 609 #size-cells = <0>; 610 reg = <1>; 611 }; 612 613 channel_6_22: i2c@2 { 614 #address-cells = <1>; 615 #size-cells = <0>; 616 reg = <2>; 617 }; 618 619 channel_6_23: i2c@3 { 620 #address-cells = <1>; 621 #size-cells = <0>; 622 reg = <3>; 623 }; 624 }; 625 }; 626 627 channel_6_11: i2c@3 { 628 #address-cells = <1>; 629 #size-cells = <0>; 630 reg = <3>; 631 i2c-switch@71 { 632 compatible = "nxp,pca9546"; 633 reg = <0x71>; 634 #address-cells = <1>; 635 #size-cells = <0>; 636 channel_6_24: i2c@0 { 637 #address-cells = <1>; 638 #size-cells = <0>; 639 reg = <0>; 640 }; 641 642 channel_6_25: i2c@1 { 643 #address-cells = <1>; 644 #size-cells = <0>; 645 reg = <1>; 646 }; 647 }; 648 }; 649 }; 650}; 651 652&i2c7 { 653 status = "okay"; 654}; 655 656&i2c8 { 657 status = "okay"; 658 pca0:pca9555@24 { 659 compatible = "nxp,pca9555"; 660 reg = <0x24>; 661 #address-cells = <1>; 662 #size-cells = <0>; 663 664 gpio-controller; 665 #gpio-cells = <2>; 666 gpio@1 { 667 reg = <1>; 668 type = <PCA955X_TYPE_GPIO>; 669 }; 670 671 gpio@8 { 672 reg = <8>; 673 type = <PCA955X_TYPE_GPIO>; 674 }; 675 676 gpio@9 { 677 reg = <9>; 678 type = <PCA955X_TYPE_GPIO>; 679 }; 680 681 gpio@10 { 682 reg = <10>; 683 type = <PCA955X_TYPE_GPIO>; 684 }; 685 686 gpio@11 { 687 reg = <11>; 688 type = <PCA955X_TYPE_GPIO>; 689 }; 690 691 gpio@12 { 692 reg = <12>; 693 type = <PCA955X_TYPE_GPIO>; 694 }; 695 696 gpio@13 { 697 reg = <13>; 698 type = <PCA955X_TYPE_GPIO>; 699 }; 700 }; 701 702 pca1:pca9555@25 { 703 compatible = "nxp,pca9555"; 704 reg = <0x25>; 705 706 #address-cells = <1>; 707 #size-cells = <0>; 708 709 gpio-controller; 710 #gpio-cells = <2>; 711 712 gpio@0 { 713 reg = <0>; 714 type = <PCA955X_TYPE_GPIO>; 715 }; 716 717 gpio@1 { 718 reg = <1>; 719 type = <PCA955X_TYPE_GPIO>; 720 }; 721 722 gpio@2 { 723 reg = <2>; 724 type = <PCA955X_TYPE_GPIO>; 725 }; 726 727 gpio@3 { 728 reg = <3>; 729 type = <PCA955X_TYPE_GPIO>; 730 }; 731 732 gpio@4 { 733 reg = <4>; 734 type = <PCA955X_TYPE_GPIO>; 735 }; 736 737 gpio@5 { 738 reg = <5>; 739 type = <PCA955X_TYPE_GPIO>; 740 }; 741 742 gpio@6 { 743 reg = <6>; 744 type = <PCA955X_TYPE_GPIO>; 745 }; 746 747 gpio@7 { 748 reg = <7>; 749 type = <PCA955X_TYPE_GPIO>; 750 }; 751 gpio@8 { 752 reg = <8>; 753 type = <PCA955X_TYPE_GPIO>; 754 }; 755 756 gpio@9 { 757 reg = <9>; 758 type = <PCA955X_TYPE_GPIO>; 759 }; 760 761 gpio@10 { 762 reg = <10>; 763 type = <PCA955X_TYPE_GPIO>; 764 }; 765 766 gpio@11 { 767 reg = <11>; 768 type = <PCA955X_TYPE_GPIO>; 769 }; 770 771 gpio@12 { 772 reg = <12>; 773 type = <PCA955X_TYPE_GPIO>; 774 }; 775 776 gpio@13 { 777 reg = <13>; 778 type = <PCA955X_TYPE_GPIO>; 779 }; 780 781 gpio@14 { 782 reg = <14>; 783 type = <PCA955X_TYPE_GPIO>; 784 }; 785 786 gpio@15 { 787 reg = <15>; 788 type = <PCA955X_TYPE_GPIO>; 789 }; 790 }; 791}; 792 793&i2c9 { 794 status = "okay"; 795}; 796 797&i2c10 { 798 status = "okay"; 799 i2c-switch@70 { 800 compatible = "nxp,pca9546"; 801 reg = <0x70>; 802 #address-cells = <1>; 803 #size-cells = <0>; 804 channel_10_0: i2c@0 { 805 #address-cells = <1>; 806 #size-cells = <0>; 807 reg = <0>; 808 }; 809 810 channel_10_1: i2c@1 { 811 #address-cells = <1>; 812 #size-cells = <0>; 813 reg = <1>; 814 }; 815 816 channel_10_2: i2c@2 { 817 #address-cells = <1>; 818 #size-cells = <0>; 819 reg = <2>; 820 }; 821 822 channel_10_3: i2c@3 { 823 #address-cells = <1>; 824 #size-cells = <0>; 825 reg = <3>; 826 }; 827 }; 828 829 i2c-switch@71 { 830 compatible = "nxp,pca9546"; 831 reg = <0x71>; 832 #address-cells = <1>; 833 #size-cells = <0>; 834 channel_10_4: i2c@0 { 835 #address-cells = <1>; 836 #size-cells = <0>; 837 reg = <0>; 838 }; 839 840 channel_10_5: i2c@1 { 841 #address-cells = <1>; 842 #size-cells = <0>; 843 reg = <1>; 844 }; 845 846 channel_10_6: i2c@2 { 847 #address-cells = <1>; 848 #size-cells = <0>; 849 reg = <2>; 850 }; 851 852 channel_10_7: i2c@3 { 853 #address-cells = <1>; 854 #size-cells = <0>; 855 reg = <3>; 856 }; 857 }; 858}; 859 860&i2c11 { 861 status = "okay"; 862}; 863 864&i2c12 { 865 status = "okay"; 866}; 867 868&i2c13 { 869 status = "okay"; 870}; 871 872&pwm_tacho { 873 status = "okay"; 874 pinctrl-names = "default"; 875 pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default 876 &pinctrl_pwm2_default &pinctrl_pwm3_default 877 &pinctrl_pwm4_default &pinctrl_pwm5_default>; 878 879 fan@0 { 880 reg = <0x00>; 881 aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>; 882 }; 883 fan@1 { 884 reg = <0x01>; 885 aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>; 886 }; 887 fan@2 { 888 reg = <0x02>; 889 aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>; 890 }; 891 fan@3 { 892 reg = <0x03>; 893 aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>; 894 }; 895 fan@4 { 896 reg = <0x04>; 897 aspeed,fan-tach-ch = /bits/ 8 <0x08 0x09>; 898 }; 899 fan@5 { 900 reg = <0x05>; 901 aspeed,fan-tach-ch = /bits/ 8 <0x0a 0x0b>; 902 }; 903}; 904 905&gpio { 906 pin_gpio_i3 { 907 gpio-hog; 908 gpios = <ASPEED_GPIO(I, 3) GPIO_ACTIVE_HIGH>; 909 output-low; 910 line-name = "NCSI_BMC_R_SEL"; 911 }; 912 913 pin_gpio_b6 { 914 gpio-hog; 915 gpios = <ASPEED_GPIO(B, 6) GPIO_ACTIVE_HIGH>; 916 output-low; 917 line-name = "EN_NCSI_SWITCH_N"; 918 }; 919}; 920 921&video { 922 status = "okay"; 923 memory-region = <&video_engine_memory>; 924}; 925 926&vhub { 927 status = "okay"; 928}; 929