diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2017-08-12 07:05:59 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-08-14 20:32:02 +0300 |
commit | c15ab99637d6de3f261cfa0e120fd9f6027ac221 (patch) | |
tree | a21924ce8c2c5f6e588806a94c241f7889ee629d /arch/arm/mach-omap2/id.c | |
parent | 4dc6760d3dbc5122ec7e9b261aeb93e93ae6e118 (diff) | |
download | linux-c15ab99637d6de3f261cfa0e120fd9f6027ac221.tar.xz |
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: |