diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2024-07-02 19:44:38 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2024-07-02 19:44:38 +0000 |
commit | 152c4924a69edbdfb123028fec2455fa41b13059 (patch) | |
tree | 070703006cdf5f2c4dd0ed40edaa788c31d52883 /sys/dev/fdt | |
parent | 76e1d3839f2ffa3f8e7f49594cfd4533f57f107c (diff) |
Support the Qualcomm Snapdragon X Elite (X1E80100) PCIe controller. We do
not do anything fancy for the SC8280XP either, so treat it equally.
ok kettenis@
Diffstat (limited to 'sys/dev/fdt')
-rw-r--r-- | sys/dev/fdt/dwpcie.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/fdt/dwpcie.c b/sys/dev/fdt/dwpcie.c index 4cdee4cdd2a..ef4cff366af 100644 --- a/sys/dev/fdt/dwpcie.c +++ b/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 *aux) 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")) |