davinci: da830: add support for new silicon revisions
authorKevin Hilman <khilman@deeprootsystems.com>
Tue, 29 Sep 2009 18:09:21 +0000 (11:09 -0700)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 25 Nov 2009 18:21:28 +0000 (10:21 -0800)
Newer revs of da830 silicon have different 'variant' field of the JTAG
id register.  Current code only supports rev 1.0 silicon.

This patch adds support for rev1.1 and rev2.0 silicon and updates
the 'name' strings to add a '-' between 'omap' & 'l137' to have
consistent naming with da850/omap-l138.

From Mark Grosen <mgrosen@ti.com>:

"There are currently three silicon revisions for OMAPL137. The JTAG IDs
 (DEVIDR register contents) for each silicon revision are shown below:

 0x0B7D F02F for silicon revision 1.0
 0x8B7D F02F for silicon revision 1.1
 0x9B7D F02F for silicon revision 2.0

 Corresponding errata documentation will be available in the next few
 weeks on the ti.com website."

Reported-by: Nick Thompson <Nick.Thompson@gefanuc.com>
Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/da830.c

index f0b2f96..a2f2bdc 100644 (file)
@@ -1143,7 +1143,21 @@ static struct davinci_id da830_ids[] = {
                .part_no        = 0xb7df,
                .manufacturer   = 0x017,        /* 0x02f >> 1 */
                .cpu_id         = DAVINCI_CPU_ID_DA830,
-               .name           = "da830/omap l137",
+               .name           = "da830/omap-l137 rev1.0",
+       },
+       {
+               .variant        = 0x8,
+               .part_no        = 0xb7df,
+               .manufacturer   = 0x017,
+               .cpu_id         = DAVINCI_CPU_ID_DA830,
+               .name           = "da830/omap-l137 rev1.1",
+       },
+       {
+               .variant        = 0x9,
+               .part_no        = 0xb7df,
+               .manufacturer   = 0x017,
+               .cpu_id         = DAVINCI_CPU_ID_DA830,
+               .name           = "da830/omap-l137 rev2.0",
        },
 };