use UART_RTS as GPIO and UART_TX, UART_RX as normal UART in Fanstel BLG840F

Hello,

I have a use case where I need to use UART_RTS and UART_CTS as GPIO for toggling the led. I also want to use the other two pins UART_TX and UART_RX for handling UART specific function at the same time. I made an overlay file for this. It works when I flashed it on nRF9160dk but in Fanstel BLG840F, it doesn't seem to work at all.

I am certain it is due to the overlay being incorrect for the custom board - Fanstel BLG840F. But not sure how to rectify it!

I also went through driving a GPIO pin directly but it didn't even worked on nRF9160dk board. 

Hoping some help from the community. 

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
&spi3 {
status = "disabled";
};
/{
gpioCustom{
compatible = "gpio-keys";
gpioCus0: gpioCus0{
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
label = "Custom";
};
gpioCus1: gpioCus1{
gpios = < &gpio0 26 GPIO_ACTIVE_HIGH >;
label = "Custom2";
};
};
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX