1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright (c) 2018 Facebook Inc.
5 #include "ast2500-facebook-netbmc-common.dtsi"
8 model = "Facebook Backpack CMM BMC";
9 compatible = "facebook,cmm-bmc", "aspeed,ast2500";
13 * Override the default uart aliases to avoid breaking
14 * the legacy applications.
22 * PCA9548 (1-0077) provides 8 channels for connecting to
23 * 4 Line Cards and 4 Fabric Cards.
35 * PCA9548 (2-0071) provides 8 channels for connecting to
36 * Power Distribution Board.
48 * PCA9548 (8-0077) provides 8 channels and the first 4
49 * channels are connecting to 4 Fan Control Boards.
61 * 2 PCA9548 (18-0070 & 18-0073), 16 channels connecting
82 * 2 PCA9548 (19-0070 & 19-0073), 16 channels connecting
103 * 2 PCA9548 (20-0070 & 20-0073), 16 channels connecting
124 * 2 PCA9548 (21-0070 & 21-0073), 16 channels connecting
145 * 2 PCA9548 (16-0070 & 16-0073), 16 channels connecting
166 * 2 PCA9548 (17-0070 & 17-0073), 16 channels connecting
187 * 2 PCA9548 (22-0070 & 22-0073), 16 channels connecting
208 * 2 PCA9548 (23-0070 & 23-0073), 16 channels connecting
229 * PCA9548 (32-0070), 8 channels connecting to Fan Control
242 * PCA9548 (33-0070), 8 channels connecting to Fan Control
255 * PCA9548 (34-0070), 8 channels connecting to Fan Control
268 * PCA9548 (35-0070), 8 channels connecting to Fan Control
282 stdout-path = &uart1;
283 bootargs = "console=ttyS1,9600n8 root=/dev/ram rw earlyprintk";
287 compatible = "iio-hwmon";
288 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
289 <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>;
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>;
304 pinctrl-0 = <&pinctrl_txd3_default
305 &pinctrl_rxd3_default
306 &pinctrl_ncts3_default
307 &pinctrl_ndcd3_default
308 &pinctrl_nri3_default>;
313 pinctrl-names = "default";
314 pinctrl-0 = <&pinctrl_txd4_default
315 &pinctrl_rxd4_default>;
319 * I2C bus reserved for communication with COM-E.
326 * I2C bus to Line Cards and Fabric Cards.
332 compatible = "nxp,pca9548";
333 #address-cells = <1>;
336 i2c-mux-idle-disconnect;
338 /* To Fabric Card #1 */
340 #address-cells = <1>;
345 compatible = "nxp,pca9548";
346 #address-cells = <1>;
349 i2c-mux-idle-disconnect;
352 #address-cells = <1>;
357 #address-cells = <1>;
362 #address-cells = <1>;
367 #address-cells = <1>;
372 #address-cells = <1>;
377 #address-cells = <1>;
382 #address-cells = <1>;
387 #address-cells = <1>;
394 compatible = "nxp,pca9548";
395 #address-cells = <1>;
398 i2c-mux-idle-disconnect;
401 #address-cells = <1>;
406 #address-cells = <1>;
411 #address-cells = <1>;
416 #address-cells = <1>;
421 #address-cells = <1>;
426 #address-cells = <1>;
431 #address-cells = <1>;
436 #address-cells = <1>;
443 /* To Fabric Card #2 */
445 #address-cells = <1>;
450 compatible = "nxp,pca9548";
451 #address-cells = <1>;
454 i2c-mux-idle-disconnect;
457 #address-cells = <1>;
462 #address-cells = <1>;
467 #address-cells = <1>;
472 #address-cells = <1>;
477 #address-cells = <1>;
482 #address-cells = <1>;
487 #address-cells = <1>;
492 #address-cells = <1>;
499 compatible = "nxp,pca9548";
500 #address-cells = <1>;
503 i2c-mux-idle-disconnect;
506 #address-cells = <1>;
511 #address-cells = <1>;
516 #address-cells = <1>;
521 #address-cells = <1>;
526 #address-cells = <1>;
531 #address-cells = <1>;
536 #address-cells = <1>;
541 #address-cells = <1>;
548 /* To Line Card #1 */
550 #address-cells = <1>;
555 compatible = "nxp,pca9548";
556 #address-cells = <1>;
559 i2c-mux-idle-disconnect;
562 #address-cells = <1>;
567 #address-cells = <1>;
572 #address-cells = <1>;
577 #address-cells = <1>;
582 #address-cells = <1>;
587 #address-cells = <1>;
592 #address-cells = <1>;
597 #address-cells = <1>;
604 compatible = "nxp,pca9548";
605 #address-cells = <1>;
608 i2c-mux-idle-disconnect;
611 #address-cells = <1>;
616 #address-cells = <1>;
621 #address-cells = <1>;
626 #address-cells = <1>;
631 #address-cells = <1>;
636 #address-cells = <1>;
641 #address-cells = <1>;
646 #address-cells = <1>;
653 /* To Line Card #2 */
655 #address-cells = <1>;
660 compatible = "nxp,pca9548";
661 #address-cells = <1>;
664 i2c-mux-idle-disconnect;
667 #address-cells = <1>;
672 #address-cells = <1>;
677 #address-cells = <1>;
682 #address-cells = <1>;
687 #address-cells = <1>;
692 #address-cells = <1>;
697 #address-cells = <1>;
702 #address-cells = <1>;
709 compatible = "nxp,pca9548";
710 #address-cells = <1>;
713 i2c-mux-idle-disconnect;
716 #address-cells = <1>;
721 #address-cells = <1>;
726 #address-cells = <1>;
731 #address-cells = <1>;
736 #address-cells = <1>;
741 #address-cells = <1>;
746 #address-cells = <1>;
751 #address-cells = <1>;
760 #address-cells = <1>;
765 compatible = "nxp,pca9548";
766 #address-cells = <1>;
769 i2c-mux-idle-disconnect;
772 #address-cells = <1>;
777 #address-cells = <1>;
782 #address-cells = <1>;
787 #address-cells = <1>;
792 #address-cells = <1>;
797 #address-cells = <1>;
802 #address-cells = <1>;
807 #address-cells = <1>;
814 compatible = "nxp,pca9548";
815 #address-cells = <1>;
818 i2c-mux-idle-disconnect;
821 #address-cells = <1>;
826 #address-cells = <1>;
831 #address-cells = <1>;
836 #address-cells = <1>;
841 #address-cells = <1>;
846 #address-cells = <1>;
851 #address-cells = <1>;
856 #address-cells = <1>;
863 /* To Line Card #4 */
865 #address-cells = <1>;
870 compatible = "nxp,pca9548";
871 #address-cells = <1>;
874 i2c-mux-idle-disconnect;
877 #address-cells = <1>;
882 #address-cells = <1>;
887 #address-cells = <1>;
892 #address-cells = <1>;
897 #address-cells = <1>;
902 #address-cells = <1>;
907 #address-cells = <1>;
912 #address-cells = <1>;
919 compatible = "nxp,pca9548";
920 #address-cells = <1>;
923 i2c-mux-idle-disconnect;
926 #address-cells = <1>;
931 #address-cells = <1>;
936 #address-cells = <1>;
941 #address-cells = <1>;
946 #address-cells = <1>;
951 #address-cells = <1>;
956 #address-cells = <1>;
961 #address-cells = <1>;
968 /* To Fabric Card #3 */
970 #address-cells = <1>;
975 compatible = "nxp,pca9548";
976 #address-cells = <1>;
979 i2c-mux-idle-disconnect;
982 #address-cells = <1>;
987 #address-cells = <1>;
992 #address-cells = <1>;
997 #address-cells = <1>;
1002 #address-cells = <1>;
1007 #address-cells = <1>;
1012 #address-cells = <1>;
1017 #address-cells = <1>;
1024 compatible = "nxp,pca9548";
1025 #address-cells = <1>;
1028 i2c-mux-idle-disconnect;
1031 #address-cells = <1>;
1036 #address-cells = <1>;
1041 #address-cells = <1>;
1046 #address-cells = <1>;
1051 #address-cells = <1>;
1056 #address-cells = <1>;
1061 #address-cells = <1>;
1066 #address-cells = <1>;
1073 /* To Fabric Card #4 */
1075 #address-cells = <1>;
1080 compatible = "nxp,pca9548";
1081 #address-cells = <1>;
1084 i2c-mux-idle-disconnect;
1087 #address-cells = <1>;
1092 #address-cells = <1>;
1097 #address-cells = <1>;
1102 #address-cells = <1>;
1107 #address-cells = <1>;
1112 #address-cells = <1>;
1117 #address-cells = <1>;
1122 #address-cells = <1>;
1129 compatible = "nxp,pca9548";
1130 #address-cells = <1>;
1133 i2c-mux-idle-disconnect;
1136 #address-cells = <1>;
1141 #address-cells = <1>;
1146 #address-cells = <1>;
1151 #address-cells = <1>;
1156 #address-cells = <1>;
1161 #address-cells = <1>;
1166 #address-cells = <1>;
1171 #address-cells = <1>;
1181 * I2C bus to Power Distribution Board.
1187 compatible = "nxp,pca9548";
1188 #address-cells = <1>;
1191 i2c-mux-idle-disconnect;
1194 #address-cells = <1>;
1200 #address-cells = <1>;
1206 #address-cells = <1>;
1212 #address-cells = <1>;
1218 #address-cells = <1>;
1224 #address-cells = <1>;
1230 #address-cells = <1>;
1236 #address-cells = <1>;
1244 * I2c bus connected with temperature sensors on CMM.
1251 * I2C bus reserved for communication with COM-E.
1258 * I2c bus connected with ADM1278.
1265 * I2c bus connected with I/O Expander.
1272 * I2c bus connected with I/O Expander and EPROMs.
1279 * I2C bus to Fan Control Boards.
1285 compatible = "nxp,pca9548";
1286 #address-cells = <1>;
1289 i2c-mux-idle-disconnect;
1291 /* To Fan Control Board #1 */
1293 #address-cells = <1>;
1298 compatible = "nxp,pca9548";
1299 #address-cells = <1>;
1302 i2c-mux-idle-disconnect;
1305 #address-cells = <1>;
1310 #address-cells = <1>;
1315 #address-cells = <1>;
1320 #address-cells = <1>;
1325 #address-cells = <1>;
1330 #address-cells = <1>;
1335 #address-cells = <1>;
1340 #address-cells = <1>;
1347 /* To Fan Control Board #2 */
1349 #address-cells = <1>;
1354 compatible = "nxp,pca9548";
1355 #address-cells = <1>;
1358 i2c-mux-idle-disconnect;
1361 #address-cells = <1>;
1366 #address-cells = <1>;
1371 #address-cells = <1>;
1376 #address-cells = <1>;
1381 #address-cells = <1>;
1386 #address-cells = <1>;
1391 #address-cells = <1>;
1396 #address-cells = <1>;
1403 /* To Fan Control Board #3 */
1405 #address-cells = <1>;
1410 compatible = "nxp,pca9548";
1411 #address-cells = <1>;
1414 i2c-mux-idle-disconnect;
1417 #address-cells = <1>;
1422 #address-cells = <1>;
1427 #address-cells = <1>;
1432 #address-cells = <1>;
1437 #address-cells = <1>;
1442 #address-cells = <1>;
1447 #address-cells = <1>;
1452 #address-cells = <1>;
1459 /* To Fan Control Board #4 */
1461 #address-cells = <1>;
1466 compatible = "nxp,pca9548";
1467 #address-cells = <1>;
1470 i2c-mux-idle-disconnect;
1473 #address-cells = <1>;
1478 #address-cells = <1>;
1483 #address-cells = <1>;
1488 #address-cells = <1>;
1493 #address-cells = <1>;
1498 #address-cells = <1>;
1503 #address-cells = <1>;
1508 #address-cells = <1>;
1516 #address-cells = <1>;
1522 #address-cells = <1>;
1528 #address-cells = <1>;
1534 #address-cells = <1>;
1542 * I2C bus to CMM CPLD.
1561 status = "disabled";
1567 pinctrl-names = "default";
1568 pinctrl-0 = <&pinctrl_sd1_default>;
1572 status = "disabled";
1576 #include "facebook-bmc-flash-layout.dtsi"
1581 compatible = "fixed-partitions";
1582 #address-cells = <1>;
1586 reg = <0x0 0x2000000>;