Adding GPIOs to dts

Need to add GPIOs to the dtsi file and recompile so i get two GPIOs one in and another out on boot.
Whats the best way to accomplish this ?

The GPIO controller(s) is already defined in the device tree, up to you, at runtime (e.g. using libgpiod [1]) to control the GPIOs.

[1] README - libgpiod/libgpiod.git - C library and tools for interacting with the linux GPIO character device

This for the pointer this is indeed the exact app we were looking for .
Cheers!