xref: /openbmc/u-boot/arch/arm/include/asm/arch-sunxi/cpu.h (revision 1f5118b4d38d9caaab4c451f974542297bd1e2a7)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * (C) Copyright 2015 Hans de Goede <hdegoede@redhat.com>
4  */
5 
6 #ifndef _SUNXI_CPU_H
7 #define _SUNXI_CPU_H
8 
9 #if defined(CONFIG_MACH_SUN9I)
10 #include <asm/arch/cpu_sun9i.h>
11 #elif defined(CONFIG_MACH_SUN50I_H6)
12 #include <asm/arch/cpu_sun50i_h6.h>
13 #else
14 #include <asm/arch/cpu_sun4i.h>
15 #endif
16 
17 #define SOCID_A64	0x1689
18 #define SOCID_H3	0x1680
19 #define SOCID_H5	0x1718
20 #define SOCID_R40	0x1701
21 
22 #endif /* _SUNXI_CPU_H */
23