blob: 4368b6e3e0ddac2b8b315b8fe6a597f028173d8d [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
wdenk2262cfe2002-11-18 00:14:45 +00002/*
3 * (C) Copyright 2002
Albert ARIBAUDfa82f872011-08-04 18:45:45 +02004 * Daniel Engström, Omicron Ceti AB, daniel@omicron.se
wdenk2262cfe2002-11-18 00:14:45 +00005 */
6
7#ifndef __ASM_IBMPC_H_
8#define __ASM_IBMPC_H_ 1
9
10/* misc ports in an ibm compatible pc */
11
12#define MASTER_PIC 0x20
13#define PIT_BASE 0x40
14#define KBDDATA 0x60
15#define SYSCTLB 0x62
16#define KBDCMD 0x64
17#define SYSCTLA 0x92
18#define SLAVE_PIC 0xa0
19
Bin Mengb2e02d22014-12-17 15:50:36 +080020#define UART0_BASE 0x3f8
21#define UART1_BASE 0x2f8
22
Bin Meng19268832015-03-31 11:25:03 +080023#define UART0_IRQ 4
24#define UART1_IRQ 3
25
Bin Mengc78dfb42015-08-21 00:18:51 -070026#define KBD_IRQ 1
27#define MSE_IRQ 12
28
wdenk2262cfe2002-11-18 00:14:45 +000029#endif