Setup Device Tree to use UART 6 (UART_D) on Colibra eval board

I try to set up and test uart-6 (Toradex UART-D) on the Colibri eval board. The UART RX and TX pins (SODIMM pin 75 and 96) are brought out on to the camera interface header (but they don’t appear to be initialized in the device tree).

I add the following to the board level device tree file:

&uart6 {
/*	pinctrl-names = "default";*/
	pinctrl-0 = <&pinctrl_uart6>;
	fsl,dte-mode;
	status = "okay";
};

&iomuxc {
	imx6ull-colibri {
	pinctrl_uart6: uart6-grp {
		fsl,pins = <
			MX6UL_PAD_CSI_MCLK__UART6_DTE_RX	0x1b0b1
			MX6UL_PAD_CSI_PIXCLK__UART6_DTE_TX	0x1b0b1
		>;
	};
	};
};

There are two problems:

  1. I have to patch out pinctrl-names = “default” in &uart6 otherwise ttymxc5 does not show up in /dev.
  2. The UART does not work. There is no uart data in or out. the TX/RX pins stay logic low (should be high when idle for UART pins)

Is there anything I am missing?

Hi @SSL and Welcome to the Toradex Community!

Could you provide the version of the Hardware (including Carrier Board) and Software of your module?

Concerning your issue, could you share the dmesg log in a text file?
And also share all the changes you have to the devicetree files ( git diff )!

Thanks and best regards,
Jaski