summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/sc8280xp-el2.dtso
blob: 25d1fa4bc2055e67db0508aa09c8a8bd7fa01687 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// SPDX-License-Identifier: BSD-3-Clause

/*
 * sc8280xp specific modifications required to boot in EL2.
 */

/dts-v1/;
/plugin/;

/* We can't and don't need to use zap shader in EL2 as linux can zap the gpu on it's own. */
&gpu {
	zap-shader {
		status = "disabled";
	};
};

/*
 * When running under QHEE, this IOMMU is controlled by the firmware,
 * however when we take ownership of it in EL2, we need to configure
 * it properly to use PCIe.
 */
&pcie2a {
	iommu-map = <0 &pcie_smmu 0x20000 0x10000>;
};

&pcie2b {
	iommu-map = <0 &pcie_smmu 0x30000 0x10000>;
};

&pcie3a {
	iommu-map = <0 &pcie_smmu 0x40000 0x10000>;
};

&pcie3b {
	iommu-map = <0 &pcie_smmu 0x50000 0x10000>;
};

&pcie4 {
	iommu-map = <0 &pcie_smmu 0x60000 0x10000>;
};

&pcie_smmu {
	status = "okay";
};