add spi_ports in node_config, add spi_ports as input to firmware
update