Skip to content

arm64: dts: apple: add the J614s (MacBook Pro 14-inch, M4 Pro) - #795

Merged
RyanTheTide merged 15 commits into
aurora-wipfrom
j614s/experimental-dts
Nov 2, 2026
Merged

RyanTheTide merged 15 commits into
aurora-wipfrom
j614s/experimental-dts

Conversation

@DjDeveloperr

@DjDeveloperr DjDeveloperr commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

What

Adds the MacBook Pro 14-inch, M4 Pro (J614s, T6040) on aurora-wip.

Apple's J614s and J616s device trees are the same apart from the board identity, panel, speaker tuning, Wi-Fi module, trackpad and power limits. So the J616s board file is now a shared t604x-j614-j616.dtsi with thin t6040-j614s.dts and t6040-j616s.dts files, the same shape as the J314/J316, J414/J416 and J514/J516 boards. The J614s board file sets:

  • compatible apple,j614s, model "Apple MacBook Pro (14-inch, M4 Pro)"
  • panel apple,panel-j614, 302 x 196 mm, 189 mm below the notch
  • Wi-Fi and Bluetooth brcm,board-type = "apple,mriya"
  • AOP audio chassis J614, speaker card apple,j614-macaudio, jack card apple,j614-macaudio-jack
  • tpmtfw-j614s.bin, mesacal-j614s.bin, msrk-j614s.bin
  • the GL9755 SD reader

The kernel side adds the J614 speaker and jack cards to macaudio (sharing the J616 data, same amps and layout) and their binding, and admits J614s to the T6040 SEP profile. The J616s model also drops its date, "Apple MacBook Pro (16-inch, M4 Pro)".

The base is now aurora-wip (integration/aurora had an older J616s tree), brought up to date with a merge.

Folded in

All by mchalunderscore, merged with their commits kept:

Speakers

Off. The J614s internal speakers are disabled pending bring-up: the J614s board file sets &sound and all six amps to disabled, and macaudio_j614_cfg has enable_speakers = false. The headphone jack card stays enabled. There is no qualified J614 protection profile yet, so nothing here drives the speaker amps. The 16-inch speaker profile and tuning are never used on the 14-inch.

Thermal

aurora-wip's J616s thermal fix (#857) is merged in and carried in the shared dtsi, so both boards get the passive switch-on trips (100/116 C die and CPU, 90/101 C GPU) and 51300 mW sustainable power on the GPU zones.

Validated

  • J616s and J616s tether DTBs decompile to the same tree as aurora-wip apart from the model string
  • W=1 build of the three DTBs, macaudio and the SEP module: no new warnings (the 13 DTB warnings per board are already on aurora-wip J616s, loader-filled reserved-memory nodes)
  • dt_binding_check for apple,macaudio and dtbs_check for both boards: nothing new (only the existing ANE schema findings)
  • tools/asahi/run-host-tests.py: all passed (count in the merge comment)
  • Not booted. mchalunderscore's boots used this tree's values with local loader changes.

Needs a J614s owner

From macOS:

ioreg -p IODeviceTree -n wlan -l | grep module-instance            # expect "mriya"
ioreg -p IODeviceTree -n audio -r -l | grep acoustic-id             # expect 0x22
ioreg -p IODeviceTree -r -n multi-touch -l | grep hid-merge         # expect C1FD0,6
system_profiler SPDisplaysDataType | grep -iE 'resolution|type'     # expect 3024 x 1964
ioreg -p IODeviceTree -n disp0 -r -l | grep -iE 'panel|width|height|notch'

From Linux on this branch:

