Commit Diff


commit - ed73469472a500fd7ca4ac6fbf351ca932e6ab79
commit + c53ff863a7f186fa8f4e287684cc1f2ad0a642c9
blob - 4cdee4cdd2ab247949fd31e263525777354fc3c3
blob + ef4cff366af0f40472f2f3febb20374919448289
--- sys/dev/fdt/dwpcie.c
+++ sys/dev/fdt/dwpcie.c
@@ -1,4 +1,4 @@
-/*	$OpenBSD: dwpcie.c,v 1.53 2024/03/29 12:45:13 kettenis Exp $	*/
+/*	$OpenBSD: dwpcie.c,v 1.54 2024/07/02 19:44:37 patrick Exp $	*/
 /*
  * Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
  *
@@ -314,6 +314,7 @@ dwpcie_match(struct device *parent, void *match, void 
 	    OF_is_compatible(faa->fa_node, "fsl,imx8mq-pcie") ||
 	    OF_is_compatible(faa->fa_node, "marvell,armada8k-pcie") ||
 	    OF_is_compatible(faa->fa_node, "qcom,pcie-sc8280xp") ||
+	    OF_is_compatible(faa->fa_node, "qcom,pcie-x1e80100") ||
 	    OF_is_compatible(faa->fa_node, "rockchip,rk3568-pcie") ||
 	    OF_is_compatible(faa->fa_node, "rockchip,rk3588-pcie") ||
 	    OF_is_compatible(faa->fa_node, "sifive,fu740-pcie"));
@@ -533,7 +534,8 @@ dwpcie_attach_deferred(struct device *self)
 	if (OF_is_compatible(sc->sc_node, "fsl,imx8mm-pcie") ||
 	    OF_is_compatible(sc->sc_node, "fsl,imx8mq-pcie"))
 		error = dwpcie_imx8mq_init(sc);
-	if (OF_is_compatible(sc->sc_node, "qcom,pcie-sc8280xp"))
+	if (OF_is_compatible(sc->sc_node, "qcom,pcie-sc8280xp") ||
+	    OF_is_compatible(sc->sc_node, "qcom,pcie-x1e80100"))
 		error = dwpcie_sc8280xp_init(sc);
 	if (OF_is_compatible(sc->sc_node, "rockchip,rk3568-pcie") ||
 	    OF_is_compatible(sc->sc_node, "rockchip,rk3588-pcie"))