| 1 |
// SPDX-License-Identifier: BSD-3-Clause |
| 2 |
|
| 3 |
/* |
| 4 |
* x1 specific modifications required to boot in EL2. |
| 5 |
*/ |
| 6 |
|
| 7 |
/dts-v1/; |
| 8 |
/plugin/; |
| 9 |
|
| 10 |
&apss_watchdog { |
| 11 |
status = "okay"; |
| 12 |
}; |
| 13 |
|
| 14 |
/* We can't and don't need to use zap shader in EL2 as linux can zap the gpu on it's own. */ |
| 15 |
&gpu_zap_shader { |
| 16 |
status = "disabled"; |
| 17 |
}; |
| 18 |
|
| 19 |
&iris { |
| 20 |
/* TODO: Add video-firmware iommus to start IRIS from EL2 */ |
| 21 |
status = "disabled"; |
| 22 |
}; |
| 23 |
|
| 24 |
/* |
| 25 |
* When running under Gunyah, this IOMMU is controlled by the firmware, |
| 26 |
* however when we take ownership of it in EL2, we need to configure |
| 27 |
* it properly to use PCIe. |
| 28 |
* |
| 29 |
* Additionally, it seems like ITS emulation in Gunyah is broken so we |
| 30 |
* can't use MSI on some PCIe controllers in EL1. But we can add them |
| 31 |
* here for EL2. |
| 32 |
*/ |
| 33 |
&pcie3 { |
| 34 |
iommu-map = <0 &pcie_smmu 0x30000 0x10000>; |
| 35 |
msi-map = <0 &gic_its 0xb0000 0x10000>; |
| 36 |
}; |
| 37 |
|
| 38 |
&pcie4 { |
| 39 |
iommu-map = <0 &pcie_smmu 0x40000 0x10000>; |
| 40 |
}; |
| 41 |
|
| 42 |
&pcie5 { |
| 43 |
iommu-map = <0 &pcie_smmu 0x50000 0x10000>; |
| 44 |
msi-map = <0 &gic_its 0xd0000 0x10000>; |
| 45 |
}; |
| 46 |
|
| 47 |
&pcie6a { |
| 48 |
iommu-map = <0 &pcie_smmu 0x60000 0x10000>; |
| 49 |
}; |
| 50 |
|
| 51 |
&pcie_smmu { |
| 52 |
status = "okay"; |
| 53 |
}; |
| 54 |
|
| 55 |
/* |
| 56 |
* The "SBSA watchdog" is implemented in software in Gunyah |
| 57 |
* and can't be used when running in EL2. |
| 58 |
*/ |
| 59 |
&sbsa_watchdog { |
| 60 |
status = "disabled"; |
| 61 |
}; |