Commit a819f8ba authored by Kumar Gala's avatar Kumar Gala Committed by Paul Mackerras

[PATCH] ppc32: Add TQM85xx (8540/8541/8555/8560) board support

This patch adds support for the TQ Components TQM85xx modules. Currently the
modules TQM8540/8541/8555/8560 are supported.
Signed-off-by: default avatarStefan Roese <sr@denx.de>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent dad482c2
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -39,7 +39,7 @@ config MPC8560_ADS
config SBC8560
bool "WindRiver PowerQUICC III SBC8560"
help
This option enables support for the WindRiver PowerQUICC III
This option enables support for the WindRiver PowerQUICC III
SBC8560 board.
config STX_GP3
......@@ -48,6 +48,26 @@ config STX_GP3
This option enables support for the Silicon Turnkey Express GP3
board.
config TQM8540
bool "TQ Components TQM8540"
help
This option enablese support for the TQ Components TQM8540 board.
config TQM8541
bool "TQ Components TQM8541"
help
This option enablese support for the TQ Components TQM8541 board.
config TQM8555
bool "TQ Components TQM8555"
help
This option enablese support for the TQ Components TQM8555 board.
config TQM8560
bool "TQ Components TQM8560"
help
This option enablese support for the TQ Components TQM8560 board.
endchoice
# It's often necessary to know the specific 85xx processor type.
......@@ -55,7 +75,7 @@ endchoice
# don't need to ask more redundant questions.
config MPC8540
bool
depends on MPC8540_ADS
depends on MPC8540_ADS || TQM8540
default y
config MPC8548
......@@ -65,12 +85,12 @@ config MPC8548
config MPC8555
bool
depends on MPC8555_CDS
depends on MPC8555_CDS || TQM8541 || TQM8555
default y
config MPC8560
bool
depends on SBC8560 || MPC8560_ADS || STX_GP3
depends on SBC8560 || MPC8560_ADS || STX_GP3 || TQM8560
default y
config 85xx_PCI2
......
......@@ -7,3 +7,7 @@ obj-$(CONFIG_MPC8555_CDS) += mpc85xx_cds_common.o
obj-$(CONFIG_MPC8560_ADS) += mpc85xx_ads_common.o mpc8560_ads.o
obj-$(CONFIG_SBC8560) += sbc85xx.o sbc8560.o
obj-$(CONFIG_STX_GP3) += stx_gp3.o
obj-$(CONFIG_TQM8540) += tqm85xx.o
obj-$(CONFIG_TQM8541) += tqm85xx.o
obj-$(CONFIG_TQM8555) += tqm85xx.o
obj-$(CONFIG_TQM8560) += tqm85xx.o
This diff is collapsed.
/*
* arch/ppc/platforms/85xx/tqm85xx.h
*
* TQM85xx (40/41/55/60) board definitions
*
* Copyright (c) 2005 DENX Software Engineering
* Stefan Roese <sr@denx.de>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
*/
#ifndef __MACH_TQM85XX_H
#define __MACH_TQM85XX_H
#include <linux/config.h>
#include <linux/init.h>
#include <asm/ppcboot.h>
#define BOARD_CCSRBAR ((uint)0xe0000000)
#define CCSRBAR_SIZE ((uint)1024*1024)
#define CPM_MAP_ADDR (CCSRBAR + MPC85xx_CPM_OFFSET)
#define PCI_CFG_ADDR_OFFSET (0x8000)
#define PCI_CFG_DATA_OFFSET (0x8004)
/* PCI interrupt controller */
#define PIRQA MPC85xx_IRQ_EXT2
#define PIRQB MPC85xx_IRQ_EXT3
#define MPC85XX_PCI1_LOWER_IO 0x00000000
#define MPC85XX_PCI1_UPPER_IO 0x00ffffff
#define MPC85XX_PCI1_LOWER_MEM 0x80000000
#define MPC85XX_PCI1_UPPER_MEM 0x9fffffff
#define MPC85XX_PCI1_IO_BASE 0xe2000000
#define MPC85XX_PCI1_MEM_OFFSET 0x00000000
#define MPC85XX_PCI1_IO_SIZE 0x01000000
#define BASE_BAUD 115200
extern void mpc85xx_setup_hose(void) __init;
extern void mpc85xx_restart(char *cmd);
extern void mpc85xx_power_off(void);
extern void mpc85xx_halt(void);
extern void mpc85xx_init_IRQ(void) __init;
extern unsigned long mpc85xx_find_end_of_memory(void) __init;
extern void mpc85xx_calibrate_decr(void) __init;
#endif /* __MACH_TQM85XX_H */
......@@ -37,6 +37,10 @@
#ifdef CONFIG_STX_GP3
#include <platforms/85xx/stx_gp3.h>
#endif
#if defined(CONFIG_TQM8540) || defined(CONFIG_TQM8541) || \
defined(CONFIG_TQM8555) || defined(CONFIG_TQM8560)
#include <platforms/85xx/tqm85xx.h>
#endif
#define _IO_BASE isa_io_base
#define _ISA_MEM_BASE isa_mem_base
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment