[ARM] 3635/1: S3C24XX: Add S3C2412 core cpu support
[linux-2.6/openmoko-kernel/knife-kernel.git] / arch / ppc / syslib / ppc85xx_setup.h
blobf55b8032d3d946c117f9f8d3a9684a350e903fc1
1 /*
2 * MPC85XX common board definitions
4 * Maintainer: Kumar Gala <galak@kernel.crashing.org>
6 * Copyright 2004 Freescale Semiconductor Inc.
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
15 #ifndef __PPC_SYSLIB_PPC85XX_SETUP_H
16 #define __PPC_SYSLIB_PPC85XX_SETUP_H
18 #include <linux/config.h>
19 #include <linux/init.h>
20 #include <asm/ppcboot.h>
22 extern unsigned long mpc85xx_find_end_of_memory(void) __init;
23 extern void mpc85xx_calibrate_decr(void) __init;
24 extern void mpc85xx_early_serial_map(void) __init;
25 extern void mpc85xx_restart(char *cmd);
26 extern void mpc85xx_power_off(void);
27 extern void mpc85xx_halt(void);
28 extern void mpc85xx_setup_hose(void) __init;
30 /* PCI config */
31 #define PCI1_CFG_ADDR_OFFSET (0x8000)
32 #define PCI1_CFG_DATA_OFFSET (0x8004)
34 #define PCI2_CFG_ADDR_OFFSET (0x9000)
35 #define PCI2_CFG_DATA_OFFSET (0x9004)
37 /* Additional register for PCI-X configuration */
38 #define PCIX_NEXT_CAP 0x60
39 #define PCIX_CAP_ID 0x61
40 #define PCIX_COMMAND 0x62
41 #define PCIX_STATUS 0x64
43 /* Serial Config */
44 #ifdef CONFIG_SERIAL_MANY_PORTS
45 #define RS_TABLE_SIZE 64
46 #else
47 #define RS_TABLE_SIZE 2
48 #endif
50 #ifndef BASE_BAUD
51 #define BASE_BAUD 115200
52 #endif
54 /* Offset of CPM register space */
55 #define CPM_MAP_ADDR (CCSRBAR + MPC85xx_CPM_OFFSET)
57 #endif /* __PPC_SYSLIB_PPC85XX_SETUP_H */