Statistics
| Branch: | Revision:

root / hw / mainstone.h @ 17786d52

History | View | Annotate | Download (897 Bytes)

1 7233b355 ths
/*
2 7233b355 ths
 * PXA270-based Intel Mainstone platforms.
3 7233b355 ths
 *
4 7233b355 ths
 * Copyright (c) 2007 by Armin Kuster <akuster@kama-aina.net> or
5 7233b355 ths
 *                                    <akuster@mvista.com>
6 7233b355 ths
 *
7 7233b355 ths
 * This code is licensed under the GNU GPL v2.
8 7233b355 ths
 */
9 7233b355 ths
10 7233b355 ths
#ifndef __MAINSTONE_H__
11 7233b355 ths
#define __MAINSTONE_H__
12 7233b355 ths
13 7233b355 ths
/* Device addresses */
14 7233b355 ths
#define MST_FPGA_PHYS        0x08000000
15 7233b355 ths
#define MST_ETH_PHYS        0x10000300
16 7233b355 ths
#define MST_FLASH_0                0x00000000
17 7233b355 ths
#define MST_FLASH_1                0x04000000
18 7233b355 ths
19 7233b355 ths
/* IRQ definitions */
20 f1de1334 ths
#define MMC_IRQ       0
21 f1de1334 ths
#define USIM_IRQ      1
22 f1de1334 ths
#define USBC_IRQ      2
23 f1de1334 ths
#define ETHERNET_IRQ  3
24 f1de1334 ths
#define AC97_IRQ      4
25 f1de1334 ths
#define PEN_IRQ       5
26 f1de1334 ths
#define MSINS_IRQ     6
27 f1de1334 ths
#define EXBRD_IRQ     7
28 f1de1334 ths
#define S0_CD_IRQ     9
29 f1de1334 ths
#define S0_STSCHG_IRQ 10
30 f1de1334 ths
#define S0_IRQ        11
31 f1de1334 ths
#define S1_CD_IRQ     13
32 f1de1334 ths
#define S1_STSCHG_IRQ 14
33 f1de1334 ths
#define S1_IRQ        15
34 7233b355 ths
35 7233b355 ths
extern qemu_irq
36 bc24a225 Paul Brook
*mst_irq_init(PXA2xxState *cpu, uint32_t base, int irq);
37 7233b355 ths
38 7233b355 ths
#endif /* __MAINSTONE_H__ */