Skip to content

arm64: dts: apple: t8152-j804: enable ANS2 NVMe and USB-C hosts (on #4372) - #4373

Open
stefanodvx wants to merge 4 commits into
aurora-silicon:mainfrom
stefanodvx:feat/j804-nvme-usb
Open

stefanodvx wants to merge 4 commits into
aurora-silicon:mainfrom
stefanodvx:feat/j804-nvme-usb

Conversation

@stefanodvx

@stefanodvx stefanodvx commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

What:
Stacked on #4372. Enables internal ANS2 NVMe storage and the three exposed USB-C host controllers on the MacBook Pro (14-inch, M6, J804):

  • Includes t8152-j873-nvme.dtsi (ans_mbox, sart, nvme -- all register windows and interrupts match the J804 ADT identically).
  • Describes usb-drd0, usb-drd1, and usb-drd3 (apple,t8152-dwc3), their two Gen3 DART instances (0x20000 register windows per J804 ADT), and the pmgr_atc USB power domains for loader-initialized USB2 host operation.

Tested:

  • 8d48bf66 — MacBook Pro 14-inch (M6, Mac18,1, J804, T8152, stub 26B7124, kernel 7.3.0-53.fc45.aurora.aarch64): PASS — dtc 0 warnings; NVMe nvme0n1 (931.8 GiB, btrfs root mounted on nvme0n1p6, /boot on nvme0n1p5, EFI on nvme0n1p4, nvme0n2..4 namespaces, hwmon0 Composite 34.85 C); all 3 USB-C xHCI hosts probed (402430000.usb, 40a430000.usb, 412430000.usb, lsusb Buses 001-006); 12/12 CPUs online; 0 failed systemd units.

Risk:
Two-way door (J804 board DT only).

Not yet:

LiamRay11 and others added 4 commits December 4, 2026 22:19
Add the T8152 compatible for the keyboard backlight PWM controller,
which uses the apple,s5l-fpwm fallback.

Signed-off-by: LiamRay11 <228416644+LiamRay11@users.noreply.github.com>
Signed-off-by: stefano <69367859+stefanodvx@users.noreply.github.com>
The T8152 AP GPIO bank uses uncached T8140 register access so reserved
pins do not fault on probe; switch the shared T8152 AP pinctrl node in
t8152-j873-n1.dtsi to match while keeping the distinct AOP controller
on T8103 access.

Signed-off-by: LiamRay11 <228416644+LiamRay11@users.noreply.github.com>
Signed-off-by: DjDeveloperr <hey@djdev.me>
Signed-off-by: stefano <69367859+stefanodvx@users.noreply.github.com>
Turn the disabled J804 inventory into a board description for a RAM
boot from the loader, on top of the shared T8152 description:

  - the twelve CPUs with the first two unmanaged performance states per
    cluster
  - AIC, timer, boot framebuffer, and the shared T8152 CPU idle node
  - SMC mailbox, pcIO output for the trackpad AFE reset, and hwmon keys
    (fan monitored only, temperatures discovered)
  - watchdog, AP pinctrl with reserved no-restore pins, I2C1 (disabled
    jack codec) and I2C3, and FPWM keyboard backlight
  - boot NOR and PMGR via t8152-j873-qspi.dtsi plus SIO/I2C power states

All addresses, interrupts, GPIO ranges, and properties are verified
against the J804 (Mac18,1) ADT.

Signed-off-by: LiamRay11 <228416644+LiamRay11@users.noreply.github.com>
Signed-off-by: stefano <69367859+stefanodvx@users.noreply.github.com>
Include the shared T8152 ANS2 NVMe description (t8152-j873-nvme.dtsi;
all register bases and interrupts match the J804 ADT) and describe the
three exposed USB-C host controllers (usb-drd0, usb-drd1, usb-drd3),
their two Gen3 DART instances (0x20000 windows), and ATC USB power
domains for loader-initialized USB2 host operation.

Signed-off-by: stefano <69367859+stefanodvx@users.noreply.github.com>
@stefanodvx
stefanodvx requested review from a team as code owners December 4, 2026 22:44
@github-actions github-actions Bot added area:bringup Area from CODEOWNERS (bot) door:two-way Revertible or not, from Merge risk (bot) needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) labels Dec 4, 2026
@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Merge readiness at 8d48bf66: not ready yet

Check Detail
CI at head ok 5 checks passed
Review ok approved by RyanTheTide
Requested changes ok none
Hardware row at head no no line with the head SHA 8d48bf66, a Mac and a result in the PR body or a comment
Conflicts ok none
PR text ok Risk: two-way · (J804 board DT only).

Areas: area:bringup

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

@RyanTheTide RyanTheTide left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Verdict: MERGE at 8d48bf6

Checked: Compared the NVMe and USB delta against the core DT parent, compiled the exact J804 DT without warnings, and verified all three USB controllers resolve to host mode with paired DARTs and port-local power domains. The shared ANS2 description is reused as-is. The J804 receipt reports mounted NVMe root and all three xHCI probes. USB3 and Type-C mode switching remain outside this change.

Merge #4372 first. Hosted DT and host-test jobs were skipped on this head.

@github-actions github-actions Bot removed the needs-review No approving review from Core or Omarchy Mac yet (bot) label Dec 5, 2026
@github-actions github-actions Bot added ready-to-merge Meets the merge policy: merge it (bot) needs-hw-row No hardware row at the PR head (bot) and removed ready-to-merge Meets the merge policy: merge it (bot) labels Dec 5, 2026

This branch has not been deployed

No deployments
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) door:two-way Revertible or not, from Merge risk (bot) needs-hw-row No hardware row at the PR head (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants