Hello,
On my module, UARTB RTS is SODIMM pin 34, but I would like to use SODIMM 101 for this function instead. Our custom hardware is already wired this way for legacy reasons, (GPIO47 wired to RTS of a RS485 chip) and we currently toggle the GPIO from user space to set/clear RTS, but its not fast enough for our latest application. The built-in RS485 support of the module IS fast enough (I’ve tested using the Evaluation Board and the normal RTS pin, using the right ioctl settings), and so I would like to use this without re-wiring our hardware. Currently SODIMM 34 is not wired to anything at all and it would be painful to rebuild our hardware, so I want SODIMM 101 to perform this function.
That brings me to changing the device tree as a way of telling the module, “Use SODIMM 101 as the uartb RTS pin” but I’m a bit out of my depth here and I cannot get it to work. I have read this document over and over, and most other device tree documentation linked in this forum, and I cannot get it to work.
I admittedly do not fully understand the device tree syntax, but I’m hoping something like the below would work, but its not working for me. Is this even a possible function for SODIMM 101 to perform? Any insight at all would be helpful.
Thanks
&iomuxc {
vf610-colibri {
pinctrl_uart2: uart2grp {
fsl,pins = <
VF610_PAD_PTD0__UART2_TX 0x21a2
VF610_PAD_PTD1__UART2_RX 0x21a1
VF610_PAD_PTC2__GPIO_47 0x21a2
VF610_PAD_PTD3__UART2_CTS 0x21a1
>;
};
...
};
};