1 /* SPDX-License-Identifier: GPL-2.0-only */
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
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 */
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