Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * include/asm-arm/arch-ixp4xx/ixdp425.h |
| 3 | * |
| 4 | * IXDP425 platform specific definitions |
| 5 | * |
| 6 | * Author: Deepak Saxena <dsaxena@plexity.net> |
| 7 | * |
| 8 | * Copyright 2004 (c) MontaVista, Software, Inc. |
| 9 | * |
| 10 | * This file is licensed under the terms of the GNU General Public |
| 11 | * License version 2. This program is licensed "as is" without any |
| 12 | * warranty of any kind, whether express or implied. |
| 13 | */ |
| 14 | |
| 15 | #ifndef __ASM_ARCH_HARDWARE_H__ |
| 16 | #error "Do not include this directly, instead #include <asm/hardware.h>" |
| 17 | #endif |
| 18 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | #define IXDP425_SDA_PIN 7 |
| 20 | #define IXDP425_SCL_PIN 6 |
| 21 | |
| 22 | /* |
| 23 | * IXDP425 PCI IRQs |
| 24 | */ |
| 25 | #define IXDP425_PCI_MAX_DEV 4 |
| 26 | #define IXDP425_PCI_IRQ_LINES 4 |
| 27 | |
| 28 | |
| 29 | /* PCI controller GPIO to IRQ pin mappings */ |
| 30 | #define IXDP425_PCI_INTA_PIN 11 |
| 31 | #define IXDP425_PCI_INTB_PIN 10 |
| 32 | #define IXDP425_PCI_INTC_PIN 9 |
| 33 | #define IXDP425_PCI_INTD_PIN 8 |
| 34 | |
Vladimir Barinov | 4ad48b4 | 2007-05-16 20:39:02 +0100 | [diff] [blame] | 35 | /* NAND Flash pins */ |
| 36 | #define IXDP425_NAND_NCE_PIN 12 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 37 | |
Vladimir Barinov | 4ad48b4 | 2007-05-16 20:39:02 +0100 | [diff] [blame] | 38 | #define IXDP425_NAND_CMD_BYTE 0x01 |
| 39 | #define IXDP425_NAND_ADDR_BYTE 0x02 |