Hello @KNaka.6 ,
Sorry for the delay, I was waiting the full integration of the patches before sharing them.
U-Boot
The problem is only visible in U-Boot, the two patches provided here will be integrated in the future U-Boot release.
Explanation of the problem:
Some GPIO bank hasn't 16 pins. Some has holes in GPIO ranges:
[0-10] => hole at the bank's end, pins 11/12/13/14 and 15 are not valid
[2-15] => hole at the banks's start, pins 0 and 1 are not valid
If first valid pin in GPIO bank is not at index 0, the pinmux command doesn't display correctly the pins muxing. It displays the correct number of pins but not with correct suffix.
The purpose of these patches to rework the GPIO hole management.
Linux
In linux there is no such a problem, I don't know which tool you are using, but I recommend you to use
cat /sys/kernel/debug/pinctrl/soc:pin*/pinconf-pins
Regards,
Kevin