|
88 | 88 | piodma { |
89 | 89 | iommus = <&DIE_NODE(dispext0_dart) 4>; |
90 | 90 | }; |
| 91 | + |
| 92 | + ports { |
| 93 | + #address-cells = <1>; |
| 94 | + #size-cells = <0>; |
| 95 | + port@0 { |
| 96 | + reg = <0>; |
| 97 | + DIE_NODE(dcpext0_audio): endpoint { |
| 98 | + remote-endpoint = <&DIE_NODE(dpaudio1_dcp)>; |
| 99 | + }; |
| 100 | + }; |
| 101 | + }; |
91 | 102 | }; |
92 | 103 |
|
93 | 104 | DIE_NODE(dispext1_dart): iommu@28c304000 { |
|
154 | 165 | piodma { |
155 | 166 | iommus = <&DIE_NODE(dispext1_dart) 4>; |
156 | 167 | }; |
| 168 | + |
| 169 | + ports { |
| 170 | + #address-cells = <1>; |
| 171 | + #size-cells = <0>; |
| 172 | + port@0 { |
| 173 | + reg = <0>; |
| 174 | + DIE_NODE(dcpext1_audio): endpoint { |
| 175 | + remote-endpoint = <&DIE_NODE(dpaudio2_dcp)>; |
| 176 | + }; |
| 177 | + }; |
| 178 | + }; |
157 | 179 | }; |
158 | 180 |
|
159 | 181 | DIE_NODE(pmgr): power-management@28e080000 { |
|
270 | 292 | #interrupt-cells = <2>; |
271 | 293 | }; |
272 | 294 |
|
| 295 | + DIE_NODE(sio_mbox): mbox@39bc08000 { |
| 296 | + compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4"; |
| 297 | + reg = <0x3 0x9bc08000 0x0 0x4000>; |
| 298 | + interrupt-parent = <&aic>; |
| 299 | + interrupts = <AIC_IRQ DIE_NO 1147 IRQ_TYPE_LEVEL_HIGH>, |
| 300 | + <AIC_IRQ DIE_NO 1148 IRQ_TYPE_LEVEL_HIGH>, |
| 301 | + <AIC_IRQ DIE_NO 1149 IRQ_TYPE_LEVEL_HIGH>, |
| 302 | + <AIC_IRQ DIE_NO 1150 IRQ_TYPE_LEVEL_HIGH>; |
| 303 | + interrupt-names = "send-empty", "send-not-empty", |
| 304 | + "recv-empty", "recv-not-empty"; |
| 305 | + #mbox-cells = <0>; |
| 306 | + power-domains = <&DIE_NODE(ps_sio_cpu)>; |
| 307 | + }; |
| 308 | + |
| 309 | + DIE_NODE(sio): sio@39bc00000 { |
| 310 | + compatible = "apple,t6000-sio", "apple,sio"; |
| 311 | + reg = <0x3 0x9bc00000 0x0 0x8000>; |
| 312 | + dma-channels = <128>; |
| 313 | + #dma-cells = <1>; |
| 314 | + mboxes = <&DIE_NODE(sio_mbox)>; |
| 315 | + iommus = <&DIE_NODE(sio_dart_0) 0>, <&DIE_NODE(sio_dart_1) 0>; |
| 316 | + power-domains = <&DIE_NODE(ps_sio_cpu)>; |
| 317 | + resets = <&DIE_NODE(ps_sio)>; /* TODO: verify reset does something */ |
| 318 | + status = "disabled"; |
| 319 | + }; |
| 320 | + |
| 321 | + DIE_NODE(dpaudio1): audio-controller@39b504000 { |
| 322 | + compatible = "apple,t6000-dpaudio", "apple,dpaudio"; |
| 323 | + reg = <0x3 0x9b540000 0x0 0x4000>; |
| 324 | + dmas = <&DIE_NODE(sio) 0x66>; |
| 325 | + dma-names = "tx"; |
| 326 | + power-domains = <&DIE_NODE(ps_dpa1)>; |
| 327 | + reset-domains = <&DIE_NODE(ps_dpa1)>; |
| 328 | + status = "disabled"; |
| 329 | + |
| 330 | + ports { |
| 331 | + #address-cells = <1>; |
| 332 | + #size-cells = <0>; |
| 333 | + port@0 { |
| 334 | + reg = <0>; |
| 335 | + DIE_NODE(dpaudio1_dcp): endpoint { |
| 336 | + remote-endpoint = <&DIE_NODE(dcpext0_audio)>; |
| 337 | + }; |
| 338 | + }; |
| 339 | + }; |
| 340 | + }; |
| 341 | + |
| 342 | + DIE_NODE(dpaudio2): audio-controller@39b508000 { |
| 343 | + compatible = "apple,t6000-dpaudio", "apple,dpaudio"; |
| 344 | + reg = <0x3 0x9b580000 0x0 0x4000>; |
| 345 | + dmas = <&DIE_NODE(sio) 0x68>; |
| 346 | + dma-names = "tx"; |
| 347 | + power-domains = <&DIE_NODE(ps_dpa2)>; |
| 348 | + reset-domains = <&DIE_NODE(ps_dpa2)>; |
| 349 | + status = "disabled"; |
| 350 | + |
| 351 | + ports { |
| 352 | + #address-cells = <1>; |
| 353 | + #size-cells = <0>; |
| 354 | + port@0 { |
| 355 | + reg = <0>; |
| 356 | + DIE_NODE(dpaudio2_dcp): endpoint { |
| 357 | + remote-endpoint = <&DIE_NODE(dcpext1_audio)>; |
| 358 | + }; |
| 359 | + }; |
| 360 | + }; |
| 361 | + }; |
| 362 | + |
| 363 | + /* |
| 364 | + * omit dpaudio3 / 4 as long as the linked dcpext nodes don't exist |
| 365 | + * |
| 366 | + DIE_NODE(dpaudio3): audio-controller@39b50c000 { |
| 367 | + compatible = "apple,t6000-dpaudio", "apple,dpaudio"; |
| 368 | + reg = <0x3 0x9b5c0000 0x0 0x4000>; |
| 369 | + dmas = <&DIE_NODE(sio) 0x6a>; |
| 370 | + dma-names = "tx"; |
| 371 | + power-domains = <&DIE_NODE(ps_dpa3)>; |
| 372 | + reset-domains = <&DIE_NODE(ps_dpa3)>; |
| 373 | + status = "disabled"; |
| 374 | + |
| 375 | + ports { |
| 376 | + #address-cells = <1>; |
| 377 | + #size-cells = <0>; |
| 378 | + port@0 { |
| 379 | + reg = <0>; |
| 380 | + DIE_NODE(dpaudio3_dcp): endpoint { |
| 381 | + remote-endpoint = <&DIE_NODE(dcpext2_audio)>; |
| 382 | + }; |
| 383 | + }; |
| 384 | + }; |
| 385 | + }; |
| 386 | + |
| 387 | + DIE_NODE(dpaudio4): audio-controller@39b510000 { |
| 388 | + compatible = "apple,t6000-dpaudio", "apple,dpaudio"; |
| 389 | + reg = <0x3 0x9b500000 0x0 0x4000>; |
| 390 | + dmas = <&DIE_NODE(sio) 0x6c>; |
| 391 | + dma-names = "tx"; |
| 392 | + power-domains = <&DIE_NODE(ps_dpa4)>; |
| 393 | + reset-domains = <&DIE_NODE(ps_dpa4)>; |
| 394 | + status = "disabled"; |
| 395 | + |
| 396 | + ports { |
| 397 | + #address-cells = <1>; |
| 398 | + #size-cells = <0>; |
| 399 | + port@0 { |
| 400 | + reg = <0>; |
| 401 | + DIE_NODE(dpaudio4_dcp): endpoint { |
| 402 | + remote-endpoint = <&DIE_NODE(dcpext3_audio)>; |
| 403 | + }; |
| 404 | + }; |
| 405 | + }; |
| 406 | + }; |
| 407 | + */ |
| 408 | + |
273 | 409 | DIE_NODE(dwc3_0): usb@702280000 { |
274 | 410 | compatible = "apple,t6000-dwc3", "apple,t8103-dwc3"; |
275 | 411 | reg = <0x7 0x02280000 0x0 0xcd00>, <0x7 0x0228cd00 0x0 0x3200>; |
|
0 commit comments