blob: 1e9058c0c1d3ad8aa4e85a609e8b43948cb4c1e3 [file] [log] [blame]
wdenk591dda52002-11-18 00:14:45 +00001/*
2 * (C) Copyright 2002
Albert ARIBAUD60fbc8d2011-08-04 18:45:45 +02003 * Daniel Engström, Omicron Ceti AB, daniel@omicron.se
wdenk57b2d802003-06-27 21:31:46 +00004 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
wdenk591dda52002-11-18 00:14:45 +00006 */
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
Bin Meng08e484c2014-12-17 15:50:36 +080021#define UART0_BASE 0x3f8
22#define UART1_BASE 0x2f8
23
Bin Meng6e0150f2015-03-31 11:25:03 +080024#define UART0_IRQ 4
25#define UART1_IRQ 3
26
Bin Mengdf92cee2015-08-21 00:18:51 -070027#define KBD_IRQ 1
28#define MSE_IRQ 12
29
wdenk591dda52002-11-18 00:14:45 +000030#endif