blob: 428a848e1573078e9604c08cb34436f0826fbe19 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Marek Vasutf7d4f362011-11-26 11:17:09 +01002/*
3 * PXA common functions
4 *
5 * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
Marek Vasutf7d4f362011-11-26 11:17:09 +01006 */
7
8#ifndef __PXA_H__
9#define __PXA_H__
10
Lukasz Dalek14d31412012-10-03 00:51:06 +020011#define PXA255_A0 0x00000106
12#define PXA250_C0 0x00000105
13#define PXA250_B2 0x00000104
14#define PXA250_B1 0x00000103
15#define PXA250_B0 0x00000102
16#define PXA250_A1 0x00000101
17#define PXA250_A0 0x00000100
18#define PXA210_C0 0x00000125
19#define PXA210_B2 0x00000124
20#define PXA210_B1 0x00000123
21#define PXA210_B0 0x00000122
22
Marek Vasutf7d4f362011-11-26 11:17:09 +010023int cpu_is_pxa25x(void);
24int cpu_is_pxa27x(void);
Lukasz Dalek14d31412012-10-03 00:51:06 +020025uint32_t pxa_get_cpu_revision(void);
Marek Vasut08341be2011-11-26 11:18:57 +010026void pxa2xx_dram_init(void);
Marek Vasutf7d4f362011-11-26 11:17:09 +010027
28#endif /* __PXA_H__ */