Hi,
I am trying to configure a basic output pin in the device tree configuration. I read somewhere a 'compatible' parameter is requires because it describes what will be in the generated header file. But how do I configure a basic pin, not being a led. I have the following in my custom board dts, that works. But requires me to use the 'gpio-leds' dts binding.
outputs { compatible = "gpio-leds"; // only compatible with this, no actually controlling leds. int0: int_0 { gpios = <&gpio0 5 0>; label = "INT0"; }; };
I looked through this page: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/reference/devicetree/bindings.html but cannot find a binding that lets me configure a basic output pin in the generic and nordic section.
Or am I supposed to use the 'gpio-leds' for output pins not used for leds?