We’ve gotten used to the GPIO-available functions of Raspberry Pi computers ... the Raspberry Pi 4 has six SPI controllers, six I2C controllers, and six UARTs – all on its 40-pin header.
Ultimately, the DTB concept and the use of overlays allow for easy configuration of such optional devices and GPIO pin settings ... text file as on the Raspberry Pi SBC platform.