mirror of https://gitee.com/openkylin/linux.git
37 lines
1.0 KiB
C
37 lines
1.0 KiB
C
/*
|
|
* include/asm-arm/arch-ixp4xx/coyote.h
|
|
*
|
|
* ADI Engineering platform specific definitions
|
|
*
|
|
* Author: Deepak Saxena <dsaxena@plexity.net>
|
|
*
|
|
* Copyright 2004 (c) MontaVista, Software, Inc.
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* License version 2. This program is licensed "as is" without any
|
|
* warranty of any kind, whether express or implied.
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_HARDWARE_H__
|
|
#error "Do not include this directly, instead #include <asm/hardware.h>"
|
|
#endif
|
|
|
|
#define COYOTE_FLASH_BASE IXP4XX_EXP_BUS_CS0_BASE_PHYS
|
|
#define COYOTE_FLASH_SIZE IXP4XX_EXP_BUS_CSX_REGION_SIZE * 2
|
|
|
|
/* PCI controller GPIO to IRQ pin mappings */
|
|
#define COYOTE_PCI_SLOT0_PIN 6
|
|
#define COYOTE_PCI_SLOT1_PIN 11
|
|
|
|
#define COYOTE_PCI_SLOT0_DEVID 14
|
|
#define COYOTE_PCI_SLOT1_DEVID 15
|
|
|
|
#define COYOTE_IDE_BASE_PHYS IXP4XX_EXP_BUS_CS3_BASE_PHYS
|
|
#define COYOTE_IDE_BASE_VIRT 0xFFFE1000
|
|
#define COYOTE_IDE_REGION_SIZE 0x1000
|
|
|
|
#define COYOTE_IDE_DATA_PORT 0xFFFE10E0
|
|
#define COYOTE_IDE_CTRL_PORT 0xFFFE10FC
|
|
#define COYOTE_IDE_ERROR_PORT 0xFFFE10E2
|
|
|