| 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_zap_shader { |
| 12 |
status = "disabled"; |
| 13 |
}; |
| 14 |
|
| 15 |
/* |
| 16 |
* When running under QHEE, this IOMMU is controlled by the firmware, |
| 17 |
* however when we take ownership of it in EL2, we need to configure |
| 18 |
* it properly to use PCIe. |
| 19 |
*/ |
| 20 |
&pcie2a { |
| 21 |
iommu-map = <0 &pcie_smmu 0x20000 0x10000>; |
| 22 |
}; |
| 23 |
|
| 24 |
&pcie2b { |
| 25 |
iommu-map = <0 &pcie_smmu 0x30000 0x10000>; |
| 26 |
}; |
| 27 |
|
| 28 |
&pcie3a { |
| 29 |
iommu-map = <0 &pcie_smmu 0x40000 0x10000>; |
| 30 |
}; |
| 31 |
|
| 32 |
&pcie3b { |
| 33 |
iommu-map = <0 &pcie_smmu 0x50000 0x10000>; |
| 34 |
}; |
| 35 |
|
| 36 |
&pcie4 { |
| 37 |
iommu-map = <0 &pcie_smmu 0x60000 0x10000>; |
| 38 |
}; |
| 39 |
|
| 40 |
&pcie_smmu { |
| 41 |
status = "okay"; |
| 42 |
}; |