wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2002 |
Albert ARIBAUD | 60fbc8d | 2011-08-04 18:45:45 +0200 | [diff] [blame] | 3 | * Daniel Engström, Omicron Ceti AB, daniel@omicron.se |
wdenk | 57b2d80 | 2003-06-27 21:31:46 +0000 | [diff] [blame] | 4 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 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 | |
Bin Meng | 08e484c | 2014-12-17 15:50:36 +0800 | [diff] [blame] | 21 | #define UART0_BASE 0x3f8 |
| 22 | #define UART1_BASE 0x2f8 |
| 23 | |
Bin Meng | 6e0150f | 2015-03-31 11:25:03 +0800 | [diff] [blame] | 24 | #define UART0_IRQ 4 |
| 25 | #define UART1_IRQ 3 |
| 26 | |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 27 | #endif |