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/init.h>
19 #include <asm/ppcboot.h>
21 extern unsigned long mpc85xx_find_end_of_memory(void) __init
;
22 extern void mpc85xx_calibrate_decr(void) __init
;
23 extern void mpc85xx_early_serial_map(void) __init
;
24 extern void mpc85xx_restart(char *cmd
);
25 extern void mpc85xx_power_off(void);
26 extern void mpc85xx_halt(void);
27 extern void mpc85xx_setup_hose(void) __init
;
30 #define PCI1_CFG_ADDR_OFFSET (0x8000)
31 #define PCI1_CFG_DATA_OFFSET (0x8004)
33 #define PCI2_CFG_ADDR_OFFSET (0x9000)
34 #define PCI2_CFG_DATA_OFFSET (0x9004)
36 /* Additional register for PCI-X configuration */
37 #define PCIX_NEXT_CAP 0x60
38 #define PCIX_CAP_ID 0x61
39 #define PCIX_COMMAND 0x62
40 #define PCIX_STATUS 0x64
43 #ifdef CONFIG_SERIAL_MANY_PORTS
44 #define RS_TABLE_SIZE 64
46 #define RS_TABLE_SIZE 2
50 #define BASE_BAUD 115200
53 /* Offset of CPM register space */
54 #define CPM_MAP_ADDR (CCSRBAR + MPC85xx_CPM_OFFSET)
56 #endif /* __PPC_SYSLIB_PPC85XX_SETUP_H */