We found that the pinmux xlsx sheet for Jetson AGX Xavier Industrial is not generating the proper ???-gpio-default.dtsi file for few GPIO pins.
GPIO entries for the following are not added to the ???-gpio-default.dtsi file when these pins are configured as GPIO in the excel sheet.
Hence in the generated .cfg file, these pins are still configured as SFIO instead of GPIO (10th bit is set)
There could be more, but we found these
We don’t know why the excel sheet is creating issues for the above pins
Since the PQ4 is not present in tegra19x-jetson_agx_industrial-gpio-default.dtsi (i.e., not in gpio-input, gpio-output-low and gpio-output-high), this pin is not added to gpio_list array by process_gpio_file function in pinmux-dts2cfg.py .
Hence the process_pinmux_file function in pinmux-dts2cfg.py generates the pinmux value for this as SFIO pin with 10th bit set (i.e., not a GPIO)
Due to this issue, the sheet says PQ4 is configured as GPIO but in the SoC, the pinmux system wrongly configures PQ4 as SFIO because of the wrong entry in the CFG file which goes to the BCT partition. This is a problem, right ?
People will assume that PQ4 is configured as GPIO by the excel sheet while it is not actually configured as a GPIO but as a SFIO (Special Function IO)