Skip to content

arm64: dts: apple: t6040-j773s: enable the USB4/Thunderbolt routers - #3628

Merged
RyanTheTide merged 1 commit into
mainfrom
feat/t6040-j773s-usb4-routers
Dec 1, 2026
Merged

RyanTheTide merged 1 commit into
mainfrom
feat/t6040-j773s-usb4-routers

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

Tested: no runtime change on any lab Mac (no J773s in our lab): all 7 T604x DTBs build at a035fbf, only t6040-j773s.dtb changes, CHECK_DTBS empty before and after; needs a J773s owner boot row
Risk: two-way · J773s only (J614s, J616s, J575c, J614c, J616c DTBs byte-identical)

What: the J773s (Mac mini, M4 Pro) describes the PCIe tunnels of its three back Thunderbolt ports (#3512), but its three USB4 routers stayed disabled, so nothing could come up behind them.

ADT: the J773s ADT has acio0-2, dart-acio0-2, acio-cpu0-2 and apciec0-2. hpm0 (0xc), hpm1 (0xa) and hpm2 (0x8) have acio-parent acio0/1/2, and acio0-2 have atc-phy-parent atc-phy0/1/2. So typec0 (back middle), typec1 (back left) and typec2 (back right) pair with ACIO0/1/2, the same pairing as the J614s/J616s. The routers carry usb4-N aliases, so aura copies each machine's own router/adapter/NHI tunables and DROM from its ADT.

Change

Related: supersedes the J773s and shared-enable parts of our stalled draft #2284 (3,000+ commits behind main). The M4 Max (T6041) routers are #2312.

The J773s (Mac mini, M4 Pro) described the PCIe tunnels of its three
back ports but left the three USB4 routers disabled, so no Thunderbolt
or USB4 device could ever reach them. Its ADT has acio0-2, dart-acio0-2,
acio-cpu0-2 and apciec0-2; hpm0-2's acio-parent and acio0-2's
atc-phy-parent pair typec0 (back middle), typec1 (back left) and typec2
(back right) with ACIO0, ACIO1 and ACIO2, as on the J614s and J616s.

The J614s and J616s enabled the routers with the same per-board block.
Move it to t6040-usb4-routers.dtsi and include it on all three. The
connector-to-router glue is board-neutral too: rename
t604x-j614-j616-usb4.dtsi to t604x-usb4-typec.dtsi and include it on the
J773s. The J773s enables the AOP pin controller for the routers' LSTX
pins itself; it has no HDMI display gate chain that would.

Only t6040-j773s.dtb changes; the J614s, J616s, J616s-tether, J575c,
J614c and J616c DTBs are byte-identical, and CHECK_DTBS reports nothing
before or after.

Signed-off-by: Ryan Murray <[email protected]>

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: HOLD at a035fbf8 pending J773s validation and hosted checks.

Blockers: Obtain an owner J773s boot with the matching loader. Verify all three routers bind and enumerate a USB4 device on each rear port, with no new DART or PCIe errors.

Checked: The change reuses the router and connector descriptions, enables the AOP pin controller for the existing LSTX bindings and relies on the loader for machine-specific values. The reported seven-DTB build changes only J773s and reports no schema warnings.

@github-actions github-actions Bot added area:bringup Area from CODEOWNERS (bot) ci-failing A check failed at the PR head (bot) door:two-way Revertible or not, from Merge risk (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) labels Nov 29, 2026
@github-actions

github-actions Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Merge readiness at a035fbf8: not ready yet

Check Detail
CI at head no failing: host-tests, host-tests
Review no needs one approving review from Core or Omarchy Mac (not the author)
Requested changes ok none
Hardware row at head ok not needed: no runtime change
Conflicts ok not computed yet
PR text ok Risk: two-way · J773s only (J614s, J616s, J575c, J614c, J616c DTBs byte-identical)

Areas: area:bringup

Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels.

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: MERGE at a035fbf8b731

Converts this App's earlier review at the same head to an approval under the 12-01 merge bar (better than before and doesn't break; block only on a shown failure). No code blocker was found in it. The merge gate (a row on one Mac at this head + fast CI) is tracked by pr-readiness, not held here.

Checked: The change reuses the router and connector descriptions, enables the AOP pin controller for the existing LSTX bindings and relies on the loader for machine-specific values. The reported seven-DTB build changes only J773s and reports no schema warnings.

Follow-ups (not blocking): owner J773s boot with routers enumerating USB4 per port, hosted checks

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Merging at a035fbf8b731 (B2 merge train, 12-01 merge bar). Approval at this head: aurora-silicon-review[bot]. Row: not needed per readiness (DT/test-only, no runtime change), or its row at a035fbf. CI: linux train L4 = main (after L3) + 34 approved PRs (#3419 dropped: conflicts): Apple driver compile pass, Apple DTBs W=1 pass, planned KUnit ane-boot/clpc/ane-pm/dcp-fabric/dcp-topology/dcp-display/macaudio/asahi/sep all pass, host tests apple-dcp + apple-scaler-recovery pass (the red host-tests on some heads were base failures since fixed on main). The rest of the hosted run is queued behind the backlog. Revert: git revert -m 1 <merge commit>.

@RyanTheTide
RyanTheTide merged commit 29fed15 into main Dec 1, 2026
8 of 10 checks passed
@RyanTheTide
RyanTheTide deleted the feat/t6040-j773s-usb4-routers branch December 1, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:bringup Area from CODEOWNERS (bot) ci-failing A check failed at the PR head (bot) door:two-way Revertible or not, from Merge risk (bot) needs-review No approving review from Core or Omarchy Mac yet (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant