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 <quic_rraheja@quicinc.com>
This commit is contained in:
Ronak Vijay Raheja
2024-01-17 15:49:55 -08:00
parent a89565ae11
commit 77314aed5c

View File

@@ -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 <dt-bindings/clock/qcom,gcc-sun.h>
@@ -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 = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;