By default, the BSP's kernel config disables the DesignWare SPI controller driver.This affects SPI's functionality. Please enabled by default the following two options: CONFIG_SPI_DESIGNWARE=y CONFIG_SPI_DW_MMIO=y
check the LTS19 stratix10 kernel config