Path: blob/master/arch/xtensa/platforms/xt2000/include/platform/hardware.h
15172 views
/*1* platform/hardware.h2*3* This file is subject to the terms and conditions of the GNU General Public4* License. See the file "COPYING" in the main directory of this archive5* for more details.6*7* Copyright (C) 2001 Tensilica Inc.8*/910/*11* This file contains the hardware configuration of the XT2000 board.12*/1314#ifndef _XTENSA_XT2000_HARDWARE_H15#define _XTENSA_XT2000_HARDWARE_H1617#include <variant/core.h>1819/*20* Memory configuration.21*/2223#define PLATFORM_DEFAULT_MEM_START 0x0000000024#define PLATFORM_DEFAULT_MEM_SIZE 0x080000002526/*27* Number of platform IRQs28*/29#define PLATFORM_NR_IRQS 330/*31* On-board components.32*/3334#define SONIC83934_INTNUM XCHAL_EXTINT3_NUM35#define SONIC83934_ADDR IOADDR(0x0d030000)3637/*38* V3-PCI39*/4041/* The XT2000 uses the V3 as a cascaded interrupt controller for the PCI bus */4243#define IRQ_PCI_A (XCHAL_NUM_INTERRUPTS + 0)44#define IRQ_PCI_B (XCHAL_NUM_INTERRUPTS + 1)45#define IRQ_PCI_C (XCHAL_NUM_INTERRUPTS + 2)4647/*48* Various other components.49*/5051#define XT2000_LED_ADDR IOADDR(0x0d040000)5253#endif /* _XTENSA_XT2000_HARDWARE_H */545556