xref: /openbmc/u-boot/arch/mips/mach-bmips/Kconfig (revision 341032d3)
1menu "Broadcom MIPS platforms"
2	depends on ARCH_BMIPS
3
4config SYS_MALLOC_F_LEN
5	default 0x1000
6
7config SYS_SOC
8	default "bcm3380" if SOC_BMIPS_BCM3380
9	default "bcm6318" if SOC_BMIPS_BCM6318
10	default "bcm6328" if SOC_BMIPS_BCM6328
11	default "bcm6338" if SOC_BMIPS_BCM6338
12	default "bcm6348" if SOC_BMIPS_BCM6348
13	default "bcm6358" if SOC_BMIPS_BCM6358
14	default "bcm6368" if SOC_BMIPS_BCM6368
15	default "bcm6362" if SOC_BMIPS_BCM6362
16	default "bcm63268" if SOC_BMIPS_BCM63268
17	default "bcm6838" if SOC_BMIPS_BCM6838
18
19choice
20	prompt "Broadcom MIPS SoC select"
21
22config SOC_BMIPS_BCM3380
23	bool "BMIPS BCM3380 family"
24	select MIPS_L1_CACHE_SHIFT_4
25	select MIPS_TUNE_4KC
26	select SUPPORTS_BIG_ENDIAN
27	select SUPPORTS_CPU_MIPS32_R1
28	select SWAP_IO_SPACE
29	select SYSRESET_WATCHDOG
30	help
31	  This supports BMIPS BCM3380 family.
32
33config SOC_BMIPS_BCM6318
34	bool "BMIPS BCM6318 family"
35	select MIPS_L1_CACHE_SHIFT_4
36	select MIPS_TUNE_4KC
37	select SUPPORTS_BIG_ENDIAN
38	select SUPPORTS_CPU_MIPS32_R1
39	select SWAP_IO_SPACE
40	select SYSRESET_SYSCON
41	help
42	  This supports BMIPS BCM6318 family.
43
44config SOC_BMIPS_BCM6328
45	bool "BMIPS BCM6328 family"
46	select MIPS_L1_CACHE_SHIFT_4
47	select MIPS_TUNE_4KC
48	select SUPPORTS_BIG_ENDIAN
49	select SUPPORTS_CPU_MIPS32_R1
50	select SWAP_IO_SPACE
51	select SYSRESET_SYSCON
52	help
53	  This supports BMIPS BCM6328 family including BCM63281 and BCM63283.
54
55config SOC_BMIPS_BCM6338
56	bool "BMIPS BCM6338 family"
57	select MIPS_L1_CACHE_SHIFT_4
58	select MIPS_TUNE_4KC
59	select SUPPORTS_BIG_ENDIAN
60	select SUPPORTS_CPU_MIPS32_R1
61	select SWAP_IO_SPACE
62	select SYSRESET_SYSCON
63	help
64	  This supports BMIPS BCM6338 family.
65
66config SOC_BMIPS_BCM6348
67	bool "BMIPS BCM6348 family"
68	select MIPS_L1_CACHE_SHIFT_4
69	select MIPS_TUNE_4KC
70	select SUPPORTS_BIG_ENDIAN
71	select SUPPORTS_CPU_MIPS32_R1
72	select SWAP_IO_SPACE
73	select SYSRESET_WATCHDOG
74	help
75	  This supports BMIPS BCM6348 family.
76
77config SOC_BMIPS_BCM6358
78	bool "BMIPS BCM6358 family"
79	select MIPS_L1_CACHE_SHIFT_4
80	select MIPS_TUNE_4KC
81	select SUPPORTS_BIG_ENDIAN
82	select SUPPORTS_CPU_MIPS32_R1
83	select SWAP_IO_SPACE
84	select SYSRESET_SYSCON
85	help
86	  This supports BMIPS BCM6358 family including BCM6358 and BCM6359.
87
88config SOC_BMIPS_BCM6368
89	bool "BMIPS BCM6368 family"
90	select MIPS_L1_CACHE_SHIFT_4
91	select MIPS_TUNE_4KC
92	select SUPPORTS_BIG_ENDIAN
93	select SUPPORTS_CPU_MIPS32_R1
94	select SWAP_IO_SPACE
95	select SYSRESET_SYSCON
96	help
97	  This supports BMIPS BCM6368 family including BCM6368 and BCM6369.
98
99config SOC_BMIPS_BCM6362
100	bool "BMIPS BCM6362 family"
101	select MIPS_L1_CACHE_SHIFT_4
102	select MIPS_TUNE_4KC
103	select SUPPORTS_BIG_ENDIAN
104	select SUPPORTS_CPU_MIPS32_R1
105	select SWAP_IO_SPACE
106	select SYSRESET_SYSCON
107	help
108	  This supports BMIPS BCM6362 family including BCM6361 and BCM6362.
109
110config SOC_BMIPS_BCM63268
111	bool "BMIPS BCM63268 family"
112	select MIPS_L1_CACHE_SHIFT_4
113	select MIPS_TUNE_4KC
114	select SUPPORTS_BIG_ENDIAN
115	select SUPPORTS_CPU_MIPS32_R1
116	select SWAP_IO_SPACE
117	select SYSRESET_SYSCON
118	help
119	  This supports BMIPS BCM63268 family including BCM63168, BCM63169,
120	  BCM63268 and BCM63269.
121
122config SOC_BMIPS_BCM6838
123	bool "BMIPS BCM6838 family"
124	select MIPS_L1_CACHE_SHIFT_4
125	select MIPS_TUNE_4KC
126	select SUPPORTS_BIG_ENDIAN
127	select SUPPORTS_CPU_MIPS32_R1
128	select SWAP_IO_SPACE
129	select SYSRESET_SYSCON
130	help
131	  This supports BMIPS BCM6838 family including BCM68380, BCM68381,
132	  and BCM68385.
133
134endchoice
135
136choice
137	prompt "Board select"
138
139config BOARD_COMTREND_AR5315U
140	bool "Comtrend AR-5315u"
141	depends on SOC_BMIPS_BCM6318
142	select BMIPS_SUPPORTS_BOOT_RAM
143	help
144	  Comtrend AR-5315u boards have a BCM6318 SoC with 64 MB of RAM and 16
145	  MB of flash (SPI).
146	  Between its different peripherals there's an integrated switch with 4
147	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
148	  a BCM43217 (PCIe).
149
150config BOARD_COMTREND_AR5387UN
151	bool "Comtrend AR-5387un"
152	depends on SOC_BMIPS_BCM6328
153	select BMIPS_SUPPORTS_BOOT_RAM
154	help
155	  Comtrend AR-5387un boards have a BCM6328 SoC with 64 MB of RAM and 16
156	  MB of flash (SPI).
157	  Between its different peripherals there's an integrated switch with 4
158	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
159	  a BCM43225 (PCIe).
160
161config BOARD_COMTREND_CT5361
162	bool "Comtrend CT-5361"
163	depends on SOC_BMIPS_BCM6348
164	select BMIPS_SUPPORTS_BOOT_RAM
165	help
166	  Comtrend CT-5361 boards have a BCM6348 SoC with 16 MB of RAM and 4 MB
167	  of flash (CFI).
168	  Between its different peripherals there's a BCM5325 switch with 4
169	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and a
170	  BCM4312 (miniPCI).
171
172config BOARD_COMTREND_VR3032U
173	bool "Comtrend VR-3032u board"
174	depends on SOC_BMIPS_BCM63268
175	select BMIPS_SUPPORTS_BOOT_RAM
176	help
177	  Comtrend VR-3032u boards have a BCM63268 SoC with 64 MB of RAM and
178	  128 MB of flash (NAND).
179	  Between its different peripherals there's an integrated switch with 4
180	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
181	  and a BCM6362 (integrated).
182
183config BOARD_COMTREND_WAP5813N
184	bool "Comtrend WAP-5813n board"
185	depends on SOC_BMIPS_BCM6368
186	select BMIPS_SUPPORTS_BOOT_RAM
187	help
188	  Comtrend WAP-5813n boards have a BCM6369 SoC with 64 MB of RAM and
189	  8 MB of flash (CFI).
190	  Between its different peripherals there's a BCM53115 switch with 5
191	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
192	  and a BCM4322 (miniPCI).
193
194config BOARD_HUAWEI_HG556A
195	bool "Huawei EchoLife HG556a"
196	depends on SOC_BMIPS_BCM6358
197	select BMIPS_SUPPORTS_BOOT_RAM
198	help
199	  Huawei EchoLife HG556a boards have a BCM6358 SoC with 64 MB of RAM
200	  and 16 MB of flash (CFI).
201	  Between its different peripherals there's a BCM5325 switch with 4
202	  ethernet ports, 3 USB ports, 1 UART, GPIO buttons and LEDs, and
203	  a RT3062F/AR9223 (PCI).
204
205config BOARD_NETGEAR_CG3100D
206	bool "Netgear CG3100D"
207	depends on SOC_BMIPS_BCM3380
208	select BMIPS_SUPPORTS_BOOT_RAM
209	help
210	  Netgear CG3100D boards have a BCM3380 SoC with 64 MB of RAM and 8 MB
211	  of flash (SPI).
212	  Between its different peripherals there's a BCM53115 switch with 4
213	  ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM43225
214	  (miniPCIe).
215
216config BOARD_NETGEAR_DGND3700V2
217	bool "Netgear DGND3700v2"
218	depends on SOC_BMIPS_BCM6362
219	select BMIPS_SUPPORTS_BOOT_RAM
220	help
221	  Netgear DGND3700v2 boards have a BCM6362 SoC with 64 MB of RAM and
222	  32 MB of flash (NAND).
223	  Between its different peripherals there's a BCM53125 switch with 5
224	  ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and a
225	  BCM43228 (miniPCIe).
226
227config BOARD_SAGEM_FAST1704
228	bool "Sagem F@ST1704"
229	depends on SOC_BMIPS_BCM6338
230	select BMIPS_SUPPORTS_BOOT_RAM
231	help
232	  Sagem F@ST1704 boards have a BCM6338 SoC with 16 MB of RAM and 4 MB
233	  of flash (SPI).
234	  Between its different peripherals there's a BCM5325 switch with 4
235	  ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM4312
236	  (miniPCI).
237
238config BOARD_SFR_NB4_SER
239	bool "SFR NeufBox 4 (Sercomm)"
240	depends on SOC_BMIPS_BCM6358
241	select BMIPS_SUPPORTS_BOOT_RAM
242	help
243	  SFR NeufBox 4 (Sercomm) boards have a BCM6358 SoC with 32 MB of RAM
244	  and 8 MB of flash (CFI).
245	  Between its different peripherals there's a BCM5325 switch with 4
246	  ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and
247	  a BCM4318 (PCI).
248
249endchoice
250
251choice
252	prompt "Boot mode"
253
254config BMIPS_BOOT_RAM
255	bool "RAM boot"
256	depends on BMIPS_SUPPORTS_BOOT_RAM
257	help
258	  This builds an image that is linked to a RAM address. It can be used
259	  for booting from CFE via TFTP using an ELF image, but it can also be
260	  booted from RAM by other bootloaders using a BIN image.
261
262endchoice
263
264config BMIPS_SUPPORTS_BOOT_RAM
265	bool
266
267source "board/comtrend/ar5315u/Kconfig"
268source "board/comtrend/ar5387un/Kconfig"
269source "board/comtrend/ct5361/Kconfig"
270source "board/comtrend/vr3032u/Kconfig"
271source "board/comtrend/wap5813n/Kconfig"
272source "board/huawei/hg556a/Kconfig"
273source "board/netgear/cg3100d/Kconfig"
274source "board/netgear/dgnd3700v2/Kconfig"
275source "board/sagem/f@st1704/Kconfig"
276source "board/sfr/nb4_ser/Kconfig"
277
278endmenu
279