Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / arch / arm / mach-davinci / cputype.h
blob148a738391dc97d0efd9eece3f54d097c1d58e49
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * DaVinci CPU type detection
5 * Author: Kevin Hilman, Deep Root Systems, LLC
7 * Defines the cpu_is_*() macros for runtime detection of DaVinci
8 * device type. In addition, if support for a given device is not
9 * compiled in to the kernel, the macros return 0 so that
10 * resulting code can be optimized out.
12 * 2009 (c) Deep Root Systems, LLC.
14 #ifndef _ASM_ARCH_CPU_H
15 #define _ASM_ARCH_CPU_H
17 #include "common.h"
19 struct davinci_id {
20 u8 variant; /* JTAG ID bits 31:28 */
21 u16 part_no; /* JTAG ID bits 27:12 */
22 u16 manufacturer; /* JTAG ID bits 11:1 */
23 u32 cpu_id;
24 char *name;
27 /* Can use lower 16 bits of cpu id for a variant when required */
28 #define DAVINCI_CPU_ID_DA830 0x08300000
29 #define DAVINCI_CPU_ID_DA850 0x08500000
31 #endif