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/* 16 * When running under Gunyah, 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 * Additionally, it seems like ITS emulation in Gunyah is broken so we 21 * can't use MSI on some PCIe controllers in EL1. But we can add them 22 * here for EL2. 23 */ 24&pcie3 { 25 iommu-map = <0 &pcie_smmu 0x30000 0x10000>; 26 msi-map = <0 &gic_its 0xb0000 0x10000>; 27}; 28 29&pcie4 { 30 iommu-map = <0 &pcie_smmu 0x40000 0x10000>; 31}; 32 33&pcie5 { 34 iommu-map = <0 &pcie_smmu 0x50000 0x10000>; 35 msi-map = <0 &gic_its 0xd0000 0x10000>; 36}; 37 38&pcie6a { 39 iommu-map = <0 &pcie_smmu 0x60000 0x10000>; 40}; 41 42&pcie_smmu { 43 status = "okay"; 44}; 45 46/* 47 * The "SBSA watchdog" is implemented in software in Gunyah 48 * and can't be used when running in EL2. 49 */ 50&sbsa_watchdog { 51 status = "disabled"; 52}; 53