I'm trying to understand how to configure pincontrol groups for modems.
I currently started with:
&pinctrl {
uart0_default: uart0_default {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 16)>,
<NRF_PSEL(UART_RX, 0, 17)>,
<NRF_PSEL()>
};
};
uart0_sleep: uart0_sleep {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 16)>,
<NRF_PSEL(UART_RX, 0, 17)>;
low-power-enable;
};
};
};
But my modem, the BG95, has a lot more pins like RI, AP_READY, PSM_IND, DTR, PWRKEY.
The NRF_PSEL macro refers to zephyr/include/zephyr/dt-bindings/pinctrl/nrf-pinctrl.h
But I cannot find a pin function for these pins?
Do I make multiple pincontrol groups?
I also read the following site:
https://academy.nordicsemi.com/topic/devicetree/
There it is stated that LEDs and buttons are excluded from pincontrol. Why is this?
I'm using NCS v2.2.0
If possible I would like to see an example how to define pins for the BG95 in the device tree as Zephyr and Nordic intend to define it?