xref: /openbmc/u-boot/arch/mips/mach-bmips/Kconfig (revision 6f565821)
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_BROADCOM_BCM968380GERG
140	bool "Broadcom bcm968380gerg"
141	depends on SOC_BMIPS_BCM6838
142	select BMIPS_SUPPORTS_BOOT_RAM
143	help
144	  Broadcom BCM968380GERG reference board with BCM68380 SoC with 512 MB
145	  of RAM and 128 MB of flash (nand).
146	  Between its different peripherals there's an integrated switch with 4
147	  ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and
148	  a BCM43217 (PCIe).
149
150config BOARD_COMTREND_AR5315U
151	bool "Comtrend AR-5315u"
152	depends on SOC_BMIPS_BCM6318
153	select BMIPS_SUPPORTS_BOOT_RAM
154	help
155	  Comtrend AR-5315u boards have a BCM6318 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 BCM43217 (PCIe).
160
161config BOARD_COMTREND_AR5387UN
162	bool "Comtrend AR-5387un"
163	depends on SOC_BMIPS_BCM6328
164	select BMIPS_SUPPORTS_BOOT_RAM
165	help
166	  Comtrend AR-5387un boards have a BCM6328 SoC with 64 MB of RAM and 16
167	  MB of flash (SPI).
168	  Between its different peripherals there's an integrated switch with 4
169	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
170	  a BCM43225 (PCIe).
171
172config BOARD_COMTREND_CT5361
173	bool "Comtrend CT-5361"
174	depends on SOC_BMIPS_BCM6348
175	select BMIPS_SUPPORTS_BOOT_RAM
176	help
177	  Comtrend CT-5361 boards have a BCM6348 SoC with 16 MB of RAM and 4 MB
178	  of flash (CFI).
179	  Between its different peripherals there's a BCM5325 switch with 4
180	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and a
181	  BCM4312 (miniPCI).
182
183config BOARD_COMTREND_VR3032U
184	bool "Comtrend VR-3032u board"
185	depends on SOC_BMIPS_BCM63268
186	select BMIPS_SUPPORTS_BOOT_RAM
187	help
188	  Comtrend VR-3032u boards have a BCM63268 SoC with 64 MB of RAM and
189	  128 MB of flash (NAND).
190	  Between its different peripherals there's an integrated switch with 4
191	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
192	  and a BCM6362 (integrated).
193
194config BOARD_COMTREND_WAP5813N
195	bool "Comtrend WAP-5813n board"
196	depends on SOC_BMIPS_BCM6368
197	select BMIPS_SUPPORTS_BOOT_RAM
198	help
199	  Comtrend WAP-5813n boards have a BCM6369 SoC with 64 MB of RAM and
200	  8 MB of flash (CFI).
201	  Between its different peripherals there's a BCM53115 switch with 5
202	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
203	  and a BCM4322 (miniPCI).
204
205config BOARD_HUAWEI_HG556A
206	bool "Huawei EchoLife HG556a"
207	depends on SOC_BMIPS_BCM6358
208	select BMIPS_SUPPORTS_BOOT_RAM
209	help
210	  Huawei EchoLife HG556a boards have a BCM6358 SoC with 64 MB of RAM
211	  and 16 MB of flash (CFI).
212	  Between its different peripherals there's a BCM5325 switch with 4
213	  ethernet ports, 3 USB ports, 1 UART, GPIO buttons and LEDs, and
214	  a RT3062F/AR9223 (PCI).
215
216config BOARD_NETGEAR_CG3100D
217	bool "Netgear CG3100D"
218	depends on SOC_BMIPS_BCM3380
219	select BMIPS_SUPPORTS_BOOT_RAM
220	help
221	  Netgear CG3100D boards have a BCM3380 SoC with 64 MB of RAM and 8 MB
222	  of flash (SPI).
223	  Between its different peripherals there's a BCM53115 switch with 4
224	  ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM43225
225	  (miniPCIe).
226
227config BOARD_NETGEAR_DGND3700V2
228	bool "Netgear DGND3700v2"
229	depends on SOC_BMIPS_BCM6362
230	select BMIPS_SUPPORTS_BOOT_RAM
231	help
232	  Netgear DGND3700v2 boards have a BCM6362 SoC with 64 MB of RAM and
233	  32 MB of flash (NAND).
234	  Between its different peripherals there's a BCM53125 switch with 5
235	  ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and a
236	  BCM43228 (miniPCIe).
237
238config BOARD_SAGEM_FAST1704
239	bool "Sagem F@ST1704"
240	depends on SOC_BMIPS_BCM6338
241	select BMIPS_SUPPORTS_BOOT_RAM
242	help
243	  Sagem F@ST1704 boards have a BCM6338 SoC with 16 MB of RAM and 4 MB
244	  of flash (SPI).
245	  Between its different peripherals there's a BCM5325 switch with 4
246	  ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM4312
247	  (miniPCI).
248
249config BOARD_SFR_NB4_SER
250	bool "SFR NeufBox 4 (Sercomm)"
251	depends on SOC_BMIPS_BCM6358
252	select BMIPS_SUPPORTS_BOOT_RAM
253	help
254	  SFR NeufBox 4 (Sercomm) boards have a BCM6358 SoC with 32 MB of RAM
255	  and 8 MB of flash (CFI).
256	  Between its different peripherals there's a BCM5325 switch with 4
257	  ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and
258	  a BCM4318 (PCI).
259
260endchoice
261
262choice
263	prompt "Boot mode"
264
265config BMIPS_BOOT_RAM
266	bool "RAM boot"
267	depends on BMIPS_SUPPORTS_BOOT_RAM
268	help
269	  This builds an image that is linked to a RAM address. It can be used
270	  for booting from CFE via TFTP using an ELF image, but it can also be
271	  booted from RAM by other bootloaders using a BIN image.
272
273endchoice
274
275config BMIPS_SUPPORTS_BOOT_RAM
276	bool
277
278source "board/broadcom/bcm968380gerg/Kconfig"
279source "board/comtrend/ar5315u/Kconfig"
280source "board/comtrend/ar5387un/Kconfig"
281source "board/comtrend/ct5361/Kconfig"
282source "board/comtrend/vr3032u/Kconfig"
283source "board/comtrend/wap5813n/Kconfig"
284source "board/huawei/hg556a/Kconfig"
285source "board/netgear/cg3100d/Kconfig"
286source "board/netgear/dgnd3700v2/Kconfig"
287source "board/sagem/f@st1704/Kconfig"
288source "board/sfr/nb4_ser/Kconfig"
289
290endmenu
291