1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright (c) 2018 Facebook Inc.
5 #include "ast2500-facebook-netbmc-common.dtsi"
8 model = "Facebook Minipack 100 BMC";
9 compatible = "facebook,minipack-bmc", "aspeed,ast2500";
13 * Override the default serial aliases to avoid breaking
14 * the legacy applications.
23 * i2c switch 2-0070, pca9548, 8 child channels assigned
24 * with bus number 16-23.
36 * i2c switch 8-0070, pca9548, 8 child channels assigned
37 * with bus number 24-31.
49 * i2c switch 9-0070, pca9548, 8 child channels assigned
50 * with bus number 32-39.
62 * i2c switch 11-0070, pca9548, 8 child channels assigned
63 * with bus number 40-47.
75 * I2C Switch 24-0071 (channel #0 of 8-0070): 8 channels for
76 * connecting to left PDB (Power Distribution Board).
88 * I2C Switch 25-0072 (channel #1 of 8-0070): 8 channels for
89 * connecting to right PDB (Power Distribution Board).
101 * I2C Switch 26-0076 (channel #2 of 8-0070): 8 channels for
102 * connecting to top FCM (Fan Control Module).
114 * I2C Switch 27-0076 (channel #3 of 8-0070): 8 channels for
115 * connecting to bottom FCM (Fan Control Module).
127 * I2C Switch 40-0073 (channel #0 of 11-0070): connecting
128 * to PIM (Port Interface Module) #1 (1-based).
140 * I2C Switch 41-0073 (channel #1 of 11-0070): connecting
141 * to PIM (Port Interface Module) #2 (1-based).
153 * I2C Switch 42-0073 (channel #2 of 11-0070): connecting
154 * to PIM (Port Interface Module) #3 (1-based).
166 * I2C Switch 43-0073 (channel #3 of 11-0070): connecting
167 * to PIM (Port Interface Module) #4 (1-based).
179 * I2C Switch 44-0073 (channel #4 of 11-0070): connecting
180 * to PIM (Port Interface Module) #5 (1-based).
192 * I2C Switch 45-0073 (channel #5 of 11-0070): connecting
193 * to PIM (Port Interface Module) #6 (1-based).
205 * I2C Switch 46-0073 (channel #6 of 11-0070): connecting
206 * to PIM (Port Interface Module) #7 (1-based).
218 * I2C Switch 47-0073 (channel #7 of 11-0070): connecting
219 * to PIM (Port Interface Module) #8 (1-based).
232 stdout-path = &uart1;
233 bootargs = "debug console=ttyS1,9600n8 root=/dev/ram rw";
239 aspeed,reset-type = "system";
243 * Both firmware flashes are 64MB on Minipack BMC.
247 compatible = "fixed-partitions";
248 #address-cells = <1>;
252 * u-boot partition: 384KB.
260 * u-boot environment variables: 128KB.
263 reg = <0x60000 0x20000>;
268 * FIT image: 59.5 MB.
271 reg = <0x80000 0x3b80000>;
276 * "data0" partition (4MB) is reserved for persistent
280 reg = <0x3c00000 0x400000>;
285 * "flash0" partition (covering the entire flash) is
286 * explicitly created to avoid breaking legacy applications.
289 reg = <0x0 0x4000000>;
297 compatible = "fixed-partitions";
298 #address-cells = <1>;
302 reg = <0x0 0x4000000>;
308 pinctrl-0 = <&pinctrl_txd1_default
309 &pinctrl_rxd1_default
310 &pinctrl_ncts1_default
311 &pinctrl_ndsr1_default
312 &pinctrl_ndtr1_default
313 &pinctrl_nrts1_default>;
318 pinctrl-names = "default";
319 pinctrl-0 = <&pinctrl_txd2_default
320 &pinctrl_rxd2_default>;
325 pinctrl-names = "default";
326 pinctrl-0 = <&pinctrl_txd4_default
327 &pinctrl_rxd4_default>;
332 bus-frequency = <400000>;
344 * I2C Switch 2-0070 is connecting to SCM (System Controller
348 compatible = "nxp,pca9548";
349 #address-cells = <1>;
352 i2c-mux-idle-disconnect;
355 #address-cells = <1>;
361 #address-cells = <1>;
367 #address-cells = <1>;
373 #address-cells = <1>;
379 #address-cells = <1>;
385 #address-cells = <1>;
391 #address-cells = <1>;
397 #address-cells = <1>;
429 compatible = "nxp,pca9548";
430 #address-cells = <1>;
433 i2c-mux-idle-disconnect;
436 * I2C Switch 8-0070 channel #0: connecting to left PDB
437 * (Power Distribution Board).
440 #address-cells = <1>;
445 compatible = "nxp,pca9548";
446 #address-cells = <1>;
449 i2c-mux-idle-disconnect;
452 #address-cells = <1>;
458 #address-cells = <1>;
464 #address-cells = <1>;
470 #address-cells = <1>;
476 #address-cells = <1>;
482 #address-cells = <1>;
488 #address-cells = <1>;
494 #address-cells = <1>;
502 * I2C Switch 8-0070 channel #1: connecting to right PDB
503 * (Power Distribution Board).
506 #address-cells = <1>;
511 compatible = "nxp,pca9548";
512 #address-cells = <1>;
515 i2c-mux-idle-disconnect;
518 #address-cells = <1>;
524 #address-cells = <1>;
530 #address-cells = <1>;
536 #address-cells = <1>;
542 #address-cells = <1>;
548 #address-cells = <1>;
554 #address-cells = <1>;
560 #address-cells = <1>;
568 * I2C Switch 8-0070 channel #2: connecting to top FCM
569 * (Fan Control Module).
572 #address-cells = <1>;
577 compatible = "nxp,pca9548";
578 #address-cells = <1>;
581 i2c-mux-idle-disconnect;
584 #address-cells = <1>;
590 #address-cells = <1>;
596 #address-cells = <1>;
602 #address-cells = <1>;
608 #address-cells = <1>;
614 #address-cells = <1>;
620 #address-cells = <1>;
626 #address-cells = <1>;
634 * I2C Switch 8-0070 channel #3: connecting to bottom
635 * FCM (Fan Control Module).
638 #address-cells = <1>;
643 compatible = "nxp,pca9548";
644 #address-cells = <1>;
647 i2c-mux-idle-disconnect;
650 #address-cells = <1>;
656 #address-cells = <1>;
662 #address-cells = <1>;
668 #address-cells = <1>;
674 #address-cells = <1>;
680 #address-cells = <1>;
686 #address-cells = <1>;
692 #address-cells = <1>;
700 #address-cells = <1>;
706 #address-cells = <1>;
712 #address-cells = <1>;
718 #address-cells = <1>;
729 * I2C Switch 9-0070 is connecting to MAC/PHY EEPROMs on SMB
730 * (Switch Main Board).
733 compatible = "nxp,pca9548";
734 #address-cells = <1>;
737 i2c-mux-idle-disconnect;
740 #address-cells = <1>;
746 #address-cells = <1>;
752 #address-cells = <1>;
758 #address-cells = <1>;
764 #address-cells = <1>;
770 #address-cells = <1>;
776 #address-cells = <1>;
782 #address-cells = <1>;
797 compatible = "nxp,pca9548";
798 #address-cells = <1>;
801 i2c-mux-idle-disconnect;
804 * I2C Switch 11-0070 channel #0: connecting to PIM
805 * (Port Interface Module) #1 (1-based).
808 #address-cells = <1>;
813 compatible = "nxp,pca9548";
814 #address-cells = <1>;
817 i2c-mux-idle-disconnect;
820 #address-cells = <1>;
826 #address-cells = <1>;
832 #address-cells = <1>;
838 #address-cells = <1>;
844 #address-cells = <1>;
850 #address-cells = <1>;
856 #address-cells = <1>;
862 #address-cells = <1>;
870 * I2C Switch 11-0070 channel #1: connecting to PIM
871 * (Port Interface Module) #2 (1-based).
874 #address-cells = <1>;
879 compatible = "nxp,pca9548";
880 #address-cells = <1>;
883 i2c-mux-idle-disconnect;
886 #address-cells = <1>;
892 #address-cells = <1>;
898 #address-cells = <1>;
904 #address-cells = <1>;
910 #address-cells = <1>;
916 #address-cells = <1>;
922 #address-cells = <1>;
928 #address-cells = <1>;
936 * I2C Switch 11-0070 channel #2: connecting to PIM
937 * (Port Interface Module) #3 (1-based).
940 #address-cells = <1>;
945 compatible = "nxp,pca9548";
946 #address-cells = <1>;
949 i2c-mux-idle-disconnect;
952 #address-cells = <1>;
958 #address-cells = <1>;
964 #address-cells = <1>;
970 #address-cells = <1>;
976 #address-cells = <1>;
982 #address-cells = <1>;
988 #address-cells = <1>;
994 #address-cells = <1>;
1002 * I2C Switch 11-0070 channel #3: connecting to PIM
1003 * (Port Interface Module) #4 (1-based).
1006 #address-cells = <1>;
1011 compatible = "nxp,pca9548";
1012 #address-cells = <1>;
1015 i2c-mux-idle-disconnect;
1018 #address-cells = <1>;
1024 #address-cells = <1>;
1030 #address-cells = <1>;
1036 #address-cells = <1>;
1042 #address-cells = <1>;
1048 #address-cells = <1>;
1054 #address-cells = <1>;
1060 #address-cells = <1>;
1068 * I2C Switch 11-0070 channel #4: connecting to PIM
1069 * (Port Interface Module) #5 (1-based).
1072 #address-cells = <1>;
1077 compatible = "nxp,pca9548";
1078 #address-cells = <1>;
1081 i2c-mux-idle-disconnect;
1084 #address-cells = <1>;
1090 #address-cells = <1>;
1096 #address-cells = <1>;
1102 #address-cells = <1>;
1108 #address-cells = <1>;
1114 #address-cells = <1>;
1120 #address-cells = <1>;
1126 #address-cells = <1>;
1134 * I2C Switch 11-0070 channel #5: connecting to PIM
1135 * (Port Interface Module) #6 (1-based).
1138 #address-cells = <1>;
1143 compatible = "nxp,pca9548";
1144 #address-cells = <1>;
1147 i2c-mux-idle-disconnect;
1150 #address-cells = <1>;
1156 #address-cells = <1>;
1162 #address-cells = <1>;
1168 #address-cells = <1>;
1174 #address-cells = <1>;
1180 #address-cells = <1>;
1186 #address-cells = <1>;
1192 #address-cells = <1>;
1200 * I2C Switch 11-0070 channel #6: connecting to PIM
1201 * (Port Interface Module) #7 (1-based).
1204 #address-cells = <1>;
1209 compatible = "nxp,pca9548";
1210 #address-cells = <1>;
1213 i2c-mux-idle-disconnect;
1216 #address-cells = <1>;
1222 #address-cells = <1>;
1228 #address-cells = <1>;
1234 #address-cells = <1>;
1240 #address-cells = <1>;
1246 #address-cells = <1>;
1252 #address-cells = <1>;
1258 #address-cells = <1>;
1266 * I2C Switch 11-0070 channel #7: connecting to PIM
1267 * (Port Interface Module) #8 (1-based).
1270 #address-cells = <1>;
1275 compatible = "nxp,pca9548";
1276 #address-cells = <1>;
1279 i2c-mux-idle-disconnect;
1282 #address-cells = <1>;
1288 #address-cells = <1>;
1294 #address-cells = <1>;
1300 #address-cells = <1>;
1306 #address-cells = <1>;
1312 #address-cells = <1>;
1318 #address-cells = <1>;
1324 #address-cells = <1>;