Ian Campbell | 6efe369 | 2014-05-05 11:52:26 +0100 | [diff] [blame] | 1 | /* |
Hans de Goede | b0d1ca2 | 2015-01-13 18:13:50 +0100 | [diff] [blame] | 2 | * (C) Copyright 2015 Hans de Goede <hdegoede@redhat.com> |
Ian Campbell | 6efe369 | 2014-05-05 11:52:26 +0100 | [diff] [blame] | 3 | * |
4 | * SPDX-License-Identifier: GPL-2.0+ | ||||
5 | */ | ||||
6 | |||||
7 | #ifndef _SUNXI_CPU_H | ||||
8 | #define _SUNXI_CPU_H | ||||
9 | |||||
Hans de Goede | d20e35f | 2015-01-13 19:22:21 +0100 | [diff] [blame] | 10 | #if defined(CONFIG_MACH_SUN9I) |
11 | #include <asm/arch/cpu_sun9i.h> | ||||
12 | #else | ||||
Hans de Goede | b0d1ca2 | 2015-01-13 18:13:50 +0100 | [diff] [blame] | 13 | #include <asm/arch/cpu_sun4i.h> |
Hans de Goede | d20e35f | 2015-01-13 19:22:21 +0100 | [diff] [blame] | 14 | #endif |
Ian Campbell | 6efe369 | 2014-05-05 11:52:26 +0100 | [diff] [blame] | 15 | |
Jens Kuske | f613817 | 2017-01-02 11:48:42 +0000 | [diff] [blame] | 16 | #define SOCID_A64 0x1689 |
17 | #define SOCID_H3 0x1680 | ||||
Andre Przywara | 5d0d28f | 2017-02-16 01:20:26 +0000 | [diff] [blame] | 18 | #define SOCID_H5 0x1718 |
Chen-Yu Tsai | 143ef79 | 2016-12-01 19:09:57 +0800 | [diff] [blame] | 19 | #define SOCID_R40 0x1701 |
Jens Kuske | f613817 | 2017-01-02 11:48:42 +0000 | [diff] [blame] | 20 | |
Hans de Goede | b0d1ca2 | 2015-01-13 18:13:50 +0100 | [diff] [blame] | 21 | #endif /* _SUNXI_CPU_H */ |