This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux pinmux lcd, wrong pinmux in mux33xx.c

Other Parts Discussed in Thread: AM3354

Hi,

I have a board loosely based on the AM335x EVM. I am using the u-boot-2013.01.01-psp06.00.00.00 version and the arago linux distribution from the TI board port labs ( kernel version 3.2 ).

My board is able to boot when I include the lcd driver (da8xx-fb) as module but my lcd is showing the wrong colours ( red is supposed to be blue and vica versa ). When I built the module in the kernel the Linux logo is showing with the right colours but the board doesn't want to boot, it hangs on "Waiting for root device /dev/mmcblk0p2".

I thought it maybe a problem with the initial pinmux being overwritten by Linux. In the file <Linux>/arch/arm/mach-omap2/mux33xx.c the pinmux there isn't what's described in the datasheets of my processer, the AM3354. My lcd uses 2 extra pins, the gpmc_AD14 and AD15. These are muxed to lcd_data16 and lcd_data17 in my code and in the datasheets but in the above file these are muxed to lcd_data22 and lcd_data23.

Is there a specific reason for this or can I change this pinmux in mux33xx.c and achieve the right colours on my LCD?

Thanks in advance.