summaryrefslogtreecommitdiffstats
path: root/arch/ppc/platforms/powerpmc250.h
blob: 41a6dc8819115d85adc49865510c06c850d98ed7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
 * include/asm-ppc/platforms/powerpmc250.h
 *
 * Definitions for Force PowerPMC-250 board support
 *
 * Author: Troy Benjegerdes <tbenjegerdes@mvista.com>
 *
 * Borrowed heavily from prpmc750.h by Matt Porter <mporter@mvista.com>
 *
 * 2001-2004 (c) MontaVista, Software, Inc.  This file is licensed under
 * the terms of the GNU General Public License version 2.  This program
 * is licensed "as is" without any warranty of any kind, whether express
 * or implied.
 */

#ifndef __ASMPPC_POWERPMC250_H
#define __ASMPPC_POWERPMC250_H

#define POWERPMC250_PCI_CONFIG_ADDR	0x80000cf8
#define POWERPMC250_PCI_CONFIG_DATA	0x80000cfc

#define POWERPMC250_PCI_PHY_MEM_BASE	0xc0000000
#define POWERPMC250_PCI_MEM_BASE		0xf0000000
#define POWERPMC250_PCI_IO_BASE		0x80000000

#define POWERPMC250_ISA_IO_BASE		POWERPMC250_PCI_IO_BASE
#define POWERPMC250_ISA_MEM_BASE		POWERPMC250_PCI_MEM_BASE
#define POWERPMC250_PCI_MEM_OFFSET		POWERPMC250_PCI_PHY_MEM_BASE

#define POWERPMC250_SYS_MEM_BASE		0x80000000

#define POWERPMC250_HAWK_SMC_BASE		0xfef80000

#define POWERPMC250_BASE_BAUD		12288000
#define POWERPMC250_SERIAL		0xff000000
#define POWERPMC250_SERIAL_IRQ		20

/* UART Defines. */
#define RS_TABLE_SIZE  1

#define BASE_BAUD  (POWERPMC250_BASE_BAUD / 16)

#define STD_COM_FLAGS ASYNC_BOOT_AUTOCONF

#define SERIAL_PORT_DFNS \
	{ 0, BASE_BAUD, POWERPMC250_SERIAL, POWERPMC250_SERIAL_IRQ,	\
		STD_COM_FLAGS, 				/* ttyS0 */	\
		iomem_base: (u8 *)POWERPMC250_SERIAL,			\
		iomem_reg_shift: 0,					\
		io_type: SERIAL_IO_MEM }

#endif /* __ASMPPC_POWERPMC250_H */