1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright (c) 2018 Facebook Inc. 3 /dts-v1/; 4 5 #include "ast2500-facebook-netbmc-common.dtsi" 6 7 / { 8 model = "Facebook Backpack CMM BMC"; 9 compatible = "facebook,cmm-bmc", "aspe 10 11 aliases { 12 /* 13 * Override the default uart a 14 * the legacy applications. 15 */ 16 serial0 = &uart5; 17 serial1 = &uart1; 18 serial2 = &uart3; 19 serial3 = &uart4; 20 21 /* 22 * PCA9548 (1-0077) provides 8 23 * 4 Line Cards and 4 Fabric C 24 */ 25 i2c16 = &imux16; 26 i2c17 = &imux17; 27 i2c18 = &imux18; 28 i2c19 = &imux19; 29 i2c20 = &imux20; 30 i2c21 = &imux21; 31 i2c22 = &imux22; 32 i2c23 = &imux23; 33 34 /* 35 * PCA9548 (2-0071) provides 8 36 * Power Distribution Board. 37 */ 38 i2c24 = &imux24; 39 i2c25 = &imux25; 40 i2c26 = &imux26; 41 i2c27 = &imux27; 42 i2c28 = &imux28; 43 i2c29 = &imux29; 44 i2c30 = &imux30; 45 i2c31 = &imux31; 46 47 /* 48 * PCA9548 (8-0077) provides 8 49 * channels are connecting to 50 */ 51 i2c32 = &imux32; 52 i2c33 = &imux33; 53 i2c34 = &imux34; 54 i2c35 = &imux35; 55 i2c36 = &imux36; 56 i2c37 = &imux37; 57 i2c38 = &imux38; 58 i2c39 = &imux39; 59 60 /* 61 * 2 PCA9548 (18-0070 & 18-007 62 * to Line Card #1. 63 */ 64 i2c40 = &imux40; 65 i2c41 = &imux41; 66 i2c42 = &imux42; 67 i2c43 = &imux43; 68 i2c44 = &imux44; 69 i2c45 = &imux45; 70 i2c46 = &imux46; 71 i2c47 = &imux47; 72 i2c48 = &imux48; 73 i2c49 = &imux49; 74 i2c50 = &imux50; 75 i2c51 = &imux51; 76 i2c52 = &imux52; 77 i2c53 = &imux53; 78 i2c54 = &imux54; 79 i2c55 = &imux55; 80 81 /* 82 * 2 PCA9548 (19-0070 & 19-007 83 * to Line Card #2. 84 */ 85 i2c56 = &imux56; 86 i2c57 = &imux57; 87 i2c58 = &imux58; 88 i2c59 = &imux59; 89 i2c60 = &imux60; 90 i2c61 = &imux61; 91 i2c62 = &imux62; 92 i2c63 = &imux63; 93 i2c64 = &imux64; 94 i2c65 = &imux65; 95 i2c66 = &imux66; 96 i2c67 = &imux67; 97 i2c68 = &imux68; 98 i2c69 = &imux69; 99 i2c70 = &imux70; 100 i2c71 = &imux71; 101 102 /* 103 * 2 PCA9548 (20-0070 & 20-007 104 * to Line Card #3. 105 */ 106 i2c72 = &imux72; 107 i2c73 = &imux73; 108 i2c74 = &imux74; 109 i2c75 = &imux75; 110 i2c76 = &imux76; 111 i2c77 = &imux77; 112 i2c78 = &imux78; 113 i2c79 = &imux79; 114 i2c80 = &imux80; 115 i2c81 = &imux81; 116 i2c82 = &imux82; 117 i2c83 = &imux83; 118 i2c84 = &imux84; 119 i2c85 = &imux85; 120 i2c86 = &imux86; 121 i2c87 = &imux87; 122 123 /* 124 * 2 PCA9548 (21-0070 & 21-007 125 * to Line Card #4. 126 */ 127 i2c88 = &imux88; 128 i2c89 = &imux89; 129 i2c90 = &imux90; 130 i2c91 = &imux91; 131 i2c92 = &imux92; 132 i2c93 = &imux93; 133 i2c94 = &imux94; 134 i2c95 = &imux95; 135 i2c96 = &imux96; 136 i2c97 = &imux97; 137 i2c98 = &imux98; 138 i2c99 = &imux99; 139 i2c100 = &imux100; 140 i2c101 = &imux101; 141 i2c102 = &imux102; 142 i2c103 = &imux103; 143 144 /* 145 * 2 PCA9548 (16-0070 & 16-007 146 * to Fabric Card #1. 147 */ 148 i2c104 = &imux104; 149 i2c105 = &imux105; 150 i2c106 = &imux106; 151 i2c107 = &imux107; 152 i2c108 = &imux108; 153 i2c109 = &imux109; 154 i2c110 = &imux110; 155 i2c111 = &imux111; 156 i2c112 = &imux112; 157 i2c113 = &imux113; 158 i2c114 = &imux114; 159 i2c115 = &imux115; 160 i2c116 = &imux116; 161 i2c117 = &imux117; 162 i2c118 = &imux118; 163 i2c119 = &imux119; 164 165 /* 166 * 2 PCA9548 (17-0070 & 17-007 167 * to Fabric Card #2. 168 */ 169 i2c120 = &imux120; 170 i2c121 = &imux121; 171 i2c122 = &imux122; 172 i2c123 = &imux123; 173 i2c124 = &imux124; 174 i2c125 = &imux125; 175 i2c126 = &imux126; 176 i2c127 = &imux127; 177 i2c128 = &imux128; 178 i2c129 = &imux129; 179 i2c130 = &imux130; 180 i2c131 = &imux131; 181 i2c132 = &imux132; 182 i2c133 = &imux133; 183 i2c134 = &imux134; 184 i2c135 = &imux135; 185 186 /* 187 * 2 PCA9548 (22-0070 & 22-007 188 * to Fabric Card #3. 189 */ 190 i2c136 = &imux136; 191 i2c137 = &imux137; 192 i2c138 = &imux138; 193 i2c139 = &imux139; 194 i2c140 = &imux140; 195 i2c141 = &imux141; 196 i2c142 = &imux142; 197 i2c143 = &imux143; 198 i2c144 = &imux144; 199 i2c145 = &imux145; 200 i2c146 = &imux146; 201 i2c147 = &imux147; 202 i2c148 = &imux148; 203 i2c149 = &imux149; 204 i2c150 = &imux150; 205 i2c151 = &imux151; 206 207 /* 208 * 2 PCA9548 (23-0070 & 23-007 209 * to Fabric Card #4. 210 */ 211 i2c152 = &imux152; 212 i2c153 = &imux153; 213 i2c154 = &imux154; 214 i2c155 = &imux155; 215 i2c156 = &imux156; 216 i2c157 = &imux157; 217 i2c158 = &imux158; 218 i2c159 = &imux159; 219 i2c160 = &imux160; 220 i2c161 = &imux161; 221 i2c162 = &imux162; 222 i2c163 = &imux163; 223 i2c164 = &imux164; 224 i2c165 = &imux165; 225 i2c166 = &imux166; 226 i2c167 = &imux167; 227 228 /* 229 * PCA9548 (32-0070), 8 channe 230 # Board #1. 231 */ 232 i2c168 = &imux168; 233 i2c169 = &imux169; 234 i2c170 = &imux170; 235 i2c171 = &imux171; 236 i2c172 = &imux172; 237 i2c173 = &imux173; 238 i2c174 = &imux174; 239 i2c175 = &imux175; 240 241 /* 242 * PCA9548 (33-0070), 8 channe 243 # Board #2. 244 */ 245 i2c176 = &imux176; 246 i2c177 = &imux177; 247 i2c178 = &imux178; 248 i2c179 = &imux179; 249 i2c180 = &imux180; 250 i2c181 = &imux181; 251 i2c182 = &imux182; 252 i2c183 = &imux183; 253 254 /* 255 * PCA9548 (34-0070), 8 channe 256 # Board #3. 257 */ 258 i2c184 = &imux184; 259 i2c185 = &imux185; 260 i2c186 = &imux186; 261 i2c187 = &imux187; 262 i2c188 = &imux188; 263 i2c189 = &imux189; 264 i2c190 = &imux190; 265 i2c191 = &imux191; 266 267 /* 268 * PCA9548 (35-0070), 8 channe 269 # Board #4. 270 */ 271 i2c192 = &imux192; 272 i2c193 = &imux193; 273 i2c194 = &imux194; 274 i2c195 = &imux195; 275 i2c196 = &imux196; 276 i2c197 = &imux197; 277 i2c198 = &imux198; 278 i2c199 = &imux199; 279 }; 280 281 chosen { 282 stdout-path = &uart1; 283 bootargs = "console=ttyS1,9600 284 }; 285 286 ast-adc-hwmon { 287 compatible = "iio-hwmon"; 288 io-channels = <&adc 0>, <&adc 289 <&adc 4>, <&adc 290 }; 291 }; 292 293 &uart1 { 294 pinctrl-0 = <&pinctrl_txd1_default 295 &pinctrl_rxd1_default 296 &pinctrl_ncts1_default 297 &pinctrl_ndcd1_default 298 &pinctrl_ndsr1_default 299 &pinctrl_ndtr1_default 300 &pinctrl_nrts1_default>; 301 }; 302 303 &uart3 { 304 pinctrl-0 = <&pinctrl_txd3_default 305 &pinctrl_rxd3_default 306 &pinctrl_ncts3_default 307 &pinctrl_ndcd3_default 308 &pinctrl_nri3_default>; 309 }; 310 311 &uart4 { 312 status = "okay"; 313 pinctrl-names = "default"; 314 pinctrl-0 = <&pinctrl_txd4_default 315 &pinctrl_rxd4_default>; 316 }; 317 318 /* 319 * I2C bus reserved for communication with COM 320 */ 321 &i2c0 { 322 status = "okay"; 323 }; 324 325 /* 326 * I2C bus to Line Cards and Fabric Cards. 327 */ 328 &i2c1 { 329 status = "okay"; 330 331 i2c-mux@77 { 332 compatible = "nxp,pca9548"; 333 #address-cells = <1>; 334 #size-cells = <0>; 335 reg = <0x77>; 336 i2c-mux-idle-disconnect; 337 338 /* To Fabric Card #1 */ 339 imux16: i2c@0 { 340 #address-cells = <1>; 341 #size-cells = <0>; 342 reg = <0>; 343 344 i2c-mux@70 { 345 compatible = " 346 #address-cells 347 #size-cells = 348 reg = <0x70>; 349 i2c-mux-idle-d 350 351 imux104: i2c@0 352 #addre 353 #size- 354 reg = 355 }; 356 imux105: i2c@1 357 #addre 358 #size- 359 reg = 360 }; 361 imux106: i2c@2 362 #addre 363 #size- 364 reg = 365 }; 366 imux107: i2c@3 367 #addre 368 #size- 369 reg = 370 }; 371 imux108: i2c@4 372 #addre 373 #size- 374 reg = 375 }; 376 imux109: i2c@5 377 #addre 378 #size- 379 reg = 380 }; 381 imux110: i2c@6 382 #addre 383 #size- 384 reg = 385 }; 386 imux111: i2c@7 387 #addre 388 #size- 389 reg = 390 }; 391 }; 392 393 i2c-mux@73 { 394 compatible = " 395 #address-cells 396 #size-cells = 397 reg = <0x73>; 398 i2c-mux-idle-d 399 400 imux112: i2c@0 401 #addre 402 #size- 403 reg = 404 }; 405 imux113: i2c@1 406 #addre 407 #size- 408 reg = 409 }; 410 imux114: i2c@2 411 #addre 412 #size- 413 reg = 414 }; 415 imux115: i2c@3 416 #addre 417 #size- 418 reg = 419 }; 420 imux116: i2c@4 421 #addre 422 #size- 423 reg = 424 }; 425 imux117: i2c@5 426 #addre 427 #size- 428 reg = 429 }; 430 imux118: i2c@6 431 #addre 432 #size- 433 reg = 434 }; 435 imux119: i2c@7 436 #addre 437 #size- 438 reg = 439 }; 440 }; 441 }; 442 443 /* To Fabric Card #2 */ 444 imux17: i2c@1 { 445 #address-cells = <1>; 446 #size-cells = <0>; 447 reg = <1>; 448 449 i2c-mux@70 { 450 compatible = " 451 #address-cells 452 #size-cells = 453 reg = <0x70>; 454 i2c-mux-idle-d 455 456 imux120: i2c@0 457 #addre 458 #size- 459 reg = 460 }; 461 imux121: i2c@1 462 #addre 463 #size- 464 reg = 465 }; 466 imux122: i2c@2 467 #addre 468 #size- 469 reg = 470 }; 471 imux123: i2c@3 472 #addre 473 #size- 474 reg = 475 }; 476 imux124: i2c@4 477 #addre 478 #size- 479 reg = 480 }; 481 imux125: i2c@5 482 #addre 483 #size- 484 reg = 485 }; 486 imux126: i2c@6 487 #addre 488 #size- 489 reg = 490 }; 491 imux127: i2c@7 492 #addre 493 #size- 494 reg = 495 }; 496 }; 497 498 i2c-mux@73 { 499 compatible = " 500 #address-cells 501 #size-cells = 502 reg = <0x73>; 503 i2c-mux-idle-d 504 505 imux128: i2c@0 506 #addre 507 #size- 508 reg = 509 }; 510 imux129: i2c@1 511 #addre 512 #size- 513 reg = 514 }; 515 imux130: i2c@2 516 #addre 517 #size- 518 reg = 519 }; 520 imux131: i2c@3 521 #addre 522 #size- 523 reg = 524 }; 525 imux132: i2c@4 526 #addre 527 #size- 528 reg = 529 }; 530 imux133: i2c@5 531 #addre 532 #size- 533 reg = 534 }; 535 imux134: i2c@6 536 #addre 537 #size- 538 reg = 539 }; 540 imux135: i2c@7 541 #addre 542 #size- 543 reg = 544 }; 545 }; 546 }; 547 548 /* To Line Card #1 */ 549 imux18: i2c@2 { 550 #address-cells = <1>; 551 #size-cells = <0>; 552 reg = <2>; 553 554 i2c-mux@70 { 555 compatible = " 556 #address-cells 557 #size-cells = 558 reg = <0x70>; 559 i2c-mux-idle-d 560 561 imux40: i2c@0 562 #addre 563 #size- 564 reg = 565 }; 566 imux41: i2c@1 567 #addre 568 #size- 569 reg = 570 }; 571 imux42: i2c@2 572 #addre 573 #size- 574 reg = 575 }; 576 imux43: i2c@3 577 #addre 578 #size- 579 reg = 580 }; 581 imux44: i2c@4 582 #addre 583 #size- 584 reg = 585 }; 586 imux45: i2c@5 587 #addre 588 #size- 589 reg = 590 }; 591 imux46: i2c@6 592 #addre 593 #size- 594 reg = 595 }; 596 imux47: i2c@7 597 #addre 598 #size- 599 reg = 600 }; 601 }; 602 603 i2c-mux@73 { 604 compatible = " 605 #address-cells 606 #size-cells = 607 reg = <0x73>; 608 i2c-mux-idle-d 609 610 imux48: i2c@0 611 #addre 612 #size- 613 reg = 614 }; 615 imux49: i2c@1 616 #addre 617 #size- 618 reg = 619 }; 620 imux50: i2c@2 621 #addre 622 #size- 623 reg = 624 }; 625 imux51: i2c@3 626 #addre 627 #size- 628 reg = 629 }; 630 imux52: i2c@4 631 #addre 632 #size- 633 reg = 634 }; 635 imux53: i2c@5 636 #addre 637 #size- 638 reg = 639 }; 640 imux54: i2c@6 641 #addre 642 #size- 643 reg = 644 }; 645 imux55: i2c@7 646 #addre 647 #size- 648 reg = 649 }; 650 }; 651 }; 652 653 /* To Line Card #2 */ 654 imux19: i2c@3 { 655 #address-cells = <1>; 656 #size-cells = <0>; 657 reg = <3>; 658 659 i2c-mux@70 { 660 compatible = " 661 #address-cells 662 #size-cells = 663 reg = <0x70>; 664 i2c-mux-idle-d 665 666 imux56: i2c@0 667 #addre 668 #size- 669 reg = 670 }; 671 imux57: i2c@1 672 #addre 673 #size- 674 reg = 675 }; 676 imux58: i2c@2 677 #addre 678 #size- 679 reg = 680 }; 681 imux59: i2c@3 682 #addre 683 #size- 684 reg = 685 }; 686 imux60: i2c@4 687 #addre 688 #size- 689 reg = 690 }; 691 imux61: i2c@5 692 #addre 693 #size- 694 reg = 695 }; 696 imux62: i2c@6 697 #addre 698 #size- 699 reg = 700 }; 701 imux63: i2c@7 702 #addre 703 #size- 704 reg = 705 }; 706 }; 707 708 i2c-mux@73 { 709 compatible = " 710 #address-cells 711 #size-cells = 712 reg = <0x73>; 713 i2c-mux-idle-d 714 715 imux64: i2c@0 716 #addre 717 #size- 718 reg = 719 }; 720 imux65: i2c@1 721 #addre 722 #size- 723 reg = 724 }; 725 imux66: i2c@2 726 #addre 727 #size- 728 reg = 729 }; 730 imux67: i2c@3 731 #addre 732 #size- 733 reg = 734 }; 735 imux68: i2c@4 736 #addre 737 #size- 738 reg = 739 }; 740 imux69: i2c@5 741 #addre 742 #size- 743 reg = 744 }; 745 imux70: i2c@6 746 #addre 747 #size- 748 reg = 749 }; 750 imux71: i2c@7 751 #addre 752 #size- 753 reg = 754 }; 755 }; 756 }; 757 758 /* To LC3 SCM */ 759 imux20: i2c@4 { 760 #address-cells = <1>; 761 #size-cells = <0>; 762 reg = <4>; 763 764 i2c-mux@70 { 765 compatible = " 766 #address-cells 767 #size-cells = 768 reg = <0x70>; 769 i2c-mux-idle-d 770 771 imux72: i2c@0 772 #addre 773 #size- 774 reg = 775 }; 776 imux73: i2c@1 777 #addre 778 #size- 779 reg = 780 }; 781 imux74: i2c@2 782 #addre 783 #size- 784 reg = 785 }; 786 imux75: i2c@3 787 #addre 788 #size- 789 reg = 790 }; 791 imux76: i2c@4 792 #addre 793 #size- 794 reg = 795 }; 796 imux77: i2c@5 797 #addre 798 #size- 799 reg = 800 }; 801 imux78: i2c@6 802 #addre 803 #size- 804 reg = 805 }; 806 imux79: i2c@7 807 #addre 808 #size- 809 reg = 810 }; 811 }; 812 813 i2c-mux@73 { 814 compatible = " 815 #address-cells 816 #size-cells = 817 reg = <0x73>; 818 i2c-mux-idle-d 819 820 imux80: i2c@0 821 #addre 822 #size- 823 reg = 824 }; 825 imux81: i2c@1 826 #addre 827 #size- 828 reg = 829 }; 830 imux82: i2c@2 831 #addre 832 #size- 833 reg = 834 }; 835 imux83: i2c@3 836 #addre 837 #size- 838 reg = 839 }; 840 imux84: i2c@4 841 #addre 842 #size- 843 reg = 844 }; 845 imux85: i2c@5 846 #addre 847 #size- 848 reg = 849 }; 850 imux86: i2c@6 851 #addre 852 #size- 853 reg = 854 }; 855 imux87: i2c@7 856 #addre 857 #size- 858 reg = 859 }; 860 }; 861 }; 862 863 /* To Line Card #4 */ 864 imux21: i2c@5 { 865 #address-cells = <1>; 866 #size-cells = <0>; 867 reg = <5>; 868 869 i2c-mux@70 { 870 compatible = " 871 #address-cells 872 #size-cells = 873 reg = <0x70>; 874 i2c-mux-idle-d 875 876 imux88: i2c@0 877 #addre 878 #size- 879 reg = 880 }; 881 imux89: i2c@1 882 #addre 883 #size- 884 reg = 885 }; 886 imux90: i2c@2 887 #addre 888 #size- 889 reg = 890 }; 891 imux91: i2c@3 892 #addre 893 #size- 894 reg = 895 }; 896 imux92: i2c@4 897 #addre 898 #size- 899 reg = 900 }; 901 imux93: i2c@5 902 #addre 903 #size- 904 reg = 905 }; 906 imux94: i2c@6 907 #addre 908 #size- 909 reg = 910 }; 911 imux95: i2c@7 912 #addre 913 #size- 914 reg = 915 }; 916 }; 917 918 i2c-mux@73 { 919 compatible = " 920 #address-cells 921 #size-cells = 922 reg = <0x73>; 923 i2c-mux-idle-d 924 925 imux96: i2c@0 926 #addre 927 #size- 928 reg = 929 }; 930 imux97: i2c@1 931 #addre 932 #size- 933 reg = 934 }; 935 imux98: i2c@2 936 #addre 937 #size- 938 reg = 939 }; 940 imux99: i2c@3 941 #addre 942 #size- 943 reg = 944 }; 945 imux100: i2c@4 946 #addre 947 #size- 948 reg = 949 }; 950 imux101: i2c@5 951 #addre 952 #size- 953 reg = 954 }; 955 imux102: i2c@6 956 #addre 957 #size- 958 reg = 959 }; 960 imux103: i2c@7 961 #addre 962 #size- 963 reg = 964 }; 965 }; 966 }; 967 968 /* To Fabric Card #3 */ 969 imux22: i2c@6 { 970 #address-cells = <1>; 971 #size-cells = <0>; 972 reg = <6>; 973 974 i2c-mux@70 { 975 compatible = " 976 #address-cells 977 #size-cells = 978 reg = <0x70>; 979 i2c-mux-idle-d 980 981 imux136: i2c@0 982 #addre 983 #size- 984 reg = 985 }; 986 imux137: i2c@1 987 #addre 988 #size- 989 reg = 990 }; 991 imux138: i2c@2 992 #addre 993 #size- 994 reg = 995 }; 996 imux139: i2c@3 997 #addre 998 #size- 999 reg = 1000 }; 1001 imux140: i2c@ 1002 #addr 1003 #size 1004 reg = 1005 }; 1006 imux141: i2c@ 1007 #addr 1008 #size 1009 reg = 1010 }; 1011 imux142: i2c@ 1012 #addr 1013 #size 1014 reg = 1015 }; 1016 imux143: i2c@ 1017 #addr 1018 #size 1019 reg = 1020 }; 1021 }; 1022 1023 i2c-mux@73 { 1024 compatible = 1025 #address-cell 1026 #size-cells = 1027 reg = <0x73>; 1028 i2c-mux-idle- 1029 1030 imux144: i2c@ 1031 #addr 1032 #size 1033 reg = 1034 }; 1035 imux145: i2c@ 1036 #addr 1037 #size 1038 reg = 1039 }; 1040 imux146: i2c@ 1041 #addr 1042 #size 1043 reg = 1044 }; 1045 imux147: i2c@ 1046 #addr 1047 #size 1048 reg = 1049 }; 1050 imux148: i2c@ 1051 #addr 1052 #size 1053 reg = 1054 }; 1055 imux149: i2c@ 1056 #addr 1057 #size 1058 reg = 1059 }; 1060 imux150: i2c@ 1061 #addr 1062 #size 1063 reg = 1064 }; 1065 imux151: i2c@ 1066 #addr 1067 #size 1068 reg = 1069 }; 1070 }; 1071 }; 1072 1073 /* To Fabric Card #4 */ 1074 imux23: i2c@7 { 1075 #address-cells = <1>; 1076 #size-cells = <0>; 1077 reg = <7>; 1078 1079 i2c-mux@70 { 1080 compatible = 1081 #address-cell 1082 #size-cells = 1083 reg = <0x70>; 1084 i2c-mux-idle- 1085 1086 imux152: i2c@ 1087 #addr 1088 #size 1089 reg = 1090 }; 1091 imux153: i2c@ 1092 #addr 1093 #size 1094 reg = 1095 }; 1096 imux154: i2c@ 1097 #addr 1098 #size 1099 reg = 1100 }; 1101 imux155: i2c@ 1102 #addr 1103 #size 1104 reg = 1105 }; 1106 imux156: i2c@ 1107 #addr 1108 #size 1109 reg = 1110 }; 1111 imux157: i2c@ 1112 #addr 1113 #size 1114 reg = 1115 }; 1116 imux158: i2c@ 1117 #addr 1118 #size 1119 reg = 1120 }; 1121 imux159: i2c@ 1122 #addr 1123 #size 1124 reg = 1125 }; 1126 }; 1127 1128 i2c-mux@73 { 1129 compatible = 1130 #address-cell 1131 #size-cells = 1132 reg = <0x73>; 1133 i2c-mux-idle- 1134 1135 imux160: i2c@ 1136 #addr 1137 #size 1138 reg = 1139 }; 1140 imux161: i2c@ 1141 #addr 1142 #size 1143 reg = 1144 }; 1145 imux162: i2c@ 1146 #addr 1147 #size 1148 reg = 1149 }; 1150 imux163: i2c@ 1151 #addr 1152 #size 1153 reg = 1154 }; 1155 imux164: i2c@ 1156 #addr 1157 #size 1158 reg = 1159 }; 1160 imux165: i2c@ 1161 #addr 1162 #size 1163 reg = 1164 }; 1165 imux166: i2c@ 1166 #addr 1167 #size 1168 reg = 1169 }; 1170 imux167: i2c@ 1171 #addr 1172 #size 1173 reg = 1174 }; 1175 }; 1176 }; 1177 }; 1178 }; 1179 1180 /* 1181 * I2C bus to Power Distribution Board. 1182 */ 1183 &i2c2 { 1184 status = "okay"; 1185 1186 i2c-mux@71 { 1187 compatible = "nxp,pca9548"; 1188 #address-cells = <1>; 1189 #size-cells = <0>; 1190 reg = <0x71>; 1191 i2c-mux-idle-disconnect; 1192 1193 imux24: i2c@0 { 1194 #address-cells = <1>; 1195 #size-cells = <0>; 1196 reg = <0>; 1197 }; 1198 1199 imux25: i2c@1 { 1200 #address-cells = <1>; 1201 #size-cells = <0>; 1202 reg = <1>; 1203 }; 1204 1205 imux26: i2c@2 { 1206 #address-cells = <1>; 1207 #size-cells = <0>; 1208 reg = <2>; 1209 }; 1210 1211 imux27: i2c@3 { 1212 #address-cells = <1>; 1213 #size-cells = <0>; 1214 reg = <3>; 1215 }; 1216 1217 imux28: i2c@4 { 1218 #address-cells = <1>; 1219 #size-cells = <0>; 1220 reg = <4>; 1221 }; 1222 1223 imux29: i2c@5 { 1224 #address-cells = <1>; 1225 #size-cells = <0>; 1226 reg = <5>; 1227 }; 1228 1229 imux30: i2c@6 { 1230 #address-cells = <1>; 1231 #size-cells = <0>; 1232 reg = <6>; 1233 }; 1234 1235 imux31: i2c@7 { 1236 #address-cells = <1>; 1237 #size-cells = <0>; 1238 reg = <7>; 1239 }; 1240 }; 1241 }; 1242 1243 /* 1244 * I2c bus connected with temperature sensors 1245 */ 1246 &i2c3 { 1247 status = "okay"; 1248 }; 1249 1250 /* 1251 * I2C bus reserved for communication with CO 1252 */ 1253 &i2c4 { 1254 status = "okay"; 1255 }; 1256 1257 /* 1258 * I2c bus connected with ADM1278. 1259 */ 1260 &i2c5 { 1261 status = "okay"; 1262 }; 1263 1264 /* 1265 * I2c bus connected with I/O Expander. 1266 */ 1267 &i2c6 { 1268 status = "okay"; 1269 }; 1270 1271 /* 1272 * I2c bus connected with I/O Expander and EP 1273 */ 1274 &i2c7 { 1275 status = "okay"; 1276 }; 1277 1278 /* 1279 * I2C bus to Fan Control Boards. 1280 */ 1281 &i2c8 { 1282 status = "okay"; 1283 1284 i2c-mux@77 { 1285 compatible = "nxp,pca9548"; 1286 #address-cells = <1>; 1287 #size-cells = <0>; 1288 reg = <0x77>; 1289 i2c-mux-idle-disconnect; 1290 1291 /* To Fan Control Board #1 */ 1292 imux32: i2c@0 { 1293 #address-cells = <1>; 1294 #size-cells = <0>; 1295 reg = <0>; 1296 1297 i2c-mux@70 { 1298 compatible = 1299 #address-cell 1300 #size-cells = 1301 reg = <0x70>; 1302 i2c-mux-idle- 1303 1304 imux168: i2c@ 1305 #addr 1306 #size 1307 reg = 1308 }; 1309 imux169: i2c@ 1310 #addr 1311 #size 1312 reg = 1313 }; 1314 imux170: i2c@ 1315 #addr 1316 #size 1317 reg = 1318 }; 1319 imux171: i2c@ 1320 #addr 1321 #size 1322 reg = 1323 }; 1324 imux172: i2c@ 1325 #addr 1326 #size 1327 reg = 1328 }; 1329 imux173: i2c@ 1330 #addr 1331 #size 1332 reg = 1333 }; 1334 imux174: i2c@ 1335 #addr 1336 #size 1337 reg = 1338 }; 1339 imux175: i2c@ 1340 #addr 1341 #size 1342 reg = 1343 }; 1344 }; 1345 }; 1346 1347 /* To Fan Control Board #2 */ 1348 imux33: i2c@1 { 1349 #address-cells = <1>; 1350 #size-cells = <0>; 1351 reg = <1>; 1352 1353 i2c-mux@70 { 1354 compatible = 1355 #address-cell 1356 #size-cells = 1357 reg = <0x70>; 1358 i2c-mux-idle- 1359 1360 imux176: i2c@ 1361 #addr 1362 #size 1363 reg = 1364 }; 1365 imux177: i2c@ 1366 #addr 1367 #size 1368 reg = 1369 }; 1370 imux178: i2c@ 1371 #addr 1372 #size 1373 reg = 1374 }; 1375 imux179: i2c@ 1376 #addr 1377 #size 1378 reg = 1379 }; 1380 imux180: i2c@ 1381 #addr 1382 #size 1383 reg = 1384 }; 1385 imux181: i2c@ 1386 #addr 1387 #size 1388 reg = 1389 }; 1390 imux182: i2c@ 1391 #addr 1392 #size 1393 reg = 1394 }; 1395 imux183: i2c@ 1396 #addr 1397 #size 1398 reg = 1399 }; 1400 }; 1401 }; 1402 1403 /* To Fan Control Board #3 */ 1404 imux34: i2c@2 { 1405 #address-cells = <1>; 1406 #size-cells = <0>; 1407 reg = <2>; 1408 1409 i2c-mux@70 { 1410 compatible = 1411 #address-cell 1412 #size-cells = 1413 reg = <0x70>; 1414 i2c-mux-idle- 1415 1416 imux184: i2c@ 1417 #addr 1418 #size 1419 reg = 1420 }; 1421 imux185: i2c@ 1422 #addr 1423 #size 1424 reg = 1425 }; 1426 imux186: i2c@ 1427 #addr 1428 #size 1429 reg = 1430 }; 1431 imux187: i2c@ 1432 #addr 1433 #size 1434 reg = 1435 }; 1436 imux188: i2c@ 1437 #addr 1438 #size 1439 reg = 1440 }; 1441 imux189: i2c@ 1442 #addr 1443 #size 1444 reg = 1445 }; 1446 imux190: i2c@ 1447 #addr 1448 #size 1449 reg = 1450 }; 1451 imux191: i2c@ 1452 #addr 1453 #size 1454 reg = 1455 }; 1456 }; 1457 }; 1458 1459 /* To Fan Control Board #4 */ 1460 imux35: i2c@3 { 1461 #address-cells = <1>; 1462 #size-cells = <0>; 1463 reg = <3>; 1464 1465 i2c-mux@70 { 1466 compatible = 1467 #address-cell 1468 #size-cells = 1469 reg = <0x70>; 1470 i2c-mux-idle- 1471 1472 imux192: i2c@ 1473 #addr 1474 #size 1475 reg = 1476 }; 1477 imux193: i2c@ 1478 #addr 1479 #size 1480 reg = 1481 }; 1482 imux194: i2c@ 1483 #addr 1484 #size 1485 reg = 1486 }; 1487 imux195: i2c@ 1488 #addr 1489 #size 1490 reg = 1491 }; 1492 imux196: i2c@ 1493 #addr 1494 #size 1495 reg = 1496 }; 1497 imux197: i2c@ 1498 #addr 1499 #size 1500 reg = 1501 }; 1502 imux198: i2c@ 1503 #addr 1504 #size 1505 reg = 1506 }; 1507 imux199: i2c@ 1508 #addr 1509 #size 1510 reg = 1511 }; 1512 }; 1513 }; 1514 1515 imux36: i2c@4 { 1516 #address-cells = <1>; 1517 #size-cells = <0>; 1518 reg = <4>; 1519 }; 1520 1521 imux37: i2c@5 { 1522 #address-cells = <1>; 1523 #size-cells = <0>; 1524 reg = <5>; 1525 }; 1526 1527 imux38: i2c@6 { 1528 #address-cells = <1>; 1529 #size-cells = <0>; 1530 reg = <6>; 1531 }; 1532 1533 imux39: i2c@7 { 1534 #address-cells = <1>; 1535 #size-cells = <0>; 1536 reg = <7>; 1537 }; 1538 }; 1539 }; 1540 1541 /* 1542 * I2C bus to CMM CPLD. 1543 */ 1544 &i2c13 { 1545 status = "okay"; 1546 }; 1547 1548 &adc { 1549 status = "okay"; 1550 }; 1551 1552 &ehci0 { 1553 status = "okay"; 1554 }; 1555 1556 &ehci1 { 1557 status = "okay"; 1558 }; 1559 1560 &vhub { 1561 status = "disabled"; 1562 }; 1563 1564 &sdhci0 { 1565 status = "okay"; 1566 1567 pinctrl-names = "default"; 1568 pinctrl-0 = <&pinctrl_sd1_default>; 1569 }; 1570 1571 &sdhci1 { 1572 status = "disabled"; 1573 }; 1574 1575 &fmc_flash0 { 1576 #include "facebook-bmc-flash-layout.dtsi" 1577 }; 1578 1579 &fmc_flash1 { 1580 partitions { 1581 compatible = "fixed-partition 1582 #address-cells = <1>; 1583 #size-cells = <1>; 1584 1585 flash1@0 { 1586 reg = <0x0 0x2000000> 1587 label = "flash1"; 1588 }; 1589 }; 1590 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.