arm64: dts: apple: Add Apple T6040 (M4 Pro) SoC and MacBook Pro 14-inch (J614s) skeleton - #577
Draft
ssk42 wants to merge 2 commits into
Draft
arm64: dts: apple: Add Apple T6040 (M4 Pro) SoC and MacBook Pro 14-inch (J614s) skeleton#577ssk42 wants to merge 2 commits into
ssk42 wants to merge 2 commits into
Conversation
Add a skeleton devicetree for the T6040 SoC, following the same minimal bring-up scope as t8132 (M4): CPUs, AICv3, PMGR syscon, watchdog, the four pinctrl instances, I2C/SPI controllers, fpwm and UART0. Register addresses and interrupt numbers are taken from a dump of the IODeviceTree registry plane of a MacBook Pro (14-inch, M4 Pro, Late 2024); the UART base independently matches m1n1's T6040 EARLY_UART_BASE. Known limitations, to be resolved with an on-hardware m1n1/proxyclient ADT dump: - CPU reg values use the MPIDR convention from t6031-base; not yet confirmed against silicon. - The PMGR window size is inherited from t8132 and no power domain child nodes are added yet. - GPIO pin counts are inherited from the t8132 generation; I2C/SPI pinctrl pinmux assignments are unknown and therefore omitted. New "apple,t6040-*" compatible strings lead each chain while existing driver-matched strings provide fallbacks, so no driver changes are required at this stage. Signed-off-by: ssk42 <sthreitz@gmail.com>
…etree Add initial support for the J614s target type. Serial console is enabled; framebuffer, reserved-memory and memory nodes are placeholders to be filled by the bootloader at boot time, matching the t8132 machine files. Signed-off-by: ssk42 <sthreitz@gmail.com>
Member
|
please don't create PRs for things you haven't even tested your self. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
arm64: dts: apple: Add Apple T6040 (M4 Pro) SoC + MacBook Pro 14" (J614s) skeleton
RFC / early bring-up contribution. This adds the first devicetrees for the
T6040 SoC ("Brava Chop", M4 Pro) and one machine using it.
Data provenance
Every register address and interrupt number comes from a dump of the
IODeviceTree registry plane (
ioreg -lw0 -p IODeviceTree) of a liveMacBook Pro (14-inch, M4 Pro, Late 2024):
The UART address independently matches m1n1's
EARLY_UART_BASEfor T6040.Explicitly unverified / TODO before this can leave RFC
regvalues: MPIDR encoding follows the t6031-base convention(E cluster 0 at 0x0+i, P clusters N≥1 at 0x10000+(N<<8)+i). Not yet
confirmed on T6040 silicon; kboot prints per-CPU MPIDRs and hard-fails on
mismatch, so the first boot will confirm or correct these.
atc-phy,t6040) are absent from kboot_atc tables;IODeviceTree does not expose
apple,tunable-*, so these need aproxyclient ADT dump.
I plan to run m1n1 + proxyclient on the donor machine to close 1–4 and will
update this series with measured values.
Testing
make ARCH=arm64 apple/t6040-j614s.dtbbuilds clean in-tree (arm64 defconfig).Image.gzbuild passes with the DT integrated.dtc -@compile + decompile round-trip verified.Happy to restructure per reviewer preferences (e.g. splitting pinmux stubs,
dropping PMGR node entirely until the domain table exists).