xref: /linux/arch/xtensa/platforms/xt2000/include/platform/hardware.h (revision b233b28eac0cc37d07c2d007ea08c86c778c5af4)
1 /*
2  * platform/hardware.h
3  *
4  * This file is subject to the terms and conditions of the GNU General Public
5  * License.  See the file "COPYING" in the main directory of this archive
6  * for more details.
7  *
8  * Copyright (C) 2001 Tensilica Inc.
9  */
10 
11 /*
12  * This file contains the hardware configuration of the XT2000 board.
13  */
14 
15 #ifndef _XTENSA_XT2000_HARDWARE_H
16 #define _XTENSA_XT2000_HARDWARE_H
17 
18 #include <variant/core.h>
19 #include <asm/io.h>
20 
21 /*
22  * Memory configuration.
23  */
24 
25 #define PLATFORM_DEFAULT_MEM_START 0x00000000
26 #define PLATFORM_DEFAULT_MEM_SIZE 0x08000000
27 
28 /*
29  * Number of platform IRQs
30  */
31 #define PLATFORM_NR_IRQS 3
32 /*
33  * On-board components.
34  */
35 
36 #define SONIC83934_INTNUM	XCHAL_EXTINT3_NUM
37 #define SONIC83934_ADDR		IOADDR(0x0d030000)
38 
39 /*
40  * V3-PCI
41  */
42 
43 /* The XT2000 uses the V3 as a cascaded interrupt controller for the PCI bus */
44 
45 #define IRQ_PCI_A		(XCHAL_NUM_INTERRUPTS + 0)
46 #define IRQ_PCI_B		(XCHAL_NUM_INTERRUPTS + 1)
47 #define IRQ_PCI_C		(XCHAL_NUM_INTERRUPTS + 2)
48 
49 /*
50  * Various other components.
51  */
52 
53 #define XT2000_LED_ADDR		IOADDR(0x0d040000)
54 
55 #endif /* _XTENSA_XT2000_HARDWARE_H */
56