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