PATCH 2.6.11-rc5] ppc32: add Radstone PPC7D platform support
ppc32: add Radstone PPC7D platform support
Radstone PPC7D are ppc7447A VME boards with Marvell Discovery-II, dual GigE, dual PMC, 6 serial ports, keyboard/mouse, USB and optional SCSI/VGA. This patch adds support for the PPC7D platform.
Signed-off-by James Chapman <[email protected]>
Signed-off-by Mark A. Greer <[email protected]>
--
arch/ppc/boot/simple/misc-radstone_ppc7d.c new file +19 -0
@@ -0,0 +1,19 @@ +/* +* arch/ppc/boot/simple/misc-radstone_ppc7d.c +* +* Misc data for Radstone PPC7D board. +* +* Author: James Chapman <[email protected]> +*/ + +#include <linux/types.h> +#include <asm/reg.h> + +#include "../../platforms/radstone_ppc7d.h" + +#if defined(CONFIG_SERIAL_MPSC_CONSOLE ) +long mv64x60_mpsc_clk_freq =PPC7D_MPSC_CLK_FREQ ;; +long mv64x60_mpsc_clk_src =PPC7D_MPSC_CLK_SRC ; +long mv64x60_mpsc_console_baud =PPC7D_DEFAULT_BAUD ; +#endif +
arch/ppc/platforms/Makefile +1 -0
@@ -39,6 +39,7 @@ obj-$(CONFIG_PPLUS) += pplus.o obj-$(CONFIG_PRPMC750) += prpmc750.o obj-$(CONFIG_PRPMC800) += prpmc800.o +obj-$(CONFIG_RADSTONE_PPC7D) += radstone_ppc7d.o obj-$(CONFIG_SANDPOINT) += sandpoint.o obj-$(CONFIG_SBC82xx) += sbc82xx.o obj-$(CONFIG_SPRUCE) += spruce.o
arch/ppc/platforms/radstone_ppc7d.c new file +1408 -0
1,408 lines not on this page · raw message
arch/ppc/boot/simple/Makefile +4 -0
@@ -97,6 +97,10 @@ end-$(CONFIG_KATANA) := katana cacheflag-$(CONFIG_KATANA) := -include $(clear_L2_L3) + extra.o-$(CONFIG_RADSTONE_PPC7D) := misc-radstone_ppc7d.o mv64x60_stub.o + end-$(CONFIG_RADSTONE_PPC7D) := radstone_ppc7d + cacheflag-$(CONFIG_RADSTONE_PPC7D) := -include $(clear_L2_L3) + # kconfig 'feature', only one of these will ever be 'y' at a time. # The rest will be unset. motorola := $(CONFIG_MCPN765)$(CONFIG_MVME5100)$(CONFIG_PRPMC750) \
arch/ppc/Kconfig +6 -2
@@ -568,6 +568,10 @@ Select SANDPOINT if configuring for a Motorola Sandpoint X3 (any flavor). +config RADSTONE_PPC7D + bool "Radstone Technology PPC7D board" + select MV64360 + config ADIR bool "SBS-Adirondack"
@@ -715,7 +719,7 @@ bool depends on SANDPOINT || MCPN765 || SPRUCE || PPLUS || PCORE || \ PRPMC750 || K2 || PRPMC800 || LOPEC || \ - (EV64260 && !SERIAL_MPSC) || CHESTNUT + (EV64260 && !SERIAL_MPSC) || CHESTNUT || RADSTONE_PPC7D default y config FORCE
@@ -730,7 +734,7 @@ config MV64360 bool - depends on KATANA + depends on KATANA || RADSTONE_PPC7D default y config MV64360
arch/ppc/syslib/Makefile +1 -0
@@ -74,6 +74,7 @@ hawk_common.o obj-$(CONFIG_HARRIER) += harrier.o obj-$(CONFIG_PRPMC800) += open_pic.o indirect_pci.o pci_auto.o +obj-$(CONFIG_RADSTONE_PPC7D) += i8259.o pci_auto.o obj-$(CONFIG_SANDPOINT) += i8259.o pci_auto.o todc_time.o obj-$(CONFIG_SBC82xx) += todc_time.o obj-$(CONFIG_SPRUCE) += cpc700_pic.o indirect_pci.o pci_auto.o \
arch/ppc/platforms/radstone_ppc7d.h new file +434 -0
434 lines not on this page · raw message
arch/ppc/configs/radstone_ppc7d_defconfig new file +870 -0
870 lines not on this page · raw message
include/asm-ppc/serial.h +2 -0
@@ -34,6 +34,8 @@#include <asm/ibm4xx.h> #elif defined(CONFIG_85xx)#include <asm/mpc85xx.h> +#elif defined(CONFIG_RADSTONE_PPC7D ) +#include <platforms/radstone_ppc7d.h> #else /*
Sorry for the spam. I horked Andrew's email addr.
Mark