blob: caec86526417c56a4c8776bd64899ceb99117c24 [file] [log] [blame]
Ian Campbell6efe3692014-05-05 11:52:26 +01001/*
Hans de Goedeb0d1ca22015-01-13 18:13:50 +01002 * (C) Copyright 2015 Hans de Goede <hdegoede@redhat.com>
Ian Campbell6efe3692014-05-05 11:52:26 +01003 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#ifndef _SUNXI_CPU_H
8#define _SUNXI_CPU_H
9
Hans de Goeded20e35f2015-01-13 19:22:21 +010010#if defined(CONFIG_MACH_SUN9I)
11#include <asm/arch/cpu_sun9i.h>
12#else
Hans de Goedeb0d1ca22015-01-13 18:13:50 +010013#include <asm/arch/cpu_sun4i.h>
Hans de Goeded20e35f2015-01-13 19:22:21 +010014#endif
Ian Campbell6efe3692014-05-05 11:52:26 +010015
Jens Kuskef6138172017-01-02 11:48:42 +000016#define SOCID_A64 0x1689
17#define SOCID_H3 0x1680
Andre Przywara5d0d28f2017-02-16 01:20:26 +000018#define SOCID_H5 0x1718
Chen-Yu Tsai143ef792016-12-01 19:09:57 +080019#define SOCID_R40 0x1701
Jens Kuskef6138172017-01-02 11:48:42 +000020
Hans de Goedeb0d1ca22015-01-13 18:13:50 +010021#endif /* _SUNXI_CPU_H */