Colibri imx6ull enable uart4 and uart8 from dtb

Dear community,

I am trying to enable uart4 and uart8 on colibri-imx6ull module.
Here is my dtb customization: link text .

After flashing the dtb /dev/ttymxc7 is present but I can’t see /dev/ttymxc3 (that should correspond to uart4.
Are there something related to pinmux problem reported here: link text ?

Thank you for the support,

Stefano.

Hi @Stefano

Could you provide the version of the Software of your module?

Please share the dmesg log in a text file?
What is the output of ls /dev | grep mxc ?

Best regards,
Jaski

Hi @jaski.tx ,

Could you provide the version of the Software of your module?

I am running BSP 2.8 with kernel 4.9.166 (branch toradex_4.9-2.3.x-imx).

Please share the dmesg log in a text file?

Here is the dmesg link text

What is the output of ls /dev | grep mxc ?

root@boxio-00142D61A27C:~# ls -l /dev/ | grep mxc
crw-------    1 configur tty       207,  16 Nov 28 14:07 ttymxc0
crw-------    1 root     root      207,  17 Nov 28 14:00 ttymxc1
crw-rw----    1 root     tty       207,  20 Nov 28 14:00 ttymxc4
crw-------    1 root     root      207,  23 Nov 28 14:00 ttymxc7

Best,

Stefano.

Hi Stefano

Thanks for the Information.

[    0.949414] imx6ul-pinctrl 20e0000.iomuxc: pin MX6UL_PAD_UART4_TX_DATA already requested by 21a0000.i2c; cannot claim for 21f0000.serial
[    0.961930] imx6ul-pinctrl 20e0000.iomuxc: pin-45 (21f0000.serial) status -22
[    0.969218] imx6ul-pinctrl 20e0000.iomuxc: could not request pin 45 (MX6UL_PAD_UART4_TX_DATA) from group uart4-grp  on device 20e0000.iomuxc

You have pin-muxing errors, which you need to correct them.

Best regards,
Jaski

Hi @jaski.tx ,

Thank you very much for the hint.

From your point of view what I need to disable in order to use the requested pin?

I thought that deleting i2c1 node in my dtb with

/delete-node/i2c1;

was enough…

Best,
Stefano.

Hi @Stefano

Usually I use the `status = “disabled” ’ Property, but I just checked the documentation and I think, it should be

/delete-node / &i2c1;

Best regards,
Jaski

Hi @jaski.tx ,
thank you for the help.

Finally I delete the property inside the group. Here is the code:

   pinctrl_hog_2: hoggrp-2 {
       /delete-property/ fsl,pins;
   };

   pinctrl_ecspi1_cs: ecspi1_cs_grp {
       /delete-property/ fsl,pins;
   };

        pinctrl_ecspi1: ecspi1grp {
       /delete-property/ fsl,pins;
   }; 

And it works.

Next time I will try the status disabled as you suggesst.

Thank you again.

Stefano.

Perfect that it works. Thanks for the feedback.