73 lines
2.1 KiB
Plaintext
73 lines
2.1 KiB
Plaintext
/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
&soc {
|
|
qcom,iommu-domains {
|
|
compatible = "qcom,iommu-domains";
|
|
lpass_q6_smmu: qcom,iommu-domain1 {
|
|
label = "adsp_io";
|
|
qcom,iommu-contexts = <&adsp_io>;
|
|
qcom,virtual-addr-pool = <0x10000000 0x0FFFFFFF>;
|
|
#iommu-cells = <1>;
|
|
};
|
|
/*
|
|
* non-secure addr pool from 1500 MB to 3532 MB
|
|
* 3532 MB to 3548 MB
|
|
*/
|
|
venus_domain_ns: qcom,iommu-domain2 {
|
|
label = "venus_ns";
|
|
qcom,iommu-contexts = <&venus_ns>;
|
|
qcom,virtual-addr-pool = <0x5dc00000 0x7f000000
|
|
0xdcc00000 0x1000000>;
|
|
};
|
|
|
|
/*
|
|
* secure bitstream addr pool from 1200 MB to 1500 MB
|
|
*/
|
|
venus_domain_sec_bitstream: qcom,iommu-domain3 {
|
|
label = "venus_sec_bitstream";
|
|
qcom,iommu-contexts = <&venus_sec_bitstream>;
|
|
qcom,virtual-addr-pool = <0x4b000000 0x12c00000>;
|
|
qcom,secure-domain;
|
|
};
|
|
|
|
/*
|
|
* secure pixel addr pool from 616 MB to 1200 MB
|
|
*/
|
|
venus_domain_sec_pixel: qcom,iommu-domain4 {
|
|
label = "venus_sec_pixel";
|
|
qcom,iommu-contexts = <&venus_sec_pixel>;
|
|
qcom,virtual-addr-pool = <0x25800000 0x25800000>;
|
|
qcom,secure-domain;
|
|
};
|
|
|
|
/*
|
|
* secure non-pixel addr pool from 16 MB to 616 MB
|
|
*/
|
|
venus_domain_sec_non_pixel: qcom,iommu-domain5 {
|
|
label = "venus_sec_non_pixel";
|
|
qcom,iommu-contexts = <&venus_sec_non_pixel>;
|
|
qcom,virtual-addr-pool = <0x1000000 0x24800000>;
|
|
qcom,secure-domain;
|
|
};
|
|
|
|
/*
|
|
* non-secure addr pool from 2048MB to 4096MB
|
|
*/
|
|
adsp_shared_domain: qcom,iommu-domain6 {
|
|
label = "adsp_shared";
|
|
qcom,iommu-contexts = <&adsp_shared>;
|
|
qcom,virtual-addr-pool = <0x80000000 0x7FFFFFFF>;
|
|
};
|
|
};
|
|
};
|