blob: 768c6572d6b735a46877104314dcc5d9327e3217 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Ian Campbell6efe3692014-05-05 11:52:26 +01002/*
Hans de Goedeb0d1ca22015-01-13 18:13:50 +01003 * (C) Copyright 2015 Hans de Goede <hdegoede@redhat.com>
Ian Campbell6efe3692014-05-05 11:52:26 +01004 */
5
6#ifndef _SUNXI_CPU_H
7#define _SUNXI_CPU_H
8
Hans de Goeded20e35f2015-01-13 19:22:21 +01009#if defined(CONFIG_MACH_SUN9I)
10#include <asm/arch/cpu_sun9i.h>
Jernej Skrabecda8ae612021-01-11 21:11:34 +010011#elif defined(CONFIG_SUN50I_GEN_H6)
Icenowy Zhenge1cf4ad2018-07-21 16:20:21 +080012#include <asm/arch/cpu_sun50i_h6.h>
Andre Przywara068962b2022-10-05 17:54:19 +010013#elif defined(CONFIG_SUNXI_GEN_NCAT2)
14#include <asm/arch/cpu_sunxi_ncat2.h>
Hans de Goeded20e35f2015-01-13 19:22:21 +010015#else
Hans de Goedeb0d1ca22015-01-13 18:13:50 +010016#include <asm/arch/cpu_sun4i.h>
Hans de Goeded20e35f2015-01-13 19:22:21 +010017#endif
Ian Campbell6efe3692014-05-05 11:52:26 +010018
Jens Kuskef6138172017-01-02 11:48:42 +000019#define SOCID_A64 0x1689
20#define SOCID_H3 0x1680
Icenowy Zhengaff2d3a2020-10-16 17:33:08 +080021#define SOCID_V3S 0x1681
Andre Przywara5d0d28f2017-02-16 01:20:26 +000022#define SOCID_H5 0x1718
Chen-Yu Tsai143ef792016-12-01 19:09:57 +080023#define SOCID_R40 0x1701
Jens Kuskef6138172017-01-02 11:48:42 +000024
Hans de Goedeb0d1ca22015-01-13 18:13:50 +010025#endif /* _SUNXI_CPU_H */