Skip to content

arm64: dts: apple: t8132: enable the Neural Engine on every M4 board - #2244

Draft
RyanTheTide wants to merge 1 commit into
integration/aurorafrom
spec-m3m4/t8132-ane-all-boards
Draft

RyanTheTide wants to merge 1 commit into
integration/aurorafrom
spec-m3m4/t8132-ane-all-boards

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Problem. Every T8132 has the Neural Engine, but the DT enabled it (and its three DARTs) only in t8132-j713.dts, the board it first ran on. The J604, J715, the iMacs and the Mac mini never get the node.

Change. Enable ane, ane_dart, ane_dart1 and ane_dart2 in t8132-peripherals.dtsi and drop the J713 copy. The driver still binds only when the loader hands off the firmware preload (aura#260 does that for any apple,t8132-ane node), so a board whose loader doesn't hand it off behaves as today.

Testing. cpp + dtc on all six T8132 boards: same warning counts as the base. J713's sorted decompile is byte-identical to the base. On J604, J715 and J773g the only change is those four nodes going from disabled to okay.

Still to run. One boot on a J773g, J604 or J715 with aura#260: ane probes and a small inference runs.

Assisted-by: LLM (Claude:Opus 5.5)

Every T8132 has the ANE; the DT enabled it, with its three DARTs, on the
J713 only, the board it was first run on (#1952). The node's resources
and power domains are the SoC's, and the driver binds only when the
loader hands off the firmware preload (aura#260 does so for any
apple,t8132-ane node), so enable it in the SoC file and drop the J713
copy. The J713's DT is unchanged.

Not tested on the J604, J715, J623/J624 or J773g (desk audit, lane
SPEC-M3M4).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DjDeveloperr

Copy link
Copy Markdown
Contributor

Ran it on a J773g (Mac mini M4, 26.6.2 stub), the "still to run" item. Setup: this commit + #1952 cherry-picked onto the M4 mini GPU stack (7.3.0); boot.bin = aura e553f9dc (J773g stack) + aura#260.

  • aura: FDT: /soc/ane@500000000: ANE firmware TEXT 0x10000ab8000 DATA 0x10000d78000 reserved.
  • Kernel: ane_t6021 500000000.ane: H16 preload identity H16 T8132 26.6.2 25G83 J713 accepted. DART PARAMS3 0x2a2a0202 on all three, DAPF 5 records, power ACTUAL as on the J713.
  • /sys/kernel/debug/ane-h16/500000000.ane/stage: program ran=1 refused=0 quarantined=0 error=0; /dev/accel/accel0 present; 0 irq timeouts, 0 recoveries.
  • 4 boots in a row, the same. Not run: an HWX inference (I have no H16G add-128 fixture on this host).

It's the mini's default boot now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants