Please refer to LS1012A Reference Manual, Table 4-10 "RCW Field descriptions".
You can see that SPI_MOSI, SPICS0_B, SPI_CLK are configured in group by one RCW field "SDHC2_BASE_BASE", whereas other pins SPI_MISO, SPICS2_B, SPI_CS1_B are configured by other field "SDHC2_BASE_DAT321". This mease your can configure only first three pins to SPI functions by SDHC2_BASE_BASE="11", leaving other three pins configured as GPIO1[26,27,28] by SDHC2_BASE_DAT321="00" and SDHC2_EXT_* = "0"