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/* 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&iris { 16 /* TODO: Add video-firmware iommus to start IRIS from EL2 */ 17 status = "disabled"; 18}; 19 20/* 21 * When running under Gunyah, this IOMMU is controlled by the firmware, 22 * however when we take ownership of it in EL2, we need to configure 23 * it properly to use PCIe. 24 * 25 * Additionally, it seems like ITS emulation in Gunyah is broken so we 26 * can't use MSI on some PCIe controllers in EL1. But we can add them 27 * here for EL2. 28 */ 29&pcie3 { 30 iommu-map = <0 &pcie_smmu 0x30000 0x10000>; 31 msi-map = <0 &gic_its 0xb0000 0x10000>; 32}; 33 34&pcie4 { 35 iommu-map = <0 &pcie_smmu 0x40000 0x10000>; 36}; 37 38&pcie5 { 39 iommu-map = <0 &pcie_smmu 0x50000 0x10000>; 40 msi-map = <0 &gic_its 0xd0000 0x10000>; 41}; 42 43&pcie6a { 44 iommu-map = <0 &pcie_smmu 0x60000 0x10000>; 45}; 46 47&pcie_smmu { 48 status = "okay"; 49}; 50 51/* 52 * The "SBSA watchdog" is implemented in software in Gunyah 53 * and can't be used when running in EL2. 54 */ 55&sbsa_watchdog { 56 status = "disabled"; 57}; 58