diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /arch/ppc/platforms/85xx/sbc85xx.h |
Linux-2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'arch/ppc/platforms/85xx/sbc85xx.h')
-rw-r--r-- | arch/ppc/platforms/85xx/sbc85xx.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/arch/ppc/platforms/85xx/sbc85xx.h b/arch/ppc/platforms/85xx/sbc85xx.h new file mode 100644 index 00000000000..7af93c691a6 --- /dev/null +++ b/arch/ppc/platforms/85xx/sbc85xx.h | |||
@@ -0,0 +1,55 @@ | |||
1 | /* | ||
2 | * arch/ppc/platforms/85xx/sbc85xx.h | ||
3 | * | ||
4 | * WindRiver PowerQUICC III SBC85xx common board definitions | ||
5 | * | ||
6 | * Copyright 2003 Motorola Inc. | ||
7 | * Copyright 2004 Red Hat, Inc. | ||
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify it | ||
10 | * under the terms of the GNU General Public License as published by the | ||
11 | * Free Software Foundation; either version 2 of the License, or (at your | ||
12 | * option) any later version. | ||
13 | * | ||
14 | */ | ||
15 | |||
16 | #ifndef __PLATFORMS_85XX_SBC85XX_H__ | ||
17 | #define __PLATFORMS_85XX_SBC85XX_H__ | ||
18 | |||
19 | #include <linux/config.h> | ||
20 | #include <linux/init.h> | ||
21 | #include <linux/seq_file.h> | ||
22 | #include <asm/ppcboot.h> | ||
23 | |||
24 | #define BOARD_CCSRBAR ((uint)0xff700000) | ||
25 | #define CCSRBAR_SIZE ((uint)1024*1024) | ||
26 | |||
27 | #define BCSR_ADDR ((uint)0xfc000000) | ||
28 | #define BCSR_SIZE ((uint)(16 * 1024 * 1024)) | ||
29 | |||
30 | #define UARTA_ADDR (BCSR_ADDR + 0x00700000) | ||
31 | #define UARTB_ADDR (BCSR_ADDR + 0x00800000) | ||
32 | #define RTC_DEVICE_ADDR (BCSR_ADDR + 0x00900000) | ||
33 | #define EEPROM_ADDR (BCSR_ADDR + 0x00b00000) | ||
34 | |||
35 | extern int sbc8560_show_cpuinfo(struct seq_file *m); | ||
36 | extern void sbc8560_init_IRQ(void) __init; | ||
37 | |||
38 | /* PCI interrupt controller */ | ||
39 | #define PIRQA MPC85xx_IRQ_EXT1 | ||
40 | #define PIRQB MPC85xx_IRQ_EXT2 | ||
41 | #define PIRQC MPC85xx_IRQ_EXT3 | ||
42 | #define PIRQD MPC85xx_IRQ_EXT4 | ||
43 | |||
44 | #define MPC85XX_PCI1_LOWER_IO 0x00000000 | ||
45 | #define MPC85XX_PCI1_UPPER_IO 0x00ffffff | ||
46 | |||
47 | #define MPC85XX_PCI1_LOWER_MEM 0x80000000 | ||
48 | #define MPC85XX_PCI1_UPPER_MEM 0x9fffffff | ||
49 | |||
50 | #define MPC85XX_PCI1_IO_BASE 0xe2000000 | ||
51 | #define MPC85XX_PCI1_MEM_OFFSET 0x00000000 | ||
52 | |||
53 | #define MPC85XX_PCI1_IO_SIZE 0x01000000 | ||
54 | |||
55 | #endif /* __PLATFORMS_85XX_SBC85XX_H__ */ | ||