fix irq numbers and adopt platform to contain correct SPI device