Question about pin control on STM32WB #stm32


I have my own device where I use normal GPIO pins - by normal I mean input and output (not alternate function).

I also have defined appropriate DT binding for this device.

I want to use functionality to switch pin control states (pinctrl_apply_state), but I do not know how I can do that.
I am not able to properly define pinmux entries in DT for pins not using alternate functions.



Is it possible to use plain input/output GPIO pins as entries for pinctrl-N?