Skip to content

Commit 73d2028

Browse files
nmenontmlind
authored andcommitted
ARM: DRA722: add detection of SoC information
Add support for DRA72x device DIEID. Currently these devices are reported as DRA75/74 family of processors. Signed-off-by: Nishanth Menon <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent f5467da commit 73d2028

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

arch/arm/mach-omap2/id.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,18 @@ void __init dra7xxx_check_revision(void)
649649
}
650650
break;
651651

652+
case 0xb9bc:
653+
switch (rev) {
654+
case 0:
655+
omap_revision = DRA722_REV_ES1_0;
656+
break;
657+
default:
658+
/* If we have no new revisions */
659+
omap_revision = DRA722_REV_ES1_0;
660+
break;
661+
}
662+
break;
663+
652664
default:
653665
/* Unknown default to latest silicon rev as default*/
654666
pr_warn("%s: unknown idcode=0x%08x (hawkeye=0x%08x,rev=0x%d)\n",

arch/arm/mach-omap2/soc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ IS_OMAP_TYPE(3430, 0x3430)
462462
#define DRA7XX_CLASS 0x07000000
463463
#define DRA752_REV_ES1_0 (DRA7XX_CLASS | (0x52 << 16) | (0x10 << 8))
464464
#define DRA752_REV_ES1_1 (DRA7XX_CLASS | (0x52 << 16) | (0x11 << 8))
465+
#define DRA722_REV_ES1_0 (DRA7XX_CLASS | (0x22 << 16) | (0x10 << 8))
465466

466467
void omap2xxx_check_revision(void);
467468
void omap3xxx_check_revision(void);

0 commit comments

Comments
 (0)