How to Enable QUP19 and QUP13 as UARTs on VOXL 2 (ttyHS2 / ttyHS3)?
-
Hi everyone
I'm working on a VOXL 2, M0054 , voxl2_SDK_1.4.1
I’ve successfully used /dev/ttyHS1 (QUP7) via J3, but I’m currently trying to enable and use:
/dev/ttyHS2 → QUP19 (GPIO 2 and 3, J5 pins 48 and 49) /dev/ttyHS3 → QUP13 (GPIO 38 and 39, J5 pins 97 and 98)
These devices show up in /dev, but the corresponding pins remain unclaimed in the pinctrl debug output:
cat /sys/kernel/debug/pinctrl/*/pinmux-pins | grep -E 'GPIO_2|GPIO_3|GPIO_38|GPIO_39'
pin 2 (GPIO_2): 894000.qcom,qup_uart (GPIO UNCLAIMED) function qup19 group gpio2 pin 3 (GPIO_3): 894000.qcom,qup_uart (GPIO UNCLAIMED) function qup19 group gpio3 pin 38 (GPIO_38): a94000.qcom,qup_uart (GPIO UNCLAIMED) function qup13 group gpio38 pin 39 (GPIO_39): a94000.qcom,qup_uart (GPIO UNCLAIMED) function qup13 group gpio39
How can I claim it to UART?
Many Thanks!