Holybro Pixhawk 4 Mini compatible with mRo GPS + Compass?

Hello everyone, I have a Pixhawk 4 Mini and an mRo GPS with compasses, the input of the Pixhawk 4 is 10 pins, and the GPS outputs are 2: 6 and 4 pins respectively.
Anyone know how I can add this gps to the Pixhawk 4 Mini?