xref: /openbmc/u-boot/arch/x86/include/asm/ibmpc.h (revision 2290fe06)
1 /*
2  * (C) Copyright 2002
3  * Daniel Engström, Omicron Ceti AB, daniel@omicron.se
4  *
5  * SPDX-License-Identifier:	GPL-2.0+
6  */
7 
8 #ifndef __ASM_IBMPC_H_
9 #define __ASM_IBMPC_H_ 1
10 
11 /* misc ports in an ibm compatible pc */
12 
13 #define MASTER_PIC      0x20
14 #define PIT_BASE	0x40
15 #define KBDDATA         0x60
16 #define SYSCTLB         0x62
17 #define KBDCMD          0x64
18 #define SYSCTLA         0x92
19 #define SLAVE_PIC       0xa0
20 
21 #define UART0_BASE	0x3f8
22 #define UART1_BASE	0x2f8
23 
24 #define UART0_IRQ	4
25 #define UART1_IRQ	3
26 
27 #define KBD_IRQ		1
28 #define MSE_IRQ		12
29 
30 #endif
31