2 * WindRiver PowerQUICC III SBC85xx common board definitions
4 * Copyright 2003 Motorola Inc.
5 * Copyright 2004 Red Hat, Inc.
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version.
14 #ifndef __PLATFORMS_85XX_SBC85XX_H__
15 #define __PLATFORMS_85XX_SBC85XX_H__
17 #include <linux/init.h>
18 #include <linux/seq_file.h>
19 #include <asm/ppcboot.h>
21 #define BOARD_CCSRBAR ((uint)0xff700000)
22 #define CCSRBAR_SIZE ((uint)1024*1024)
24 #define BCSR_ADDR ((uint)0xfc000000)
25 #define BCSR_SIZE ((uint)(16 * 1024 * 1024))
27 #define UARTA_ADDR (BCSR_ADDR + 0x00700000)
28 #define UARTB_ADDR (BCSR_ADDR + 0x00800000)
29 #define RTC_DEVICE_ADDR (BCSR_ADDR + 0x00900000)
30 #define EEPROM_ADDR (BCSR_ADDR + 0x00b00000)
32 extern int sbc8560_show_cpuinfo(struct seq_file
*m
);
33 extern void sbc8560_init_IRQ(void) __init
;
35 /* PCI interrupt controller */
36 #define PIRQA MPC85xx_IRQ_EXT1
37 #define PIRQB MPC85xx_IRQ_EXT2
38 #define PIRQC MPC85xx_IRQ_EXT3
39 #define PIRQD MPC85xx_IRQ_EXT4
41 #define MPC85XX_PCI1_LOWER_IO 0x00000000
42 #define MPC85XX_PCI1_UPPER_IO 0x00ffffff
44 #define MPC85XX_PCI1_LOWER_MEM 0x80000000
45 #define MPC85XX_PCI1_UPPER_MEM 0x9fffffff
47 #define MPC85XX_PCI1_IO_BASE 0xe2000000
48 #define MPC85XX_PCI1_MEM_OFFSET 0x00000000
50 #define MPC85XX_PCI1_IO_SIZE 0x01000000
52 /* FCC1 Clock Source Configuration. These can be
53 * redefined in the board specific file.
54 * Can only choose from CLK9-12 */
58 /* FCC2 Clock Source Configuration. These can be
59 * redefined in the board specific file.
60 * Can only choose from CLK13-16 */
64 /* FCC3 Clock Source Configuration. These can be
65 * redefined in the board specific file.
66 * Can only choose from CLK13-16 */
70 #endif /* __PLATFORMS_85XX_SBC85XX_H__ */