Commit Diff


commit - 0e25137aacafd0b8445eef84d77c82f326686a18
commit + 60036ea56503a2c67a8c44cc554c59bdb713d7ca
blob - cb6b542a12a2c49970804de44cec9e53da1e4911
blob + 2c645da3f372cf80d8806c1de14dd84227ca6e22
--- sys/arch/arm64/dev/smmu_fdt.c
+++ 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 *
 		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;