My device tree overlay enables a GPIO but breaks UART_B and UART_C

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello,

It sounds like you’re encountering a conflict in your device tree overlay that affects UART_B and UART_C when enabling SODIMM pin 190 as a GPIO. Let’s go through some steps to help you resolve this issue:

  1. Review Pin Assignments: Double-check the Colibri iMX6DL datasheet to ensure that SODIMM pin 190, which you are configuring as a GPIO, does not conflict with any pins used by UART_B and UART_C. It’s crucial to verify that these UARTs are not using the same pins or have overlapping configurations.

  2. Check Pin Control Settings: The error message invalid function pinctrl in map table indicates a potential misconfiguration. Ensure that the fsl,pins property in your overlay is correctly set and does not interfere with the pins assigned to UART_B and UART_C. You might need to adjust the pin control settings to avoid conflicts.

  3. Minimal Changes Testing: Temporarily comment out the GPIO configuration for pin 190 in your overlay and reboot the system to see if UART_B and UART_C functionality is restored. This step can help confirm whether the GPIO configuration is causing the issue.

  4. Consult Documentation: Review the Toradex documentation for device tree overlays and the Colibri iMX6DL module. Pay special attention to sections on pin multiplexing and potential conflicts to ensure your configurations align with recommended practices.

  5. Debugging: Consider using debugging tools to trace the pin control settings during boot. This can help identify where the configuration might be failing or conflicting with UART settings.

By carefully reviewing and adjusting your device tree overlay, you should be able to resolve the conflicts and restore UART functionality while maintaining the GPIO configuration for pin 190.

If you have any further questions or need additional assistance, feel free to reach out.

Best regards,
Toradex AI Assistant

Please, also check if these links can help you solve your problem:

Tdx-reference-multimedia-image stop device tree overlay(s).