cancel
Showing results for 
Search instead for 
Did you mean: 

Can I Use rts-gpios in the Device Tree or is it not supported

SLetter
Associate III

stm32mp157f, I need to use uart5 to drive an rs485 but the hardware supplied DE pin is already in use.  So I need to configure a different GPIO to use.  If the device tree binding rts-gpios is supported, then the task is simplified. We can modify the board to use the gpio.  Follow up to that, if it is supported do I still add "linux,rs485-enabled-at-boot-time;" 

1 REPLY 1
Erwan SZYMANSKI
ST Employee

Hello @SLetter ,
Please double check your device tree and pinctrl configuration. You can get inspired by such community post that already deals with you topic : https://community.st.com/t5/stm32-mpus-products/how-to-enable-hardware-flow-control-rs485/td-p/277263

Kind regards,
Erwan.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.