tr '\0' '\n' < /proc/device-tree/compatible; cat /proc/device-tree/model; echo
cat /proc/asound/cards                                    # expect AppleJ614, not AppleJ616
systemctl status speakersafetyd speakerguardd --no-pager
amixer -c AppleJ614 cget name='Speaker Volume Unlock'     # expect off
dmesg | grep -iE 'brcmfmac|hci_bcm4377|board.?type|mriya'
ls /lib/firmware/brcm | grep -i mriya
ls /lib/firmware/apple | grep -E 'tpmtfw|mesacal|msrk'
dmesg | grep -iE 'apple_sep|sep:|mesa' | head
dmesg | grep -iE 'spi-nor|qspi'; cat /sys/bus/spi/devices/*/spi-nor/jedec_id 2>/dev/null
dmesg | grep -iE 'smc|hwmon' | grep -iE 'fail|error|missing|key' | head
sensors | grep -iE 'fan|rpm'
dmesg -l err,warn | wc -l

Still open: the boot NOR JEDEC ID (the QSPI NVRAM table stays read-only on J614s until then), the J614s SMC key table and thermal budgets (J616s values for now, as a backstop behind the PMP), and a J614 speaker protection profile.

@DjDeveloperr
DjDeveloperr force-pushed the j614s/experimental-dts branch from f7619ec to 2b2ec81 Compare November 1, 2026 15:38
@DjDeveloperr DjDeveloperr changed the title arm64: dts: apple: add experimental J614s T6040 board arm64: dts: apple: add J614s T6040 board Nov 1, 2026
@DjDeveloperr
DjDeveloperr marked this pull request as ready for review November 1, 2026 15:41
The 14-inch M4 Pro uses the existing T6040 SEP and fingerprint
sensor profile. Admit its board compatible alongside J616s.

On a J614s with the board-specific boot and firmware setup, fingerprint
enrollment and authentication work, including after a reboot.
Override the inherited J616s panel, audio chassis, touchpad, radio
and fingerprint firmware identifiers with the J614s values used by
a working J614s installation.
Describe the GL9755 reader, its SMC power enable, PCIe port and DART on J614s. Select both CLKREQ pins on the controller to avoid conflicting claims on the port.
@RyanTheTide
RyanTheTide changed the base branch from integration/aurora to aurora-wip November 1, 2026 22:50
Bring the J614s board up to aurora-wip, which is now the base of this
pull request. integration/aurora carries an older J616s tree.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
Fold in mchalunderscore's J614s panel, chassis, radio, trackpad and
Touch ID identifiers from
#816

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
Fold in mchalunderscore's J614s GL9755 SD reader description from
#818

Both pull requests appended to the end of t6040-j614s.dts. Keep both
blocks as they are.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
Fold in mchalunderscore's change admitting the T6040 SEP profile on
J614s from #813

Apple's J614s and J616s device trees describe the SEP and the Touch ID
sensor the same way, and the change was tested with enrolment and
authentication on a J614s.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
The J614s (MacBook Pro 14-inch, M4 Pro) has the same speaker amps and
headphone codec on the same AOP streams as the J616s, in a different
chassis with different speakers. Add the speaker and jack card
compatibles for it, so the 14-inch reports its own identity to
userspace.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
Apple's J614s device tree describes the same six SN012776 amps, TDM
slots, sense layout and CS42L84 jack as the J616s. Only the chassis and
speakers differ (acoustic ID 34 against 35). That is rule 2 of the
table: same amps and layout, different chassis, so a compatible of its
own sharing the J616 data.

The card is then AppleJ614, not AppleJ616, so no J616 speaker profile,
DSP tuning or UCM file is picked for the 14-inch speakers. There is no
qualified J614 speaker protection profile yet. Until one exists the
speakers stay at the lock this driver applies at probe: the amp volume
is held at its lowest step, and only a protection daemon holding the
Speaker Volume Unlock control can lift it. speakersafetyd has no J614
profile. speakerguardd starts only for profiled cards, and the J614
profile in its unreleased set says qualified = false, which it refuses
to govern without an explicit opt-in. So nothing takes the lock on this
card.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
Apple's device trees for the J614s and J616s (MacBook Pro 14-inch and
16-inch, M4 Pro) are the same apart from the board identity, the panel,
the speaker tuning, the Wi-Fi module, the trackpad and the power
limits. Including the whole J616s board file left the 14-inch reporting
16-inch values to drivers and userspace, the J616 speaker card among
them.

Move the J616s board file into t604x-j614-j616.dtsi without the board
values, as the J314/J316, J414/J416 and J514/J516 generations do, and
label the Wi-Fi, Bluetooth, panel and trackpad nodes so the board files
can set them. Each board file now sets its compatible and model, the
brcm,board-type, the panel compatible and size, the AOP audio chassis
name, the speaker and jack cards, the trackpad firmware and the Touch
ID firmware names.

The J616s and J616s tether DTBs decompile to the same tree as before.

For the J614s the values are those of
#816 and the SD reader of
#818, with two changes:

- The speaker and jack cards are apple,j614-macaudio and
  apple,j614-macaudio-jack ("MacBook Pro J614"), not the J616 cards.
  The J616 speaker protection profile and tuning are for the 16-inch
  speakers. With the J614 cards the speakers stay locked until a J614
  protection profile exists.
- adj-height-mm is 189, as on the J314s, J414s and J514s, which have the
  same 3024x1964 panel. It is the height below the notch and is only
  read while the notch is hidden.

The SD reader stays J614s-only for now: Apple's J616s tree describes it
the same way, but it has not been tried on a J616s.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
Our model strings name the machine without its release date. Use
"Apple MacBook Pro (14-inch, M4 Pro)" and "Apple MacBook Pro (16-inch,
M4 Pro)". The boot loader already drops the date when it builds the
SMBIOS tables, so About pages do not change.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
@RyanTheTide RyanTheTide changed the title arm64: dts: apple: add J614s T6040 board arm64: dts: apple: add the J614s (MacBook Pro 14-inch, M4 Pro) Nov 1, 2026
@notmysegv

Copy link
Copy Markdown
Member

Snippet from the requested commands' outputs on macOS:

~ 
❯ ioreg -p IODeviceTree -n wlan -l | grep module-instance                            
ioreg -p IODeviceTree -n audio -r -l | grep acoustic-id                          
ioreg -p IODeviceTree -r -n multi-touch -l | grep hid-merge        
system_profiler SPDisplaysDataType | grep -iE 'resolution|type'                         
ioreg -p IODeviceTree -n disp0 -r -l | grep -iE 'panel|width|height|notch'
    | |     "module-instance" = <"mriya">
      "acoustic-id" = <22000000>
      "hid-merge-personality" = <"C1FD0,6">
      Type: GPU
          Display Type: Built-in Liquid Retina XDR Display
          Resolution: 3024 x 1964 Retina
          Connection Type: Internal

~ 
❯ 

Copy link
Copy Markdown
Member

Tested on my J614s with the head of this PR (dc054fb02bfb002e41f2dd8f43a3dce2983cf537) as the kernel base. This is a combined PR stack, not an isolated boot of #795: Linux #804, #817 and #821 are merged on top (kernel merge c6af520e2920e3b5b2b604b23e89b2fcede369e3), with the corresponding proposed Aura and U-Boot changes. Linux booted and my normal setup works. USB 3, HDMI, USB-C display and the headphone jack still need testing on this stack.

The requested Linux checks from this boot:

$ tr '\0' '\n' < /proc/device-tree/compatible; cat /proc/device-tree/model
apple,j614s
apple,t6040
apple,arm-platform
Apple MacBook Pro (14-inch, M4 Pro)

$ cat /proc/asound/cards
 0 [AppleJ614HPAI  ]: aop_audio - MacBook Pro J614 HPAI
                      MacBook Pro J614 High-Power Audio Interface
 1 [AppleJack      ]: macaudio - MacBook Pro J614 Jack
                      MacBook Pro J614 Jack

$ systemctl status speakersafetyd speakerguardd --no-pager
speakersafetyd: loaded, disabled, inactive (dead)
speakerguardd: loaded, disabled, inactive (dead)

$ amixer -c AppleJ614 cget name='Speaker Volume Unlock'
Invalid card number 'AppleJ614'.

$ dmesg | grep -iE 'brcmfmac|hci_bcm4377|board.?type|mriya'
[    2.836307] usbcore: registered new interface driver brcmfmac
[    2.842430] brcmfmac 0000:01:00.0: enabling device (0000 -> 0002)
[    2.855692] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4388c2-pcie for chip BCM4388/6
[    3.075435] hci_bcm4377 0000:01:00.1: enabling device (0000 -> 0002)
[    4.258690] brcmfmac 0000:01:00.0: using bidirectional receive DMA
[    4.347927] brcmfmac: brcmf_c_process_txcap_blob: TxCap blob found, loading
[    4.354362] brcmfmac: brcmf_c_process_cal_blob: Calibration blob provided by platform, loading
[    4.368134] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4388/6 wl0: Jul  2 2026 00:44:50 version 23.10.1039.0.41.51.239 FWID 01-974167da
[    4.630139] brcmfmac 0000:01:00.0 wld0: renamed from wlan0

$ ls /lib/firmware/brcm | grep -i mriya
brcmfmac4388c2-pcie.apple,mriya.bin
brcmfmac4388c2-pcie.apple,mriya.clm_blob
brcmfmac4388c2-pcie.apple,mriya.sig
brcmfmac4388c2-pcie.apple,mriya.txcap_blob
brcmfmac4388c2-pcie.apple,mriya-WLMT-a.txt
brcmfmac4388c2-pcie.apple,mriya-WLMT-u.txt

$ ls /lib/firmware/apple | grep -E 'tpmtfw|mesacal|msrk'
mesacal-j614s.bin
msrk-j614s.bin

$ dmesg | grep -iE 'apple_sep|sep:|mesa' | head
[    3.328578] apple_sep: apple_sep: SEP DART state: enabled=false, apple,dma-offset present=true, apple,dma-range present=true
[    3.328893] apple_sep: apple_sep: SEP DART changeset applied (offset BIT(40), range 0..4 GiB, status okay)
[    3.328965] platform 406600000.sep: Adding to iommu group 22
[    3.329050] apple_sep: apple_sep: SEP node enabled; platform device should now exist
[    3.329173] apple_sep 406600000.sep: SEP platform profile: T6040/J616s
[    3.335854] apple_sep: xART guard level 1: 11 session records exist, 0 created by Linux; the other 11 are protected
[    3.335860] apple_sep 406600000.sep: xART: APFS-resolved .gl extent (base 0x4d4000); 170 slots, 13 live records, max revision 20852, 0 malformed, 0 duplicate, 0 repaired; writes ENABLED
[    3.336349] apple_sep 406600000.sep: trusted-keys: registering "trusted" key type backed by the SEP ref-key seal
[    3.615118] apple_sep 406600000.sep: discover: endpoint 0x14 (type 0, msg0 0x68696265140000fd); 1 known
[    3.615127] apple_sep 406600000.sep: discover: endpoint 0x14 (type 1, msg0 0x01010101140100fd); 1 known

$ dmesg | grep -iE 'spi-nor|qspi'
[    2.842391] spi-nor spi0.0: supply vcc not found, using dummy regulator
$ cat /sys/bus/spi/devices/*/spi-nor/jedec_id
ef6517000000

$ dmesg | grep -iE 'smc|hwmon' | grep -iE 'fail|error|missing|key' | head
[    0.675561] macsmc-gpio macsmc-gpio: First GPIO key: gP01 (0x67503031)

$ sensors | grep -iE 'fan|rpm'
Fan 1:  0 RPM  (min = 2317 RPM, max = 7826 RPM)
Fan 2:  0 RPM  (min = 2317 RPM, max = 7826 RPM)

$ dmesg -l err,warn | wc -l
28

Context for the speaker result: I deliberately blacklist snd_soc_tas2764 and snd_soc_tas2770 and disable the speaker protection services on this installation, so the missing speaker card and failed amixer lookup do not test the expected stock speaker-lock behavior. The SMC grep returned a GPIO key announcement, not an error. The displayed JEDEC value is the raw spi0.0 sysfs result; I have not independently identified the part. The internal microphone is working.

aurora-wip added the RTC aliases and the ANE performance domain to
t6040-j616s.dts. Both describe hardware the J614s and J616s share, so
they go into t604x-j614-j616.dtsi. The J616s DTB still decompiles to
the aurora-wip one apart from the model string.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
RyanTheTide and others added 2 commits November 2, 2026 23:23
…rs off

The J614s ships experimental and its speakers need their own bring-up.
There is no J614 protection profile and the speakers have not been
measured, so nothing may drive them.

