How to declare a single GPIO-Pin which is not an LED in boards dts file?

We have a few GPIO Outputs we'd like to configure via device tree. However in all the examples found the output GPIOs are compatible="gpio-leds".

Those pins are necessary to communicate with another Chip so we'd rather not use the gpio-leds interface.

This is what we have so far:

pins {
// Todo don't use gpio-leds
compatible = "gpio-leds";
pin0: pin0 {
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
label = "Signal pin";
};
};

This is what we had in mind:

pins {
compatible = "gpio"; // sort of
pin0: pin0 {
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
label = "Signal pin";
};
};

Related