Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 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 Minipack 100 BMC"; |
| 9 | compatible = "facebook,minipack-bmc", "aspeed,ast2500"; |
| 10 | |
| 11 | aliases { |
| 12 | /* |
| 13 | * Override the default serial aliases to avoid breaking |
| 14 | * the legacy applications. |
| 15 | */ |
| 16 | serial0 = &uart5; |
| 17 | serial1 = &uart1; |
| 18 | serial2 = &uart2; |
| 19 | serial3 = &uart3; |
| 20 | serial4 = &uart4; |
| 21 | |
| 22 | /* |
| 23 | * i2c switch 2-0070, pca9548, 8 child channels assigned |
| 24 | * with bus number 16-23. |
| 25 | */ |
| 26 | i2c16 = &imux16; |
| 27 | i2c17 = &imux17; |
| 28 | i2c18 = &imux18; |
| 29 | i2c19 = &imux19; |
| 30 | i2c20 = &imux20; |
| 31 | i2c21 = &imux21; |
| 32 | i2c22 = &imux22; |
| 33 | i2c23 = &imux23; |
| 34 | |
| 35 | /* |
| 36 | * i2c switch 8-0070, pca9548, 8 child channels assigned |
| 37 | * with bus number 24-31. |
| 38 | */ |
| 39 | i2c24 = &imux24; |
| 40 | i2c25 = &imux25; |
| 41 | i2c26 = &imux26; |
| 42 | i2c27 = &imux27; |
| 43 | i2c28 = &imux28; |
| 44 | i2c29 = &imux29; |
| 45 | i2c30 = &imux30; |
| 46 | i2c31 = &imux31; |
| 47 | |
| 48 | /* |
| 49 | * i2c switch 9-0070, pca9548, 8 child channels assigned |
| 50 | * with bus number 32-39. |
| 51 | */ |
| 52 | i2c32 = &imux32; |
| 53 | i2c33 = &imux33; |
| 54 | i2c34 = &imux34; |
| 55 | i2c35 = &imux35; |
| 56 | i2c36 = &imux36; |
| 57 | i2c37 = &imux37; |
| 58 | i2c38 = &imux38; |
| 59 | i2c39 = &imux39; |
| 60 | |
| 61 | /* |
| 62 | * i2c switch 11-0070, pca9548, 8 child channels assigned |
| 63 | * with bus number 40-47. |
| 64 | */ |
| 65 | i2c40 = &imux40; |
| 66 | i2c41 = &imux41; |
| 67 | i2c42 = &imux42; |
| 68 | i2c43 = &imux43; |
| 69 | i2c44 = &imux44; |
| 70 | i2c45 = &imux45; |
| 71 | i2c46 = &imux46; |
| 72 | i2c47 = &imux47; |
| 73 | |
| 74 | /* |
| 75 | * I2C Switch 24-0071 (channel #0 of 8-0070): 8 channels for |
| 76 | * connecting to left PDB (Power Distribution Board). |
| 77 | */ |
| 78 | i2c48 = &imux48; |
| 79 | i2c49 = &imux49; |
| 80 | i2c50 = &imux50; |
| 81 | i2c51 = &imux51; |
| 82 | i2c52 = &imux52; |
| 83 | i2c53 = &imux53; |
| 84 | i2c54 = &imux54; |
| 85 | i2c55 = &imux55; |
| 86 | |
| 87 | /* |
| 88 | * I2C Switch 25-0072 (channel #1 of 8-0070): 8 channels for |
| 89 | * connecting to right PDB (Power Distribution Board). |
| 90 | */ |
| 91 | i2c56 = &imux56; |
| 92 | i2c57 = &imux57; |
| 93 | i2c58 = &imux58; |
| 94 | i2c59 = &imux59; |
| 95 | i2c60 = &imux60; |
| 96 | i2c61 = &imux61; |
| 97 | i2c62 = &imux62; |
| 98 | i2c63 = &imux63; |
| 99 | |
| 100 | /* |
| 101 | * I2C Switch 26-0076 (channel #2 of 8-0070): 8 channels for |
| 102 | * connecting to top FCM (Fan Control Module). |
| 103 | */ |
| 104 | i2c64 = &imux64; |
| 105 | i2c65 = &imux65; |
| 106 | i2c66 = &imux66; |
| 107 | i2c67 = &imux67; |
| 108 | i2c68 = &imux68; |
| 109 | i2c69 = &imux69; |
| 110 | i2c70 = &imux70; |
| 111 | i2c71 = &imux71; |
| 112 | |
| 113 | /* |
| 114 | * I2C Switch 27-0076 (channel #3 of 8-0070): 8 channels for |
| 115 | * connecting to bottom FCM (Fan Control Module). |
| 116 | */ |
| 117 | i2c72 = &imux72; |
| 118 | i2c73 = &imux73; |
| 119 | i2c74 = &imux74; |
| 120 | i2c75 = &imux75; |
| 121 | i2c76 = &imux76; |
| 122 | i2c77 = &imux77; |
| 123 | i2c78 = &imux78; |
| 124 | i2c79 = &imux79; |
| 125 | |
| 126 | /* |
| 127 | * I2C Switch 40-0073 (channel #0 of 11-0070): connecting |
| 128 | * to PIM (Port Interface Module) #1 (1-based). |
| 129 | */ |
| 130 | i2c80 = &imux80; |
| 131 | i2c81 = &imux81; |
| 132 | i2c82 = &imux82; |
| 133 | i2c83 = &imux83; |
| 134 | i2c84 = &imux84; |
| 135 | i2c85 = &imux85; |
| 136 | i2c86 = &imux86; |
| 137 | i2c87 = &imux87; |
| 138 | |
| 139 | /* |
| 140 | * I2C Switch 41-0073 (channel #1 of 11-0070): connecting |
| 141 | * to PIM (Port Interface Module) #2 (1-based). |
| 142 | */ |
| 143 | i2c88 = &imux88; |
| 144 | i2c89 = &imux89; |
| 145 | i2c90 = &imux90; |
| 146 | i2c91 = &imux91; |
| 147 | i2c92 = &imux92; |
| 148 | i2c93 = &imux93; |
| 149 | i2c94 = &imux94; |
| 150 | i2c95 = &imux95; |
| 151 | |
| 152 | /* |
| 153 | * I2C Switch 42-0073 (channel #2 of 11-0070): connecting |
| 154 | * to PIM (Port Interface Module) #3 (1-based). |
| 155 | */ |
| 156 | i2c96 = &imux96; |
| 157 | i2c97 = &imux97; |
| 158 | i2c98 = &imux98; |
| 159 | i2c99 = &imux99; |
| 160 | i2c100 = &imux100; |
| 161 | i2c101 = &imux101; |
| 162 | i2c102 = &imux102; |
| 163 | i2c103 = &imux103; |
| 164 | |
| 165 | /* |
| 166 | * I2C Switch 43-0073 (channel #3 of 11-0070): connecting |
| 167 | * to PIM (Port Interface Module) #4 (1-based). |
| 168 | */ |
| 169 | i2c104 = &imux104; |
| 170 | i2c105 = &imux105; |
| 171 | i2c106 = &imux106; |
| 172 | i2c107 = &imux107; |
| 173 | i2c108 = &imux108; |
| 174 | i2c109 = &imux109; |
| 175 | i2c110 = &imux110; |
| 176 | i2c111 = &imux111; |
| 177 | |
| 178 | /* |
| 179 | * I2C Switch 44-0073 (channel #4 of 11-0070): connecting |
| 180 | * to PIM (Port Interface Module) #5 (1-based). |
| 181 | */ |
| 182 | i2c112 = &imux112; |
| 183 | i2c113 = &imux113; |
| 184 | i2c114 = &imux114; |
| 185 | i2c115 = &imux115; |
| 186 | i2c116 = &imux116; |
| 187 | i2c117 = &imux117; |
| 188 | i2c118 = &imux118; |
| 189 | i2c119 = &imux119; |
| 190 | |
| 191 | /* |
| 192 | * I2C Switch 45-0073 (channel #5 of 11-0070): connecting |
| 193 | * to PIM (Port Interface Module) #6 (1-based). |
| 194 | */ |
| 195 | i2c120 = &imux120; |
| 196 | i2c121 = &imux121; |
| 197 | i2c122 = &imux122; |
| 198 | i2c123 = &imux123; |
| 199 | i2c124 = &imux124; |
| 200 | i2c125 = &imux125; |
| 201 | i2c126 = &imux126; |
| 202 | i2c127 = &imux127; |
| 203 | |
| 204 | /* |
| 205 | * I2C Switch 46-0073 (channel #6 of 11-0070): connecting |
| 206 | * to PIM (Port Interface Module) #7 (1-based). |
| 207 | */ |
| 208 | i2c128 = &imux128; |
| 209 | i2c129 = &imux129; |
| 210 | i2c130 = &imux130; |
| 211 | i2c131 = &imux131; |
| 212 | i2c132 = &imux132; |
| 213 | i2c133 = &imux133; |
| 214 | i2c134 = &imux134; |
| 215 | i2c135 = &imux135; |
| 216 | |
| 217 | /* |
| 218 | * I2C Switch 47-0073 (channel #7 of 11-0070): connecting |
| 219 | * to PIM (Port Interface Module) #8 (1-based). |
| 220 | */ |
| 221 | i2c136 = &imux136; |
| 222 | i2c137 = &imux137; |
| 223 | i2c138 = &imux138; |
| 224 | i2c139 = &imux139; |
| 225 | i2c140 = &imux140; |
| 226 | i2c141 = &imux141; |
| 227 | i2c142 = &imux142; |
| 228 | i2c143 = &imux143; |
| 229 | }; |
| 230 | |
| 231 | chosen { |
| 232 | stdout-path = &uart1; |
| 233 | bootargs = "debug console=ttyS1,9600n8 root=/dev/ram rw"; |
| 234 | }; |
| 235 | }; |
| 236 | |
| 237 | &wdt2 { |
| 238 | status = "okay"; |
| 239 | aspeed,reset-type = "system"; |
| 240 | }; |
| 241 | |
| 242 | /* |
| 243 | * Both firmware flashes are 64MB on Minipack BMC. |
| 244 | */ |
| 245 | &fmc_flash0 { |
| 246 | partitions { |
| 247 | compatible = "fixed-partitions"; |
| 248 | #address-cells = <1>; |
| 249 | #size-cells = <1>; |
| 250 | |
| 251 | /* |
| 252 | * u-boot partition: 384KB. |
| 253 | */ |
| 254 | u-boot@0 { |
| 255 | reg = <0x0 0x60000>; |
| 256 | label = "u-boot"; |
| 257 | }; |
| 258 | |
| 259 | /* |
| 260 | * u-boot environment variables: 128KB. |
| 261 | */ |
| 262 | u-boot-env@60000 { |
| 263 | reg = <0x60000 0x20000>; |
| 264 | label = "env"; |
| 265 | }; |
| 266 | |
| 267 | /* |
| 268 | * FIT image: 55.5 MB. |
| 269 | */ |
| 270 | fit@80000 { |
| 271 | reg = <0x80000 0x3780000>; |
| 272 | label = "fit"; |
| 273 | }; |
| 274 | |
| 275 | /* |
| 276 | * "data0" partition (8MB) is reserved for persistent |
| 277 | * data store. |
| 278 | */ |
| 279 | data0@3800000 { |
| 280 | reg = <0x3800000 0x800000>; |
| 281 | label = "data0"; |
| 282 | }; |
| 283 | |
| 284 | /* |
| 285 | * "flash0" partition (covering the entire flash) is |
| 286 | * explicitly created to avoid breaking legacy applications. |
| 287 | */ |
| 288 | flash0@0 { |
| 289 | reg = <0x0 0x4000000>; |
| 290 | label = "flash0"; |
| 291 | }; |
| 292 | }; |
| 293 | }; |
| 294 | |
| 295 | &fmc_flash1 { |
| 296 | partitions { |
| 297 | compatible = "fixed-partitions"; |
| 298 | #address-cells = <1>; |
| 299 | #size-cells = <1>; |
| 300 | |
| 301 | flash1@0 { |
| 302 | reg = <0x0 0x4000000>; |
| 303 | }; |
| 304 | }; |
| 305 | }; |
| 306 | |
| 307 | &uart1 { |
| 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>; |
| 314 | }; |
| 315 | |
| 316 | &uart2 { |
| 317 | status = "okay"; |
| 318 | pinctrl-names = "default"; |
| 319 | pinctrl-0 = <&pinctrl_txd2_default |
| 320 | &pinctrl_rxd2_default>; |
| 321 | }; |
| 322 | |
| 323 | &uart4 { |
| 324 | status = "okay"; |
| 325 | pinctrl-names = "default"; |
| 326 | pinctrl-0 = <&pinctrl_txd4_default |
| 327 | &pinctrl_rxd4_default>; |
| 328 | }; |
| 329 | |
| 330 | &i2c0 { |
| 331 | status = "okay"; |
| 332 | bus-frequency = <400000>; |
| 333 | multi-master; |
| 334 | }; |
| 335 | |
| 336 | &i2c1 { |
| 337 | status = "okay"; |
| 338 | }; |
| 339 | |
| 340 | &i2c2 { |
| 341 | status = "okay"; |
| 342 | |
| 343 | /* |
| 344 | * I2C Switch 2-0070 is connecting to SCM (System Controller |
| 345 | * Module). |
| 346 | */ |
| 347 | i2c-mux@70 { |
| 348 | compatible = "nxp,pca9548"; |
| 349 | #address-cells = <1>; |
| 350 | #size-cells = <0>; |
| 351 | reg = <0x70>; |
| 352 | i2c-mux-idle-disconnect; |
| 353 | |
| 354 | imux16: i2c@0 { |
| 355 | #address-cells = <1>; |
| 356 | #size-cells = <0>; |
| 357 | reg = <0>; |
| 358 | }; |
| 359 | |
| 360 | imux17: i2c@1 { |
| 361 | #address-cells = <1>; |
| 362 | #size-cells = <0>; |
| 363 | reg = <1>; |
| 364 | }; |
| 365 | |
| 366 | imux18: i2c@2 { |
| 367 | #address-cells = <1>; |
| 368 | #size-cells = <0>; |
| 369 | reg = <2>; |
| 370 | }; |
| 371 | |
| 372 | imux19: i2c@3 { |
| 373 | #address-cells = <1>; |
| 374 | #size-cells = <0>; |
| 375 | reg = <3>; |
| 376 | }; |
| 377 | |
| 378 | imux20: i2c@4 { |
| 379 | #address-cells = <1>; |
| 380 | #size-cells = <0>; |
| 381 | reg = <4>; |
| 382 | }; |
| 383 | |
| 384 | imux21: i2c@5 { |
| 385 | #address-cells = <1>; |
| 386 | #size-cells = <0>; |
| 387 | reg = <5>; |
| 388 | }; |
| 389 | |
| 390 | imux22: i2c@6 { |
| 391 | #address-cells = <1>; |
| 392 | #size-cells = <0>; |
| 393 | reg = <6>; |
| 394 | }; |
| 395 | |
| 396 | imux23: i2c@7 { |
| 397 | #address-cells = <1>; |
| 398 | #size-cells = <0>; |
| 399 | reg = <7>; |
| 400 | }; |
| 401 | }; |
| 402 | }; |
| 403 | |
| 404 | &i2c3 { |
| 405 | status = "okay"; |
| 406 | }; |
| 407 | |
| 408 | &i2c4 { |
| 409 | status = "okay"; |
| 410 | multi-master; |
| 411 | }; |
| 412 | |
| 413 | &i2c5 { |
| 414 | status = "okay"; |
| 415 | }; |
| 416 | |
| 417 | &i2c6 { |
| 418 | status = "okay"; |
| 419 | }; |
| 420 | |
| 421 | &i2c7 { |
| 422 | status = "okay"; |
| 423 | }; |
| 424 | |
| 425 | &i2c8 { |
| 426 | status = "okay"; |
| 427 | |
| 428 | i2c-mux@70 { |
| 429 | compatible = "nxp,pca9548"; |
| 430 | #address-cells = <1>; |
| 431 | #size-cells = <0>; |
| 432 | reg = <0x70>; |
| 433 | i2c-mux-idle-disconnect; |
| 434 | |
| 435 | /* |
| 436 | * I2C Switch 8-0070 channel #0: connecting to left PDB |
| 437 | * (Power Distribution Board). |
| 438 | */ |
| 439 | imux24: i2c@0 { |
| 440 | #address-cells = <1>; |
| 441 | #size-cells = <0>; |
| 442 | reg = <0>; |
| 443 | |
| 444 | i2c-mux@71 { |
| 445 | compatible = "nxp,pca9548"; |
| 446 | #address-cells = <1>; |
| 447 | #size-cells = <0>; |
| 448 | reg = <0x71>; |
| 449 | i2c-mux-idle-disconnect; |
| 450 | |
| 451 | imux48: i2c@0 { |
| 452 | #address-cells = <1>; |
| 453 | #size-cells = <0>; |
| 454 | reg = <0>; |
| 455 | }; |
| 456 | |
| 457 | imux49: i2c@1 { |
| 458 | #address-cells = <1>; |
| 459 | #size-cells = <0>; |
| 460 | reg = <1>; |
| 461 | }; |
| 462 | |
| 463 | imux50: i2c@2 { |
| 464 | #address-cells = <1>; |
| 465 | #size-cells = <0>; |
| 466 | reg = <2>; |
| 467 | }; |
| 468 | |
| 469 | imux51: i2c@3 { |
| 470 | #address-cells = <1>; |
| 471 | #size-cells = <0>; |
| 472 | reg = <3>; |
| 473 | }; |
| 474 | |
| 475 | imux52: i2c@4 { |
| 476 | #address-cells = <1>; |
| 477 | #size-cells = <0>; |
| 478 | reg = <4>; |
| 479 | }; |
| 480 | |
| 481 | imux53: i2c@5 { |
| 482 | #address-cells = <1>; |
| 483 | #size-cells = <0>; |
| 484 | reg = <5>; |
| 485 | }; |
| 486 | |
| 487 | imux54: i2c@6 { |
| 488 | #address-cells = <1>; |
| 489 | #size-cells = <0>; |
| 490 | reg = <6>; |
| 491 | }; |
| 492 | |
| 493 | imux55: i2c@7 { |
| 494 | #address-cells = <1>; |
| 495 | #size-cells = <0>; |
| 496 | reg = <7>; |
| 497 | }; |
| 498 | }; |
| 499 | }; |
| 500 | |
| 501 | /* |
| 502 | * I2C Switch 8-0070 channel #1: connecting to right PDB |
| 503 | * (Power Distribution Board). |
| 504 | */ |
| 505 | imux25: i2c@1 { |
| 506 | #address-cells = <1>; |
| 507 | #size-cells = <0>; |
| 508 | reg = <1>; |
| 509 | |
| 510 | i2c-mux@72 { |
| 511 | compatible = "nxp,pca9548"; |
| 512 | #address-cells = <1>; |
| 513 | #size-cells = <0>; |
| 514 | reg = <0x72>; |
| 515 | i2c-mux-idle-disconnect; |
| 516 | |
| 517 | imux56: i2c@0 { |
| 518 | #address-cells = <1>; |
| 519 | #size-cells = <0>; |
| 520 | reg = <0>; |
| 521 | }; |
| 522 | |
| 523 | imux57: i2c@1 { |
| 524 | #address-cells = <1>; |
| 525 | #size-cells = <0>; |
| 526 | reg = <1>; |
| 527 | }; |
| 528 | |
| 529 | imux58: i2c@2 { |
| 530 | #address-cells = <1>; |
| 531 | #size-cells = <0>; |
| 532 | reg = <2>; |
| 533 | }; |
| 534 | |
| 535 | imux59: i2c@3 { |
| 536 | #address-cells = <1>; |
| 537 | #size-cells = <0>; |
| 538 | reg = <3>; |
| 539 | }; |
| 540 | |
| 541 | imux60: i2c@4 { |
| 542 | #address-cells = <1>; |
| 543 | #size-cells = <0>; |
| 544 | reg = <4>; |
| 545 | }; |
| 546 | |
| 547 | imux61: i2c@5 { |
| 548 | #address-cells = <1>; |
| 549 | #size-cells = <0>; |
| 550 | reg = <5>; |
| 551 | }; |
| 552 | |
| 553 | imux62: i2c@6 { |
| 554 | #address-cells = <1>; |
| 555 | #size-cells = <0>; |
| 556 | reg = <6>; |
| 557 | }; |
| 558 | |
| 559 | imux63: i2c@7 { |
| 560 | #address-cells = <1>; |
| 561 | #size-cells = <0>; |
| 562 | reg = <7>; |
| 563 | }; |
| 564 | }; |
| 565 | }; |
| 566 | |
| 567 | /* |
| 568 | * I2C Switch 8-0070 channel #2: connecting to top FCM |
| 569 | * (Fan Control Module). |
| 570 | */ |
| 571 | imux26: i2c@2 { |
| 572 | #address-cells = <1>; |
| 573 | #size-cells = <0>; |
| 574 | reg = <2>; |
| 575 | |
| 576 | i2c-mux@76 { |
| 577 | compatible = "nxp,pca9548"; |
| 578 | #address-cells = <1>; |
| 579 | #size-cells = <0>; |
| 580 | reg = <0x76>; |
| 581 | i2c-mux-idle-disconnect; |
| 582 | |
| 583 | imux64: i2c@0 { |
| 584 | #address-cells = <1>; |
| 585 | #size-cells = <0>; |
| 586 | reg = <0>; |
| 587 | }; |
| 588 | |
| 589 | imux65: i2c@1 { |
| 590 | #address-cells = <1>; |
| 591 | #size-cells = <0>; |
| 592 | reg = <1>; |
| 593 | }; |
| 594 | |
| 595 | imux66: i2c@2 { |
| 596 | #address-cells = <1>; |
| 597 | #size-cells = <0>; |
| 598 | reg = <2>; |
| 599 | }; |
| 600 | |
| 601 | imux67: i2c@3 { |
| 602 | #address-cells = <1>; |
| 603 | #size-cells = <0>; |
| 604 | reg = <3>; |
| 605 | }; |
| 606 | |
| 607 | imux68: i2c@4 { |
| 608 | #address-cells = <1>; |
| 609 | #size-cells = <0>; |
| 610 | reg = <4>; |
| 611 | }; |
| 612 | |
| 613 | imux69: i2c@5 { |
| 614 | #address-cells = <1>; |
| 615 | #size-cells = <0>; |
| 616 | reg = <5>; |
| 617 | }; |
| 618 | |
| 619 | imux70: i2c@6 { |
| 620 | #address-cells = <1>; |
| 621 | #size-cells = <0>; |
| 622 | reg = <6>; |
| 623 | }; |
| 624 | |
| 625 | imux71: i2c@7 { |
| 626 | #address-cells = <1>; |
| 627 | #size-cells = <0>; |
| 628 | reg = <7>; |
| 629 | }; |
| 630 | }; |
| 631 | }; |
| 632 | |
| 633 | /* |
| 634 | * I2C Switch 8-0070 channel #3: connecting to bottom |
| 635 | * FCM (Fan Control Module). |
| 636 | */ |
| 637 | imux27: i2c@3 { |
| 638 | #address-cells = <1>; |
| 639 | #size-cells = <0>; |
| 640 | reg = <3>; |
| 641 | |
| 642 | i2c-mux@76 { |
| 643 | compatible = "nxp,pca9548"; |
| 644 | #address-cells = <1>; |
| 645 | #size-cells = <0>; |
| 646 | reg = <0x76>; |
| 647 | i2c-mux-idle-disconnect; |
| 648 | |
| 649 | imux72: i2c@0 { |
| 650 | #address-cells = <1>; |
| 651 | #size-cells = <0>; |
| 652 | reg = <0>; |
| 653 | }; |
| 654 | |
| 655 | imux73: i2c@1 { |
| 656 | #address-cells = <1>; |
| 657 | #size-cells = <0>; |
| 658 | reg = <1>; |
| 659 | }; |
| 660 | |
| 661 | imux74: i2c@2 { |
| 662 | #address-cells = <1>; |
| 663 | #size-cells = <0>; |
| 664 | reg = <2>; |
| 665 | }; |
| 666 | |
| 667 | imux75: i2c@3 { |
| 668 | #address-cells = <1>; |
| 669 | #size-cells = <0>; |
| 670 | reg = <3>; |
| 671 | }; |
| 672 | |
| 673 | imux76: i2c@4 { |
| 674 | #address-cells = <1>; |
| 675 | #size-cells = <0>; |
| 676 | reg = <4>; |
| 677 | }; |
| 678 | |
| 679 | imux77: i2c@5 { |
| 680 | #address-cells = <1>; |
| 681 | #size-cells = <0>; |
| 682 | reg = <5>; |
| 683 | }; |
| 684 | |
| 685 | imux78: i2c@6 { |
| 686 | #address-cells = <1>; |
| 687 | #size-cells = <0>; |
| 688 | reg = <6>; |
| 689 | }; |
| 690 | |
| 691 | imux79: i2c@7 { |
| 692 | #address-cells = <1>; |
| 693 | #size-cells = <0>; |
| 694 | reg = <7>; |
| 695 | }; |
| 696 | }; |
| 697 | }; |
| 698 | |
| 699 | imux28: i2c@4 { |
| 700 | #address-cells = <1>; |
| 701 | #size-cells = <0>; |
| 702 | reg = <4>; |
| 703 | }; |
| 704 | |
| 705 | imux29: i2c@5 { |
| 706 | #address-cells = <1>; |
| 707 | #size-cells = <0>; |
| 708 | reg = <5>; |
| 709 | }; |
| 710 | |
| 711 | imux30: i2c@6 { |
| 712 | #address-cells = <1>; |
| 713 | #size-cells = <0>; |
| 714 | reg = <6>; |
| 715 | }; |
| 716 | |
| 717 | imux31: i2c@7 { |
| 718 | #address-cells = <1>; |
| 719 | #size-cells = <0>; |
| 720 | reg = <7>; |
| 721 | }; |
| 722 | }; |
| 723 | }; |
| 724 | |
| 725 | &i2c9 { |
| 726 | status = "okay"; |
| 727 | |
| 728 | /* |
| 729 | * I2C Switch 9-0070 is connecting to MAC/PHY EEPROMs on SMB |
| 730 | * (Switch Main Board). |
| 731 | */ |
| 732 | i2c-mux@70 { |
| 733 | compatible = "nxp,pca9548"; |
| 734 | #address-cells = <1>; |
| 735 | #size-cells = <0>; |
| 736 | reg = <0x70>; |
| 737 | i2c-mux-idle-disconnect; |
| 738 | |
| 739 | imux32: i2c@0 { |
| 740 | #address-cells = <1>; |
| 741 | #size-cells = <0>; |
| 742 | reg = <0>; |
| 743 | }; |
| 744 | |
| 745 | imux33: i2c@1 { |
| 746 | #address-cells = <1>; |
| 747 | #size-cells = <0>; |
| 748 | reg = <1>; |
| 749 | }; |
| 750 | |
| 751 | imux34: i2c@2 { |
| 752 | #address-cells = <1>; |
| 753 | #size-cells = <0>; |
| 754 | reg = <2>; |
| 755 | }; |
| 756 | |
| 757 | imux35: i2c@3 { |
| 758 | #address-cells = <1>; |
| 759 | #size-cells = <0>; |
| 760 | reg = <3>; |
| 761 | }; |
| 762 | |
| 763 | imux36: i2c@4 { |
| 764 | #address-cells = <1>; |
| 765 | #size-cells = <0>; |
| 766 | reg = <4>; |
| 767 | }; |
| 768 | |
| 769 | imux37: i2c@5 { |
| 770 | #address-cells = <1>; |
| 771 | #size-cells = <0>; |
| 772 | reg = <5>; |
| 773 | }; |
| 774 | |
| 775 | imux38: i2c@6 { |
| 776 | #address-cells = <1>; |
| 777 | #size-cells = <0>; |
| 778 | reg = <6>; |
| 779 | }; |
| 780 | |
| 781 | imux39: i2c@7 { |
| 782 | #address-cells = <1>; |
| 783 | #size-cells = <0>; |
| 784 | reg = <7>; |
| 785 | }; |
| 786 | }; |
| 787 | }; |
| 788 | |
| 789 | &i2c10 { |
| 790 | status = "okay"; |
| 791 | }; |
| 792 | |
| 793 | &i2c11 { |
| 794 | status = "okay"; |
| 795 | |
| 796 | i2c-mux@70 { |
| 797 | compatible = "nxp,pca9548"; |
| 798 | #address-cells = <1>; |
| 799 | #size-cells = <0>; |
| 800 | reg = <0x70>; |
| 801 | i2c-mux-idle-disconnect; |
| 802 | |
| 803 | /* |
| 804 | * I2C Switch 11-0070 channel #0: connecting to PIM |
| 805 | * (Port Interface Module) #1 (1-based). |
| 806 | */ |
| 807 | imux40: i2c@0 { |
| 808 | #address-cells = <1>; |
| 809 | #size-cells = <0>; |
| 810 | reg = <0>; |
| 811 | |
| 812 | i2c-mux@73 { |
| 813 | compatible = "nxp,pca9548"; |
| 814 | #address-cells = <1>; |
| 815 | #size-cells = <0>; |
| 816 | reg = <0x73>; |
| 817 | i2c-mux-idle-disconnect; |
| 818 | |
| 819 | imux80: i2c@0 { |
| 820 | #address-cells = <1>; |
| 821 | #size-cells = <0>; |
| 822 | reg = <0>; |
| 823 | }; |
| 824 | |
| 825 | imux81: i2c@1 { |
| 826 | #address-cells = <1>; |
| 827 | #size-cells = <0>; |
| 828 | reg = <1>; |
| 829 | }; |
| 830 | |
| 831 | imux82: i2c@2 { |
| 832 | #address-cells = <1>; |
| 833 | #size-cells = <0>; |
| 834 | reg = <2>; |
| 835 | }; |
| 836 | |
| 837 | imux83: i2c@3 { |
| 838 | #address-cells = <1>; |
| 839 | #size-cells = <0>; |
| 840 | reg = <3>; |
| 841 | }; |
| 842 | |
| 843 | imux84: i2c@4 { |
| 844 | #address-cells = <1>; |
| 845 | #size-cells = <0>; |
| 846 | reg = <4>; |
| 847 | }; |
| 848 | |
| 849 | imux85: i2c@5 { |
| 850 | #address-cells = <1>; |
| 851 | #size-cells = <0>; |
| 852 | reg = <5>; |
| 853 | }; |
| 854 | |
| 855 | imux86: i2c@6 { |
| 856 | #address-cells = <1>; |
| 857 | #size-cells = <0>; |
| 858 | reg = <6>; |
| 859 | }; |
| 860 | |
| 861 | imux87: i2c@7 { |
| 862 | #address-cells = <1>; |
| 863 | #size-cells = <0>; |
| 864 | reg = <7>; |
| 865 | }; |
| 866 | }; |
| 867 | }; |
| 868 | |
| 869 | /* |
| 870 | * I2C Switch 11-0070 channel #1: connecting to PIM |
| 871 | * (Port Interface Module) #2 (1-based). |
| 872 | */ |
| 873 | imux41: i2c@1 { |
| 874 | #address-cells = <1>; |
| 875 | #size-cells = <0>; |
| 876 | reg = <1>; |
| 877 | |
| 878 | i2c-mux@73 { |
| 879 | compatible = "nxp,pca9548"; |
| 880 | #address-cells = <1>; |
| 881 | #size-cells = <0>; |
| 882 | reg = <0x73>; |
| 883 | i2c-mux-idle-disconnect; |
| 884 | |
| 885 | imux88: i2c@0 { |
| 886 | #address-cells = <1>; |
| 887 | #size-cells = <0>; |
| 888 | reg = <0>; |
| 889 | }; |
| 890 | |
| 891 | imux89: i2c@1 { |
| 892 | #address-cells = <1>; |
| 893 | #size-cells = <0>; |
| 894 | reg = <1>; |
| 895 | }; |
| 896 | |
| 897 | imux90: i2c@2 { |
| 898 | #address-cells = <1>; |
| 899 | #size-cells = <0>; |
| 900 | reg = <2>; |
| 901 | }; |
| 902 | |
| 903 | imux91: i2c@3 { |
| 904 | #address-cells = <1>; |
| 905 | #size-cells = <0>; |
| 906 | reg = <3>; |
| 907 | }; |
| 908 | |
| 909 | imux92: i2c@4 { |
| 910 | #address-cells = <1>; |
| 911 | #size-cells = <0>; |
| 912 | reg = <4>; |
| 913 | }; |
| 914 | |
| 915 | imux93: i2c@5 { |
| 916 | #address-cells = <1>; |
| 917 | #size-cells = <0>; |
| 918 | reg = <5>; |
| 919 | }; |
| 920 | |
| 921 | imux94: i2c@6 { |
| 922 | #address-cells = <1>; |
| 923 | #size-cells = <0>; |
| 924 | reg = <6>; |
| 925 | }; |
| 926 | |
| 927 | imux95: i2c@7 { |
| 928 | #address-cells = <1>; |
| 929 | #size-cells = <0>; |
| 930 | reg = <7>; |
| 931 | }; |
| 932 | }; |
| 933 | }; |
| 934 | |
| 935 | /* |
| 936 | * I2C Switch 11-0070 channel #2: connecting to PIM |
| 937 | * (Port Interface Module) #3 (1-based). |
| 938 | */ |
| 939 | imux42: i2c@2 { |
| 940 | #address-cells = <1>; |
| 941 | #size-cells = <0>; |
| 942 | reg = <2>; |
| 943 | |
| 944 | i2c-mux@73 { |
| 945 | compatible = "nxp,pca9548"; |
| 946 | #address-cells = <1>; |
| 947 | #size-cells = <0>; |
| 948 | reg = <0x73>; |
| 949 | i2c-mux-idle-disconnect; |
| 950 | |
| 951 | imux96: i2c@0 { |
| 952 | #address-cells = <1>; |
| 953 | #size-cells = <0>; |
| 954 | reg = <0>; |
| 955 | }; |
| 956 | |
| 957 | imux97: i2c@1 { |
| 958 | #address-cells = <1>; |
| 959 | #size-cells = <0>; |
| 960 | reg = <1>; |
| 961 | }; |
| 962 | |
| 963 | imux98: i2c@2 { |
| 964 | #address-cells = <1>; |
| 965 | #size-cells = <0>; |
| 966 | reg = <2>; |
| 967 | }; |
| 968 | |
| 969 | imux99: i2c@3 { |
| 970 | #address-cells = <1>; |
| 971 | #size-cells = <0>; |
| 972 | reg = <3>; |
| 973 | }; |
| 974 | |
| 975 | imux100: i2c@4 { |
| 976 | #address-cells = <1>; |
| 977 | #size-cells = <0>; |
| 978 | reg = <4>; |
| 979 | }; |
| 980 | |
| 981 | imux101: i2c@5 { |
| 982 | #address-cells = <1>; |
| 983 | #size-cells = <0>; |
| 984 | reg = <5>; |
| 985 | }; |
| 986 | |
| 987 | imux102: i2c@6 { |
| 988 | #address-cells = <1>; |
| 989 | #size-cells = <0>; |
| 990 | reg = <6>; |
| 991 | }; |
| 992 | |
| 993 | imux103: i2c@7 { |
| 994 | #address-cells = <1>; |
| 995 | #size-cells = <0>; |
| 996 | reg = <7>; |
| 997 | }; |
| 998 | }; |
| 999 | }; |
| 1000 | |
| 1001 | /* |
| 1002 | * I2C Switch 11-0070 channel #3: connecting to PIM |
| 1003 | * (Port Interface Module) #4 (1-based). |
| 1004 | */ |
| 1005 | imux43: i2c@3 { |
| 1006 | #address-cells = <1>; |
| 1007 | #size-cells = <0>; |
| 1008 | reg = <3>; |
| 1009 | |
| 1010 | i2c-mux@73 { |
| 1011 | compatible = "nxp,pca9548"; |
| 1012 | #address-cells = <1>; |
| 1013 | #size-cells = <0>; |
| 1014 | reg = <0x73>; |
| 1015 | i2c-mux-idle-disconnect; |
| 1016 | |
| 1017 | imux104: i2c@0 { |
| 1018 | #address-cells = <1>; |
| 1019 | #size-cells = <0>; |
| 1020 | reg = <0>; |
| 1021 | }; |
| 1022 | |
| 1023 | imux105: i2c@1 { |
| 1024 | #address-cells = <1>; |
| 1025 | #size-cells = <0>; |
| 1026 | reg = <1>; |
| 1027 | }; |
| 1028 | |
| 1029 | imux106: i2c@2 { |
| 1030 | #address-cells = <1>; |
| 1031 | #size-cells = <0>; |
| 1032 | reg = <2>; |
| 1033 | }; |
| 1034 | |
| 1035 | imux107: i2c@3 { |
| 1036 | #address-cells = <1>; |
| 1037 | #size-cells = <0>; |
| 1038 | reg = <3>; |
| 1039 | }; |
| 1040 | |
| 1041 | imux108: i2c@4 { |
| 1042 | #address-cells = <1>; |
| 1043 | #size-cells = <0>; |
| 1044 | reg = <4>; |
| 1045 | }; |
| 1046 | |
| 1047 | imux109: i2c@5 { |
| 1048 | #address-cells = <1>; |
| 1049 | #size-cells = <0>; |
| 1050 | reg = <5>; |
| 1051 | }; |
| 1052 | |
| 1053 | imux110: i2c@6 { |
| 1054 | #address-cells = <1>; |
| 1055 | #size-cells = <0>; |
| 1056 | reg = <6>; |
| 1057 | }; |
| 1058 | |
| 1059 | imux111: i2c@7 { |
| 1060 | #address-cells = <1>; |
| 1061 | #size-cells = <0>; |
| 1062 | reg = <7>; |
| 1063 | }; |
| 1064 | }; |
| 1065 | }; |
| 1066 | |
| 1067 | /* |
| 1068 | * I2C Switch 11-0070 channel #4: connecting to PIM |
| 1069 | * (Port Interface Module) #5 (1-based). |
| 1070 | */ |
| 1071 | imux44: i2c@4 { |
| 1072 | #address-cells = <1>; |
| 1073 | #size-cells = <0>; |
| 1074 | reg = <4>; |
| 1075 | |
| 1076 | i2c-mux@73 { |
| 1077 | compatible = "nxp,pca9548"; |
| 1078 | #address-cells = <1>; |
| 1079 | #size-cells = <0>; |
| 1080 | reg = <0x73>; |
| 1081 | i2c-mux-idle-disconnect; |
| 1082 | |
| 1083 | imux112: i2c@0 { |
| 1084 | #address-cells = <1>; |
| 1085 | #size-cells = <0>; |
| 1086 | reg = <0>; |
| 1087 | }; |
| 1088 | |
| 1089 | imux113: i2c@1 { |
| 1090 | #address-cells = <1>; |
| 1091 | #size-cells = <0>; |
| 1092 | reg = <1>; |
| 1093 | }; |
| 1094 | |
| 1095 | imux114: i2c@2 { |
| 1096 | #address-cells = <1>; |
| 1097 | #size-cells = <0>; |
| 1098 | reg = <2>; |
| 1099 | }; |
| 1100 | |
| 1101 | imux115: i2c@3 { |
| 1102 | #address-cells = <1>; |
| 1103 | #size-cells = <0>; |
| 1104 | reg = <3>; |
| 1105 | }; |
| 1106 | |
| 1107 | imux116: i2c@4 { |
| 1108 | #address-cells = <1>; |
| 1109 | #size-cells = <0>; |
| 1110 | reg = <4>; |
| 1111 | }; |
| 1112 | |
| 1113 | imux117: i2c@5 { |
| 1114 | #address-cells = <1>; |
| 1115 | #size-cells = <0>; |
| 1116 | reg = <5>; |
| 1117 | }; |
| 1118 | |
| 1119 | imux118: i2c@6 { |
| 1120 | #address-cells = <1>; |
| 1121 | #size-cells = <0>; |
| 1122 | reg = <6>; |
| 1123 | }; |
| 1124 | |
| 1125 | imux119: i2c@7 { |
| 1126 | #address-cells = <1>; |
| 1127 | #size-cells = <0>; |
| 1128 | reg = <7>; |
| 1129 | }; |
| 1130 | }; |
| 1131 | }; |
| 1132 | |
| 1133 | /* |
| 1134 | * I2C Switch 11-0070 channel #5: connecting to PIM |
| 1135 | * (Port Interface Module) #6 (1-based). |
| 1136 | */ |
| 1137 | imux45: i2c@5 { |
| 1138 | #address-cells = <1>; |
| 1139 | #size-cells = <0>; |
| 1140 | reg = <5>; |
| 1141 | |
| 1142 | i2c-mux@73 { |
| 1143 | compatible = "nxp,pca9548"; |
| 1144 | #address-cells = <1>; |
| 1145 | #size-cells = <0>; |
| 1146 | reg = <0x73>; |
| 1147 | i2c-mux-idle-disconnect; |
| 1148 | |
| 1149 | imux120: i2c@0 { |
| 1150 | #address-cells = <1>; |
| 1151 | #size-cells = <0>; |
| 1152 | reg = <0>; |
| 1153 | }; |
| 1154 | |
| 1155 | imux121: i2c@1 { |
| 1156 | #address-cells = <1>; |
| 1157 | #size-cells = <0>; |
| 1158 | reg = <1>; |
| 1159 | }; |
| 1160 | |
| 1161 | imux122: i2c@2 { |
| 1162 | #address-cells = <1>; |
| 1163 | #size-cells = <0>; |
| 1164 | reg = <2>; |
| 1165 | }; |
| 1166 | |
| 1167 | imux123: i2c@3 { |
| 1168 | #address-cells = <1>; |
| 1169 | #size-cells = <0>; |
| 1170 | reg = <3>; |
| 1171 | }; |
| 1172 | |
| 1173 | imux124: i2c@4 { |
| 1174 | #address-cells = <1>; |
| 1175 | #size-cells = <0>; |
| 1176 | reg = <4>; |
| 1177 | }; |
| 1178 | |
| 1179 | imux125: i2c@5 { |
| 1180 | #address-cells = <1>; |
| 1181 | #size-cells = <0>; |
| 1182 | reg = <5>; |
| 1183 | }; |
| 1184 | |
| 1185 | imux126: i2c@6 { |
| 1186 | #address-cells = <1>; |
| 1187 | #size-cells = <0>; |
| 1188 | reg = <6>; |
| 1189 | }; |
| 1190 | |
| 1191 | imux127: i2c@7 { |
| 1192 | #address-cells = <1>; |
| 1193 | #size-cells = <0>; |
| 1194 | reg = <7>; |
| 1195 | }; |
| 1196 | }; |
| 1197 | }; |
| 1198 | |
| 1199 | /* |
| 1200 | * I2C Switch 11-0070 channel #6: connecting to PIM |
| 1201 | * (Port Interface Module) #7 (1-based). |
| 1202 | */ |
| 1203 | imux46: i2c@6 { |
| 1204 | #address-cells = <1>; |
| 1205 | #size-cells = <0>; |
| 1206 | reg = <6>; |
| 1207 | |
| 1208 | i2c-mux@73 { |
| 1209 | compatible = "nxp,pca9548"; |
| 1210 | #address-cells = <1>; |
| 1211 | #size-cells = <0>; |
| 1212 | reg = <0x73>; |
| 1213 | i2c-mux-idle-disconnect; |
| 1214 | |
| 1215 | imux128: i2c@0 { |
| 1216 | #address-cells = <1>; |
| 1217 | #size-cells = <0>; |
| 1218 | reg = <0>; |
| 1219 | }; |
| 1220 | |
| 1221 | imux129: i2c@1 { |
| 1222 | #address-cells = <1>; |
| 1223 | #size-cells = <0>; |
| 1224 | reg = <1>; |
| 1225 | }; |
| 1226 | |
| 1227 | imux130: i2c@2 { |
| 1228 | #address-cells = <1>; |
| 1229 | #size-cells = <0>; |
| 1230 | reg = <2>; |
| 1231 | }; |
| 1232 | |
| 1233 | imux131: i2c@3 { |
| 1234 | #address-cells = <1>; |
| 1235 | #size-cells = <0>; |
| 1236 | reg = <3>; |
| 1237 | }; |
| 1238 | |
| 1239 | imux132: i2c@4 { |
| 1240 | #address-cells = <1>; |
| 1241 | #size-cells = <0>; |
| 1242 | reg = <4>; |
| 1243 | }; |
| 1244 | |
| 1245 | imux133: i2c@5 { |
| 1246 | #address-cells = <1>; |
| 1247 | #size-cells = <0>; |
| 1248 | reg = <5>; |
| 1249 | }; |
| 1250 | |
| 1251 | imux134: i2c@6 { |
| 1252 | #address-cells = <1>; |
| 1253 | #size-cells = <0>; |
| 1254 | reg = <6>; |
| 1255 | }; |
| 1256 | |
| 1257 | imux135: i2c@7 { |
| 1258 | #address-cells = <1>; |
| 1259 | #size-cells = <0>; |
| 1260 | reg = <7>; |
| 1261 | }; |
| 1262 | }; |
| 1263 | }; |
| 1264 | |
| 1265 | /* |
| 1266 | * I2C Switch 11-0070 channel #7: connecting to PIM |
| 1267 | * (Port Interface Module) #8 (1-based). |
| 1268 | */ |
| 1269 | imux47: i2c@7 { |
| 1270 | #address-cells = <1>; |
| 1271 | #size-cells = <0>; |
| 1272 | reg = <7>; |
| 1273 | |
| 1274 | i2c-mux@73 { |
| 1275 | compatible = "nxp,pca9548"; |
| 1276 | #address-cells = <1>; |
| 1277 | #size-cells = <0>; |
| 1278 | reg = <0x73>; |
| 1279 | i2c-mux-idle-disconnect; |
| 1280 | |
| 1281 | imux136: i2c@0 { |
| 1282 | #address-cells = <1>; |
| 1283 | #size-cells = <0>; |
| 1284 | reg = <0>; |
| 1285 | }; |
| 1286 | |
| 1287 | imux137: i2c@1 { |
| 1288 | #address-cells = <1>; |
| 1289 | #size-cells = <0>; |
| 1290 | reg = <1>; |
| 1291 | }; |
| 1292 | |
| 1293 | imux138: i2c@2 { |
| 1294 | #address-cells = <1>; |
| 1295 | #size-cells = <0>; |
| 1296 | reg = <2>; |
| 1297 | }; |
| 1298 | |
| 1299 | imux139: i2c@3 { |
| 1300 | #address-cells = <1>; |
| 1301 | #size-cells = <0>; |
| 1302 | reg = <3>; |
| 1303 | }; |
| 1304 | |
| 1305 | imux140: i2c@4 { |
| 1306 | #address-cells = <1>; |
| 1307 | #size-cells = <0>; |
| 1308 | reg = <4>; |
| 1309 | }; |
| 1310 | |
| 1311 | imux141: i2c@5 { |
| 1312 | #address-cells = <1>; |
| 1313 | #size-cells = <0>; |
| 1314 | reg = <5>; |
| 1315 | }; |
| 1316 | |
| 1317 | imux142: i2c@6 { |
| 1318 | #address-cells = <1>; |
| 1319 | #size-cells = <0>; |
| 1320 | reg = <6>; |
| 1321 | }; |
| 1322 | |
| 1323 | imux143: i2c@7 { |
| 1324 | #address-cells = <1>; |
| 1325 | #size-cells = <0>; |
| 1326 | reg = <7>; |
| 1327 | }; |
| 1328 | }; |
| 1329 | }; |
| 1330 | }; |
| 1331 | }; |
| 1332 | |
| 1333 | &i2c12 { |
| 1334 | status = "okay"; |
| 1335 | }; |
| 1336 | |
| 1337 | &i2c13 { |
| 1338 | status = "okay"; |
| 1339 | }; |