Initial Apple Silicon A18 Pro device trees and dt-bindings
Subsystems (4)
v3 cover Initial Apple Silicon A18 Pro device trees and dt-bindings
Hi,
This series adds initial device trees and dt-bindings for the A18 Pro (t8140) SoC and the MacBook Neo (the only Mac using this SoC). It only covers a minimal amount of hardware, but is nontheless useful for further development work. The hardware added here has remained largely unchanged from the earlier generation Apple Silicon Macs.
Similar to the M4 devices, changes to the m1n1 bootloader are required to boot Linux on the MacBook Neo.
Also, SMP boot depends on further patches to avoid WFI and WFIT instructions [1][2].
Merge strategy:
Since there are no actual driver changes in this series, we'd prefer to merge the dt-bindings changes through the apple-soc tree once Acked by the respective maintainers.
Link[1]: https://lore.kernel.org/all/[email protected]/
Link[2]: https://lore.kernel.org/all/[email protected]/
---
Changes in v3:
- More dt-check-style --mode=strict reformatting
- Fix interrupt-controller dt-bindings commit message: AICv2 is only
used since M3
- Link to v2: https://patch.msgid.link/20260911-apple-a18-pro-initial-devicetrees-v2-0-08d06cf011d4@cyberchaos.dev
Changes in v2:
- Added " (A18 Pro, 2026)" to model name
- Fixed memory node alias inconsistency
- Fixed wdt and machine dt-bindings being in the same commit
- Reworded aic dt-bindings commit message
- Reformatted/reordered according to dt-check-style --mode=strict
- Link to v1: https://patch.msgid.link/20260904-apple-a18-pro-initial-devicetrees-v1-0-0c25401d165d@cyberchaos.dev
To: Rob Herring <[email protected]>
To: Krzysztof Kozlowski <[email protected]>
To: Conor Dooley <[email protected]>
To: Lorenzo Pieralisi <[email protected]>
To: Sven Peter <[email protected]>
To: Janne Grunau <[email protected]>
To: Neal Gompa <[email protected]>
To: Hector Martin <[email protected]>
To: Thomas Gleixner <[email protected]>
To: Radu Rendec <[email protected]>
To: Wim Van Sebroeck <[email protected]>
To: Guenter Roeck <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
Yureka Lilian (7):
dt-bindings: arm: cpus: Add Apple A18 Pro CPU core compatibles
dt-bindings: arm: apple: apple,pmgr: Add t8140 compatible
dt-bindings: arm: power: apple,pmgr-pwrstate: Add t8140 compatible
dt-bindings: interrupt-controller: apple,aic2: Add t8140 compatible
dt-bindings: watchdog: apple,wdt: Add t8140 compatible
dt-bindings: arm: apple: Add A18 Pro based devices
arm64: dts: apple: Add minimal MacBook Neo device tree
Documentation/devicetree/bindings/arm/apple.yaml | 11 + .../devicetree/bindings/arm/apple/apple,pmgr.yaml | 1 + Documentation/devicetree/bindings/arm/cpus.yaml | 2 + .../bindings/interrupt-controller/apple,aic2.yaml | 1 + .../bindings/power/apple,pmgr-pwrstate.yaml | 1 + .../devicetree/bindings/watchdog/apple,wdt.yaml | 1 + arch/arm64/boot/dts/apple/Makefile | 1 + arch/arm64/boot/dts/apple/t8140-j700.dts | 54 ++ arch/arm64/boot/dts/apple/t8140-pmgr.dtsi | 777 +++++++++++++++++++++ arch/arm64/boot/dts/apple/t8140.dtsi | 207 ++++++ 10 files changed, 1056 insertions(+)
---
base-commit: eea4f3b5e9e19389af3b99af64cdf7352b67c298
change-id: 20260904-apple-a18-pro-initial-devicetrees-c457d127efcb
Best regards,
Signature · 1 line
Yureka Lilian <[email protected]>
PATCH v3 1/7 dt-bindings: arm: cpus: Add Apple A18 Pro CPU core compatibles
Add "apple,tahiti-e" and "apple,tahiti-p" compatibles for the A18 Pro efficiency and performance CPU cores respectively. As with the M4 cores, there is no longer a generational codename, so we assign the core compatible based on SoC codename ("Tahiti") plus core type (E-Core / P-Core).
--- Documentation/devicetree/bindings/arm/cpus.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/arm/cpus.yaml +2 -0
@@ -95,6 +95,8 @@ properties: - apple,mistral - apple,monsoon - apple,sawtooth + - apple,tahiti-e + - apple,tahiti-p - apple,twister - apple,typhoon - arm,arm710t
Signature · 1 line
2.55.0
PATCH v3 2/7 dt-bindings: arm: apple: apple,pmgr: Add t8140 compatible
In reply to Yureka LilianThe PMGR blocks on the Apple silicon A18 Pro SoC (t8140) is compatible with the M1-M4 SoCs. Add "apple,t8140-pmgr" as A18 Pro specific compatible.
--- Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml +1 -0
@@ -42,6 +42,7 @@ properties: - apple,t6031-pmgr - apple,t8122-pmgr - apple,t8132-pmgr + - apple,t8140-pmgr - const: apple,t8103-pmgr - const: syscon - const: simple-mfd
Signature · 1 line
2.55.0
PATCH v3 3/7 dt-bindings: arm: power: apple,pmgr-pwrstate: Add t8140 compatible
In reply to Yureka LilianThe device power state management of the PMGR blocks on the Apple silicon A18 Pro SoC (t8140) is compatible with the M1-M4 SoCs. Add "apple,t8140-pmgr-pwrstate" as A18 Pro specific compatible.
--- Documentation/devicetree/bindings/power/apple,pmgr-pwrstate.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/power/apple,pmgr-pwrstate.yaml +1 -0
@@ -49,6 +49,7 @@ properties: - apple,t6031-pmgr-pwrstate - apple,t8122-pmgr-pwrstate - apple,t8132-pmgr-pwrstate + - apple,t8140-pmgr-pwrstate - const: apple,t8103-pmgr-pwrstate reg:
Signature · 1 line
2.55.0
PATCH v3 4/7 dt-bindings: interrupt-controller: apple,aic2: Add t8140 compatible
In reply to Yureka LilianThe Apple t8140 (A18 Pro) SoC uses an AIC3 as interrupt controller, same as the M3-M4 SoCs.
--- Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml +1 -0
@@ -46,6 +46,7 @@ properties: - apple,t6030-aic3 - apple,t6031-aic3 - apple,t8132-aic3 + - apple,t8140-aic3 - const: apple,t8122-aic3 - const: apple,t8122-aic3
Signature · 1 line
2.55.0
PATCH v3 5/7 dt-bindings: watchdog: apple,wdt: Add t8140 compatible
In reply to Yureka LilianThe watchdog on the Apple t8140 (A18 Pro) SoC is compatible with the M1-M4 SoCs. Add "apple,t8140-wdt" as SoC specific compatible.
--- Documentation/devicetree/bindings/watchdog/apple,wdt.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/watchdog/apple,wdt.yaml +1 -0
@@ -22,6 +22,7 @@ properties: - apple,t6031-wdt - apple,t8122-wdt - apple,t8132-wdt + - apple,t8140-wdt - const: apple,t8103-wdt - items: - enum:
Signature · 1 line
2.55.0
Re: [PATCH v3 5/7] dt-bindings: watchdog: apple,wdt: Add t8140 compatible
Quoted 5 lines · Yureka Lilian
The watchdog on the Apple t8140 (A18 Pro) SoC is compatible with the M1-M4 SoCs. Add "apple,t8140-wdt" as SoC specific compatible.
Signed-off-by Yureka Lilian <[email protected]>
Applied.
Thanks,
Guenter
PATCH v3 6/7 dt-bindings: arm: apple: Add A18 Pro based devices
In reply to Yureka LilianThe MacBook Neo is the first MacBook to use an A-Series Apple Silicon SoC. The MacBook Neo is overall similar to the M4 series devices.
The iPhone 16 Pro is based on the same SoC, but Apple does not allow users running a custom OS on this device.
--- Documentation/devicetree/bindings/arm/apple.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+)
Documentation/devicetree/bindings/arm/apple.yaml +11 -0
@@ -82,6 +82,10 @@ description: | - iPhone 8 Plus - iPhone X + Devices based on the "A18 Pro" SoC: + + - MacBook Neo (A18 Pro, 2026) + Devices based on the "M1" SoC: - Mac mini (M1, 2020)
@@ -300,6 +304,13 @@ properties: - const: apple,t8015 - const: apple,arm-platform + - description: Apple A18 Pro SoC based platforms + items: + - enum: + - apple,j700 # MacBook Neo (A18 Pro, 2026) + - const: apple,t8140 + - const: apple,arm-platform + - description: Apple M1 SoC based platforms items: - enum:
Signature · 1 line
2.55.0
PATCH v3 7/7 arm64: dts: apple: Add minimal MacBook Neo device tree
In reply to Yureka LilianAdded a device tree for the MacBook Neo, which uses the t8140 SoC (A18 Pro) also found in the iPhone 16 Pro.
The device tree has a minimal set of devices limited to CPU cores, interrupt controller, watchdog, serial and framebuffer.
Using the macOS 26.6.2 iBoot/firmware, the machine reliably boots on a single core using the stock kernel.
Booting with smp requires avoiding the wfi and wfit instructions in the idle loop and delay() respectively, since those instructions cause a loss of architectural state on the secondary cores.
--- arch/arm64/boot/dts/apple/Makefile | 1 + arch/arm64/boot/dts/apple/t8140-j700.dts | 54 +++ arch/arm64/boot/dts/apple/t8140-pmgr.dtsi | 777 ++++++++++++++++++++++++++++++ arch/arm64/boot/dts/apple/t8140.dtsi | 207 ++++++++ 4 files changed, 1039 insertions(+)
arch/arm64/boot/dts/apple/Makefile +1 -0
@@ -109,3 +109,4 @@ dtb-$(CONFIG_ARCH_APPLE) += t8132-j624.dtb dtb-$(CONFIG_ARCH_APPLE) += t8132-j713.dtb dtb-$(CONFIG_ARCH_APPLE) += t8132-j715.dtb dtb-$(CONFIG_ARCH_APPLE) += t8132-j773g.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8140-j700.dtb
arch/arm64/boot/dts/apple/t8140-j700.dts new file +54 -0
54 lines not on this page · raw message
arch/arm64/boot/dts/apple/t8140-pmgr.dtsi new file +777 -0
777 lines not on this page · raw message
arch/arm64/boot/dts/apple/t8140.dtsi new file +207 -0
207 lines not on this page · raw message
Signature · 1 line
2.55.0
Re: (subset) [PATCH v3 0/7] Initial Apple Silicon A18 Pro device trees and dt-bindings
In reply to Yureka LilianQuoted 6 lines · Yureka Lilian
This series adds initial device trees and dt-bindings for the A18 Pro (t8140) SoC and the MacBook Neo (the only Mac using this SoC). It only covers a minimal amount of hardware, but is nontheless useful for further development work. The hardware added here has remained largely unchanged from the earlier generation Apple Silicon Macs.
Quoted 6 lines
Similar to the M4 devices, changes to the m1n1 bootloader are required to boot Linux on the MacBook Neo.
Also, SMP boot depends on further patches to avoid WFI and WFIT instructions [1][2].[...]
Applied to [email protected]:AsahiLinux/linux.git (apple-soc/dt-7.4), thanks!
[1/7] dt-bindings: arm: cpus: Add Apple A18 Pro CPU core compatibles
https://github.com/AsahiLinux/linux/commit/9e70c02c5536 [2/7] dt-bindings: arm: apple: apple,pmgr: Add t8140 compatible https://github.com/AsahiLinux/linux/commit/4eb4d9efe290 [3/7] dt-bindings: arm: power: apple,pmgr-pwrstate: Add t8140 compatible https://github.com/AsahiLinux/linux/commit/16c4ea7772d1 [4/7] dt-bindings: interrupt-controller: apple,aic2: Add t8140 compatible https://github.com/AsahiLinux/linux/commit/c47142fd192f [6/7] dt-bindings: arm: apple: Add A18 Pro based devices https://github.com/AsahiLinux/linux/commit/a1baa6329a3d [7/7] arm64: dts: apple: Add minimal MacBook Neo device tree https://github.com/AsahiLinux/linux/commit/ccf16d328c35
Best regards,
Signature · 1 line
Sven Peter <[email protected]>