x86: change 64-bit __change_page_attr() to struct page
[wrt350n-kernel.git] / arch / ppc / platforms / powerpmc250.h
blobd33ad8dc04390f33cc78d5f09dd050134f78dab2
1 /*
2 * arch/ppc/platforms/powerpmc250.h
4 * Definitions for Force PowerPMC-250 board support
6 * Author: Troy Benjegerdes <tbenjegerdes@mvista.com>
8 * Borrowed heavily from prpmc750.h by Matt Porter <mporter@mvista.com>
10 * 2001-2004 (c) MontaVista, Software, Inc. This file is licensed under
11 * the terms of the GNU General Public License version 2. This program
12 * is licensed "as is" without any warranty of any kind, whether express
13 * or implied.
16 #ifndef __ASMPPC_POWERPMC250_H
17 #define __ASMPPC_POWERPMC250_H
19 #define POWERPMC250_PCI_CONFIG_ADDR 0x80000cf8
20 #define POWERPMC250_PCI_CONFIG_DATA 0x80000cfc
22 #define POWERPMC250_PCI_PHY_MEM_BASE 0xc0000000
23 #define POWERPMC250_PCI_MEM_BASE 0xf0000000
24 #define POWERPMC250_PCI_IO_BASE 0x80000000
26 #define POWERPMC250_ISA_IO_BASE POWERPMC250_PCI_IO_BASE
27 #define POWERPMC250_ISA_MEM_BASE POWERPMC250_PCI_MEM_BASE
28 #define POWERPMC250_PCI_MEM_OFFSET POWERPMC250_PCI_PHY_MEM_BASE
30 #define POWERPMC250_SYS_MEM_BASE 0x80000000
32 #define POWERPMC250_HAWK_SMC_BASE 0xfef80000
34 #define POWERPMC250_BASE_BAUD 12288000
35 #define POWERPMC250_SERIAL 0xff000000
36 #define POWERPMC250_SERIAL_IRQ 20
38 /* UART Defines. */
39 #define RS_TABLE_SIZE 1
41 #define BASE_BAUD (POWERPMC250_BASE_BAUD / 16)
43 #define STD_COM_FLAGS ASYNC_BOOT_AUTOCONF
45 #define SERIAL_PORT_DFNS \
46 { 0, BASE_BAUD, POWERPMC250_SERIAL, POWERPMC250_SERIAL_IRQ, \
47 STD_COM_FLAGS, /* ttyS0 */ \
48 iomem_base: (u8 *)POWERPMC250_SERIAL, \
49 iomem_reg_shift: 0, \
50 io_type: SERIAL_IO_MEM }
52 #endif /* __ASMPPC_POWERPMC250_H */