dt: t23x: Add reserved IOVA region for all audio

IOVA memory reservation for ADSP gets overridden due to ADMAIF
node also registering with the same SID and no memory reservation.
ADSP is restricted by ACAST to IOVA range 0x40000000 to 0x60000000,
so accesses outside this range cause failure. Resolving this issue
by specifying the same reserved region for ADMAIF as well.

Bug 4420795

Change-Id: If1b3fabebbad6c0bccf2f6927854a1b4ff68409b
Signed-off-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3199039
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Asha T <atalambedu@nvidia.com>
This commit is contained in:
Viswanath L
2024-08-23 06:53:33 +00:00
committed by mobile promotions
parent 479eb2f317
commit cb86d0510c

View File

@@ -363,9 +363,11 @@
};
reserved-memory {
adsp_resv: reservation-adsp {
ape_resv: reservation-ape {
iommu-addresses = <&adsp 0x0 0x00000000 0x0 0x40000000>,
<&adsp 0x0 0x60000000 0xffffffff 0xffffffff>;
<&adsp 0x0 0x60000000 0xffffffff 0x9fffffff>,
<&tegra_admaif 0x0 0x00000000 0x0 0x40000000>,
<&tegra_admaif 0x0 0x60000000 0xffffffff 0x9fffffff>;
};
};
@@ -448,6 +450,10 @@
};
};
admaif@290f000 {
memory-region = <&ape_resv>;
};
adsp: adsp@2993000 {
compatible = "nvidia,tegra18x-adsp";
interrupt-parent = <&agic>;
@@ -478,7 +484,7 @@
resets = <&bpmp TEGRA234_RESET_ADSP_ALL>;
reset-names = "adspall";
iommus = <&smmu_niso0 TEGRA234_SID_APE>;
memory-region = <&adsp_resv>;
memory-region = <&ape_resv>;
status = "disabled";
};
};