2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2014-05-05 10:52:26 +00:00
|
|
|
/*
|
2015-01-13 17:13:50 +00:00
|
|
|
* (C) Copyright 2015 Hans de Goede <hdegoede@redhat.com>
|
2014-05-05 10:52:26 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SUNXI_CPU_H
|
|
|
|
#define _SUNXI_CPU_H
|
|
|
|
|
2015-01-13 18:22:21 +00:00
|
|
|
#if defined(CONFIG_MACH_SUN9I)
|
|
|
|
#include <asm/arch/cpu_sun9i.h>
|
2021-01-11 20:11:34 +00:00
|
|
|
#elif defined(CONFIG_SUN50I_GEN_H6)
|
2018-07-21 08:20:21 +00:00
|
|
|
#include <asm/arch/cpu_sun50i_h6.h>
|
2022-10-05 16:54:19 +00:00
|
|
|
#elif defined(CONFIG_SUNXI_GEN_NCAT2)
|
|
|
|
#include <asm/arch/cpu_sunxi_ncat2.h>
|
2015-01-13 18:22:21 +00:00
|
|
|
#else
|
2015-01-13 17:13:50 +00:00
|
|
|
#include <asm/arch/cpu_sun4i.h>
|
2015-01-13 18:22:21 +00:00
|
|
|
#endif
|
2014-05-05 10:52:26 +00:00
|
|
|
|
2017-01-02 11:48:42 +00:00
|
|
|
#define SOCID_A64 0x1689
|
|
|
|
#define SOCID_H3 0x1680
|
2020-10-16 09:33:08 +00:00
|
|
|
#define SOCID_V3S 0x1681
|
2017-02-16 01:20:26 +00:00
|
|
|
#define SOCID_H5 0x1718
|
2016-12-01 11:09:57 +00:00
|
|
|
#define SOCID_R40 0x1701
|
2017-01-02 11:48:42 +00:00
|
|
|
|
2015-01-13 17:13:50 +00:00
|
|
|
#endif /* _SUNXI_CPU_H */
|