The 5800X runs AM4: B550 or X570 both work; older B450/X470 function after a BIOS update, but verify the VRM handles 105W.
Use high-frequency dual-channel DDR4; it matters for game frame rates.