Add initial support for SPI.