xref: /linux/arch/arm64/boot/dts/qcom/sc8280xp-el2.dtso (revision ec71f661a572a770d7c861cd52a50cbbb0e1a8d1)
1// SPDX-License-Identifier: BSD-3-Clause
2
3/*
4 * sc8280xp specific modifications required to boot in EL2.
5 */
6
7/dts-v1/;
8/plugin/;
9
10/* We can't and don't need to use zap shader in EL2 as linux can zap the gpu on it's own. */
11&gpu {
12	zap-shader {
13		status = "disabled";
14	};
15};
16
17/*
18 * When running under QHEE, this IOMMU is controlled by the firmware,
19 * however when we take ownership of it in EL2, we need to configure
20 * it properly to use PCIe.
21 */
22&pcie2a {
23	iommu-map = <0 &pcie_smmu 0x20000 0x10000>;
24};
25
26&pcie2b {
27	iommu-map = <0 &pcie_smmu 0x30000 0x10000>;
28};
29
30&pcie3a {
31	iommu-map = <0 &pcie_smmu 0x40000 0x10000>;
32};
33
34&pcie3b {
35	iommu-map = <0 &pcie_smmu 0x50000 0x10000>;
36};
37
38&pcie4 {
39	iommu-map = <0 &pcie_smmu 0x60000 0x10000>;
40};
41
42&pcie_smmu {
43	status = "okay";
44};
45