xref: /openbmc/u-boot/arch/mips/mach-bmips/Kconfig (revision 664ec31d)
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
156a235bb8SÁlvaro Fernández Rojas	default "bcm63268" if SOC_BMIPS_BCM63268
16e30d2bd4SÁlvaro Fernández Rojas
17e30d2bd4SÁlvaro Fernández Rojaschoice
18e30d2bd4SÁlvaro Fernández Rojas	prompt "Broadcom MIPS SoC select"
19e30d2bd4SÁlvaro Fernández Rojas
2023a21683SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM3380
2123a21683SÁlvaro Fernández Rojas	bool "BMIPS BCM3380 family"
2223a21683SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
2323a21683SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
2423a21683SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
2523a21683SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
2623a21683SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
2723a21683SÁlvaro Fernández Rojas	select SYSRESET_WATCHDOG
2823a21683SÁlvaro Fernández Rojas	help
2923a21683SÁlvaro Fernández Rojas	  This supports BMIPS BCM3380 family.
3023a21683SÁlvaro Fernández Rojas
313483f28eSÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6318
323483f28eSÁlvaro Fernández Rojas	bool "BMIPS BCM6318 family"
333483f28eSÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
343483f28eSÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
353483f28eSÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
363483f28eSÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
373483f28eSÁlvaro Fernández Rojas	select SWAP_IO_SPACE
383483f28eSÁlvaro Fernández Rojas	select SYSRESET_SYSCON
393483f28eSÁlvaro Fernández Rojas	help
403483f28eSÁlvaro Fernández Rojas	  This supports BMIPS BCM6318 family.
413483f28eSÁlvaro Fernández Rojas
426471a225SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6328
436471a225SÁlvaro Fernández Rojas	bool "BMIPS BCM6328 family"
446471a225SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
456471a225SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
466471a225SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
476471a225SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
486471a225SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
496471a225SÁlvaro Fernández Rojas	select SYSRESET_SYSCON
506471a225SÁlvaro Fernández Rojas	help
516471a225SÁlvaro Fernández Rojas	  This supports BMIPS BCM6328 family including BCM63281 and BCM63283.
526471a225SÁlvaro Fernández Rojas
5307661e7fSÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6338
5407661e7fSÁlvaro Fernández Rojas	bool "BMIPS BCM6338 family"
5507661e7fSÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
5607661e7fSÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
5707661e7fSÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
5807661e7fSÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
5907661e7fSÁlvaro Fernández Rojas	select SWAP_IO_SPACE
6007661e7fSÁlvaro Fernández Rojas	select SYSRESET_SYSCON
6107661e7fSÁlvaro Fernández Rojas	help
6207661e7fSÁlvaro Fernández Rojas	  This supports BMIPS BCM6338 family.
6307661e7fSÁlvaro Fernández Rojas
64bf9012b8SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6348
65bf9012b8SÁlvaro Fernández Rojas	bool "BMIPS BCM6348 family"
66bf9012b8SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
67bf9012b8SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
68bf9012b8SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
69bf9012b8SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
70bf9012b8SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
71bf9012b8SÁlvaro Fernández Rojas	select SYSRESET_WATCHDOG
72bf9012b8SÁlvaro Fernández Rojas	help
73bf9012b8SÁlvaro Fernández Rojas	  This supports BMIPS BCM6348 family.
74bf9012b8SÁlvaro Fernández Rojas
75e30d2bd4SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6358
76e30d2bd4SÁlvaro Fernández Rojas	bool "BMIPS BCM6358 family"
77e30d2bd4SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
78e30d2bd4SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
79e30d2bd4SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
80e30d2bd4SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
81e30d2bd4SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
82e30d2bd4SÁlvaro Fernández Rojas	select SYSRESET_SYSCON
83e30d2bd4SÁlvaro Fernández Rojas	help
84e30d2bd4SÁlvaro Fernández Rojas	  This supports BMIPS BCM6358 family including BCM6358 and BCM6359.
85e30d2bd4SÁlvaro Fernández Rojas
8643b7ab99SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6368
8743b7ab99SÁlvaro Fernández Rojas	bool "BMIPS BCM6368 family"
8843b7ab99SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
8943b7ab99SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
9043b7ab99SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
9143b7ab99SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
9243b7ab99SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
9343b7ab99SÁlvaro Fernández Rojas	select SYSRESET_SYSCON
9443b7ab99SÁlvaro Fernández Rojas	help
9543b7ab99SÁlvaro Fernández Rojas	  This supports BMIPS BCM6368 family including BCM6368 and BCM6369.
9643b7ab99SÁlvaro Fernández Rojas
976a235bb8SÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM63268
986a235bb8SÁlvaro Fernández Rojas	bool "BMIPS BCM63268 family"
996a235bb8SÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
1006a235bb8SÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
1016a235bb8SÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
1026a235bb8SÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
1036a235bb8SÁlvaro Fernández Rojas	select SWAP_IO_SPACE
1046a235bb8SÁlvaro Fernández Rojas	select SYSRESET_SYSCON
1056a235bb8SÁlvaro Fernández Rojas	help
1066a235bb8SÁlvaro Fernández Rojas	  This supports BMIPS BCM63268 family including BCM63168, BCM63169,
1076a235bb8SÁlvaro Fernández Rojas	  BCM63268 and BCM63269.
1086a235bb8SÁlvaro Fernández Rojas
109e30d2bd4SÁlvaro Fernández Rojasendchoice
110ee422142SÁlvaro Fernández Rojas
111ee422142SÁlvaro Fernández Rojaschoice
1124a2b2724SÁlvaro Fernández Rojas	prompt "Board select"
1134a2b2724SÁlvaro Fernández Rojas
114*664ec31dSÁlvaro Fernández Rojasconfig BOARD_COMTREND_AR5315U
115*664ec31dSÁlvaro Fernández Rojas	bool "Comtrend AR-5315u"
116*664ec31dSÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6318
117*664ec31dSÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
118*664ec31dSÁlvaro Fernández Rojas	help
119*664ec31dSÁlvaro Fernández Rojas	  Comtrend AR-5315u boards have a BCM6318 SoC with 64 MB of RAM and 16
120*664ec31dSÁlvaro Fernández Rojas	  MB of flash (SPI).
121*664ec31dSÁlvaro Fernández Rojas	  Between its different peripherals there's an integrated switch with 4
122*664ec31dSÁlvaro Fernández Rojas	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
123*664ec31dSÁlvaro Fernández Rojas	  a BCM43217 (PCIe).
124*664ec31dSÁlvaro Fernández Rojas
1250642f485SÁlvaro Fernández Rojasconfig BOARD_COMTREND_AR5387UN
1260642f485SÁlvaro Fernández Rojas	bool "Comtrend AR-5387un"
1270642f485SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6328
1280642f485SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1299ac0b639SÁlvaro Fernández Rojas	help
1309ac0b639SÁlvaro Fernández Rojas	  Comtrend AR-5387un boards have a BCM6328 SoC with 64 MB of RAM and 16
1319ac0b639SÁlvaro Fernández Rojas	  MB of flash (SPI).
1329ac0b639SÁlvaro Fernández Rojas	  Between its different peripherals there's an integrated switch with 4
1339ac0b639SÁlvaro Fernández Rojas	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
1349ac0b639SÁlvaro Fernández Rojas	  a BCM43225 (PCIe).
1350642f485SÁlvaro Fernández Rojas
1365e14ce2fSÁlvaro Fernández Rojasconfig BOARD_COMTREND_CT5361
1375e14ce2fSÁlvaro Fernández Rojas	bool "Comtrend CT-5361"
1385e14ce2fSÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6348
1395e14ce2fSÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1405e14ce2fSÁlvaro Fernández Rojas	help
1415e14ce2fSÁlvaro Fernández Rojas	  Comtrend CT-5361 boards have a BCM6348 SoC with 16 MB of RAM and 4 MB
1425e14ce2fSÁlvaro Fernández Rojas	  of flash (CFI).
1435e14ce2fSÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
1445e14ce2fSÁlvaro Fernández Rojas	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and a
1455e14ce2fSÁlvaro Fernández Rojas	  BCM4312 (miniPCI).
1465e14ce2fSÁlvaro Fernández Rojas
14777ca99d1SÁlvaro Fernández Rojasconfig BOARD_COMTREND_VR3032U
14877ca99d1SÁlvaro Fernández Rojas	bool "Comtrend VR-3032u board"
14977ca99d1SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM63268
15077ca99d1SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1519ac0b639SÁlvaro Fernández Rojas	help
1529ac0b639SÁlvaro Fernández Rojas	  Comtrend VR-3032u boards have a BCM63268 SoC with 64 MB of RAM and
1539ac0b639SÁlvaro Fernández Rojas	  128 MB of flash (NAND).
1549ac0b639SÁlvaro Fernández Rojas	  Between its different peripherals there's an integrated switch with 4
1559ac0b639SÁlvaro Fernández Rojas	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
1569ac0b639SÁlvaro Fernández Rojas	  and a BCM6362 (integrated).
15777ca99d1SÁlvaro Fernández Rojas
158c320b923SÁlvaro Fernández Rojasconfig BOARD_COMTREND_WAP5813N
159c320b923SÁlvaro Fernández Rojas	bool "Comtrend WAP-5813n board"
160c320b923SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6368
161c320b923SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
162c320b923SÁlvaro Fernández Rojas	help
163c320b923SÁlvaro Fernández Rojas	  Comtrend WAP-5813n boards have a BCM6369 SoC with 64 MB of RAM and
164c320b923SÁlvaro Fernández Rojas	  8 MB of flash (CFI).
165c320b923SÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM53115 switch with 5
166c320b923SÁlvaro Fernández Rojas	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
167c320b923SÁlvaro Fernández Rojas	  and a BCM4322 (miniPCI).
168c320b923SÁlvaro Fernández Rojas
1694a2b2724SÁlvaro Fernández Rojasconfig BOARD_HUAWEI_HG556A
1704a2b2724SÁlvaro Fernández Rojas	bool "Huawei EchoLife HG556a"
1714a2b2724SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6358
1724a2b2724SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1739ac0b639SÁlvaro Fernández Rojas	help
1749ac0b639SÁlvaro Fernández Rojas	  Huawei EchoLife HG556a boards have a BCM6358 SoC with 64 MB of RAM
1759ac0b639SÁlvaro Fernández Rojas	  and 16 MB of flash (CFI).
1769ac0b639SÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
1779ac0b639SÁlvaro Fernández Rojas	  ethernet ports, 3 USB ports, 1 UART, GPIO buttons and LEDs, and
1789ac0b639SÁlvaro Fernández Rojas	  a RT3062F/AR9223 (PCI).
1794a2b2724SÁlvaro Fernández Rojas
180c4203e1dSÁlvaro Fernández Rojasconfig BOARD_NETGEAR_CG3100D
181c4203e1dSÁlvaro Fernández Rojas	bool "Netgear CG3100D"
182c4203e1dSÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM3380
183c4203e1dSÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
184c4203e1dSÁlvaro Fernández Rojas	help
185c4203e1dSÁlvaro Fernández Rojas	  Netgear CG3100D boards have a BCM3380 SoC with 64 MB of RAM and 8 MB
186c4203e1dSÁlvaro Fernández Rojas	  of flash (SPI).
187c4203e1dSÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM53115 switch with 4
188c4203e1dSÁlvaro Fernández Rojas	  ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM43225
189c4203e1dSÁlvaro Fernández Rojas	  (miniPCIe).
190c4203e1dSÁlvaro Fernández Rojas
1918df37888SÁlvaro Fernández Rojasconfig BOARD_SAGEM_FAST1704
1928df37888SÁlvaro Fernández Rojas	bool "Sagem F@ST1704"
1938df37888SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6338
1948df37888SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1958df37888SÁlvaro Fernández Rojas	help
1968df37888SÁlvaro Fernández Rojas	  Sagem F@ST1704 boards have a BCM6338 SoC with 16 MB of RAM and 4 MB
1978df37888SÁlvaro Fernández Rojas	  of flash (SPI).
1988df37888SÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
1998df37888SÁlvaro Fernández Rojas	  ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM4312
2008df37888SÁlvaro Fernández Rojas	  (miniPCI).
2018df37888SÁlvaro Fernández Rojas
20263c011f7SÁlvaro Fernández Rojasconfig BOARD_SFR_NB4_SER
20363c011f7SÁlvaro Fernández Rojas	bool "SFR NeufBox 4 (Sercomm)"
20463c011f7SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6358
20563c011f7SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
2069ac0b639SÁlvaro Fernández Rojas	help
2079ac0b639SÁlvaro Fernández Rojas	  SFR NeufBox 4 (Sercomm) boards have a BCM6358 SoC with 32 MB of RAM
2089ac0b639SÁlvaro Fernández Rojas	  and 8 MB of flash (CFI).
2099ac0b639SÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
2109ac0b639SÁlvaro Fernández Rojas	  ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and
2119ac0b639SÁlvaro Fernández Rojas	  a BCM4318 (PCI).
21263c011f7SÁlvaro Fernández Rojas
2134a2b2724SÁlvaro Fernández Rojasendchoice
2144a2b2724SÁlvaro Fernández Rojas
2154a2b2724SÁlvaro Fernández Rojaschoice
216ee422142SÁlvaro Fernández Rojas	prompt "Boot mode"
217ee422142SÁlvaro Fernández Rojas
218ee422142SÁlvaro Fernández Rojasconfig BMIPS_BOOT_RAM
219ee422142SÁlvaro Fernández Rojas	bool "RAM boot"
220ee422142SÁlvaro Fernández Rojas	depends on BMIPS_SUPPORTS_BOOT_RAM
221ee422142SÁlvaro Fernández Rojas	help
222ee422142SÁlvaro Fernández Rojas	  This builds an image that is linked to a RAM address. It can be used
223ee422142SÁlvaro Fernández Rojas	  for booting from CFE via TFTP using an ELF image, but it can also be
224ee422142SÁlvaro Fernández Rojas	  booted from RAM by other bootloaders using a BIN image.
225ee422142SÁlvaro Fernández Rojas
226ee422142SÁlvaro Fernández Rojasendchoice
227ee422142SÁlvaro Fernández Rojas
228ee422142SÁlvaro Fernández Rojasconfig BMIPS_SUPPORTS_BOOT_RAM
229ee422142SÁlvaro Fernández Rojas	bool
230ee422142SÁlvaro Fernández Rojas
231*664ec31dSÁlvaro Fernández Rojassource "board/comtrend/ar5315u/Kconfig"
2320642f485SÁlvaro Fernández Rojassource "board/comtrend/ar5387un/Kconfig"
2335e14ce2fSÁlvaro Fernández Rojassource "board/comtrend/ct5361/Kconfig"
23477ca99d1SÁlvaro Fernández Rojassource "board/comtrend/vr3032u/Kconfig"
235c320b923SÁlvaro Fernández Rojassource "board/comtrend/wap5813n/Kconfig"
2364a2b2724SÁlvaro Fernández Rojassource "board/huawei/hg556a/Kconfig"
237c4203e1dSÁlvaro Fernández Rojassource "board/netgear/cg3100d/Kconfig"
2388df37888SÁlvaro Fernández Rojassource "board/sagem/f@st1704/Kconfig"
23963c011f7SÁlvaro Fernández Rojassource "board/sfr/nb4_ser/Kconfig"
2404a2b2724SÁlvaro Fernández Rojas
241ee422142SÁlvaro Fernández Rojasendmenu
242