Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2002 |
Albert ARIBAUD | 60fbc8d | 2011-08-04 18:45:45 +0200 | [diff] [blame] | 4 | * Daniel Engström, Omicron Ceti AB, daniel@omicron.se |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 5 | */ |
| 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 Meng | 08e484c | 2014-12-17 15:50:36 +0800 | [diff] [blame] | 20 | #define UART0_BASE 0x3f8 |
| 21 | #define UART1_BASE 0x2f8 |
| 22 | |
Bin Meng | 6e0150f | 2015-03-31 11:25:03 +0800 | [diff] [blame] | 23 | #define UART0_IRQ 4 |
| 24 | #define UART1_IRQ 3 |
| 25 | |
Bin Meng | df92cee | 2015-08-21 00:18:51 -0700 | [diff] [blame] | 26 | #define KBD_IRQ 1 |
| 27 | #define MSE_IRQ 12 |
| 28 | |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 29 | #endif |