Files
android_kernel_samsung_sm87…/sun-ipa.dtsi
Chirag Rastogi e0d8f461df ARM: dts: msm: iommu changes
Updated "iommu-addresses" in Sun to make it Upstream compatible

Change-Id: I1cccdd63b8e1bb70e69a74e7e2030795f6c8b561
Signed-off-by: Chirag Rastogi <quic_crastogi@quicinc.com>
2024-02-16 02:45:04 -08:00

63 lines
1.7 KiB
Plaintext

// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include "ipa.dtsi"
&ipa_hw {
qcom,interconnect,num-cases = <5>;
qcom,interconnect,num-paths = <3>;
qcom,ipa-wdi-opt-dpath;
interconnects = <&aggre2_noc MASTER_IPA &gem_noc SLAVE_LLCC>,
<&mc_virt MASTER_LLCC &mc_virt SLAVE_EBI1>,
<&gem_noc MASTER_APPSS_PROC &cnoc_main SLAVE_IPA_CFG>;
interconnect-names = "ipa_to_llcc", "llcc_to_ebi1", "appss_to_ipa";
/* ipa and gsi interrupts */
interrupts =
<0 655 IRQ_TYPE_LEVEL_HIGH>,
<0 432 IRQ_TYPE_LEVEL_HIGH>;
/* No vote */
qcom,no-vote =
<0 0 0 0 0 0>;
/* SVS2 */
qcom,svs2 =
<600000 0 600000 1300000 0 76800>;
/* SVS */
qcom,svs =
<1200000 0 1200000 2800000 0 150000>;
/* NOMINAL */
qcom,nominal =
<2400000 0 2400000 5500000 0 400000>;
/* TURBO */
qcom,turbo =
<3600000 0 3600000 5500000 0 400000>;
qcom,bus-vector-names = "MIN", "SVS2", "SVS", "NOMINAL",
"TURBO";
/* Low Latency pipe alloc factor */
qcom,ipa-gen-rx-ll-pool-sz-factor = <1>;
};
&soc {
ipa_smmu_ap_partition: ipa_smmu_ap_partition {
iommu-addresses = <&ipa_smmu_ap 0x0 0x20000000>,
<&ipa_smmu_ap 0x40000000 0xC0000000>;
};
};
&ipa_smmu_ap {
/delete-property/ qcom,iommu-dma-addr-pool;
memory-region = <&ipa_smmu_ap_partition>;
qcom,additional-mapping =
/* modem tables in IMEM */
<0x14683000 0x14683000 0x2000>;
};