2026-03-03 12:53 AM
Hi Team,
I am working on a custom STM32MP255 board with OpenSTLinux (Yocto, kernel 6.6).
I want to use USART6 only in Linux (no need in TF-A or U-Boot).
Console is on USART2 (ttySTM0). USART6 is intended for RS232 communication.
root@stm32mp255-customeds32-80-f7-b1-8c-8b:~# cat /sys/kernel/debug/pinctrl/*/pinconf-pins | grep -A0 "PF[45]"
pin 84 (PF4): NO ACCESS
pin 85 (PF5): alternate 6 (USART6_TX) - push pull - floating - low speed
root@stm32mp255-customeds32-80-f7-b1-8c-8b:~# cat /sys/kernel/debug/pinctrl/*/pinmux-pins | grep PF4
pin 84 (PF4): UNCLAIMED
root@stm32mp255-customeds32-80-f7-b1-8c-8b:~# cat /sys/kernel/debug/pinctrl/*/pinmux-pins | grep PF5
pin 85 (PF5): UNCLAIMED
root@stm32mp255-customeds32-80-f7-b1-8c-8b:~# ls /dev/ttySTM*
/dev/ttySTM0 /dev/ttySTM1 /dev/ttySTM6
USART6 is not used in TF-A or U-Boot — only in Linux.
How to configure USART6 with PF4 & PF5 ?
Is additional configuration required for USART6 access controller in STM32MP255?
I Checked AF with Datasheet its correct.
Help me to Resolve this issue.
Thanks
2026-03-03 1:45 PM
It's the M33 processor that's owning the USART6.
You need to disable the ownership of USART6 from M33 to A35.