Skip to content

Commit

Permalink
MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs.
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
mbizonfreebox authored and ralfbaechle committed Sep 17, 2009
1 parent 0de663e commit e7300d0
Show file tree
Hide file tree
Showing 40 changed files with 5,896 additions and 0 deletions.
16 changes: 16 additions & 0 deletions arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,21 @@ config BCM47XX
help
Support for BCM47XX based boards

config BCM63XX
bool "Broadcom BCM63XX based boards"
select CEVT_R4K
select CSRC_R4K
select DMA_NONCOHERENT
select IRQ_CPU
select SYS_HAS_CPU_MIPS32_R1
select SYS_SUPPORTS_32BIT_KERNEL
select SYS_SUPPORTS_BIG_ENDIAN
select SYS_HAS_EARLY_PRINTK
select SWAP_IO_SPACE
select ARCH_REQUIRE_GPIOLIB
help
Support for BCM63XX based boards

config MIPS_COBALT
bool "Cobalt Server"
select CEVT_R4K
Expand Down Expand Up @@ -645,6 +660,7 @@ endchoice

source "arch/mips/alchemy/Kconfig"
source "arch/mips/basler/excite/Kconfig"
source "arch/mips/bcm63xx/Kconfig"
source "arch/mips/jazz/Kconfig"
source "arch/mips/lasat/Kconfig"
source "arch/mips/pmc-sierra/Kconfig"
Expand Down
7 changes: 7 additions & 0 deletions arch/mips/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,13 @@ core-$(CONFIG_BCM47XX) += arch/mips/bcm47xx/
cflags-$(CONFIG_BCM47XX) += -I$(srctree)/arch/mips/include/asm/mach-bcm47xx
load-$(CONFIG_BCM47XX) := 0xffffffff80001000

#
# Broadcom BCM63XX boards
#
core-$(CONFIG_BCM63XX) += arch/mips/bcm63xx/
cflags-$(CONFIG_BCM63XX) += -I$(srctree)/arch/mips/include/asm/mach-bcm63xx/
load-$(CONFIG_BCM63XX) := 0xffffffff80010000

#
# SNI RM
#
Expand Down
25 changes: 25 additions & 0 deletions arch/mips/bcm63xx/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
menu "CPU support"
depends on BCM63XX

config BCM63XX_CPU_6338
bool "support 6338 CPU"
select HW_HAS_PCI
select USB_ARCH_HAS_OHCI
select USB_OHCI_BIG_ENDIAN_DESC
select USB_OHCI_BIG_ENDIAN_MMIO

config BCM63XX_CPU_6345
bool "support 6345 CPU"
select USB_OHCI_BIG_ENDIAN_DESC
select USB_OHCI_BIG_ENDIAN_MMIO

config BCM63XX_CPU_6348
bool "support 6348 CPU"
select HW_HAS_PCI

config BCM63XX_CPU_6358
bool "support 6358 CPU"
select HW_HAS_PCI
endmenu

source "arch/mips/bcm63xx/boards/Kconfig"
7 changes: 7 additions & 0 deletions arch/mips/bcm63xx/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
obj-y += clk.o cpu.o cs.o gpio.o irq.o prom.o setup.o timer.o \
dev-dsp.o
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o

obj-y += boards/

EXTRA_CFLAGS += -Werror
11 changes: 11 additions & 0 deletions arch/mips/bcm63xx/boards/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
choice
prompt "Board support"
depends on BCM63XX
default BOARD_BCM963XX

config BOARD_BCM963XX
bool "Generic Broadcom 963xx boards"
select SSB
help

endchoice
3 changes: 3 additions & 0 deletions arch/mips/bcm63xx/boards/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
obj-$(CONFIG_BOARD_BCM963XX) += board_bcm963xx.o

EXTRA_CFLAGS += -Werror
Loading

0 comments on commit e7300d0

Please sign in to comment.