blob: eb9ea34c52fe3a692c494869b10757c4083aec69 [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"
Tom Rini3ef67ae2021-08-26 11:47:59 -040024 select SYS_CACHE_SHIFT_4
Michal Simek7e7ba3b2018-07-23 15:55:15 +020025 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 SYSRESET_WATCHDOG
29 help
30 This supports BMIPS BCM3380 family.
31
Álvaro Fernández Rojascade62c2018-01-20 19:16:04 +010032config SOC_BMIPS_BCM6318
33 bool "BMIPS BCM6318 family"
Tom Rini3ef67ae2021-08-26 11:47:59 -040034 select SYS_CACHE_SHIFT_4
Michal Simek7e7ba3b2018-07-23 15:55:15 +020035 select MIPS_TUNE_4KC
Álvaro Fernández Rojascade62c2018-01-20 19:16:04 +010036 select SUPPORTS_BIG_ENDIAN
37 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojascade62c2018-01-20 19:16:04 +010038 select SYSRESET_SYSCON
39 help
40 This supports BMIPS BCM6318 family.
41
Álvaro Fernández Rojas3aa45762017-04-25 00:39:23 +020042config SOC_BMIPS_BCM6328
43 bool "BMIPS BCM6328 family"
Tom Rini3ef67ae2021-08-26 11:47:59 -040044 select SYS_CACHE_SHIFT_4
Michal Simek7e7ba3b2018-07-23 15:55:15 +020045 select MIPS_TUNE_4KC
Álvaro Fernández Rojas3aa45762017-04-25 00:39:23 +020046 select SUPPORTS_BIG_ENDIAN
47 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas3aa45762017-04-25 00:39:23 +020048 select SYSRESET_SYSCON
49 help
50 This supports BMIPS BCM6328 family including BCM63281 and BCM63283.
51
Álvaro Fernández Rojase2b9ed02017-05-16 18:46:58 +020052config SOC_BMIPS_BCM6338
53 bool "BMIPS BCM6338 family"
Tom Rini3ef67ae2021-08-26 11:47:59 -040054 select SYS_CACHE_SHIFT_4
Michal Simek7e7ba3b2018-07-23 15:55:15 +020055 select MIPS_TUNE_4KC
Álvaro Fernández Rojase2b9ed02017-05-16 18:46:58 +020056 select SUPPORTS_BIG_ENDIAN
57 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojase2b9ed02017-05-16 18:46:58 +020058 select SYSRESET_SYSCON
59 help
60 This supports BMIPS BCM6338 family.
61
Álvaro Fernández Rojas92da83d2017-05-16 18:39:03 +020062config SOC_BMIPS_BCM6348
63 bool "BMIPS BCM6348 family"
Tom Rini3ef67ae2021-08-26 11:47:59 -040064 select SYS_CACHE_SHIFT_4
Michal Simek7e7ba3b2018-07-23 15:55:15 +020065 select MIPS_TUNE_4KC
Álvaro Fernández Rojas92da83d2017-05-16 18:39:03 +020066 select SUPPORTS_BIG_ENDIAN
67 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas92da83d2017-05-16 18:39:03 +020068 select SYSRESET_WATCHDOG
69 help
70 This supports BMIPS BCM6348 family.
71
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020072config SOC_BMIPS_BCM6358
73 bool "BMIPS BCM6358 family"
Tom Rini3ef67ae2021-08-26 11:47:59 -040074 select SYS_CACHE_SHIFT_4
Michal Simek7e7ba3b2018-07-23 15:55:15 +020075 select MIPS_TUNE_4KC
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020076 select SUPPORTS_BIG_ENDIAN
77 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020078 select SYSRESET_SYSCON
79 help
80 This supports BMIPS BCM6358 family including BCM6358 and BCM6359.
81
Álvaro Fernández Rojas75d4cf22018-01-20 14:16:55 +010082config SOC_BMIPS_BCM6368
83 bool "BMIPS BCM6368 family"
Tom Rini3ef67ae2021-08-26 11:47:59 -040084 select SYS_CACHE_SHIFT_4
Michal Simek7e7ba3b2018-07-23 15:55:15 +020085 select MIPS_TUNE_4KC
Álvaro Fernández Rojas75d4cf22018-01-20 14:16:55 +010086 select SUPPORTS_BIG_ENDIAN
87 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas75d4cf22018-01-20 14:16:55 +010088 select SYSRESET_SYSCON
89 help
90 This supports BMIPS BCM6368 family including BCM6368 and BCM6369.
91
Álvaro Fernández Rojasac15c642018-02-03 10:30:27 +010092config SOC_BMIPS_BCM6362
93 bool "BMIPS BCM6362 family"
Tom Rini3ef67ae2021-08-26 11:47:59 -040094 select SYS_CACHE_SHIFT_4
Michal Simek7e7ba3b2018-07-23 15:55:15 +020095 select MIPS_TUNE_4KC
Álvaro Fernández Rojasac15c642018-02-03 10:30:27 +010096 select SUPPORTS_BIG_ENDIAN
97 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojasac15c642018-02-03 10:30:27 +010098 select SYSRESET_SYSCON
99 help
100 This supports BMIPS BCM6362 family including BCM6361 and BCM6362.
101
Álvaro Fernández Rojasff1e41e2017-04-25 00:39:25 +0200102config SOC_BMIPS_BCM63268
103 bool "BMIPS BCM63268 family"
Tom Rini3ef67ae2021-08-26 11:47:59 -0400104 select SYS_CACHE_SHIFT_4
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200105 select MIPS_TUNE_4KC
Álvaro Fernández Rojasff1e41e2017-04-25 00:39:25 +0200106 select SUPPORTS_BIG_ENDIAN
107 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojasff1e41e2017-04-25 00:39:25 +0200108 select SYSRESET_SYSCON
109 help
110 This supports BMIPS BCM63268 family including BCM63168, BCM63169,
111 BCM63268 and BCM63269.
112
Philippe Reynesd1406612018-07-16 19:06:14 +0200113config SOC_BMIPS_BCM6838
114 bool "BMIPS BCM6838 family"
Tom Rini3ef67ae2021-08-26 11:47:59 -0400115 select SYS_CACHE_SHIFT_4
Philippe Reynesd1406612018-07-16 19:06:14 +0200116 select MIPS_TUNE_4KC
117 select SUPPORTS_BIG_ENDIAN
118 select SUPPORTS_CPU_MIPS32_R1
Philippe Reynesd1406612018-07-16 19:06:14 +0200119 select SYSRESET_SYSCON
120 help
121 This supports BMIPS BCM6838 family including BCM68380, BCM68381,
122 and BCM68385.
123
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +0200124endchoice
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +0200125
126choice
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200127 prompt "Board select"
128
Philippe Reynes74b43612018-07-16 19:06:15 +0200129config 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
Álvaro Fernández Rojas16f90b52018-01-20 19:16:05 +0100140config 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
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +0200151config BOARD_COMTREND_AR5387UN
152 bool "Comtrend AR-5387un"
153 depends on SOC_BMIPS_BCM6328
154 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200155 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).
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +0200161
Álvaro Fernández Rojas2149f3b2017-05-16 18:39:04 +0200162config 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
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +0200173config BOARD_COMTREND_VR3032U
174 bool "Comtrend VR-3032u board"
175 depends on SOC_BMIPS_BCM63268
176 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200177 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).
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +0200183
Álvaro Fernández Rojas69639f02018-01-20 14:16:56 +0100184config 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
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200195config BOARD_HUAWEI_HG556A
196 bool "Huawei EchoLife HG556a"
197 depends on SOC_BMIPS_BCM6358
198 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200199 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).
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200205
Linus Walleij88bf0af2023-09-26 11:23:39 +0200206config BOARD_INTENO_XG6846
207 bool "Inteno XG6846"
208 depends on SOC_BMIPS_BCM6328
209 select BMIPS_SUPPORTS_BOOT_RAM
210 help
211 Inteno XG6846 boards have a BCM6328 SoC with 64 MB of RAM and 16
212 MB of flash (SPI).
213 Between its different peripherals there's an integrated switch with 4
214 ethernet ports, 1 UART, GPIO buttons and LEDs, and a Marvell
215 DSA switch connected to a fiber SFP.
216
Álvaro Fernández Rojas2ea88e62017-05-16 18:42:43 +0200217config BOARD_NETGEAR_CG3100D
218 bool "Netgear CG3100D"
219 depends on SOC_BMIPS_BCM3380
220 select BMIPS_SUPPORTS_BOOT_RAM
221 help
222 Netgear CG3100D boards have a BCM3380 SoC with 64 MB of RAM and 8 MB
223 of flash (SPI).
224 Between its different peripherals there's a BCM53115 switch with 4
225 ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM43225
226 (miniPCIe).
227
Álvaro Fernández Rojas5317fb92018-02-03 10:30:28 +0100228config BOARD_NETGEAR_DGND3700V2
229 bool "Netgear DGND3700v2"
230 depends on SOC_BMIPS_BCM6362
231 select BMIPS_SUPPORTS_BOOT_RAM
232 help
233 Netgear DGND3700v2 boards have a BCM6362 SoC with 64 MB of RAM and
234 32 MB of flash (NAND).
235 Between its different peripherals there's a BCM53125 switch with 5
236 ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and a
237 BCM43228 (miniPCIe).
238
Álvaro Fernández Rojas01188572017-05-16 18:46:59 +0200239config BOARD_SAGEM_FAST1704
240 bool "Sagem F@ST1704"
241 depends on SOC_BMIPS_BCM6338
242 select BMIPS_SUPPORTS_BOOT_RAM
243 help
244 Sagem F@ST1704 boards have a BCM6338 SoC with 16 MB of RAM and 4 MB
245 of flash (SPI).
246 Between its different peripherals there's a BCM5325 switch with 4
247 ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM4312
248 (miniPCI).
249
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +0200250config BOARD_SFR_NB4_SER
251 bool "SFR NeufBox 4 (Sercomm)"
252 depends on SOC_BMIPS_BCM6358
253 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200254 help
255 SFR NeufBox 4 (Sercomm) boards have a BCM6358 SoC with 32 MB of RAM
256 and 8 MB of flash (CFI).
257 Between its different peripherals there's a BCM5325 switch with 4
258 ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and
259 a BCM4318 (PCI).
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +0200260
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200261endchoice
262
263choice
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +0200264 prompt "Boot mode"
265
266config BMIPS_BOOT_RAM
267 bool "RAM boot"
268 depends on BMIPS_SUPPORTS_BOOT_RAM
269 help
270 This builds an image that is linked to a RAM address. It can be used
271 for booting from CFE via TFTP using an ELF image, but it can also be
272 booted from RAM by other bootloaders using a BIN image.
273
274endchoice
275
276config BMIPS_SUPPORTS_BOOT_RAM
277 bool
278
Philippe Reynes74b43612018-07-16 19:06:15 +0200279source "board/broadcom/bcm968380gerg/Kconfig"
Álvaro Fernández Rojas16f90b52018-01-20 19:16:05 +0100280source "board/comtrend/ar5315u/Kconfig"
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +0200281source "board/comtrend/ar5387un/Kconfig"
Álvaro Fernández Rojas2149f3b2017-05-16 18:39:04 +0200282source "board/comtrend/ct5361/Kconfig"
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +0200283source "board/comtrend/vr3032u/Kconfig"
Álvaro Fernández Rojas69639f02018-01-20 14:16:56 +0100284source "board/comtrend/wap5813n/Kconfig"
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200285source "board/huawei/hg556a/Kconfig"
Linus Walleij88bf0af2023-09-26 11:23:39 +0200286source "board/inteno/xg6846/Kconfig"
Álvaro Fernández Rojas2ea88e62017-05-16 18:42:43 +0200287source "board/netgear/cg3100d/Kconfig"
Álvaro Fernández Rojas5317fb92018-02-03 10:30:28 +0100288source "board/netgear/dgnd3700v2/Kconfig"
Álvaro Fernández Rojas01188572017-05-16 18:46:59 +0200289source "board/sagem/f@st1704/Kconfig"
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +0200290source "board/sfr/nb4_ser/Kconfig"
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200291
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +0200292endmenu