Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Ian Campbell | 6efe369 | 2014-05-05 11:52:26 +0100 | [diff] [blame] | 2 | /* |
Hans de Goede | b0d1ca2 | 2015-01-13 18:13:50 +0100 | [diff] [blame] | 3 | * (C) Copyright 2015 Hans de Goede <hdegoede@redhat.com> |
Ian Campbell | 6efe369 | 2014-05-05 11:52:26 +0100 | [diff] [blame] | 4 | */ |
5 | |||||
6 | #ifndef _SUNXI_CPU_H | ||||
7 | #define _SUNXI_CPU_H | ||||
8 | |||||
Hans de Goede | d20e35f | 2015-01-13 19:22:21 +0100 | [diff] [blame] | 9 | #if defined(CONFIG_MACH_SUN9I) |
10 | #include <asm/arch/cpu_sun9i.h> | ||||
Jernej Skrabec | da8ae61 | 2021-01-11 21:11:34 +0100 | [diff] [blame] | 11 | #elif defined(CONFIG_SUN50I_GEN_H6) |
Icenowy Zheng | e1cf4ad | 2018-07-21 16:20:21 +0800 | [diff] [blame] | 12 | #include <asm/arch/cpu_sun50i_h6.h> |
Andre Przywara | 068962b | 2022-10-05 17:54:19 +0100 | [diff] [blame] | 13 | #elif defined(CONFIG_SUNXI_GEN_NCAT2) |
14 | #include <asm/arch/cpu_sunxi_ncat2.h> | ||||
Hans de Goede | d20e35f | 2015-01-13 19:22:21 +0100 | [diff] [blame] | 15 | #else |
Hans de Goede | b0d1ca2 | 2015-01-13 18:13:50 +0100 | [diff] [blame] | 16 | #include <asm/arch/cpu_sun4i.h> |
Hans de Goede | d20e35f | 2015-01-13 19:22:21 +0100 | [diff] [blame] | 17 | #endif |
Ian Campbell | 6efe369 | 2014-05-05 11:52:26 +0100 | [diff] [blame] | 18 | |
Jens Kuske | f613817 | 2017-01-02 11:48:42 +0000 | [diff] [blame] | 19 | #define SOCID_A64 0x1689 |
20 | #define SOCID_H3 0x1680 | ||||
Icenowy Zheng | aff2d3a | 2020-10-16 17:33:08 +0800 | [diff] [blame] | 21 | #define SOCID_V3S 0x1681 |
Andre Przywara | 5d0d28f | 2017-02-16 01:20:26 +0000 | [diff] [blame] | 22 | #define SOCID_H5 0x1718 |
Chen-Yu Tsai | 143ef79 | 2016-12-01 19:09:57 +0800 | [diff] [blame] | 23 | #define SOCID_R40 0x1701 |
Jens Kuske | f613817 | 2017-01-02 11:48:42 +0000 | [diff] [blame] | 24 | |
Hans de Goede | b0d1ca2 | 2015-01-13 18:13:50 +0100 | [diff] [blame] | 25 | #endif /* _SUNXI_CPU_H */ |