From 77314aed5c76bc5c557b360f5221b6ede754ad05 Mon Sep 17 00:00:00 2001 From: Ronak Vijay Raheja Date: Wed, 17 Jan 2024 15:49:55 -0800 Subject: [PATCH] ARM: dts: msm: Use "iommu-addresses" property for sun Use upstream compatible device smmu address space DT property "iommu-addresses" in accordance to FR92369. Replace existing use of "qcom,iommu-dma-addr-pool" with "iommu-addresses" for dwc3 node in usb0 for describing to the DMA API what IOVA addresses dwc3 cannot use. Change-Id: Ia18d064649fb86e809023dbd61262c0e026acf73 Signed-off-by: Ronak Vijay Raheja --- qcom/sun-usb.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qcom/sun-usb.dtsi b/qcom/sun-usb.dtsi index ee364302..6283afaa 100644 --- a/qcom/sun-usb.dtsi +++ b/qcom/sun-usb.dtsi @@ -1,6 +1,6 @@ // SPDX-License-Identifier: BSD-3-Clause /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. */ #include @@ -57,13 +57,13 @@ 0x144 /* GSI_RING_BASE_ADDR_H */ 0x1a4>; /* GSI_IF_STS */ - dwc3@a600000 { + dwc3_0: dwc3@a600000 { compatible = "snps,dwc3"; reg = <0xa600000 0xd93c>; iommus = <&apps_smmu 0x40 0x0>; qcom,iommu-dma = "atomic"; - qcom,iommu-dma-addr-pool = <0x90000000 0x60000000>; + iommu-addresses = <&dwc3_0 0x0 0x90000000>, <&dwc3_0 0xf0000000 0x10000000>; dma-coherent; interrupts = ;