xref: /linux/arch/xtensa/platforms/xt2000/include/platform/hardware.h (revision c39f2d9db0fd81ea20bb5cce9b3f082ca63753e2)
18fa5723aSChris Zankel /*
28fa5723aSChris Zankel  * platform/hardware.h
38fa5723aSChris Zankel  *
48fa5723aSChris Zankel  * This file is subject to the terms and conditions of the GNU General Public
58fa5723aSChris Zankel  * License.  See the file "COPYING" in the main directory of this archive
68fa5723aSChris Zankel  * for more details.
78fa5723aSChris Zankel  *
88fa5723aSChris Zankel  * Copyright (C) 2001 Tensilica Inc.
98fa5723aSChris Zankel  */
108fa5723aSChris Zankel 
118fa5723aSChris Zankel /*
128fa5723aSChris Zankel  * This file contains the hardware configuration of the XT2000 board.
138fa5723aSChris Zankel  */
148fa5723aSChris Zankel 
158fa5723aSChris Zankel #ifndef _XTENSA_XT2000_HARDWARE_H
168fa5723aSChris Zankel #define _XTENSA_XT2000_HARDWARE_H
178fa5723aSChris Zankel 
18*8f8d5745SMax Filippov #include <asm/core.h>
198fa5723aSChris Zankel 
208fa5723aSChris Zankel /*
218fa5723aSChris Zankel  * On-board components.
228fa5723aSChris Zankel  */
238fa5723aSChris Zankel 
248fa5723aSChris Zankel #define SONIC83934_INTNUM	XCHAL_EXTINT3_NUM
258fa5723aSChris Zankel #define SONIC83934_ADDR		IOADDR(0x0d030000)
268fa5723aSChris Zankel 
278fa5723aSChris Zankel /*
288fa5723aSChris Zankel  * V3-PCI
298fa5723aSChris Zankel  */
308fa5723aSChris Zankel 
318fa5723aSChris Zankel /* The XT2000 uses the V3 as a cascaded interrupt controller for the PCI bus */
328fa5723aSChris Zankel 
338fa5723aSChris Zankel #define IRQ_PCI_A		(XCHAL_NUM_INTERRUPTS + 0)
348fa5723aSChris Zankel #define IRQ_PCI_B		(XCHAL_NUM_INTERRUPTS + 1)
358fa5723aSChris Zankel #define IRQ_PCI_C		(XCHAL_NUM_INTERRUPTS + 2)
368fa5723aSChris Zankel 
378fa5723aSChris Zankel /*
388fa5723aSChris Zankel  * Various other components.
398fa5723aSChris Zankel  */
408fa5723aSChris Zankel 
418fa5723aSChris Zankel #define XT2000_LED_ADDR		IOADDR(0x0d040000)
428fa5723aSChris Zankel 
438fa5723aSChris Zankel #endif /* _XTENSA_XT2000_HARDWARE_H */
44