blob: 4368b6e3e0ddac2b8b315b8fe6a597f028173d8d [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
wdenk591dda52002-11-18 00:14:45 +00002/*
3 * (C) Copyright 2002
Albert ARIBAUD60fbc8d2011-08-04 18:45:45 +02004 * Daniel Engström, Omicron Ceti AB, daniel@omicron.se
wdenk591dda52002-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 Meng08e484c2014-12-17 15:50:36 +080020#define UART0_BASE 0x3f8
21#define UART1_BASE 0x2f8
22
Bin Meng6e0150f2015-03-31 11:25:03 +080023#define UART0_IRQ 4
24#define UART1_IRQ 3
25
Bin Mengdf92cee2015-08-21 00:18:51 -070026#define KBD_IRQ 1
27#define MSE_IRQ 12
28
wdenk591dda52002-11-18 00:14:45 +000029#endif