[PATCH] arm64: dts: apple: t602x: Add identity dma-ranges mapping

From: Janne Grunau

Date: Wed Aug 19 2026 - 05:44:51 EST


From: Hector Martin <marcan@xxxxxxxxx>

Without this, the OF core ends up limiting all DMA masks to the default
32-bit, since that runs before drivers set up the proper DMA mask.

Skipping the highest page because it is impossible to express a full
64-bit range in the DT.

Fixes: a8f20eb60788 ("arm64: dts: apple: Add initial t6020/t6021/t6022 DTs")
Signed-off-by: Hector Martin <marcan@xxxxxxxxx>
Signed-off-by: Janne Grunau <j@xxxxxxxxxx>
---
Add overlooked "/soc" "dma-ranges" property for t6020 and t6021 missed
in the initial addition of the M2 Pro/Max/Ultra device trees. They are
present in t6022.dtsi.
---
arch/arm64/boot/dts/apple/t6021.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/apple/t6021.dtsi b/arch/arm64/boot/dts/apple/t6021.dtsi
index 62907ad6a546..1da3c42f6f88 100644
--- a/arch/arm64/boot/dts/apple/t6021.dtsi
+++ b/arch/arm64/boot/dts/apple/t6021.dtsi
@@ -28,6 +28,8 @@ soc {

ranges;
nonposted-mmio;
+ /* Required to get >32-bit DMA via DARTs */
+ dma-ranges = <0 0 0 0 0xffffffff 0xffffc000>;

// filled via templated includes at the end of the file
};

---
base-commit: 8d3ae59288f1e7d58d76558a6ee96d533bc5019f
change-id: 20260819-arm64-dts-apple-t6021-dma-ranges-bf676728374a

Best regards,
--
Janne Grunau <j@xxxxxxxxxx>