blob: 521996599ef3f0c1897c89a40246e00df60d9971 [file] [log] [blame]
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +02001menu "Broadcom MIPS platforms"
2 depends on ARCH_BMIPS
3
Álvaro Fernández Rojasb212b902018-01-20 11:45:39 +01004config SYS_MALLOC_F_LEN
5 default 0x1000
6
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +02007config SYS_SOC
Álvaro Fernández Rojasec8d4c92017-05-16 18:42:42 +02008 default "bcm3380" if SOC_BMIPS_BCM3380
Álvaro Fernández Rojascade62c2018-01-20 19:16:04 +01009 default "bcm6318" if SOC_BMIPS_BCM6318
Álvaro Fernández Rojas3aa45762017-04-25 00:39:23 +020010 default "bcm6328" if SOC_BMIPS_BCM6328
Álvaro Fernández Rojase2b9ed02017-05-16 18:46:58 +020011 default "bcm6338" if SOC_BMIPS_BCM6338
Álvaro Fernández Rojas92da83d2017-05-16 18:39:03 +020012 default "bcm6348" if SOC_BMIPS_BCM6348
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020013 default "bcm6358" if SOC_BMIPS_BCM6358
Álvaro Fernández Rojas75d4cf22018-01-20 14:16:55 +010014 default "bcm6368" if SOC_BMIPS_BCM6368
Álvaro Fernández Rojasac15c642018-02-03 10:30:27 +010015 default "bcm6362" if SOC_BMIPS_BCM6362
Álvaro Fernández Rojasff1e41e2017-04-25 00:39:25 +020016 default "bcm63268" if SOC_BMIPS_BCM63268
Philippe Reynesd1406612018-07-16 19:06:14 +020017 default "bcm6838" if SOC_BMIPS_BCM6838
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020018
19choice
20 prompt "Broadcom MIPS SoC select"
21
Álvaro Fernández Rojasec8d4c92017-05-16 18:42:42 +020022config SOC_BMIPS_BCM3380
23 bool "BMIPS BCM3380 family"
Michal Simek7e7ba3b2018-07-23 15:55:15 +020024 select MIPS_L1_CACHE_SHIFT_4
25 select MIPS_TUNE_4KC
Álvaro Fernández Rojasec8d4c92017-05-16 18:42:42 +020026 select SUPPORTS_BIG_ENDIAN
27 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojasec8d4c92017-05-16 18:42:42 +020028 select SWAP_IO_SPACE
29 select SYSRESET_WATCHDOG
30 help
31 This supports BMIPS BCM3380 family.
32
Álvaro Fernández Rojascade62c2018-01-20 19:16:04 +010033config SOC_BMIPS_BCM6318
34 bool "BMIPS BCM6318 family"
Michal Simek7e7ba3b2018-07-23 15:55:15 +020035 select MIPS_L1_CACHE_SHIFT_4
36 select MIPS_TUNE_4KC
Álvaro Fernández Rojascade62c2018-01-20 19:16:04 +010037 select SUPPORTS_BIG_ENDIAN
38 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojascade62c2018-01-20 19:16:04 +010039 select SWAP_IO_SPACE
40 select SYSRESET_SYSCON
41 help
42 This supports BMIPS BCM6318 family.
43
Álvaro Fernández Rojas3aa45762017-04-25 00:39:23 +020044config SOC_BMIPS_BCM6328
45 bool "BMIPS BCM6328 family"
Michal Simek7e7ba3b2018-07-23 15:55:15 +020046 select MIPS_L1_CACHE_SHIFT_4
47 select MIPS_TUNE_4KC
Álvaro Fernández Rojas3aa45762017-04-25 00:39:23 +020048 select SUPPORTS_BIG_ENDIAN
49 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas3aa45762017-04-25 00:39:23 +020050 select SWAP_IO_SPACE
51 select SYSRESET_SYSCON
52 help
53 This supports BMIPS BCM6328 family including BCM63281 and BCM63283.
54
Álvaro Fernández Rojase2b9ed02017-05-16 18:46:58 +020055config SOC_BMIPS_BCM6338
56 bool "BMIPS BCM6338 family"
Michal Simek7e7ba3b2018-07-23 15:55:15 +020057 select MIPS_L1_CACHE_SHIFT_4
58 select MIPS_TUNE_4KC
Álvaro Fernández Rojase2b9ed02017-05-16 18:46:58 +020059 select SUPPORTS_BIG_ENDIAN
60 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojase2b9ed02017-05-16 18:46:58 +020061 select SWAP_IO_SPACE
62 select SYSRESET_SYSCON
63 help
64 This supports BMIPS BCM6338 family.
65
Álvaro Fernández Rojas92da83d2017-05-16 18:39:03 +020066config SOC_BMIPS_BCM6348
67 bool "BMIPS BCM6348 family"
Michal Simek7e7ba3b2018-07-23 15:55:15 +020068 select MIPS_L1_CACHE_SHIFT_4
69 select MIPS_TUNE_4KC
Álvaro Fernández Rojas92da83d2017-05-16 18:39:03 +020070 select SUPPORTS_BIG_ENDIAN
71 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas92da83d2017-05-16 18:39:03 +020072 select SWAP_IO_SPACE
73 select SYSRESET_WATCHDOG
74 help
75 This supports BMIPS BCM6348 family.
76
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020077config SOC_BMIPS_BCM6358
78 bool "BMIPS BCM6358 family"
Michal Simek7e7ba3b2018-07-23 15:55:15 +020079 select MIPS_L1_CACHE_SHIFT_4
80 select MIPS_TUNE_4KC
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020081 select SUPPORTS_BIG_ENDIAN
82 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020083 select SWAP_IO_SPACE
84 select SYSRESET_SYSCON
85 help
86 This supports BMIPS BCM6358 family including BCM6358 and BCM6359.
87
Álvaro Fernández Rojas75d4cf22018-01-20 14:16:55 +010088config SOC_BMIPS_BCM6368
89 bool "BMIPS BCM6368 family"
Michal Simek7e7ba3b2018-07-23 15:55:15 +020090 select MIPS_L1_CACHE_SHIFT_4
91 select MIPS_TUNE_4KC
Álvaro Fernández Rojas75d4cf22018-01-20 14:16:55 +010092 select SUPPORTS_BIG_ENDIAN
93 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas75d4cf22018-01-20 14:16:55 +010094 select SWAP_IO_SPACE
95 select SYSRESET_SYSCON
96 help
97 This supports BMIPS BCM6368 family including BCM6368 and BCM6369.
98
Álvaro Fernández Rojasac15c642018-02-03 10:30:27 +010099config SOC_BMIPS_BCM6362
100 bool "BMIPS BCM6362 family"
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200101 select MIPS_L1_CACHE_SHIFT_4
102 select MIPS_TUNE_4KC
Álvaro Fernández Rojasac15c642018-02-03 10:30:27 +0100103 select SUPPORTS_BIG_ENDIAN
104 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojasac15c642018-02-03 10:30:27 +0100105 select SWAP_IO_SPACE
106 select SYSRESET_SYSCON
107 help
108 This supports BMIPS BCM6362 family including BCM6361 and BCM6362.
109
Álvaro Fernández Rojasff1e41e2017-04-25 00:39:25 +0200110config SOC_BMIPS_BCM63268
111 bool "BMIPS BCM63268 family"
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200112 select MIPS_L1_CACHE_SHIFT_4
113 select MIPS_TUNE_4KC
Álvaro Fernández Rojasff1e41e2017-04-25 00:39:25 +0200114 select SUPPORTS_BIG_ENDIAN
115 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojasff1e41e2017-04-25 00:39:25 +0200116 select SWAP_IO_SPACE
117 select SYSRESET_SYSCON
118 help
119 This supports BMIPS BCM63268 family including BCM63168, BCM63169,
120 BCM63268 and BCM63269.
121
Philippe Reynesd1406612018-07-16 19:06:14 +0200122config 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
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +0200134endchoice
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +0200135
136choice
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200137 prompt "Board select"
138
Philippe Reynes74b43612018-07-16 19:06:15 +0200139config 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
Álvaro Fernández Rojas16f90b52018-01-20 19:16:05 +0100150config 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
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +0200161config BOARD_COMTREND_AR5387UN
162 bool "Comtrend AR-5387un"
163 depends on SOC_BMIPS_BCM6328
164 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200165 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).
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +0200171
Álvaro Fernández Rojas2149f3b2017-05-16 18:39:04 +0200172config 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
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +0200183config BOARD_COMTREND_VR3032U
184 bool "Comtrend VR-3032u board"
185 depends on SOC_BMIPS_BCM63268
186 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200187 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).
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +0200193
Álvaro Fernández Rojas69639f02018-01-20 14:16:56 +0100194config 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
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200205config BOARD_HUAWEI_HG556A
206 bool "Huawei EchoLife HG556a"
207 depends on SOC_BMIPS_BCM6358
208 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200209 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).
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200215
Álvaro Fernández Rojas2ea88e62017-05-16 18:42:43 +0200216config 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
Álvaro Fernández Rojas5317fb92018-02-03 10:30:28 +0100227config 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
Álvaro Fernández Rojas01188572017-05-16 18:46:59 +0200238config 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
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +0200249config BOARD_SFR_NB4_SER
250 bool "SFR NeufBox 4 (Sercomm)"
251 depends on SOC_BMIPS_BCM6358
252 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200253 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).
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +0200259
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200260endchoice
261
262choice
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +0200263 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
Philippe Reynes74b43612018-07-16 19:06:15 +0200278source "board/broadcom/bcm968380gerg/Kconfig"
Álvaro Fernández Rojas16f90b52018-01-20 19:16:05 +0100279source "board/comtrend/ar5315u/Kconfig"
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +0200280source "board/comtrend/ar5387un/Kconfig"
Álvaro Fernández Rojas2149f3b2017-05-16 18:39:04 +0200281source "board/comtrend/ct5361/Kconfig"
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +0200282source "board/comtrend/vr3032u/Kconfig"
Álvaro Fernández Rojas69639f02018-01-20 14:16:56 +0100283source "board/comtrend/wap5813n/Kconfig"
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200284source "board/huawei/hg556a/Kconfig"
Álvaro Fernández Rojas2ea88e62017-05-16 18:42:43 +0200285source "board/netgear/cg3100d/Kconfig"
Álvaro Fernández Rojas5317fb92018-02-03 10:30:28 +0100286source "board/netgear/dgnd3700v2/Kconfig"
Álvaro Fernández Rojas01188572017-05-16 18:46:59 +0200287source "board/sagem/f@st1704/Kconfig"
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +0200288source "board/sfr/nb4_ser/Kconfig"
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200289
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +0200290endmenu