xref: /openbmc/u-boot/arch/mips/mach-bmips/Kconfig (revision 58008cba)
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
158f240a3bSÁ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"
23*58008cbaSMichal Simek	select MIPS_L1_CACHE_SHIFT_4
24*58008cbaSMichal Simek	select MIPS_TUNE_4KC
2523a21683SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
2623a21683SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
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"
34*58008cbaSMichal Simek	select MIPS_L1_CACHE_SHIFT_4
35*58008cbaSMichal Simek	select MIPS_TUNE_4KC
363483f28eSÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
373483f28eSÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
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"
45*58008cbaSMichal Simek	select MIPS_L1_CACHE_SHIFT_4
46*58008cbaSMichal Simek	select MIPS_TUNE_4KC
476471a225SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
486471a225SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
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"
56*58008cbaSMichal Simek	select MIPS_L1_CACHE_SHIFT_4
57*58008cbaSMichal Simek	select MIPS_TUNE_4KC
5807661e7fSÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
5907661e7fSÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
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"
67*58008cbaSMichal Simek	select MIPS_L1_CACHE_SHIFT_4
68*58008cbaSMichal Simek	select MIPS_TUNE_4KC
69bf9012b8SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
70bf9012b8SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
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"
78*58008cbaSMichal Simek	select MIPS_L1_CACHE_SHIFT_4
79*58008cbaSMichal Simek	select MIPS_TUNE_4KC
80e30d2bd4SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
81e30d2bd4SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
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"
89*58008cbaSMichal Simek	select MIPS_L1_CACHE_SHIFT_4
90*58008cbaSMichal Simek	select MIPS_TUNE_4KC
9143b7ab99SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
9243b7ab99SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
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
988f240a3bSÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6362
998f240a3bSÁlvaro Fernández Rojas	bool "BMIPS BCM6362 family"
100*58008cbaSMichal Simek	select MIPS_L1_CACHE_SHIFT_4
101*58008cbaSMichal Simek	select MIPS_TUNE_4KC
1028f240a3bSÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
1038f240a3bSÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
1048f240a3bSÁlvaro Fernández Rojas	select SWAP_IO_SPACE
1058f240a3bSÁlvaro Fernández Rojas	select SYSRESET_SYSCON
1068f240a3bSÁlvaro Fernández Rojas	help
1078f240a3bSÁlvaro Fernández Rojas	  This supports BMIPS BCM6362 family including BCM6361 and BCM6362.
1088f240a3bSÁlvaro Fernández Rojas
1096a235bb8SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM63268
1106a235bb8SÁlvaro Fernández Rojas	bool "BMIPS BCM63268 family"
111*58008cbaSMichal Simek	select MIPS_L1_CACHE_SHIFT_4
112*58008cbaSMichal Simek	select MIPS_TUNE_4KC
1136a235bb8SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
1146a235bb8SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
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
2039d466f2fSÁlvaro Fernández Rojasconfig BOARD_NETGEAR_DGND3700V2
2049d466f2fSÁlvaro Fernández Rojas	bool "Netgear DGND3700v2"
2059d466f2fSÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6362
2069d466f2fSÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
2079d466f2fSÁlvaro Fernández Rojas	help
2089d466f2fSÁlvaro Fernández Rojas	  Netgear DGND3700v2 boards have a BCM6362 SoC with 64 MB of RAM and
2099d466f2fSÁlvaro Fernández Rojas	  32 MB of flash (NAND).
2109d466f2fSÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM53125 switch with 5
2119d466f2fSÁlvaro Fernández Rojas	  ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and a
2129d466f2fSÁlvaro Fernández Rojas	  BCM43228 (miniPCIe).
2139d466f2fSÁlvaro Fernández Rojas
2148df37888SÁlvaro Fernández Rojasconfig BOARD_SAGEM_FAST1704
2158df37888SÁlvaro Fernández Rojas	bool "Sagem F@ST1704"
2168df37888SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6338
2178df37888SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
2188df37888SÁlvaro Fernández Rojas	help
2198df37888SÁlvaro Fernández Rojas	  Sagem F@ST1704 boards have a BCM6338 SoC with 16 MB of RAM and 4 MB
2208df37888SÁlvaro Fernández Rojas	  of flash (SPI).
2218df37888SÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
2228df37888SÁlvaro Fernández Rojas	  ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM4312
2238df37888SÁlvaro Fernández Rojas	  (miniPCI).
2248df37888SÁlvaro Fernández Rojas
22563c011f7SÁlvaro Fernández Rojasconfig BOARD_SFR_NB4_SER
22663c011f7SÁlvaro Fernández Rojas	bool "SFR NeufBox 4 (Sercomm)"
22763c011f7SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6358
22863c011f7SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
2299ac0b639SÁlvaro Fernández Rojas	help
2309ac0b639SÁlvaro Fernández Rojas	  SFR NeufBox 4 (Sercomm) boards have a BCM6358 SoC with 32 MB of RAM
2319ac0b639SÁlvaro Fernández Rojas	  and 8 MB of flash (CFI).
2329ac0b639SÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
2339ac0b639SÁlvaro Fernández Rojas	  ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and
2349ac0b639SÁlvaro Fernández Rojas	  a BCM4318 (PCI).
23563c011f7SÁlvaro Fernández Rojas
2364a2b2724SÁlvaro Fernández Rojasendchoice
2374a2b2724SÁlvaro Fernández Rojas
2384a2b2724SÁlvaro Fernández Rojaschoice
239ee422142SÁlvaro Fernández Rojas	prompt "Boot mode"
240ee422142SÁlvaro Fernández Rojas
241ee422142SÁlvaro Fernández Rojasconfig BMIPS_BOOT_RAM
242ee422142SÁlvaro Fernández Rojas	bool "RAM boot"
243ee422142SÁlvaro Fernández Rojas	depends on BMIPS_SUPPORTS_BOOT_RAM
244ee422142SÁlvaro Fernández Rojas	help
245ee422142SÁlvaro Fernández Rojas	  This builds an image that is linked to a RAM address. It can be used
246ee422142SÁlvaro Fernández Rojas	  for booting from CFE via TFTP using an ELF image, but it can also be
247ee422142SÁlvaro Fernández Rojas	  booted from RAM by other bootloaders using a BIN image.
248ee422142SÁlvaro Fernández Rojas
249ee422142SÁlvaro Fernández Rojasendchoice
250ee422142SÁlvaro Fernández Rojas
251ee422142SÁlvaro Fernández Rojasconfig BMIPS_SUPPORTS_BOOT_RAM
252ee422142SÁlvaro Fernández Rojas	bool
253ee422142SÁlvaro Fernández Rojas
254664ec31dSÁlvaro Fernández Rojassource "board/comtrend/ar5315u/Kconfig"
2550642f485SÁlvaro Fernández Rojassource "board/comtrend/ar5387un/Kconfig"
2565e14ce2fSÁlvaro Fernández Rojassource "board/comtrend/ct5361/Kconfig"
25777ca99d1SÁlvaro Fernández Rojassource "board/comtrend/vr3032u/Kconfig"
258c320b923SÁlvaro Fernández Rojassource "board/comtrend/wap5813n/Kconfig"
2594a2b2724SÁlvaro Fernández Rojassource "board/huawei/hg556a/Kconfig"
260c4203e1dSÁlvaro Fernández Rojassource "board/netgear/cg3100d/Kconfig"
2619d466f2fSÁlvaro Fernández Rojassource "board/netgear/dgnd3700v2/Kconfig"
2628df37888SÁlvaro Fernández Rojassource "board/sagem/f@st1704/Kconfig"
26363c011f7SÁlvaro Fernández Rojassource "board/sfr/nb4_ser/Kconfig"
2644a2b2724SÁlvaro Fernández Rojas
265ee422142SÁlvaro Fernández Rojasendmenu
266