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