There are two possible solutions for connecting two quad-SPI memories using only one OCTOSPI interface.
Solution 1:
Use a dedicated bit in the OCTOSPI_CR register for external memory selection: MSEL bit for STM32H5, STM32U5, and STM32L5 series or FS...