xref: /openbmc/u-boot/arch/mips/mach-bmips/Kconfig (revision c320b923)
1ee422142SÁlvaro Fernández Rojasmenu "Broadcom MIPS platforms"
2ee422142SÁlvaro Fernández Rojas	depends on ARCH_BMIPS
3ee422142SÁlvaro Fernández Rojas
4cd1cc31fSÁlvaro Fernández Rojasconfig SYS_MALLOC_F_LEN
5cd1cc31fSÁlvaro Fernández Rojas	default 0x1000
6cd1cc31fSÁ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
1343b7ab99SÁlvaro Fernández Rojas	default "bcm6368" if SOC_BMIPS_BCM6368
146a235bb8SÁlvaro Fernández Rojas	default "bcm63268" if SOC_BMIPS_BCM63268
15e30d2bd4SÁlvaro Fernández Rojas
16e30d2bd4SÁlvaro Fernández Rojaschoice
17e30d2bd4SÁlvaro Fernández Rojas	prompt "Broadcom MIPS SoC select"
18e30d2bd4SÁlvaro Fernández Rojas
1923a21683SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM3380
2023a21683SÁlvaro Fernández Rojas	bool "BMIPS BCM3380 family"
2123a21683SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
2223a21683SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
2323a21683SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
2423a21683SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
2523a21683SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
2623a21683SÁlvaro Fernández Rojas	select SYSRESET_WATCHDOG
2723a21683SÁlvaro Fernández Rojas	help
2823a21683SÁlvaro Fernández Rojas	  This supports BMIPS BCM3380 family.
2923a21683SÁlvaro Fernández Rojas
306471a225SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6328
316471a225SÁlvaro Fernández Rojas	bool "BMIPS BCM6328 family"
326471a225SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
336471a225SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
346471a225SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
356471a225SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
366471a225SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
376471a225SÁlvaro Fernández Rojas	select SYSRESET_SYSCON
386471a225SÁlvaro Fernández Rojas	help
396471a225SÁlvaro Fernández Rojas	  This supports BMIPS BCM6328 family including BCM63281 and BCM63283.
406471a225SÁlvaro Fernández Rojas
4107661e7fSÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6338
4207661e7fSÁlvaro Fernández Rojas	bool "BMIPS BCM6338 family"
4307661e7fSÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
4407661e7fSÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
4507661e7fSÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
4607661e7fSÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
4707661e7fSÁlvaro Fernández Rojas	select SWAP_IO_SPACE
4807661e7fSÁlvaro Fernández Rojas	select SYSRESET_SYSCON
4907661e7fSÁlvaro Fernández Rojas	help
5007661e7fSÁlvaro Fernández Rojas	  This supports BMIPS BCM6338 family.
5107661e7fSÁlvaro Fernández Rojas
52bf9012b8SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6348
53bf9012b8SÁlvaro Fernández Rojas	bool "BMIPS BCM6348 family"
54bf9012b8SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
55bf9012b8SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
56bf9012b8SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
57bf9012b8SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
58bf9012b8SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
59bf9012b8SÁlvaro Fernández Rojas	select SYSRESET_WATCHDOG
60bf9012b8SÁlvaro Fernández Rojas	help
61bf9012b8SÁlvaro Fernández Rojas	  This supports BMIPS BCM6348 family.
62bf9012b8SÁlvaro Fernández Rojas
63e30d2bd4SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6358
64e30d2bd4SÁlvaro Fernández Rojas	bool "BMIPS BCM6358 family"
65e30d2bd4SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
66e30d2bd4SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
67e30d2bd4SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
68e30d2bd4SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
69e30d2bd4SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
70e30d2bd4SÁlvaro Fernández Rojas	select SYSRESET_SYSCON
71e30d2bd4SÁlvaro Fernández Rojas	help
72e30d2bd4SÁlvaro Fernández Rojas	  This supports BMIPS BCM6358 family including BCM6358 and BCM6359.
73e30d2bd4SÁlvaro Fernández Rojas
7443b7ab99SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6368
7543b7ab99SÁlvaro Fernández Rojas	bool "BMIPS BCM6368 family"
7643b7ab99SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
7743b7ab99SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
7843b7ab99SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
7943b7ab99SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
8043b7ab99SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
8143b7ab99SÁlvaro Fernández Rojas	select SYSRESET_SYSCON
8243b7ab99SÁlvaro Fernández Rojas	help
8343b7ab99SÁlvaro Fernández Rojas	  This supports BMIPS BCM6368 family including BCM6368 and BCM6369.
8443b7ab99SÁlvaro Fernández Rojas
856a235bb8SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM63268
866a235bb8SÁlvaro Fernández Rojas	bool "BMIPS BCM63268 family"
876a235bb8SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
886a235bb8SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
896a235bb8SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
906a235bb8SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
916a235bb8SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
926a235bb8SÁlvaro Fernández Rojas	select SYSRESET_SYSCON
936a235bb8SÁlvaro Fernández Rojas	help
946a235bb8SÁlvaro Fernández Rojas	  This supports BMIPS BCM63268 family including BCM63168, BCM63169,
956a235bb8SÁlvaro Fernández Rojas	  BCM63268 and BCM63269.
966a235bb8SÁlvaro Fernández Rojas
97e30d2bd4SÁlvaro Fernández Rojasendchoice
98ee422142SÁlvaro Fernández Rojas
99ee422142SÁlvaro Fernández Rojaschoice
1004a2b2724SÁlvaro Fernández Rojas	prompt "Board select"
1014a2b2724SÁlvaro Fernández Rojas
1020642f485SÁlvaro Fernández Rojasconfig BOARD_COMTREND_AR5387UN
1030642f485SÁlvaro Fernández Rojas	bool "Comtrend AR-5387un"
1040642f485SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6328
1050642f485SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1069ac0b639SÁlvaro Fernández Rojas	help
1079ac0b639SÁlvaro Fernández Rojas	  Comtrend AR-5387un boards have a BCM6328 SoC with 64 MB of RAM and 16
1089ac0b639SÁlvaro Fernández Rojas	  MB of flash (SPI).
1099ac0b639SÁlvaro Fernández Rojas	  Between its different peripherals there's an integrated switch with 4
1109ac0b639SÁlvaro Fernández Rojas	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
1119ac0b639SÁlvaro Fernández Rojas	  a BCM43225 (PCIe).
1120642f485SÁlvaro Fernández Rojas
1135e14ce2fSÁlvaro Fernández Rojasconfig BOARD_COMTREND_CT5361
1145e14ce2fSÁlvaro Fernández Rojas	bool "Comtrend CT-5361"
1155e14ce2fSÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6348
1165e14ce2fSÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1175e14ce2fSÁlvaro Fernández Rojas	help
1185e14ce2fSÁlvaro Fernández Rojas	  Comtrend CT-5361 boards have a BCM6348 SoC with 16 MB of RAM and 4 MB
1195e14ce2fSÁlvaro Fernández Rojas	  of flash (CFI).
1205e14ce2fSÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
1215e14ce2fSÁlvaro Fernández Rojas	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and a
1225e14ce2fSÁlvaro Fernández Rojas	  BCM4312 (miniPCI).
1235e14ce2fSÁlvaro Fernández Rojas
12477ca99d1SÁlvaro Fernández Rojasconfig BOARD_COMTREND_VR3032U
12577ca99d1SÁlvaro Fernández Rojas	bool "Comtrend VR-3032u board"
12677ca99d1SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM63268
12777ca99d1SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1289ac0b639SÁlvaro Fernández Rojas	help
1299ac0b639SÁlvaro Fernández Rojas	  Comtrend VR-3032u boards have a BCM63268 SoC with 64 MB of RAM and
1309ac0b639SÁlvaro Fernández Rojas	  128 MB of flash (NAND).
1319ac0b639SÁlvaro Fernández Rojas	  Between its different peripherals there's an integrated switch with 4
1329ac0b639SÁlvaro Fernández Rojas	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
1339ac0b639SÁlvaro Fernández Rojas	  and a BCM6362 (integrated).
13477ca99d1SÁlvaro Fernández Rojas
135*c320b923SÁlvaro Fernández Rojasconfig BOARD_COMTREND_WAP5813N
136*c320b923SÁlvaro Fernández Rojas	bool "Comtrend WAP-5813n board"
137*c320b923SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6368
138*c320b923SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
139*c320b923SÁlvaro Fernández Rojas	help
140*c320b923SÁlvaro Fernández Rojas	  Comtrend WAP-5813n boards have a BCM6369 SoC with 64 MB of RAM and
141*c320b923SÁlvaro Fernández Rojas	  8 MB of flash (CFI).
142*c320b923SÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM53115 switch with 5
143*c320b923SÁlvaro Fernández Rojas	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
144*c320b923SÁlvaro Fernández Rojas	  and a BCM4322 (miniPCI).
145*c320b923SÁlvaro Fernández Rojas
1464a2b2724SÁlvaro Fernández Rojasconfig BOARD_HUAWEI_HG556A
1474a2b2724SÁlvaro Fernández Rojas	bool "Huawei EchoLife HG556a"
1484a2b2724SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6358
1494a2b2724SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1509ac0b639SÁlvaro Fernández Rojas	help
1519ac0b639SÁlvaro Fernández Rojas	  Huawei EchoLife HG556a boards have a BCM6358 SoC with 64 MB of RAM
1529ac0b639SÁlvaro Fernández Rojas	  and 16 MB of flash (CFI).
1539ac0b639SÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
1549ac0b639SÁlvaro Fernández Rojas	  ethernet ports, 3 USB ports, 1 UART, GPIO buttons and LEDs, and
1559ac0b639SÁlvaro Fernández Rojas	  a RT3062F/AR9223 (PCI).
1564a2b2724SÁlvaro Fernández Rojas
157c4203e1dSÁlvaro Fernández Rojasconfig BOARD_NETGEAR_CG3100D
158c4203e1dSÁlvaro Fernández Rojas	bool "Netgear CG3100D"
159c4203e1dSÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM3380
160c4203e1dSÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
161c4203e1dSÁlvaro Fernández Rojas	help
162c4203e1dSÁlvaro Fernández Rojas	  Netgear CG3100D boards have a BCM3380 SoC with 64 MB of RAM and 8 MB
163c4203e1dSÁlvaro Fernández Rojas	  of flash (SPI).
164c4203e1dSÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM53115 switch with 4
165c4203e1dSÁlvaro Fernández Rojas	  ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM43225
166c4203e1dSÁlvaro Fernández Rojas	  (miniPCIe).
167c4203e1dSÁlvaro Fernández Rojas
1688df37888SÁlvaro Fernández Rojasconfig BOARD_SAGEM_FAST1704
1698df37888SÁlvaro Fernández Rojas	bool "Sagem F@ST1704"
1708df37888SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6338
1718df37888SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1728df37888SÁlvaro Fernández Rojas	help
1738df37888SÁlvaro Fernández Rojas	  Sagem F@ST1704 boards have a BCM6338 SoC with 16 MB of RAM and 4 MB
1748df37888SÁlvaro Fernández Rojas	  of flash (SPI).
1758df37888SÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
1768df37888SÁlvaro Fernández Rojas	  ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM4312
1778df37888SÁlvaro Fernández Rojas	  (miniPCI).
1788df37888SÁlvaro Fernández Rojas
17963c011f7SÁlvaro Fernández Rojasconfig BOARD_SFR_NB4_SER
18063c011f7SÁlvaro Fernández Rojas	bool "SFR NeufBox 4 (Sercomm)"
18163c011f7SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6358
18263c011f7SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1839ac0b639SÁlvaro Fernández Rojas	help
1849ac0b639SÁlvaro Fernández Rojas	  SFR NeufBox 4 (Sercomm) boards have a BCM6358 SoC with 32 MB of RAM
1859ac0b639SÁlvaro Fernández Rojas	  and 8 MB of flash (CFI).
1869ac0b639SÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
1879ac0b639SÁlvaro Fernández Rojas	  ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and
1889ac0b639SÁlvaro Fernández Rojas	  a BCM4318 (PCI).
18963c011f7SÁlvaro Fernández Rojas
1904a2b2724SÁlvaro Fernández Rojasendchoice
1914a2b2724SÁlvaro Fernández Rojas
1924a2b2724SÁlvaro Fernández Rojaschoice
193ee422142SÁlvaro Fernández Rojas	prompt "Boot mode"
194ee422142SÁlvaro Fernández Rojas
195ee422142SÁlvaro Fernández Rojasconfig BMIPS_BOOT_RAM
196ee422142SÁlvaro Fernández Rojas	bool "RAM boot"
197ee422142SÁlvaro Fernández Rojas	depends on BMIPS_SUPPORTS_BOOT_RAM
198ee422142SÁlvaro Fernández Rojas	help
199ee422142SÁlvaro Fernández Rojas	  This builds an image that is linked to a RAM address. It can be used
200ee422142SÁlvaro Fernández Rojas	  for booting from CFE via TFTP using an ELF image, but it can also be
201ee422142SÁlvaro Fernández Rojas	  booted from RAM by other bootloaders using a BIN image.
202ee422142SÁlvaro Fernández Rojas
203ee422142SÁlvaro Fernández Rojasendchoice
204ee422142SÁlvaro Fernández Rojas
205ee422142SÁlvaro Fernández Rojasconfig BMIPS_SUPPORTS_BOOT_RAM
206ee422142SÁlvaro Fernández Rojas	bool
207ee422142SÁlvaro Fernández Rojas
2080642f485SÁlvaro Fernández Rojassource "board/comtrend/ar5387un/Kconfig"
2095e14ce2fSÁlvaro Fernández Rojassource "board/comtrend/ct5361/Kconfig"
21077ca99d1SÁlvaro Fernández Rojassource "board/comtrend/vr3032u/Kconfig"
211*c320b923SÁlvaro Fernández Rojassource "board/comtrend/wap5813n/Kconfig"
2124a2b2724SÁlvaro Fernández Rojassource "board/huawei/hg556a/Kconfig"
213c4203e1dSÁlvaro Fernández Rojassource "board/netgear/cg3100d/Kconfig"
2148df37888SÁlvaro Fernández Rojassource "board/sagem/f@st1704/Kconfig"
21563c011f7SÁlvaro Fernández Rojassource "board/sfr/nb4_ser/Kconfig"
2164a2b2724SÁlvaro Fernández Rojas
217ee422142SÁlvaro Fernández Rojasendmenu
218