blob: 8b57d24e2f0c8fe8a7575a1d82bae3eacb7d16d4 [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>
Icenowy Zhenge1cf4ad2018-07-21 16:20:21 +080011#elif defined(CONFIG_MACH_SUN50I_H6)
12#include <asm/arch/cpu_sun50i_h6.h>
Hans de Goeded20e35f2015-01-13 19:22:21 +010013#else
Hans de Goedeb0d1ca22015-01-13 18:13:50 +010014#include <asm/arch/cpu_sun4i.h>
Hans de Goeded20e35f2015-01-13 19:22:21 +010015#endif
Ian Campbell6efe3692014-05-05 11:52:26 +010016
Jens Kuskef6138172017-01-02 11:48:42 +000017#define SOCID_A64 0x1689
18#define SOCID_H3 0x1680
Icenowy Zhengaff2d3a2020-10-16 17:33:08 +080019#define SOCID_V3S 0x1681
Andre Przywara5d0d28f2017-02-16 01:20:26 +000020#define SOCID_H5 0x1718
Chen-Yu Tsai143ef792016-12-01 19:09:57 +080021#define SOCID_R40 0x1701
Jens Kuskef6138172017-01-02 11:48:42 +000022
Hans de Goedeb0d1ca22015-01-13 18:13:50 +010023#endif /* _SUNXI_CPU_H */