From 5df028340f3262210f5f186d584838105dfa330f Mon Sep 17 00:00:00 2001 From: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> Date: Thu, 19 Nov 2026 22:08:17 +1100 Subject: [PATCH] arm64: dts: apple: t8132: enable the Neural Engine on every M4 board Every T8132 has the ANE; the DT enabled it, with its three DARTs, on the J713 only, the board it was first run on (#1952). The node's resources and power domains are the SoC's, and the driver binds only when the loader hands off the firmware preload (aura#260 does so for any apple,t8132-ane node), so enable it in the SoC file and drop the J713 copy. The J713's DT is unchanged. Not tested on the J604, J715, J623/J624 or J773g (desk audit, lane SPEC-M3M4). Co-Authored-By: Claude Opus 5.5 --- arch/arm64/boot/dts/apple/t8132-j713.dts | 16 ---------------- arch/arm64/boot/dts/apple/t8132-peripherals.dtsi | 13 +++++++------ 2 files changed, 7 insertions(+), 22 deletions(-) diff --git a/arch/arm64/boot/dts/apple/t8132-j713.dts b/arch/arm64/boot/dts/apple/t8132-j713.dts index 440ecff14d4a1..cfaa76f22c4a7 100644 --- a/arch/arm64/boot/dts/apple/t8132-j713.dts +++ b/arch/arm64/boot/dts/apple/t8132-j713.dts @@ -293,19 +293,3 @@ phys = <&atcphy1 PHY_TYPE_USB3>; phy-names = "cio"; }; - -&ane_dart0 { - status = "okay"; -}; - -&ane_dart1 { - status = "okay"; -}; - -&ane_dart2 { - status = "okay"; -}; - -&ane { - status = "okay"; -}; diff --git a/arch/arm64/boot/dts/apple/t8132-peripherals.dtsi b/arch/arm64/boot/dts/apple/t8132-peripherals.dtsi index 47cac2a1376e1..d4d47bed0d1e4 100644 --- a/arch/arm64/boot/dts/apple/t8132-peripherals.dtsi +++ b/arch/arm64/boot/dts/apple/t8132-peripherals.dtsi @@ -149,7 +149,7 @@ power-domains = <&ps_ane_sys>; /* Include firmware identity MMIO pages below the preload DVAs. */ apple,dma-range = <0x0 0x0 0x400 0x0>; - status = "disabled"; + status = "okay"; }; ane_dart1: iommu@501820000 { @@ -160,7 +160,7 @@ interrupts = ; power-domains = <&ps_ane_sys>; apple,dma-range = <0x0 0x0 0x400 0x0>; - status = "disabled"; + status = "okay"; }; ane_dart2: iommu@501840000 { @@ -171,7 +171,7 @@ interrupts = ; power-domains = <&ps_ane_sys>; apple,dma-range = <0x0 0x0 0x400 0x0>; - status = "disabled"; + status = "okay"; }; dart_ane_companion3: filter@501810000 { @@ -344,8 +344,9 @@ }; /* - * ADT-derived only: keep disabled until an M4 owner qualifies the H16 - * backend and the loader hands off reserved TEXT/DATA preloads. + * Every M4 has the engine. The driver runs it only when the loader + * hands off the reserved TEXT/DATA preloads (memory-region and + * apple,firmware-iovas); without them it refuses to bind. */ ane: ane@500000000 { compatible = "apple,t8132-ane"; @@ -374,7 +375,7 @@ /bits/ 64 <0x302668000 0x302668003>; /* Default layout; the loader supplies per-boot physical reservations. */ apple,firmware-iovas = /bits/ 64 <0x10000000000 0x100000c0000>; - status = "disabled"; + status = "okay"; }; scaler0: scaler@505000000 {