Commit ee77a2389b47d5ad15e0963e813c764ddc73b745

Authored by Lokesh Vutla
Committed by Tom Rini
1 parent a0a37183bd

ARM: DRA72x: Add Silicon ID support

Add silicon ID code for DRA722 silicon.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Acked-by: Tom Rini <trini@ti.com>

Showing 3 changed files with 5 additions and 0 deletions Side-by-side Diff

arch/arm/cpu/armv7/omap5/hwinit.c
... ... @@ -336,6 +336,9 @@
336 336 case DRA752_CONTROL_ID_CODE_ES1_1:
337 337 *omap_si_rev = DRA752_ES1_1;
338 338 break;
  339 + case DRA722_CONTROL_ID_CODE_ES1_0:
  340 + *omap_si_rev = DRA722_ES1_0;
  341 + break;
339 342 default:
340 343 *omap_si_rev = OMAP5430_SILICON_ID_INVALID;
341 344 }
arch/arm/include/asm/arch-omap5/omap.h
... ... @@ -45,6 +45,7 @@
45 45 #define OMAP5432_CONTROL_ID_CODE_ES2_0 0x1B99802F
46 46 #define DRA752_CONTROL_ID_CODE_ES1_0 0x0B99002F
47 47 #define DRA752_CONTROL_ID_CODE_ES1_1 0x1B99002F
  48 +#define DRA722_CONTROL_ID_CODE_ES1_0 0x0B9BC02F
48 49  
49 50 /* UART */
50 51 #define UART1_BASE (OMAP54XX_L4_PER_BASE + 0x6a000)
arch/arm/include/asm/omap_common.h
... ... @@ -645,6 +645,7 @@
645 645 /* DRA7XX */
646 646 #define DRA752_ES1_0 0x07520100
647 647 #define DRA752_ES1_1 0x07520110
  648 +#define DRA722_ES1_0 0x07220100
648 649  
649 650 /*
650 651 * SRAM scratch space entries