Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | * WindRiver PowerQUICC III SBC85xx common board definitions |
| 3 | * |
| 4 | * Copyright 2003 Motorola Inc. |
| 5 | * Copyright 2004 Red Hat, Inc. |
| 6 | * |
| 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. |
| 11 | * |
| 12 | */ |
| 13 | |
| 14 | #ifndef __PLATFORMS_85XX_SBC85XX_H__ |
| 15 | #define __PLATFORMS_85XX_SBC85XX_H__ |
| 16 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | #include <linux/init.h> |
| 18 | #include <linux/seq_file.h> |
| 19 | #include <asm/ppcboot.h> |
| 20 | |
| 21 | #define BOARD_CCSRBAR ((uint)0xff700000) |
| 22 | #define CCSRBAR_SIZE ((uint)1024*1024) |
| 23 | |
| 24 | #define BCSR_ADDR ((uint)0xfc000000) |
| 25 | #define BCSR_SIZE ((uint)(16 * 1024 * 1024)) |
| 26 | |
| 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) |
| 31 | |
| 32 | extern int sbc8560_show_cpuinfo(struct seq_file *m); |
| 33 | extern void sbc8560_init_IRQ(void) __init; |
| 34 | |
| 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 |
| 40 | |
| 41 | #define MPC85XX_PCI1_LOWER_IO 0x00000000 |
| 42 | #define MPC85XX_PCI1_UPPER_IO 0x00ffffff |
| 43 | |
| 44 | #define MPC85XX_PCI1_LOWER_MEM 0x80000000 |
| 45 | #define MPC85XX_PCI1_UPPER_MEM 0x9fffffff |
| 46 | |
| 47 | #define MPC85XX_PCI1_IO_BASE 0xe2000000 |
| 48 | #define MPC85XX_PCI1_MEM_OFFSET 0x00000000 |
| 49 | |
| 50 | #define MPC85XX_PCI1_IO_SIZE 0x01000000 |
| 51 | |
Amy Fong | 8b9b5a7 | 2006-09-18 23:07:24 -0400 | [diff] [blame] | 52 | /* FCC1 Clock Source Configuration. These can be |
| 53 | * redefined in the board specific file. |
| 54 | * Can only choose from CLK9-12 */ |
| 55 | #define F1_RXCLK 12 |
| 56 | #define F1_TXCLK 11 |
| 57 | |
| 58 | /* FCC2 Clock Source Configuration. These can be |
| 59 | * redefined in the board specific file. |
| 60 | * Can only choose from CLK13-16 */ |
| 61 | #define F2_RXCLK 13 |
| 62 | #define F2_TXCLK 14 |
| 63 | |
| 64 | /* FCC3 Clock Source Configuration. These can be |
| 65 | * redefined in the board specific file. |
| 66 | * Can only choose from CLK13-16 */ |
| 67 | #define F3_RXCLK 15 |
| 68 | #define F3_TXCLK 16 |
| 69 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 70 | #endif /* __PLATFORMS_85XX_SBC85XX_H__ */ |