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)
SOC_GPIO03 (PG.03)
SOC_GPIO40 (PQ.04)
SOC_GPIO53 (PN.00)
SOC_GPIO54 (PN.01)
There could be more, but we found these
We don’t know why the excel sheet is creating issues for the above pins
and It may not relate to Jetpack version.
The device tree files are directly generated from pinmux spreadsheet.
I’m using v1.06 pinmux spreadsheet for Jetson AGX Xavier Industrial as following.
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)
Sorry for the late reply, I’ve checked this issue with internal.
The configuration for GPIO/Output/Z in an invalid combination.
We will update them in the document later.