xref: /openbmc/u-boot/arch/mips/mach-bmips/Kconfig (revision 3483f28e)
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
9*3483f28eSÁ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
31*3483f28eSÁlvaro Fernández Rojasconfig SOC_BMIPS_BCM6318
32*3483f28eSÁlvaro Fernández Rojas	bool "BMIPS BCM6318 family"
33*3483f28eSÁlvaro Fernández Rojas	select SUPPORTS_BIG_ENDIAN
34*3483f28eSÁlvaro Fernández Rojas	select SUPPORTS_CPU_MIPS32_R1
35*3483f28eSÁlvaro Fernández Rojas	select MIPS_TUNE_4KC
36*3483f28eSÁlvaro Fernández Rojas	select MIPS_L1_CACHE_SHIFT_4
37*3483f28eSÁlvaro Fernández Rojas	select SWAP_IO_SPACE
38*3483f28eSÁlvaro Fernández Rojas	select SYSRESET_SYSCON
39*3483f28eSÁlvaro Fernández Rojas	help
40*3483f28eSÁlvaro Fernández Rojas	  This supports BMIPS BCM6318 family.
41*3483f28eSÁ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
1140642f485SÁlvaro Fernández Rojasconfig BOARD_COMTREND_AR5387UN
1150642f485SÁlvaro Fernández Rojas	bool "Comtrend AR-5387un"
1160642f485SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6328
1170642f485SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1189ac0b639SÁlvaro Fernández Rojas	help
1199ac0b639SÁlvaro Fernández Rojas	  Comtrend AR-5387un boards have a BCM6328 SoC with 64 MB of RAM and 16
1209ac0b639SÁlvaro Fernández Rojas	  MB of flash (SPI).
1219ac0b639SÁlvaro Fernández Rojas	  Between its different peripherals there's an integrated switch with 4
1229ac0b639SÁlvaro Fernández Rojas	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
1239ac0b639SÁlvaro Fernández Rojas	  a BCM43225 (PCIe).
1240642f485SÁlvaro Fernández Rojas
1255e14ce2fSÁlvaro Fernández Rojasconfig BOARD_COMTREND_CT5361
1265e14ce2fSÁlvaro Fernández Rojas	bool "Comtrend CT-5361"
1275e14ce2fSÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6348
1285e14ce2fSÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1295e14ce2fSÁlvaro Fernández Rojas	help
1305e14ce2fSÁlvaro Fernández Rojas	  Comtrend CT-5361 boards have a BCM6348 SoC with 16 MB of RAM and 4 MB
1315e14ce2fSÁlvaro Fernández Rojas	  of flash (CFI).
1325e14ce2fSÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
1335e14ce2fSÁlvaro Fernández Rojas	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and a
1345e14ce2fSÁlvaro Fernández Rojas	  BCM4312 (miniPCI).
1355e14ce2fSÁlvaro Fernández Rojas
13677ca99d1SÁlvaro Fernández Rojasconfig BOARD_COMTREND_VR3032U
13777ca99d1SÁlvaro Fernández Rojas	bool "Comtrend VR-3032u board"
13877ca99d1SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM63268
13977ca99d1SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1409ac0b639SÁlvaro Fernández Rojas	help
1419ac0b639SÁlvaro Fernández Rojas	  Comtrend VR-3032u boards have a BCM63268 SoC with 64 MB of RAM and
1429ac0b639SÁlvaro Fernández Rojas	  128 MB of flash (NAND).
1439ac0b639SÁlvaro Fernández Rojas	  Between its different peripherals there's an integrated switch with 4
1449ac0b639SÁlvaro Fernández Rojas	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
1459ac0b639SÁlvaro Fernández Rojas	  and a BCM6362 (integrated).
14677ca99d1SÁlvaro Fernández Rojas
147c320b923SÁlvaro Fernández Rojasconfig BOARD_COMTREND_WAP5813N
148c320b923SÁlvaro Fernández Rojas	bool "Comtrend WAP-5813n board"
149c320b923SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6368
150c320b923SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
151c320b923SÁlvaro Fernández Rojas	help
152c320b923SÁlvaro Fernández Rojas	  Comtrend WAP-5813n boards have a BCM6369 SoC with 64 MB of RAM and
153c320b923SÁlvaro Fernández Rojas	  8 MB of flash (CFI).
154c320b923SÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM53115 switch with 5
155c320b923SÁlvaro Fernández Rojas	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
156c320b923SÁlvaro Fernández Rojas	  and a BCM4322 (miniPCI).
157c320b923SÁlvaro Fernández Rojas
1584a2b2724SÁlvaro Fernández Rojasconfig BOARD_HUAWEI_HG556A
1594a2b2724SÁlvaro Fernández Rojas	bool "Huawei EchoLife HG556a"
1604a2b2724SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6358
1614a2b2724SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1629ac0b639SÁlvaro Fernández Rojas	help
1639ac0b639SÁlvaro Fernández Rojas	  Huawei EchoLife HG556a boards have a BCM6358 SoC with 64 MB of RAM
1649ac0b639SÁlvaro Fernández Rojas	  and 16 MB of flash (CFI).
1659ac0b639SÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
1669ac0b639SÁlvaro Fernández Rojas	  ethernet ports, 3 USB ports, 1 UART, GPIO buttons and LEDs, and
1679ac0b639SÁlvaro Fernández Rojas	  a RT3062F/AR9223 (PCI).
1684a2b2724SÁlvaro Fernández Rojas
169c4203e1dSÁlvaro Fernández Rojasconfig BOARD_NETGEAR_CG3100D
170c4203e1dSÁlvaro Fernández Rojas	bool "Netgear CG3100D"
171c4203e1dSÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM3380
172c4203e1dSÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
173c4203e1dSÁlvaro Fernández Rojas	help
174c4203e1dSÁlvaro Fernández Rojas	  Netgear CG3100D boards have a BCM3380 SoC with 64 MB of RAM and 8 MB
175c4203e1dSÁlvaro Fernández Rojas	  of flash (SPI).
176c4203e1dSÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM53115 switch with 4
177c4203e1dSÁlvaro Fernández Rojas	  ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM43225
178c4203e1dSÁlvaro Fernández Rojas	  (miniPCIe).
179c4203e1dSÁlvaro Fernández Rojas
1808df37888SÁlvaro Fernández Rojasconfig BOARD_SAGEM_FAST1704
1818df37888SÁlvaro Fernández Rojas	bool "Sagem F@ST1704"
1828df37888SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6338
1838df37888SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1848df37888SÁlvaro Fernández Rojas	help
1858df37888SÁlvaro Fernández Rojas	  Sagem F@ST1704 boards have a BCM6338 SoC with 16 MB of RAM and 4 MB
1868df37888SÁlvaro Fernández Rojas	  of flash (SPI).
1878df37888SÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
1888df37888SÁlvaro Fernández Rojas	  ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM4312
1898df37888SÁlvaro Fernández Rojas	  (miniPCI).
1908df37888SÁlvaro Fernández Rojas
19163c011f7SÁlvaro Fernández Rojasconfig BOARD_SFR_NB4_SER
19263c011f7SÁlvaro Fernández Rojas	bool "SFR NeufBox 4 (Sercomm)"
19363c011f7SÁlvaro Fernández Rojas	depends on SOC_BMIPS_BCM6358
19463c011f7SÁlvaro Fernández Rojas	select BMIPS_SUPPORTS_BOOT_RAM
1959ac0b639SÁlvaro Fernández Rojas	help
1969ac0b639SÁlvaro Fernández Rojas	  SFR NeufBox 4 (Sercomm) boards have a BCM6358 SoC with 32 MB of RAM
1979ac0b639SÁlvaro Fernández Rojas	  and 8 MB of flash (CFI).
1989ac0b639SÁlvaro Fernández Rojas	  Between its different peripherals there's a BCM5325 switch with 4
1999ac0b639SÁlvaro Fernández Rojas	  ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and
2009ac0b639SÁlvaro Fernández Rojas	  a BCM4318 (PCI).
20163c011f7SÁlvaro Fernández Rojas
2024a2b2724SÁlvaro Fernández Rojasendchoice
2034a2b2724SÁlvaro Fernández Rojas
2044a2b2724SÁlvaro Fernández Rojaschoice
205ee422142SÁlvaro Fernández Rojas	prompt "Boot mode"
206ee422142SÁlvaro Fernández Rojas
207ee422142SÁlvaro Fernández Rojasconfig BMIPS_BOOT_RAM
208ee422142SÁlvaro Fernández Rojas	bool "RAM boot"
209ee422142SÁlvaro Fernández Rojas	depends on BMIPS_SUPPORTS_BOOT_RAM
210ee422142SÁlvaro Fernández Rojas	help
211ee422142SÁlvaro Fernández Rojas	  This builds an image that is linked to a RAM address. It can be used
212ee422142SÁlvaro Fernández Rojas	  for booting from CFE via TFTP using an ELF image, but it can also be
213ee422142SÁlvaro Fernández Rojas	  booted from RAM by other bootloaders using a BIN image.
214ee422142SÁlvaro Fernández Rojas
215ee422142SÁlvaro Fernández Rojasendchoice
216ee422142SÁlvaro Fernández Rojas
217ee422142SÁlvaro Fernández Rojasconfig BMIPS_SUPPORTS_BOOT_RAM
218ee422142SÁlvaro Fernández Rojas	bool
219ee422142SÁlvaro Fernández Rojas
2200642f485SÁlvaro Fernández Rojassource "board/comtrend/ar5387un/Kconfig"
2215e14ce2fSÁlvaro Fernández Rojassource "board/comtrend/ct5361/Kconfig"
22277ca99d1SÁlvaro Fernández Rojassource "board/comtrend/vr3032u/Kconfig"
223c320b923SÁlvaro Fernández Rojassource "board/comtrend/wap5813n/Kconfig"
2244a2b2724SÁlvaro Fernández Rojassource "board/huawei/hg556a/Kconfig"
225c4203e1dSÁlvaro Fernández Rojassource "board/netgear/cg3100d/Kconfig"
2268df37888SÁlvaro Fernández Rojassource "board/sagem/f@st1704/Kconfig"
22763c011f7SÁlvaro Fernández Rojassource "board/sfr/nb4_ser/Kconfig"
2284a2b2724SÁlvaro Fernández Rojas
229ee422142SÁlvaro Fernández Rojasendmenu
230