If your U-Boot has been compiled with CONFIG_OF_LIBFDT_OVERLAY (which Manjaro’s is), adding device tree overlays the mainline way is very simple and easy. Writing Your Device Tree Overlay First off, you’ll have to write a device tree overlay. In this example, we’ll enable the ROCKPro64’s I2C bus that’s exposed to the pin headers, and declare that a PCF8574 GPIO extender is hanging off it.