Give the J614 speaker card its own configuration with the speakers
disabled, so the driver never binds the speaker link even if the card
is enabled. In the J614s device tree disable the speaker card and the
six SN012776 amps as well, so no amp driver probes and no stream can
reach them. The headphone jack card is unchanged. The J616s keeps its
configuration and its DTB is unchanged.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
Bring in the J616s thermal fix from #857. The J616s board file is now a
thin file on top of t604x-j614-j616.dtsi, so the change goes into the
shared dtsi: a passive switch-on trip below each control trip (100/116 C
for the die and CPU zones, 90/101 C for the GPU zones) and a sustainable
power of 51300 mW on the seven GPU zones. The J614s gets the same trips.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
@RyanTheTide
RyanTheTide merged commit dc87cee into aurora-wip Nov 2, 2026
notmysegv pushed a commit to notmysegv/linux that referenced this pull request Nov 4, 2026
…nto integration/aurora

Bring integration/aurora up to the aurora-wip tip 9ff2b9a. After this
merge the two branches have the same tree.

The range contains the fleet14o source c243830 (aurora-silicon#857, aurora-silicon#858, aurora-silicon#795,
aurora-silicon#859), which was promoted on all four machines on 2026-11-02 and 03, and
the merges after it: aurora-silicon#861 (apple-dcp selftest stubs for aurora-silicon#858), aurora-silicon#860
(SEP keybag in the shared xART window, the aurora-wip copy of aurora-silicon#856),
aurora-silicon#724 (J616s boot NOR, both parts), aurora-silicon#779 (ALS colour temperature ABI),
aurora-silicon#862 (J700 GD25UF16E boot NOR, the Neo bless fix), aurora-silicon#863 (J616s ANE H16
start stall), aurora-silicon#797 (T6000 DCS whole-word writes) and aurora-silicon#803 (G17 keeps
innocent clients alive across another client's recovery).

aurora-silicon#858 and aurora-silicon#860 make the same changes integration/aurora already had as
aurora-silicon#855 and aurora-silicon#856, so they merge without conflicts.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
@RyanTheTide
RyanTheTide deleted the j614s/experimental-dts branch November 7, 2026 12:06
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.

3 participants