18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci *  tb0287.h, Include file for TANBAC TB0287 mini-ITX board.
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci *  Copyright (C) 2005	Media Lab Inc. <ito@mlb.co.jp>
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci *  This code is largely based on tb0219.h.
88c2ecf20Sopenharmony_ci */
98c2ecf20Sopenharmony_ci#ifndef __TANBAC_TB0287_H
108c2ecf20Sopenharmony_ci#define __TANBAC_TB0287_H
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci#include <asm/vr41xx/irq.h>
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci/*
158c2ecf20Sopenharmony_ci * General-Purpose I/O Pin Number
168c2ecf20Sopenharmony_ci */
178c2ecf20Sopenharmony_ci#define TB0287_PCI_SLOT_PIN		2
188c2ecf20Sopenharmony_ci#define TB0287_SM501_PIN		3
198c2ecf20Sopenharmony_ci#define TB0287_SIL680A_PIN		8
208c2ecf20Sopenharmony_ci#define TB0287_RTL8110_PIN		13
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci/*
238c2ecf20Sopenharmony_ci * Interrupt Number
248c2ecf20Sopenharmony_ci */
258c2ecf20Sopenharmony_ci#define TB0287_PCI_SLOT_IRQ		GIU_IRQ(TB0287_PCI_SLOT_PIN)
268c2ecf20Sopenharmony_ci#define TB0287_SM501_IRQ		GIU_IRQ(TB0287_SM501_PIN)
278c2ecf20Sopenharmony_ci#define TB0287_SIL680A_IRQ		GIU_IRQ(TB0287_SIL680A_PIN)
288c2ecf20Sopenharmony_ci#define TB0287_RTL8110_IRQ		GIU_IRQ(TB0287_RTL8110_PIN)
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci#endif /* __TANBAC_TB0287_H */
31