Battlefield 2042 will feature cross-play between PC and console players, with some limitations and opt-outs.
PC, PlayStation 5 and Xbox Series X/S owners will all be able to play together, with the option to opt-out of mixing PC and console groups if you so choose.
Separately, PS4 and Xbox One console players can also play together, but separate from other platforms. This makes sense, considering last-gen platforms feature 64 instead of 128-player matches.