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