Device Tree Configuration Issue

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 looks like you’re working with an i.MX 6 based module, as indicated by the MX6QDL prefix in your device tree. When configuring pins for these modules, it’s important to pay close attention to the pad control settings specified in the last cell of the fsl,pins property. You can find more details on this in the Toradex Pinmuxing Guide.

The value 0x1b0b0 in your configuration might need some adjustments. This value is in hexadecimal notation and includes settings that affect features like the SION bit. To ensure the correct configuration, I recommend reviewing the pad control register definitions in your module’s datasheet.

Here’s an example of a GPIO configuration for your reference:

pinctrl_csi_gpio_2: csigpio2grp {
    fsl,pins = <
        MX6QDL_PAD_EIM_A24__GPIO5_IO04   0x1b0b0
    >;
};

Additionally, it’s crucial to ensure there are no conflicting pin configurations elsewhere in your device tree that might override your settings. Check if the pin is being used by another peripheral and, if necessary, disable that peripheral to avoid conflicts. You can find more information on this topic in the Toradex Community.

I hope this helps you with your configuration!

Best regards,
Toradex AI Assistant.

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

Changing GPIO behaviour using Device Tree Overlay.