blob: d759aea6003f46f0a3274e50a0d65a49c64b4ddb [file] [log] [blame]
Marek Vasut77b04c52011-11-26 11:17:09 +01001/*
2 * PXA common functions
3 *
4 * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
5 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02006 * SPDX-License-Identifier: GPL-2.0+
Marek Vasut77b04c52011-11-26 11:17:09 +01007 */
8
9#ifndef __PXA_H__
10#define __PXA_H__
11
Lukasz Dalek539e9ff2012-10-03 00:51:06 +020012#define PXA255_A0 0x00000106
13#define PXA250_C0 0x00000105
14#define PXA250_B2 0x00000104
15#define PXA250_B1 0x00000103
16#define PXA250_B0 0x00000102
17#define PXA250_A1 0x00000101
18#define PXA250_A0 0x00000100
19#define PXA210_C0 0x00000125
20#define PXA210_B2 0x00000124
21#define PXA210_B1 0x00000123
22#define PXA210_B0 0x00000122
23
Marek Vasut77b04c52011-11-26 11:17:09 +010024int cpu_is_pxa25x(void);
25int cpu_is_pxa27x(void);
Lukasz Dalek539e9ff2012-10-03 00:51:06 +020026uint32_t pxa_get_cpu_revision(void);
Marek Vasutf68d2a22011-11-26 11:18:57 +010027void pxa2xx_dram_init(void);
Marek Vasut77b04c52011-11-26 11:17:09 +010028
29#endif /* __PXA_H__ */