Wiring Pi or similar for the Le Potato

WiringPi mixes multiple concepts together incorrectly. It’s outdated and plain wrong from a design perspective. There’s GPIO and then there’s hardware pinmux functions like I2C/SPI/UART/etc. We have the wiring tool:

You can use libgpiod to control GPIOs. Bus interfaces will be exposed under /sys/ once you enable the proper overlay for a certain pinmux.