xref: /openbmc/u-boot/arch/mips/mach-bmips/Kconfig (revision cd1cc31f)
1ee422142SÁlvaro Fernández Rojasmenu "Broadcom MIPS platforms"
2ee422142SÁlvaro Fernández Rojas	depends on ARCH_BMIPS
3ee422142SÁlvaro Fernández Rojas
4*cd1cc31fSÁlvaro Fernández Rojasconfig SYS_MALLOC_F_LEN
5*cd1cc31fSÁlvaro Fernández Rojas	default 0x1000
6*cd1cc31fSÁlvaro Fernández Rojas
7ee422142SÁlvaro Fernández Rojasconfig SYS_SOC
823a21683SÁlvaro Fernández Rojas	default "bcm3380" if SOC_BMIPS_BCM3380
96471a225SÁlvaro Fernández Rojas	default "bcm6328" if SOC_BMIPS_BCM6328
1007661e7fSÁlvaro Fernández Rojas	default "bcm6338" if SOC_BMIPS_BCM6338
11bf9012b8SÁlvaro Fernández Rojas	default "bcm6348" if SOC_BMIPS_BCM6348
12e30d2bd4SÁlvaro Fernández Rojas	default "bcm6358" if SOC_BMIPS_BCM6358
136a235bb8SÁlvaro Fernández Rojas	default "bcm63268" if SOC_BMIPS_BCM63268
14e30d2bd4SÁlvaro Fernández Rojas
15e30d2bd4SÁlvaro Fernández Rojaschoice
16e30d2bd4SÁlvaro Fernández Rojas	prompt "Broadcom MIPS SoC select"
17e30d2bd4SÁlvaro Fernández Rojas
1823a21683SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM3380
1923a21683SÁlvaro Fernández Rojas	bool "BMIPS BCM3380 family"
2023a21683SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
2123a21683SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
2223a21683SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
2323a21683SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
2423a21683SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
2523a21683SÁlvaro Fernández Rojas	select SYSRESET_WATCHDOG
2623a21683SÁlvaro Fernández Rojas	help
2723a21683SÁlvaro Fernández Rojas	  This supports BMIPS BCM3380 family.
2823a21683SÁlvaro Fernández Rojas
296471a225SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6328
306471a225SÁlvaro Fernández Rojas	bool "BMIPS BCM6328 family"
316471a225SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
326471a225SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
336471a225SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
346471a225SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
356471a225SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
366471a225SÁlvaro Fernández Rojas	select SYSRESET_SYSCON
376471a225SÁlvaro Fernández Rojas	help
386471a225SÁlvaro Fernández Rojas	  This supports BMIPS BCM6328 family including BCM63281 and BCM63283.
396471a225SÁlvaro Fernández Rojas
4007661e7fSÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6338
4107661e7fSÁlvaro Fernández Rojas	bool "BMIPS BCM6338 family"
4207661e7fSÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
4307661e7fSÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
4407661e7fSÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
4507661e7fSÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
4607661e7fSÁlvaro Fernández Rojas	select SWAP_IO_SPACE
4707661e7fSÁlvaro Fernández Rojas	select SYSRESET_SYSCON
4807661e7fSÁlvaro Fernández Rojas	help
4907661e7fSÁlvaro Fernández Rojas	  This supports BMIPS BCM6338 family.
5007661e7fSÁlvaro Fernández Rojas
51bf9012b8SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6348
52bf9012b8SÁlvaro Fernández Rojas	bool "BMIPS BCM6348 family"
53bf9012b8SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
54bf9012b8SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
55bf9012b8SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
56bf9012b8SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
57bf9012b8SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
58bf9012b8SÁlvaro Fernández Rojas	select SYSRESET_WATCHDOG
59bf9012b8SÁlvaro Fernández Rojas	help
60bf9012b8SÁlvaro Fernández Rojas	  This supports BMIPS BCM6348 family.
61bf9012b8SÁlvaro Fernández Rojas
62e30d2bd4SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6358
63e30d2bd4SÁlvaro Fernández Rojas	bool "BMIPS BCM6358 family"
64e30d2bd4SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
65e30d2bd4SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
66e30d2bd4SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
67e30d2bd4SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
68e30d2bd4SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
69e30d2bd4SÁlvaro Fernández Rojas	select SYSRESET_SYSCON
70e30d2bd4SÁlvaro Fernández Rojas	help
71e30d2bd4SÁlvaro Fernández Rojas	  This supports BMIPS BCM6358 family including BCM6358 and BCM6359.
72e30d2bd4SÁlvaro Fernández Rojas
736a235bb8SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM63268
746a235bb8SÁlvaro Fernández Rojas	bool "BMIPS BCM63268 family"
756a235bb8SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
766a235bb8SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
776a235bb8SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
786a235bb8SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
796a235bb8SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
806a235bb8SÁlvaro Fernández Rojas	select SYSRESET_SYSCON
816a235bb8SÁlvaro Fernández Rojas	help
826a235bb8SÁlvaro Fernández Rojas	  This supports BMIPS BCM63268 family including BCM63168, BCM63169,
836a235bb8SÁlvaro Fernández Rojas	  BCM63268 and BCM63269.
846a235bb8SÁlvaro Fernández Rojas
85e30d2bd4SÁlvaro Fernández Rojasendchoice
86ee422142SÁlvaro Fernández Rojas
87ee422142SÁlvaro Fernández Rojaschoice
884a2b2724SÁlvaro Fernández Rojas	prompt "Board select"
894a2b2724SÁlvaro Fernández Rojas
900642f485SÁlvaro Fernández Rojasconfig BOARD_COMTREND_AR5387UN
910642f485SÁlvaro Fernández Rojas	bool "Comtrend AR-5387un"
920642f485SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6328
930642f485SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
949ac0b639SÁlvaro Fernández Rojas	help
959ac0b639SÁlvaro Fernández Rojas	  Comtrend AR-5387un boards have a BCM6328 SoC with 64 MB of RAM and 16
969ac0b639SÁlvaro Fernández Rojas	  MB of flash (SPI).
979ac0b639SÁlvaro Fernández Rojas	  Between its different peripherals there's an integrated switch with 4
989ac0b639SÁlvaro Fernández Rojas	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
999ac0b639SÁlvaro Fernández Rojas	  a BCM43225 (PCIe).
1000642f485SÁlvaro Fernández Rojas
1015e14ce2fSÁlvaro Fernández Rojasconfig BOARD_COMTREND_CT5361
1025e14ce2fSÁlvaro Fernández Rojas	bool "Comtrend CT-5361"
1035e14ce2fSÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6348
1045e14ce2fSÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1055e14ce2fSÁlvaro Fernández Rojas	help
1065e14ce2fSÁlvaro Fernández Rojas	  Comtrend CT-5361 boards have a BCM6348 SoC with 16 MB of RAM and 4 MB
1075e14ce2fSÁlvaro Fernández Rojas	  of flash (CFI).
1085e14ce2fSÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
1095e14ce2fSÁlvaro Fernández Rojas	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and a
1105e14ce2fSÁlvaro Fernández Rojas	  BCM4312 (miniPCI).
1115e14ce2fSÁlvaro Fernández Rojas
11277ca99d1SÁlvaro Fernández Rojasconfig BOARD_COMTREND_VR3032U
11377ca99d1SÁlvaro Fernández Rojas	bool "Comtrend VR-3032u board"
11477ca99d1SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM63268
11577ca99d1SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1169ac0b639SÁlvaro Fernández Rojas	help
1179ac0b639SÁlvaro Fernández Rojas	  Comtrend VR-3032u boards have a BCM63268 SoC with 64 MB of RAM and
1189ac0b639SÁlvaro Fernández Rojas	  128 MB of flash (NAND).
1199ac0b639SÁlvaro Fernández Rojas	  Between its different peripherals there's an integrated switch with 4
1209ac0b639SÁlvaro Fernández Rojas	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
1219ac0b639SÁlvaro Fernández Rojas	  and a BCM6362 (integrated).
12277ca99d1SÁlvaro Fernández Rojas
1234a2b2724SÁlvaro Fernández Rojasconfig BOARD_HUAWEI_HG556A
1244a2b2724SÁlvaro Fernández Rojas	bool "Huawei EchoLife HG556a"
1254a2b2724SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6358
1264a2b2724SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1279ac0b639SÁlvaro Fernández Rojas	help
1289ac0b639SÁlvaro Fernández Rojas	  Huawei EchoLife HG556a boards have a BCM6358 SoC with 64 MB of RAM
1299ac0b639SÁlvaro Fernández Rojas	  and 16 MB of flash (CFI).
1309ac0b639SÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
1319ac0b639SÁlvaro Fernández Rojas	  ethernet ports, 3 USB ports, 1 UART, GPIO buttons and LEDs, and
1329ac0b639SÁlvaro Fernández Rojas	  a RT3062F/AR9223 (PCI).
1334a2b2724SÁlvaro Fernández Rojas
134c4203e1dSÁlvaro Fernández Rojasconfig BOARD_NETGEAR_CG3100D
135c4203e1dSÁlvaro Fernández Rojas	bool "Netgear CG3100D"
136c4203e1dSÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM3380
137c4203e1dSÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
138c4203e1dSÁlvaro Fernández Rojas	help
139c4203e1dSÁlvaro Fernández Rojas	  Netgear CG3100D boards have a BCM3380 SoC with 64 MB of RAM and 8 MB
140c4203e1dSÁlvaro Fernández Rojas	  of flash (SPI).
141c4203e1dSÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM53115 switch with 4
142c4203e1dSÁlvaro Fernández Rojas	  ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM43225
143c4203e1dSÁlvaro Fernández Rojas	  (miniPCIe).
144c4203e1dSÁlvaro Fernández Rojas
1458df37888SÁlvaro Fernández Rojasconfig BOARD_SAGEM_FAST1704
1468df37888SÁlvaro Fernández Rojas	bool "Sagem F@ST1704"
1478df37888SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6338
1488df37888SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1498df37888SÁlvaro Fernández Rojas	help
1508df37888SÁlvaro Fernández Rojas	  Sagem F@ST1704 boards have a BCM6338 SoC with 16 MB of RAM and 4 MB
1518df37888SÁlvaro Fernández Rojas	  of flash (SPI).
1528df37888SÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
1538df37888SÁlvaro Fernández Rojas	  ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM4312
1548df37888SÁlvaro Fernández Rojas	  (miniPCI).
1558df37888SÁlvaro Fernández Rojas
15663c011f7SÁlvaro Fernández Rojasconfig BOARD_SFR_NB4_SER
15763c011f7SÁlvaro Fernández Rojas	bool "SFR NeufBox 4 (Sercomm)"
15863c011f7SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6358
15963c011f7SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1609ac0b639SÁlvaro Fernández Rojas	help
1619ac0b639SÁlvaro Fernández Rojas	  SFR NeufBox 4 (Sercomm) boards have a BCM6358 SoC with 32 MB of RAM
1629ac0b639SÁlvaro Fernández Rojas	  and 8 MB of flash (CFI).
1639ac0b639SÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
1649ac0b639SÁlvaro Fernández Rojas	  ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and
1659ac0b639SÁlvaro Fernández Rojas	  a BCM4318 (PCI).
16663c011f7SÁlvaro Fernández Rojas
1674a2b2724SÁlvaro Fernández Rojasendchoice
1684a2b2724SÁlvaro Fernández Rojas
1694a2b2724SÁlvaro Fernández Rojaschoice
170ee422142SÁlvaro Fernández Rojas	prompt "Boot mode"
171ee422142SÁlvaro Fernández Rojas
172ee422142SÁlvaro Fernández Rojasconfig BMIPS_BOOT_RAM
173ee422142SÁlvaro Fernández Rojas	bool "RAM boot"
174ee422142SÁlvaro Fernández Rojas	depends on BMIPS_SUPPORTS_BOOT_RAM
175ee422142SÁlvaro Fernández Rojas	help
176ee422142SÁlvaro Fernández Rojas	  This builds an image that is linked to a RAM address. It can be used
177ee422142SÁlvaro Fernández Rojas	  for booting from CFE via TFTP using an ELF image, but it can also be
178ee422142SÁlvaro Fernández Rojas	  booted from RAM by other bootloaders using a BIN image.
179ee422142SÁlvaro Fernández Rojas
180ee422142SÁlvaro Fernández Rojasendchoice
181ee422142SÁlvaro Fernández Rojas
182ee422142SÁlvaro Fernández Rojasconfig BMIPS_SUPPORTS_BOOT_RAM
183ee422142SÁlvaro Fernández Rojas	bool
184ee422142SÁlvaro Fernández Rojas
1850642f485SÁlvaro Fernández Rojassource "board/comtrend/ar5387un/Kconfig"
1865e14ce2fSÁlvaro Fernández Rojassource "board/comtrend/ct5361/Kconfig"
18777ca99d1SÁlvaro Fernández Rojassource "board/comtrend/vr3032u/Kconfig"
1884a2b2724SÁlvaro Fernández Rojassource "board/huawei/hg556a/Kconfig"
189c4203e1dSÁlvaro Fernández Rojassource "board/netgear/cg3100d/Kconfig"
1908df37888SÁlvaro Fernández Rojassource "board/sagem/f@st1704/Kconfig"
19163c011f7SÁlvaro Fernández Rojassource "board/sfr/nb4_ser/Kconfig"
1924a2b2724SÁlvaro Fernández Rojas
193ee422142SÁlvaro Fernández Rojasendmenu
194