xref: /openbmc/u-boot/arch/x86/include/asm/ibmpc.h (revision fa82f871)
1fea25720SGraeme Russ /*
2fea25720SGraeme Russ  * (C) Copyright 2002
3*fa82f871SAlbert ARIBAUD  * Daniel Engström, Omicron Ceti AB, daniel@omicron.se
4fea25720SGraeme Russ  *
5fea25720SGraeme Russ  * See file CREDITS for list of people who contributed to this
6fea25720SGraeme Russ  * project.
7fea25720SGraeme Russ  *
8fea25720SGraeme Russ  * This program is free software; you can redistribute it and/or
9fea25720SGraeme Russ  * modify it under the terms of the GNU General Public License as
10fea25720SGraeme Russ  * published by the Free Software Foundation; either version 2 of
11fea25720SGraeme Russ  * the License, or (at your option) any later version.
12fea25720SGraeme Russ  *
13fea25720SGraeme Russ  * This program is distributed in the hope that it will be useful,
14fea25720SGraeme Russ  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15fea25720SGraeme Russ  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16fea25720SGraeme Russ  * GNU General Public License for more details.
17fea25720SGraeme Russ  *
18fea25720SGraeme Russ  * You should have received a copy of the GNU General Public License
19fea25720SGraeme Russ  * along with this program; if not, write to the Free Software
20fea25720SGraeme Russ  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21fea25720SGraeme Russ  * MA 02111-1307 USA
22fea25720SGraeme Russ  */
23fea25720SGraeme Russ 
24fea25720SGraeme Russ #ifndef __ASM_IBMPC_H_
25fea25720SGraeme Russ #define __ASM_IBMPC_H_ 1
26fea25720SGraeme Russ 
27fea25720SGraeme Russ /* misc ports in an ibm compatible pc */
28fea25720SGraeme Russ 
29fea25720SGraeme Russ #define MASTER_PIC      0x20
30fea25720SGraeme Russ #define PIT_BASE	0x40
31fea25720SGraeme Russ #define KBDDATA         0x60
32fea25720SGraeme Russ #define SYSCTLB         0x62
33fea25720SGraeme Russ #define KBDCMD          0x64
34fea25720SGraeme Russ #define SYSCTLA         0x92
35fea25720SGraeme Russ #define SLAVE_PIC       0xa0
36fea25720SGraeme Russ 
37fea25720SGraeme Russ #if 1
38fea25720SGraeme Russ #define UART0_BASE     0x3f8
39fea25720SGraeme Russ #define UART1_BASE     0x2f8
40fea25720SGraeme Russ #else
41fea25720SGraeme Russ /* FixMe: uarts swapped */
42fea25720SGraeme Russ #define UART0_BASE     0x2f8
43fea25720SGraeme Russ #define UART1_BASE     0x3f8
44fea25720SGraeme Russ #endif
45fea25720SGraeme Russ 
46fea25720SGraeme Russ 
47fea25720SGraeme Russ #endif
48