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> | ||||
Icenowy Zheng | e1cf4ad | 2018-07-21 16:20:21 +0800 | [diff] [blame] | 11 | #elif defined(CONFIG_MACH_SUN50I_H6) |
12 | #include <asm/arch/cpu_sun50i_h6.h> | ||||
Hans de Goede | d20e35f | 2015-01-13 19:22:21 +0100 | [diff] [blame] | 13 | #else |
Hans de Goede | b0d1ca2 | 2015-01-13 18:13:50 +0100 | [diff] [blame] | 14 | #include <asm/arch/cpu_sun4i.h> |
Hans de Goede | d20e35f | 2015-01-13 19:22:21 +0100 | [diff] [blame] | 15 | #endif |
Ian Campbell | 6efe369 | 2014-05-05 11:52:26 +0100 | [diff] [blame] | 16 | |
Jens Kuske | f613817 | 2017-01-02 11:48:42 +0000 | [diff] [blame] | 17 | #define SOCID_A64 0x1689 |
18 | #define SOCID_H3 0x1680 | ||||
Icenowy Zheng | aff2d3a | 2020-10-16 17:33:08 +0800 | [diff] [blame] | 19 | #define SOCID_V3S 0x1681 |
Andre Przywara | 5d0d28f | 2017-02-16 01:20:26 +0000 | [diff] [blame] | 20 | #define SOCID_H5 0x1718 |
Chen-Yu Tsai | 143ef79 | 2016-12-01 19:09:57 +0800 | [diff] [blame] | 21 | #define SOCID_R40 0x1701 |
Jens Kuske | f613817 | 2017-01-02 11:48:42 +0000 | [diff] [blame] | 22 | |
Hans de Goede | b0d1ca2 | 2015-01-13 18:13:50 +0100 | [diff] [blame] | 23 | #endif /* _SUNXI_CPU_H */ |