Hi, interesting project.
Have you thought about something like this I2C/SPI GPIO expander support??
Good luck, hcet14