Hi Fabio,
The first problem is I can't boot from Nand Flash. With u-boot-2009.08 I can do it without problem, but I have to update u-boot in order to use device tree. I'm using u-boot-2013.10 and trying to give support for Nand in the configuration board file (taking other boards as reference), but unsuccessfully. I don't know whether I have to copy the image in any offset or what. I can boot from SD card, but I need boot from Nand.
If I boot from SD, I can boot kernel and use device tree, but there are problems with the audio codec. I'm using imx25-pdk.dts from 3.17.2 (although my kernel is 3.14.12), with few changes (I only remove devices like CAN, KPP... that I don't use). I don't understand how regulators are defined (because VDDIO is 1.8V and VDDA is 3.3V, both in PDK and in my board ), but I let them as they are. This is dmesg (referred to audio codec):
i2c i2c-0: IMX I2C adapter registered
Advanced Linux Sound Architecture Driver Initialized.
of_clk_src_onecell_get: invalid clock index 129
sgtl5000 0-000a: Failed to get mclock: -2
i2c 0-000a: Driver sgtl5000 requests probe deferral
fsl-ssi-dai 50034000.ssi: fsl,mode property is necessary
fsl-ssi-dai: probe of 50034000.ssi failed with error -22
of_clk_src_onecell_get: invalid clock index 129
imx-sgtl5000: probe of sound.3 failed with error -2
of_clk_src_onecell_get: invalid clock index 129
sgtl5000 0-000a: Failed to get mclock: -2
of_clk_src_onecell_get: invalid clock index 129
sgtl5000 0-000a: Failed to get mclock: -2
i2c 0-000a: Driver sgtl5000 requests probe deferral
ALSA device list:
No soundcards found.
Some help, please?