The OCTOSPI interface is fully configurable and supports two, four or eight data lines: Single-SPI (traditional SPI), Dual-SPI, Quad-SPI and Octo-SPI.
You can configure the OCTOSPI on QUAD-SPI mode.
I recommend you to look at AN5050 precisely "Table 7. STM32CubeMX - Configuration of OCTOSPI signals and mode" , "Table 8. STM32CubeMX - Configuration of OCTOSPI parameters" and "7.2 OCTOSPI configuration with STM32CubeMX" section and get inspired to configure the OCTOSPI on QUAD-SPI mode.
These tables can help you on how to configure the OCTOSPI with QUAD-SPI memory.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.