-/* $OpenBSD: dwpcie.c,v 1.41 2023/03/16 18:33:19 kettenis Exp $ */
+/* $OpenBSD: dwpcie.c,v 1.42 2023/03/30 20:03:32 kn Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
{
struct fdt_attach_args *faa = aux;
- return (OF_is_compatible(faa->fa_node, "amlogic,g12a-pcie") ||
+ return (OF_is_compatible(faa->fa_node, "baikal,bm1000-pcie") ||
+ OF_is_compatible(faa->fa_node, "amlogic,g12a-pcie") ||
OF_is_compatible(faa->fa_node, "fsl,imx8mm-pcie") ||
OF_is_compatible(faa->fa_node, "fsl,imx8mq-pcie") ||
OF_is_compatible(faa->fa_node, "marvell,armada8k-pcie") ||
pba.pba_pc = &sc->sc_pc;
pba.pba_domain = pci_ndomains++;
pba.pba_bus = sc->sc_bus;
- if (OF_is_compatible(sc->sc_node, "marvell,armada8k-pcie") ||
+ if (OF_is_compatible(sc->sc_node, "baikal,bm1000-pcie") ||
+ OF_is_compatible(sc->sc_node, "marvell,armada8k-pcie") ||
OF_is_compatible(sc->sc_node, "rockchip,rk3568-pcie") ||
sc->sc_msi_addr)
pba.pba_flags |= PCI_FLAGS_MSI_ENABLED;