mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 15:36:43 +07:00
1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
62 lines
1.8 KiB
C
62 lines
1.8 KiB
C
/*
|
|
* include/asm-mips/vr41xx/cmbvr4133.h
|
|
*
|
|
* Include file for NEC CMB-VR4133.
|
|
*
|
|
* Author: Yoichi Yuasa <yyuasa@mvista.com, or source@mvista.com> and
|
|
* Jun Sun <jsun@mvista.com, or source@mvista.com> and
|
|
* Alex Sapkov <asapkov@ru.mvista.com>
|
|
*
|
|
* 2002-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 __NEC_CMBVR4133_H
|
|
#define __NEC_CMBVR4133_H
|
|
|
|
#include <asm/addrspace.h>
|
|
#include <asm/vr41xx/vr41xx.h>
|
|
|
|
/*
|
|
* General-Purpose I/O Pin Number
|
|
*/
|
|
#define CMBVR41XX_INTA_PIN 1
|
|
#define CMBVR41XX_INTB_PIN 1
|
|
#define CMBVR41XX_INTC_PIN 3
|
|
#define CMBVR41XX_INTD_PIN 1
|
|
#define CMBVR41XX_INTE_PIN 1
|
|
|
|
/*
|
|
* Interrupt Number
|
|
*/
|
|
#define CMBVR41XX_INTA_IRQ GIU_IRQ(CMBVR41XX_INTA_PIN)
|
|
#define CMBVR41XX_INTB_IRQ GIU_IRQ(CMBVR41XX_INTB_PIN)
|
|
#define CMBVR41XX_INTC_IRQ GIU_IRQ(CMBVR41XX_INTC_PIN)
|
|
#define CMBVR41XX_INTD_IRQ GIU_IRQ(CMBVR41XX_INTD_PIN)
|
|
#define CMBVR41XX_INTE_IRQ GIU_IRQ(CMBVR41XX_INTE_PIN)
|
|
|
|
#define I8259_IRQ_BASE 72
|
|
#define I8259_IRQ(x) (I8259_IRQ_BASE + (x))
|
|
#define TIMER_IRQ I8259_IRQ(0)
|
|
#define KEYBOARD_IRQ I8259_IRQ(1)
|
|
#define I8259_SLAVE_IRQ I8259_IRQ(2)
|
|
#define UART3_IRQ I8259_IRQ(3)
|
|
#define UART1_IRQ I8259_IRQ(4)
|
|
#define UART2_IRQ I8259_IRQ(5)
|
|
#define FDC_IRQ I8259_IRQ(6)
|
|
#define PARPORT_IRQ I8259_IRQ(7)
|
|
#define RTC_IRQ I8259_IRQ(8)
|
|
#define USB_IRQ I8259_IRQ(9)
|
|
#define I8259_INTA_IRQ I8259_IRQ(10)
|
|
#define AUDIO_IRQ I8259_IRQ(11)
|
|
#define AUX_IRQ I8259_IRQ(12)
|
|
#define IDE_PRIMARY_IRQ I8259_IRQ(14)
|
|
#define IDE_SECONDARY_IRQ I8259_IRQ(15)
|
|
#define I8259_IRQ_LAST IDE_SECONDARY_IRQ
|
|
|
|
#define RTC_PORT(x) (0xaf000100 + (x))
|
|
#define RTC_IO_EXTENT 0x140
|
|
|
|
#endif /* __NEC_CMBVR4133_H */
|