1164426Ssam/* $NetBSD: ixdp425reg.h,v 1.6 2005/12/11 12:17:09 christos Exp $ */ 2164426Ssam/* 3164426Ssam * Copyright (c) 2003 4164426Ssam * Ichiro FUKUHARA <ichiro@ichiro.org>. 5164426Ssam * All rights reserved. 6164426Ssam * 7164426Ssam * Redistribution and use in source and binary forms, with or without 8164426Ssam * modification, are permitted provided that the following conditions 9164426Ssam * are met: 10164426Ssam * 1. Redistributions of source code must retain the above copyright 11164426Ssam * notice, this list of conditions and the following disclaimer. 12164426Ssam * 2. Redistributions in binary form must reproduce the above copyright 13164426Ssam * notice, this list of conditions and the following disclaimer in the 14164426Ssam * documentation and/or other materials provided with the distribution. 15164426Ssam * 3. All advertising materials mentioning features or use of this software 16164426Ssam * must display the following acknowledgement: 17164426Ssam * This product includes software developed by Ichiro FUKUHARA. 18164426Ssam * 4. The name of the company nor the name of the author may be used to 19164426Ssam * endorse or promote products derived from this software without specific 20164426Ssam * prior written permission. 21164426Ssam * 22164426Ssam * THIS SOFTWARE IS PROVIDED BY ICHIRO FUKUHARA ``AS IS'' AND ANY EXPRESS OR 23164426Ssam * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 24164426Ssam * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 25164426Ssam * IN NO EVENT SHALL ICHIRO FUKUHARA OR THE VOICES IN HIS HEAD BE LIABLE FOR 26164426Ssam * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27164426Ssam * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28164426Ssam * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29164426Ssam * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30164426Ssam * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31164426Ssam * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32164426Ssam * SUCH DAMAGE. 33164426Ssam */ 34164426Ssam 35164426Ssam/* $FreeBSD: releng/10.2/sys/arm/xscale/ixp425/ixdp425reg.h 164763 2006-11-30 06:30:01Z kevlo $ */ 36164426Ssam#ifndef _IXDP425REG_H_ 37164426Ssam#define _IXDP425REG_H_ 38164426Ssam/* GPIOs */ 39164426Ssam#define GPIO_PCI_CLK 14 40164426Ssam#define GPIO_PCI_RESET 13 41164426Ssam#define GPIO_PCI_INTA 11 42164426Ssam#define GPIO_PCI_INTB 10 43164426Ssam#define GPIO_PCI_INTC 9 44164426Ssam#define GPIO_PCI_INTD 8 45164426Ssam#define GPIO_I2C_SDA 7 46164763Skevlo#define GPIO_I2C_SDA_BIT (1U << GPIO_I2C_SDA) 47164426Ssam#define GPIO_I2C_SCL 6 48164763Skevlo#define GPIO_I2C_SCL_BIT (1U << GPIO_I2C_SCL) 49164426Ssam/* Interrupt */ 50164426Ssam#define PCI_INT_A IXP425_INT_GPIO_11 51164426Ssam#define PCI_INT_B IXP425_INT_GPIO_10 52164426Ssam#define PCI_INT_C IXP425_INT_GPIO_9 53164426Ssam#define PCI_INT_D IXP425_INT_GPIO_8 54164426Ssam#endif /* _IXDP425REG_H_ */ 55