Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
43 lines
770 B
Plaintext
43 lines
770 B
Plaintext
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
/*
|
|
* sc8280xp specific modifications required to boot in EL2.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
/plugin/;
|
|
|
|
/* We can't and don't need to use zap shader in EL2 as linux can zap the gpu on it's own. */
|
|
&gpu_zap_shader {
|
|
status = "disabled";
|
|
};
|
|
|
|
/*
|
|
* When running under QHEE, this IOMMU is controlled by the firmware,
|
|
* however when we take ownership of it in EL2, we need to configure
|
|
* it properly to use PCIe.
|
|
*/
|
|
&pcie2a {
|
|
iommu-map = <0 &pcie_smmu 0x20000 0x10000>;
|
|
};
|
|
|
|
&pcie2b {
|
|
iommu-map = <0 &pcie_smmu 0x30000 0x10000>;
|
|
};
|
|
|
|
&pcie3a {
|
|
iommu-map = <0 &pcie_smmu 0x40000 0x10000>;
|
|
};
|
|
|
|
&pcie3b {
|
|
iommu-map = <0 &pcie_smmu 0x50000 0x10000>;
|
|
};
|
|
|
|
&pcie4 {
|
|
iommu-map = <0 &pcie_smmu 0x60000 0x10000>;
|
|
};
|
|
|
|
&pcie_smmu {
|
|
status = "okay";
|
|
};
|