Merge tag 'dm-pull-20jul20-take2a' of https://gitlab.denx.de/u-boot/custodians/u...
[platform/kernel/u-boot.git] / arch / arm / mach-k3 / include / mach / hardware.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
4  *      Lokesh Vutla <lokeshvutla@ti.com>
5  */
6 #ifndef _ASM_ARCH_HARDWARE_H_
7 #define _ASM_ARCH_HARDWARE_H_
8
9 #ifdef CONFIG_SOC_K3_AM6
10 #include "am6_hardware.h"
11 #endif
12
13 #ifdef CONFIG_SOC_K3_J721E
14 #include "j721e_hardware.h"
15 #endif
16
17 /* Assuming these addresses and definitions stay common across K3 devices */
18 #define JTAG_ID_VARIANT_SHIFT   28
19 #define JTAG_ID_VARIANT_MASK    (0xf << 28)
20 #define JTAG_ID_PARTNO_SHIFT    12
21 #define JTAG_ID_PARTNO_MASK     (0xffff << 12)
22
23 #endif /* _ASM_ARCH_HARDWARE_H_ */