diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2017-08-12 09:35:59 +0530 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-08-14 10:32:02 -0700 |
commit | c15ab99637d6de3f261cfa0e120fd9f6027ac221 (patch) | |
tree | a21924ce8c2c5f6e588806a94c241f7889ee629d /arch/arm/mach-omap2/id.c | |
parent | 4dc6760d3dbc5122ec7e9b261aeb93e93ae6e118 (diff) |
ARM: dra762: Add support for device identification
Add ID code detection for dra762 SoC.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/id.c')
-rw-r--r-- | arch/arm/mach-omap2/id.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index e2274a162b74..16cb1c195fd8 100644 --- a/arch/arm/mach-omap2/id.c +++ b/arch/arm/mach-omap2/id.c @@ -663,6 +663,15 @@ void __init dra7xxx_check_revision(void) hawkeye = (idcode >> 12) & 0xffff; rev = (idcode >> 28) & 0xff; switch (hawkeye) { + case 0xbb50: + switch (rev) { + case 0: + default: + omap_revision = DRA762_REV_ES1_0; + break; + } + break; + case 0xb990: switch (rev) { case 0: |