Skip to content

arm64: dts: apple: t8152-j804: describe the MacBook Pro (M6) core board - #4372

Open
stefanodvx wants to merge 3 commits into
aurora-silicon:mainfrom
stefanodvx:feat/j804-core-board
Open

stefanodvx wants to merge 3 commits into
aurora-silicon:mainfrom
stefanodvx:feat/j804-core-board

Conversation

@stefanodvx

Copy link
Copy Markdown
Contributor

What:
Clean 3-commit recreation of #2107 (dropping the Co-Authored-By trailers as requested, preserving original commit authorship and DCO) describing the MacBook Pro (14-inch, M6, J804) core board:

  • apple,t8152-fpwm binding (apple,s5l-fpwm.yaml)
  • apple,t8152-pinctrl binding (apple,pinctrl.yaml) + t8152-j873-n1.dtsi update
  • arch/arm64/boot/dts/apple/t8152-j804.dts (12 CPUs, cluster cpufreq, AIC3, SMC + smc_pcio + smc_hwmon, watchdog, pinctrl_ap, i2c1/i2c3, fpwm0 keyboard backlight, QSPI/PMGR)

Every register base, interrupt, GPIO, and SMC key has been cross-checked against a live J804 (Mac18,1, macOS 27.2.1 26B7131) ADT capture.

Tested:

  • MacBook Pro 14-inch (M6, Mac18,1, J804, T8152, board_id 0x22), stub 26B7124, commit e99a41a6d (booted on 7.3.0-53.fc45.aurora.aarch64 via aura Stage 1 be3940f + boot= with the stacked NVMe/USB DT commit for disk root):
    • dtc compiles cleanly with 0 warnings.
    • CPUs: nproc=12, online 0-11, 972-1152 MHz scaling.
    • Watchdog: /dev/watchdog and /dev/watchdog0 present.
    • Keyboard backlight (fpwm0): /sys/class/leds/kbd_backlight (max_brightness=255, write/readback 0 -> 180 -> 0 -> 180, physical backlight verified lit).
    • macsmc_hwmon (hwmon1): 169 temperature sensors, fan1 (0 RPM), 4 power rails (PSTR, PDTR, PMVR, PHPC), 2 voltages (VD0R, SBAV), 1 current (ID0R).
    • Systemd: 0 failed units; reached Fedora GNOME Initial Setup on simple-framebuffer.

Risk:
Two-way door (J804 board DT and T8152 PWM/pinctrl bindings only).

Not yet:

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>
@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) blast:m5 Macs affected, from Merge risk (bot) door:two-way Revertible or not, from Merge risk (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 e99a41a6: not ready yet

Check Detail
CI at head ok 5 checks passed
Review no needs one approving review from Core, Omarchy Mac or Aurora Maintainers (not the author)
Requested changes ok none
Hardware row at head ok the PR body at e99a41a6
Conflicts ok none
PR text ok Risk: two-way · (J804 board DT and T8152 PWM/pinctrl bindings only).

Areas: area:bringup

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

@DjDeveloperr DjDeveloperr 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.

The J804 receipt at e99a41a6d covers the core-board paths and credits the stacked NVMe/USB commit for disk root. Two items from the #2107 review still apply to this replacement:

  • The J873g AP GPIO bank also switches from the cached T8103 fallback to uncached T8140. Please post a J873g control with Wi-Fi, Bluetooth, Ethernet and one sleep cycle at this revision, or preserve J873g's old fallback in this J804 patch and move the J873g change into its own tested follow-up.
  • The two cluster OPP tables, cpufreq controllers and shared SMC resources are still duplicated between J804 and J873g. Please carry forward the requested shared placement in t8152.dtsi, keeping J804-only values in its board file, or link the maintainer decision approving the split.

This carries over the open review items before #4373 and #4375 build on the board description.

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) blast:m5 Macs affected, from Merge risk (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.

3 participants