Skip to contentSkip to conversation

Initial Apple Silicon A18 Pro device trees and dt-bindings

PATCH Superseded Yureka Lilian 3 participants 15 messages Sep 11 – Sep 21

Subsystems (4)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 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 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           |  53 ++
 arch/arm64/boot/dts/apple/t8140-pmgr.dtsi          | 777 +++++++++++++++++++++
 arch/arm64/boot/dts/apple/t8140.dtsi               | 205 ++++++
 10 files changed, 1053 insertions(+)

---
base-commit: f3f2d38a606edf92259aa5e57e083484798d7ea8
change-id: 20260904-apple-a18-pro-initial-devicetrees-c457d127efcb

Best regards,

Signature · 1 line
Yureka Lilian <[email protected]>
#1 lore raw

PATCH v2 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
index c328e9fb9843..5d79da63301b 100644
@@ -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
#2 lore raw

PATCH v2 2/7 dt-bindings: arm: apple: apple,pmgr: Add t8140 compatible

In reply to Yureka Lilian

The 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
index da660fa13f77..bf21a5b3a4ac 100644
@@ -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
maintainer Acked-by on v2 2/7
#3 lore raw

Re: [PATCH v2 2/7] dt-bindings: arm: apple: apple,pmgr: Add t8140 compatible

Quoted 8 lines · Yureka Lilian

The 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(+)
#4 lore raw

PATCH v2 3/7 dt-bindings: arm: power: apple,pmgr-pwrstate: Add t8140 compatible

In reply to Yureka Lilian

The 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
index b24ea8e54e11..dcffdd12c8c7 100644
@@ -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
maintainer Acked-by on v2 3/7
#5 lore raw

Re: [PATCH v2 3/7] dt-bindings: arm: power: apple,pmgr-pwrstate: Add t8140 compatible

Quoted 9 lines · Yureka Lilian

The 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(+)
#6 lore raw

PATCH v2 4/7 dt-bindings: interrupt-controller: apple,aic2: Add t8140 compatible

In reply to Yureka Lilian

The Apple t8140 (A18 Pro) SoC uses an AIC3 as interrupt controller, same as the M1-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
index 1cb886785173..e3cadc5ad39d 100644
@@ -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
maintainer
#7 lore raw

Re: [PATCH v2 4/7] dt-bindings: interrupt-controller: apple,aic2: Add t8140 compatible

Quoted 2 lines · Yureka Lilian

The Apple t8140 (A18 Pro) SoC uses an AIC3 as interrupt controller, same as the M1-M4 SoCs.

AIC3 was introduced with M3, but no need to respin just for this. If I end up applying it to the apple-soc tree I'll just fix it then.

Sven

maintainer Acked-by on v2 4/7
#8 lore raw

Re: [PATCH v2 4/7] dt-bindings: interrupt-controller: apple,aic2: Add t8140 compatible

In reply to Yureka Lilian
Quoted 8 lines · Yureka Lilian

The Apple t8140 (A18 Pro) SoC uses an AIC3 as interrupt controller, same as the M1-M4 SoCs.

---
 Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml | 1 +
 1 file changed, 1 insertion(+)
#9 lore raw

PATCH v2 5/7 dt-bindings: watchdog: apple,wdt: Add t8140 compatible

In reply to 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.

---
 Documentation/devicetree/bindings/watchdog/apple,wdt.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/watchdog/apple,wdt.yaml +1 -0
index ca4cf01db59f..1af924157f7c 100644
@@ -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
maintainer Acked-by on v2 5/7
#10 lore raw

Re: [PATCH v2 5/7] dt-bindings: watchdog: apple,wdt: Add t8140 compatible

Quoted 8 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.

---
 Documentation/devicetree/bindings/watchdog/apple,wdt.yaml | 1 +
 1 file changed, 1 insertion(+)
#11 lore raw

PATCH v2 6/7 dt-bindings: arm: apple: Add A18 Pro based devices

In reply to Yureka Lilian

The 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
index 5d87a4fef193..7c3e7131a5e7 100644
@@ -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
maintainer Acked-by on v2 6/7
#12 lore raw

Re: [PATCH v2 6/7] dt-bindings: arm: apple: Add A18 Pro based devices

Quoted 11 lines · Yureka Lilian

The 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(+)
#13 lore raw

PATCH v2 7/7 arm64: dts: apple: Add minimal MacBook Neo device tree

In reply to Yureka Lilian

Added 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  |  53 ++
 arch/arm64/boot/dts/apple/t8140-pmgr.dtsi | 777 ++++++++++++++++++++++++++++++
 arch/arm64/boot/dts/apple/t8140.dtsi      | 205 ++++++++
 4 files changed, 1036 insertions(+)
arch/arm64/boot/dts/apple/Makefile +1 -0
index 62999574a36b..4f31beeb11ac 100644
@@ -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 +53 -0

53 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 +205 -0

205 lines not on this page · raw message

Signature · 1 line
2.55.0
maintainer Reviewed-by on the v2 series
#14 lore raw
In reply to Yureka Lilian
Quoted 15 lines · Yureka Lilian

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:

Quoted 8 lines

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]/

---

there's a single typo in one commit message, otherwise for the entire series:

Sven