diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2024-07-02 19:41:53 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2024-07-02 19:41:53 +0000 |
commit | 91d53d948be53c6d02200e4b5eb0268f9c68bd54 (patch) | |
tree | 4b32ba25a6930df8f1454c6d2494c768c46fd400 /sys/arch/arm64 | |
parent | c662e3d6c3840fdb4cad125a9d5c1a001630806a (diff) |
Give the Qualcomm Snapdragon X Elite (X1E80100) the same treatment as its
predecessors and don't touch the SMMUv2.
ok kettenis@
Diffstat (limited to 'sys/arch/arm64')
-rw-r--r-- | sys/arch/arm64/dev/smmu_fdt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/arm64/dev/smmu_fdt.c b/sys/arch/arm64/dev/smmu_fdt.c index cb6b542a12a..2c645da3f37 100644 --- a/sys/arch/arm64/dev/smmu_fdt.c +++ b/sys/arch/arm64/dev/smmu_fdt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smmu_fdt.c,v 1.6 2022/11/06 12:14:52 patrick Exp $ */ +/* $OpenBSD: smmu_fdt.c,v 1.7 2024/07/02 19:41:52 patrick Exp $ */ /* * Copyright (c) 2021 Patrick Wildt <patrick@blueri.se> * @@ -83,7 +83,8 @@ smmu_fdt_attach(struct device *parent, struct device *self, void *aux) sc->sc_is_mmu500 = 1; if (OF_is_compatible(faa->fa_node, "marvell,ap806-smmu-500")) sc->sc_is_ap806 = 1; - if (OF_is_compatible(faa->fa_node, "qcom,sc8280xp-smmu-500")) + if (OF_is_compatible(faa->fa_node, "qcom,sc8280xp-smmu-500") || + OF_is_compatible(faa->fa_node, "qcom,x1e80100-smmu-500")) sc->sc_is_qcom = 1; if (OF_getproplen(faa->fa_node, "dma-coherent") == 0) sc->sc_coherent = 1; |