AM5 with DDR5: B650/X670 both work, following the vendor's PRO support list and BIOS.
In enterprise use, check ECC memory compatibility and remote-management needs.