P9.18 is already used for SPI by the onboard ADC and DAC, so we disable config-pin for it (but it's already set to SPI!). Unfortunately there is no other hw SPI bus available on the BBB headers, so if you want to use an SPI device, you have two options: either disable the analog I/O of Bela and use its pins, or use soft SPI. Soft SPI is much slower bandwidth and higher CPU consumption than hw SPI, but it could still be good for some low-bandwidth applications.
To use it, ensure you load /lib/firmware/BB-BELA-CTAG-SPI-00A0.dtbo (and no cape-universal). This makes the following pins available:
0x0DC 0x37 /* spi_sclk, MODE7 | INPUT_PULLUP | SPI_SCLK P8_32 */
0x028 0x37 /* spi_miso, MODE7 | INPUT_PULLUP | SPI_MISO P8_14 */
0x0D4 0x17 /* spi_mosi, MODE7 | OUTPUT_PULLUP | SPI_MOSI P8_33 */
0x02C 0x17 /* spi_cs0, MODE7 | OUTPUT_PULLUP | SPI_CS0 P8_17 */
0x0D8 0x17 /* spi_cs1, MODE7 | OUTPUT_PULLUP | SPI_CS1 P8_31 */