From a93a4ec33dba41db0aee42c1e6502951437930e5 Mon Sep 17 00:00:00 2001 From: Patrick Daly Date: Tue, 18 Apr 2023 14:49:17 -0700 Subject: [PATCH] ARM: dts: msm: Add arm-smmu device for sun Describe the registers and interrupts of the arm-smmu device. Change-Id: Ib228045ccfdc4a16204428b9bdbf7e1d6ff06a92 Signed-off-by: Patrick Daly --- qcom/msm-arm-smmu-sun.dtsi | 133 +++++++++++++++++++++++++++++++++++++ qcom/sun.dtsi | 2 + 2 files changed, 135 insertions(+) create mode 100644 qcom/msm-arm-smmu-sun.dtsi diff --git a/qcom/msm-arm-smmu-sun.dtsi b/qcom/msm-arm-smmu-sun.dtsi new file mode 100644 index 00000000..3323bc4d --- /dev/null +++ b/qcom/msm-arm-smmu-sun.dtsi @@ -0,0 +1,133 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#include + +&soc { + apps_smmu: apps-smmu@15000000 { + compatible = "arm,smmu-v2"; + reg = <0x15000000 0x100000>; + #iommu-cells = <2>; + #global-interrupts = <1>; + dma-coherent; + + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + /* cb interrupts above 96 are not functional yet */ + , + , + , + , + , + , + , + , + , + , + , + , + /* cb interrupt 108 missing data on ipcat; set it to 499 */ + , + , + , + ; + }; + +}; diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index 655bcf61..95ed9ebc 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -464,3 +464,5 @@ linux,cma-default; }; }; + +#include "msm-arm-smmu-sun.dtsi"