xref: /openbmc/u-boot/arch/mips/mach-bmips/Kconfig (revision 8f240a3b)
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
93483f28eSÁlvaro Fernández Rojas	default "bcm6318" if SOC_BMIPS_BCM6318
106471a225SÁlvaro Fernández Rojas	default "bcm6328" if SOC_BMIPS_BCM6328
1107661e7fSÁlvaro Fernández Rojas	default "bcm6338" if SOC_BMIPS_BCM6338
12bf9012b8SÁlvaro Fernández Rojas	default "bcm6348" if SOC_BMIPS_BCM6348
13e30d2bd4SÁlvaro Fernández Rojas	default "bcm6358" if SOC_BMIPS_BCM6358
1443b7ab99SÁlvaro Fernández Rojas	default "bcm6368" if SOC_BMIPS_BCM6368
15*8f240a3bSÁlvaro Fernández Rojas	default "bcm6362" if SOC_BMIPS_BCM6362
166a235bb8SÁlvaro Fernández Rojas	default "bcm63268" if SOC_BMIPS_BCM63268
17e30d2bd4SÁlvaro Fernández Rojas
18e30d2bd4SÁlvaro Fernández Rojaschoice
19e30d2bd4SÁlvaro Fernández Rojas	prompt "Broadcom MIPS SoC select"
20e30d2bd4SÁlvaro Fernández Rojas
2123a21683SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM3380
2223a21683SÁlvaro Fernández Rojas	bool "BMIPS BCM3380 family"
2323a21683SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
2423a21683SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
2523a21683SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
2623a21683SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
2723a21683SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
2823a21683SÁlvaro Fernández Rojas	select SYSRESET_WATCHDOG
2923a21683SÁlvaro Fernández Rojas	help
3023a21683SÁlvaro Fernández Rojas	  This supports BMIPS BCM3380 family.
3123a21683SÁlvaro Fernández Rojas
323483f28eSÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6318
333483f28eSÁlvaro Fernández Rojas	bool "BMIPS BCM6318 family"
343483f28eSÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
353483f28eSÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
363483f28eSÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
373483f28eSÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
383483f28eSÁlvaro Fernández Rojas	select SWAP_IO_SPACE
393483f28eSÁlvaro Fernández Rojas	select SYSRESET_SYSCON
403483f28eSÁlvaro Fernández Rojas	help
413483f28eSÁlvaro Fernández Rojas	  This supports BMIPS BCM6318 family.
423483f28eSÁlvaro Fernández Rojas
436471a225SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6328
446471a225SÁlvaro Fernández Rojas	bool "BMIPS BCM6328 family"
456471a225SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
466471a225SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
476471a225SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
486471a225SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
496471a225SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
506471a225SÁlvaro Fernández Rojas	select SYSRESET_SYSCON
516471a225SÁlvaro Fernández Rojas	help
526471a225SÁlvaro Fernández Rojas	  This supports BMIPS BCM6328 family including BCM63281 and BCM63283.
536471a225SÁlvaro Fernández Rojas
5407661e7fSÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6338
5507661e7fSÁlvaro Fernández Rojas	bool "BMIPS BCM6338 family"
5607661e7fSÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
5707661e7fSÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
5807661e7fSÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
5907661e7fSÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
6007661e7fSÁlvaro Fernández Rojas	select SWAP_IO_SPACE
6107661e7fSÁlvaro Fernández Rojas	select SYSRESET_SYSCON
6207661e7fSÁlvaro Fernández Rojas	help
6307661e7fSÁlvaro Fernández Rojas	  This supports BMIPS BCM6338 family.
6407661e7fSÁlvaro Fernández Rojas
65bf9012b8SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6348
66bf9012b8SÁlvaro Fernández Rojas	bool "BMIPS BCM6348 family"
67bf9012b8SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
68bf9012b8SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
69bf9012b8SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
70bf9012b8SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
71bf9012b8SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
72bf9012b8SÁlvaro Fernández Rojas	select SYSRESET_WATCHDOG
73bf9012b8SÁlvaro Fernández Rojas	help
74bf9012b8SÁlvaro Fernández Rojas	  This supports BMIPS BCM6348 family.
75bf9012b8SÁlvaro Fernández Rojas
76e30d2bd4SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6358
77e30d2bd4SÁlvaro Fernández Rojas	bool "BMIPS BCM6358 family"
78e30d2bd4SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
79e30d2bd4SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
80e30d2bd4SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
81e30d2bd4SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
82e30d2bd4SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
83e30d2bd4SÁlvaro Fernández Rojas	select SYSRESET_SYSCON
84e30d2bd4SÁlvaro Fernández Rojas	help
85e30d2bd4SÁlvaro Fernández Rojas	  This supports BMIPS BCM6358 family including BCM6358 and BCM6359.
86e30d2bd4SÁlvaro Fernández Rojas
8743b7ab99SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6368
8843b7ab99SÁlvaro Fernández Rojas	bool "BMIPS BCM6368 family"
8943b7ab99SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
9043b7ab99SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
9143b7ab99SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
9243b7ab99SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
9343b7ab99SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
9443b7ab99SÁlvaro Fernández Rojas	select SYSRESET_SYSCON
9543b7ab99SÁlvaro Fernández Rojas	help
9643b7ab99SÁlvaro Fernández Rojas	  This supports BMIPS BCM6368 family including BCM6368 and BCM6369.
9743b7ab99SÁlvaro Fernández Rojas
98*8f240a3bSÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6362
99*8f240a3bSÁlvaro Fernández Rojas	bool "BMIPS BCM6362 family"
100*8f240a3bSÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
101*8f240a3bSÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
102*8f240a3bSÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
103*8f240a3bSÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
104*8f240a3bSÁlvaro Fernández Rojas	select SWAP_IO_SPACE
105*8f240a3bSÁlvaro Fernández Rojas	select SYSRESET_SYSCON
106*8f240a3bSÁlvaro Fernández Rojas	help
107*8f240a3bSÁlvaro Fernández Rojas	  This supports BMIPS BCM6362 family including BCM6361 and BCM6362.
108*8f240a3bSÁlvaro Fernández Rojas
1096a235bb8SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM63268
1106a235bb8SÁlvaro Fernández Rojas	bool "BMIPS BCM63268 family"
1116a235bb8SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
1126a235bb8SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
1136a235bb8SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
1146a235bb8SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
1156a235bb8SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
1166a235bb8SÁlvaro Fernández Rojas	select SYSRESET_SYSCON
1176a235bb8SÁlvaro Fernández Rojas	help
1186a235bb8SÁlvaro Fernández Rojas	  This supports BMIPS BCM63268 family including BCM63168, BCM63169,
1196a235bb8SÁlvaro Fernández Rojas	  BCM63268 and BCM63269.
1206a235bb8SÁlvaro Fernández Rojas
121e30d2bd4SÁlvaro Fernández Rojasendchoice
122ee422142SÁlvaro Fernández Rojas
123ee422142SÁlvaro Fernández Rojaschoice
1244a2b2724SÁlvaro Fernández Rojas	prompt "Board select"
1254a2b2724SÁlvaro Fernández Rojas
126664ec31dSÁlvaro Fernández Rojasconfig BOARD_COMTREND_AR5315U
127664ec31dSÁlvaro Fernández Rojas	bool "Comtrend AR-5315u"
128664ec31dSÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6318
129664ec31dSÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
130664ec31dSÁlvaro Fernández Rojas	help
131664ec31dSÁlvaro Fernández Rojas	  Comtrend AR-5315u boards have a BCM6318 SoC with 64 MB of RAM and 16
132664ec31dSÁlvaro Fernández Rojas	  MB of flash (SPI).
133664ec31dSÁlvaro Fernández Rojas	  Between its different peripherals there's an integrated switch with 4
134664ec31dSÁlvaro Fernández Rojas	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
135664ec31dSÁlvaro Fernández Rojas	  a BCM43217 (PCIe).
136664ec31dSÁlvaro Fernández Rojas
1370642f485SÁlvaro Fernández Rojasconfig BOARD_COMTREND_AR5387UN
1380642f485SÁlvaro Fernández Rojas	bool "Comtrend AR-5387un"
1390642f485SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6328
1400642f485SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1419ac0b639SÁlvaro Fernández Rojas	help
1429ac0b639SÁlvaro Fernández Rojas	  Comtrend AR-5387un boards have a BCM6328 SoC with 64 MB of RAM and 16
1439ac0b639SÁlvaro Fernández Rojas	  MB of flash (SPI).
1449ac0b639SÁlvaro Fernández Rojas	  Between its different peripherals there's an integrated switch with 4
1459ac0b639SÁlvaro Fernández Rojas	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
1469ac0b639SÁlvaro Fernández Rojas	  a BCM43225 (PCIe).
1470642f485SÁlvaro Fernández Rojas
1485e14ce2fSÁlvaro Fernández Rojasconfig BOARD_COMTREND_CT5361
1495e14ce2fSÁlvaro Fernández Rojas	bool "Comtrend CT-5361"
1505e14ce2fSÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6348
1515e14ce2fSÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1525e14ce2fSÁlvaro Fernández Rojas	help
1535e14ce2fSÁlvaro Fernández Rojas	  Comtrend CT-5361 boards have a BCM6348 SoC with 16 MB of RAM and 4 MB
1545e14ce2fSÁlvaro Fernández Rojas	  of flash (CFI).
1555e14ce2fSÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
1565e14ce2fSÁlvaro Fernández Rojas	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and a
1575e14ce2fSÁlvaro Fernández Rojas	  BCM4312 (miniPCI).
1585e14ce2fSÁlvaro Fernández Rojas
15977ca99d1SÁlvaro Fernández Rojasconfig BOARD_COMTREND_VR3032U
16077ca99d1SÁlvaro Fernández Rojas	bool "Comtrend VR-3032u board"
16177ca99d1SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM63268
16277ca99d1SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1639ac0b639SÁlvaro Fernández Rojas	help
1649ac0b639SÁlvaro Fernández Rojas	  Comtrend VR-3032u boards have a BCM63268 SoC with 64 MB of RAM and
1659ac0b639SÁlvaro Fernández Rojas	  128 MB of flash (NAND).
1669ac0b639SÁlvaro Fernández Rojas	  Between its different peripherals there's an integrated switch with 4
1679ac0b639SÁlvaro Fernández Rojas	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
1689ac0b639SÁlvaro Fernández Rojas	  and a BCM6362 (integrated).
16977ca99d1SÁlvaro Fernández Rojas
170c320b923SÁlvaro Fernández Rojasconfig BOARD_COMTREND_WAP5813N
171c320b923SÁlvaro Fernández Rojas	bool "Comtrend WAP-5813n board"
172c320b923SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6368
173c320b923SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
174c320b923SÁlvaro Fernández Rojas	help
175c320b923SÁlvaro Fernández Rojas	  Comtrend WAP-5813n boards have a BCM6369 SoC with 64 MB of RAM and
176c320b923SÁlvaro Fernández Rojas	  8 MB of flash (CFI).
177c320b923SÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM53115 switch with 5
178c320b923SÁlvaro Fernández Rojas	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
179c320b923SÁlvaro Fernández Rojas	  and a BCM4322 (miniPCI).
180c320b923SÁlvaro Fernández Rojas
1814a2b2724SÁlvaro Fernández Rojasconfig BOARD_HUAWEI_HG556A
1824a2b2724SÁlvaro Fernández Rojas	bool "Huawei EchoLife HG556a"
1834a2b2724SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6358
1844a2b2724SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1859ac0b639SÁlvaro Fernández Rojas	help
1869ac0b639SÁlvaro Fernández Rojas	  Huawei EchoLife HG556a boards have a BCM6358 SoC with 64 MB of RAM
1879ac0b639SÁlvaro Fernández Rojas	  and 16 MB of flash (CFI).
1889ac0b639SÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
1899ac0b639SÁlvaro Fernández Rojas	  ethernet ports, 3 USB ports, 1 UART, GPIO buttons and LEDs, and
1909ac0b639SÁlvaro Fernández Rojas	  a RT3062F/AR9223 (PCI).
1914a2b2724SÁlvaro Fernández Rojas
192c4203e1dSÁlvaro Fernández Rojasconfig BOARD_NETGEAR_CG3100D
193c4203e1dSÁlvaro Fernández Rojas	bool "Netgear CG3100D"
194c4203e1dSÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM3380
195c4203e1dSÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
196c4203e1dSÁlvaro Fernández Rojas	help
197c4203e1dSÁlvaro Fernández Rojas	  Netgear CG3100D boards have a BCM3380 SoC with 64 MB of RAM and 8 MB
198c4203e1dSÁlvaro Fernández Rojas	  of flash (SPI).
199c4203e1dSÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM53115 switch with 4
200c4203e1dSÁlvaro Fernández Rojas	  ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM43225
201c4203e1dSÁlvaro Fernández Rojas	  (miniPCIe).
202c4203e1dSÁlvaro Fernández Rojas
2038df37888SÁlvaro Fernández Rojasconfig BOARD_SAGEM_FAST1704
2048df37888SÁlvaro Fernández Rojas	bool "Sagem F@ST1704"
2058df37888SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6338
2068df37888SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
2078df37888SÁlvaro Fernández Rojas	help
2088df37888SÁlvaro Fernández Rojas	  Sagem F@ST1704 boards have a BCM6338 SoC with 16 MB of RAM and 4 MB
2098df37888SÁlvaro Fernández Rojas	  of flash (SPI).
2108df37888SÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
2118df37888SÁlvaro Fernández Rojas	  ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM4312
2128df37888SÁlvaro Fernández Rojas	  (miniPCI).
2138df37888SÁlvaro Fernández Rojas
21463c011f7SÁlvaro Fernández Rojasconfig BOARD_SFR_NB4_SER
21563c011f7SÁlvaro Fernández Rojas	bool "SFR NeufBox 4 (Sercomm)"
21663c011f7SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6358
21763c011f7SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
2189ac0b639SÁlvaro Fernández Rojas	help
2199ac0b639SÁlvaro Fernández Rojas	  SFR NeufBox 4 (Sercomm) boards have a BCM6358 SoC with 32 MB of RAM
2209ac0b639SÁlvaro Fernández Rojas	  and 8 MB of flash (CFI).
2219ac0b639SÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
2229ac0b639SÁlvaro Fernández Rojas	  ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and
2239ac0b639SÁlvaro Fernández Rojas	  a BCM4318 (PCI).
22463c011f7SÁlvaro Fernández Rojas
2254a2b2724SÁlvaro Fernández Rojasendchoice
2264a2b2724SÁlvaro Fernández Rojas
2274a2b2724SÁlvaro Fernández Rojaschoice
228ee422142SÁlvaro Fernández Rojas	prompt "Boot mode"
229ee422142SÁlvaro Fernández Rojas
230ee422142SÁlvaro Fernández Rojasconfig BMIPS_BOOT_RAM
231ee422142SÁlvaro Fernández Rojas	bool "RAM boot"
232ee422142SÁlvaro Fernández Rojas	depends on BMIPS_SUPPORTS_BOOT_RAM
233ee422142SÁlvaro Fernández Rojas	help
234ee422142SÁlvaro Fernández Rojas	  This builds an image that is linked to a RAM address. It can be used
235ee422142SÁlvaro Fernández Rojas	  for booting from CFE via TFTP using an ELF image, but it can also be
236ee422142SÁlvaro Fernández Rojas	  booted from RAM by other bootloaders using a BIN image.
237ee422142SÁlvaro Fernández Rojas
238ee422142SÁlvaro Fernández Rojasendchoice
239ee422142SÁlvaro Fernández Rojas
240ee422142SÁlvaro Fernández Rojasconfig BMIPS_SUPPORTS_BOOT_RAM
241ee422142SÁlvaro Fernández Rojas	bool
242ee422142SÁlvaro Fernández Rojas
243664ec31dSÁlvaro Fernández Rojassource "board/comtrend/ar5315u/Kconfig"
2440642f485SÁlvaro Fernández Rojassource "board/comtrend/ar5387un/Kconfig"
2455e14ce2fSÁlvaro Fernández Rojassource "board/comtrend/ct5361/Kconfig"
24677ca99d1SÁlvaro Fernández Rojassource "board/comtrend/vr3032u/Kconfig"
247c320b923SÁlvaro Fernández Rojassource "board/comtrend/wap5813n/Kconfig"
2484a2b2724SÁlvaro Fernández Rojassource "board/huawei/hg556a/Kconfig"
249c4203e1dSÁlvaro Fernández Rojassource "board/netgear/cg3100d/Kconfig"
2508df37888SÁlvaro Fernández Rojassource "board/sagem/f@st1704/Kconfig"
25163c011f7SÁlvaro Fernández Rojassource "board/sfr/nb4_ser/Kconfig"
2524a2b2724SÁlvaro Fernández Rojas
253ee422142SÁlvaro Fernández Rojasendmenu
254