The connections on the weim interface are not working


I am struggling to get an output for three pins (CIF D0,6,7) on the x22 connector of the Colibri evaluation board (V3.2). The weim interface is enabled in the kernel and the device tree is configured as below (imx6ull-colibri-eval-v3.dtsi):

	imx6ull-colibri {
	pinctrl_weim: weimgrp {
		fsl,pins = <
				MX6UL_PAD_CSI_DATA00__EIM_AD00 0x1b0b0
				MX6UL_PAD_CSI_DATA01__EIM_AD01 0x1b0b0
				MX6UL_PAD_CSI_DATA02__EIM_AD02 0x1b0b0
				MX6UL_PAD_CSI_DATA03__EIM_AD03 0x1b0b0
				MX6UL_PAD_CSI_DATA04__EIM_AD04 0x1b0b0
				MX6UL_PAD_CSI_DATA05__EIM_AD05 0x1b0b0 
				MX6UL_PAD_CSI_DATA06__EIM_AD06 0x1b0b0
				MX6UL_PAD_CSI_DATA07__EIM_AD07 0x1b0b0
				MX6UL_PAD_CSI_MCLK__EIM_CS0_B 0x1b0b0
				MX6UL_PAD_LCD_DATA08__EIM_DATA00 0x1b0b0
				MX6UL_PAD_LCD_DATA09__EIM_DATA01 0x1b0b0
				MX6UL_PAD_LCD_DATA10__EIM_DATA02 0x1b0b0
				MX6UL_PAD_LCD_DATA11__EIM_DATA03 0x1b0b0
				MX6UL_PAD_LCD_DATA12__EIM_DATA04 0x1b0b0
				MX6UL_PAD_LCD_DATA13__EIM_DATA05 0x1b0b0
				MX6UL_PAD_LCD_DATA14__EIM_DATA06 0x1b0b0
				MX6UL_PAD_LCD_DATA15__EIM_DATA07 0x1b0b0

&weim {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_weim>;
	#address-cells = <2>;
	#size-cells = <1>;
	fsl,weim-cs-gpr = <&gpr>;
		status = "okay";
		ranges = <0 0 0x50000000 0x08000000>;

		sram@0,0 {
			compatible = "cypress,cy7c1019dv33-10zsxi, mtd-ram";
			reg = <0 0 0x02000000>;
			#address-cells = <1>;
			#size-cells = <1>;
			bank-width = <2>;
			fsl,weim-cs-timing = <0x00140481 0x00000000 0x0C001414
				0x00000000 0x06000246 0x00000000>;

Conflicting interfaces have been disabled by status = “disabled” and are referenced by an ampersand, like CSI, ecspi, pwm, USDHC, and so on.

For example:

&ecspi1 {
        status = "disabled";

Thank you for reading my question.


Hi @samv592,

Edit: oops, I looked for AD pads

Since DATA00, 06 and 07 are not working, just look in kernel dts folder for files with pattern imx6u* containing MX6UL_PAD_LCD_DATA08, MX6UL_PAD_LCD_DATA14 and MX6UL_PAD_LCD_DATA15.

All 3 belong to lcdif pads, so you need to disable lcdif as well


Hi Edward,

Thank you for your response.

I forgot to mention that those specific pins are address pins, so it should have pattern MX6UL_PAD_CSI_DATA00, 06 and 07, so you were right at first. Unfortunately removing those from the dts tree still did not work.

What seems to be the relation is preference of ECSPI1 instead of ECSPI2 for the other address pins. But disabling also did not work.


Edit: it is solved.

I took over this project and it turned out to be a mistake in the given pinout sheet.