1 /* $NetBSD: ixdp425reg.h,v 1.7 2009/10/21 14:15:51 rmind Exp $ */
3 * SPDX-License-Identifier: BSD-2-Clause-NetBSD
6 * Ichiro FUKUHARA <ichiro@ichiro.org>.
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions
12 * 1. Redistributions of source code must retain the above copyright
13 * notice, this list of conditions and the following disclaimer.
14 * 2. Redistributions in binary form must reproduce the above copyright
15 * notice, this list of conditions and the following disclaimer in the
16 * documentation and/or other materials provided with the distribution.
18 * THIS SOFTWARE IS PROVIDED BY ICHIRO FUKUHARA ``AS IS'' AND ANY EXPRESS OR
19 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
20 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21 * IN NO EVENT SHALL ICHIRO FUKUHARA OR THE VOICES IN HIS HEAD BE LIABLE FOR
22 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 #ifndef _IXDP425REG_H_
33 #define _IXDP425REG_H_
35 #define GPIO_PCI_CLK 14
36 #define GPIO_PCI_RESET 13
37 #define GPIO_PCI_INTA 11
38 #define GPIO_PCI_INTB 10
39 #define GPIO_PCI_INTC 9
40 #define GPIO_PCI_INTD 8
41 #define GPIO_I2C_SDA 7
42 #define GPIO_I2C_SDA_BIT (1U << GPIO_I2C_SDA)
43 #define GPIO_I2C_SCL 6
44 #define GPIO_I2C_SCL_BIT (1U << GPIO_I2C_SCL)
46 #define PCI_INT_A IXP425_INT_GPIO_11
47 #define PCI_INT_B IXP425_INT_GPIO_10
48 #define PCI_INT_C IXP425_INT_GPIO_9
49 #define PCI_INT_D IXP425_INT_GPIO_8
50 #endif /* _IXDP425REG_H_ */