Using ft2232h on custom board

I’m creating a board and want to utilize a ft2232H for JTAG och UART through USB. I’m trying to understand if there’s anything I need to do to configure the chip regarding MPSSE or is this managed by PIO/OpenOCD? In the case of the 2232 with 2 channels, how will the driver know which channel is used for JTAG and UART or is this managed by the chip?