Skip to content

arm64: dts: apple: t600x/t602x: Ultra ANE, J180 die 0 SIO, dpaudio binding, T602x compatible cleanup - #1030

Merged
RyanTheTide merged 10 commits into
integration/aurorafrom
dt/t60xx-20261107
Nov 7, 2026
Merged

RyanTheTide merged 10 commits into
integration/aurorafrom
dt/t60xx-20261107

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Device-tree port and cleanup for the M1 Pro/Max/Ultra (T600x) and M2 Pro/Max/Ultra (T602x) families.

T600x

  • New binding sound/apple,t6000-dpaudio.yaml (T6000 and T6020 DisplayPort audio).
  • Drop the undocumented reset-domains from the dpaudio nodes; no driver reads it.
  • T6002 (J375D, M1 Ultra): enable the ANE the same way T6001 does (DARTs, power states, performance controller, pmp_report window).

T602x

  • (The T6020 SIO/PMP/PCIe GE binding entries landed in dt-bindings: apple: cover every compatible our Apple DTs use (no DTB changes) #1033.)
  • Use the documented two-entry compatibles (SoC + t8103/t6000 fallback), as T6041 and T8122 already do, for pmgr power states, i2c, pinctrl, spi, wdt, mca, nco, nvme, smc, spmi and admac. The loader's T6020 compat fixup still appends the generic names, so the DT the kernel sees is unchanged.
  • T6022 (J475D/J180D, M2 Ultra): enable the ANE, its mailbox and DARTs; add the sio alias on J180 so the loader brings up the die 0 SIO for die 0 HDMI audio.

Checks: dtbs_check on the 14 boards goes from 4235 to 998 warnings (T602x boards from ~460-506 each to 72-89); no new warnings apart from phandle renumbering and one ANE warning that comes from npu/apple,ane.yaml failing to parse in base. dt_binding_check passes for the touched bindings.

Testing: the M1 Pro (J316s) DTB only loses reset-domains, which no driver reads. Our M1 Pro boots a pinned DTB set from its boot.bin, so this cannot be boot-tested there until that set moves to integration/aurora DTBs. The Ultra ANE enables and the T602x changes need hardware test (no M1/M2 Ultra or M2 Pro here).

🤖 Generated with Claude Code

The M1 and M2 Pro/Max/Ultra device trees describe a DisplayPort audio
interface per display coprocessor, but no schema matched
"apple,t6000-dpaudio" or "apple,t6020-dpaudio", so dtbs_check reported
every node. Document them: a register window the host does not touch,
one SIO DMA channel, one power domain and a graph port to the DCP that
owns the audio service.

Signed-off-by: Ryan Murray <[email protected]>
Assisted-by: LLM
"reset-domains" is not a documented property and nothing reads it: the
DisplayPort audio driver only uses the DMA channel, the power domain and
the graph port. Remove it so the nodes match the binding.

Signed-off-by: Ryan Murray <[email protected]>
Assisted-by: LLM
The die 0 neural engine of the M1 Ultra is the block the M1 Pro and M1
Max use, at the same addresses, with the same DARTs and power states.
t6001.dtsi enables it on those, but t6002.dtsi does not include that
file, so the ANE stayed disabled on the Mac Studio (M1 Ultra). Enable it
in the same way, including the die 0 PMP report window for its
clock-level requests.

Signed-off-by: Ryan Murray <[email protected]>
Assisted-by: LLM
The M2 Pro/Max/Ultra device trees use "apple,t6020-sio",
"apple,t6020-pmp-v2", "apple,t6020-pmp-v2-report-entry" and
"apple,t6020-pcie-ge", none of which the bindings list. Add them with
the fallbacks the device trees already carry: "apple,sio",
"apple,t6000-pmp-v2", "apple,t6000-pmp-v2-report-entry" and
"apple,t6020-pcie".

Signed-off-by: Ryan Murray <[email protected]>
Assisted-by: LLM
The T6020 power states, I2C, pinctrl, SPI, watchdog, MCA, NCO, NVMe,
SMC, SPMI and ADMAC nodes listed a third, generic "apple,*" compatible
after their "apple,t8103-*" fallback. The bindings only allow the
two-entry form, so dtbs_check reported around 370 warnings per board,
most of them for the 245 power states. Drop the generic entry, as the
T6041 and T8122 trees already do. Give the AOP ADMAC the
"apple,t8103-admac" fallback the other ADMAC has.

The drivers match the T8103 fallbacks with the same data. The loader
appends the generic compatibles again on T602x machines for older
kernels, so the device tree the kernel sees does not change.

Also drop the unused "reset-domains" from the DisplayPort audio nodes.

Signed-off-by: Ryan Murray <[email protected]>
Assisted-by: LLM
The die 0 neural engine of the M2 Ultra matches the M2 Pro and M2 Max
one and the driver has T6022 match data, but only t6021.dtsi enabled it,
so it stayed disabled on the Mac Studio and Mac Pro (M2 Ultra). Enable
it with its mailbox and DARTs.

The Mac Pro also drives its die 0 HDMI port with dpaudio1, whose DMA
comes from the die 0 SIO. The loader sets up and enables SIO only for
the "sio" and "sio1" aliases, and J180 only had "sio1" (die 1), so that
audio interface could never get its channel. Alias the die 0 SIO as
"sio".

Signed-off-by: Ryan Murray <[email protected]>
Assisted-by: LLM
The die 0 ANE and the J180 die 0 SIO have not been booted on any T6022
Mac here. Move the enable to its own change that waits for a tester;
this series stays description, bindings and the tested T600x fixes.

Signed-off-by: Ryan Murray <[email protected]>
Assisted-by: LLM
The T6002 die 0 ANE has not been booted on any M1 Ultra here. Move the
enable to its own change that waits for a tester.

Signed-off-by: Ryan Murray <[email protected]>
Assisted-by: LLM
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Split per the merge train's review: the untested Ultra enables (die 0 ANE on T6002/T6022, J180 die 0 SIO) are reverted here and moved to #1115, which waits for an Ultra tester. This PR is now bindings, the documented T602x compatible fallbacks and the T600x dpaudio reset-domains fix. Hardware: the M1 Pro (J316s) has booted this DTB (FLEET4 regression suite, no regression) and it is its committed boot.bin DTB set since tonight.

@RyanTheTide
RyanTheTide merged commit faa58a8 into integration/aurora Nov 7, 2026
2 checks passed
@RyanTheTide
RyanTheTide deleted the dt/t60xx-20261107 branch November 7, 2026 13:26
RyanTheTide added a commit that referenced this pull request Nov 7, 2026
Brings aurora-wip up to fleet25: DT descriptions (#1029, #1030, #1112),
the J715 board (#1129), Stockholm NFC (#1042, #1136), the AV1 tile check
(#1100), the M4 Max ANE profile and AVD quirk (#1088, #1091), boot-log
fixes (#1103, #1104) and the Neo ANE memory floor (#1137).

Conflicts: macaudio.c and apple,macaudio.yaml, where aurora-wip's J813
and J873 entries and integration's J715 entries were added at the same
spot. Keep all of them.

Signed-off-by: Ryan Murray <[email protected]>
Assisted-by: LLM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant