blob: b259a931c9fbbe1d8cf809c8961f6b2c11f56c8c [file] [log] [blame]
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +02001menu "Broadcom MIPS platforms"
2 depends on ARCH_BMIPS
3
Álvaro Fernández Rojascd1cc312018-01-20 11:45:39 +01004config SYS_MALLOC_F_LEN
5 default 0x1000
6
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +02007config SYS_SOC
Álvaro Fernández Rojas23a21682017-05-16 18:42:42 +02008 default "bcm3380" if SOC_BMIPS_BCM3380
Álvaro Fernández Rojas3483f282018-01-20 19:16:04 +01009 default "bcm6318" if SOC_BMIPS_BCM6318
Álvaro Fernández Rojas6471a222017-04-25 00:39:23 +020010 default "bcm6328" if SOC_BMIPS_BCM6328
Álvaro Fernández Rojas07661e72017-05-16 18:46:58 +020011 default "bcm6338" if SOC_BMIPS_BCM6338
Álvaro Fernández Rojasbf9012b2017-05-16 18:39:03 +020012 default "bcm6348" if SOC_BMIPS_BCM6348
Álvaro Fernández Rojase30d2bd2017-04-25 00:39:21 +020013 default "bcm6358" if SOC_BMIPS_BCM6358
Álvaro Fernández Rojas43b7ab92018-01-20 14:16:55 +010014 default "bcm6368" if SOC_BMIPS_BCM6368
Álvaro Fernández Rojas8f240a32018-02-03 10:30:27 +010015 default "bcm6362" if SOC_BMIPS_BCM6362
Álvaro Fernández Rojas6a235bb2017-04-25 00:39:25 +020016 default "bcm63268" if SOC_BMIPS_BCM63268
Philippe Reynes341032d2018-07-16 19:06:14 +020017 default "bcm6838" if SOC_BMIPS_BCM6838
Álvaro Fernández Rojase30d2bd2017-04-25 00:39:21 +020018
19choice
20 prompt "Broadcom MIPS SoC select"
21
Álvaro Fernández Rojas23a21682017-05-16 18:42:42 +020022config SOC_BMIPS_BCM3380
23 bool "BMIPS BCM3380 family"
Michal Simek58008cb2018-07-23 15:55:15 +020024 select MIPS_L1_CACHE_SHIFT_4
25 select MIPS_TUNE_4KC
Álvaro Fernández Rojas23a21682017-05-16 18:42:42 +020026 select SUPPORTS_BIG_ENDIAN
27 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas23a21682017-05-16 18:42:42 +020028 select SYSRESET_WATCHDOG
29 help
30 This supports BMIPS BCM3380 family.
31
Álvaro Fernández Rojas3483f282018-01-20 19:16:04 +010032config SOC_BMIPS_BCM6318
33 bool "BMIPS BCM6318 family"
Michal Simek58008cb2018-07-23 15:55:15 +020034 select MIPS_L1_CACHE_SHIFT_4
35 select MIPS_TUNE_4KC
Álvaro Fernández Rojas3483f282018-01-20 19:16:04 +010036 select SUPPORTS_BIG_ENDIAN
37 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas3483f282018-01-20 19:16:04 +010038 select SYSRESET_SYSCON
39 help
40 This supports BMIPS BCM6318 family.
41
Álvaro Fernández Rojas6471a222017-04-25 00:39:23 +020042config SOC_BMIPS_BCM6328
43 bool "BMIPS BCM6328 family"
Michal Simek58008cb2018-07-23 15:55:15 +020044 select MIPS_L1_CACHE_SHIFT_4
45 select MIPS_TUNE_4KC
Álvaro Fernández Rojas6471a222017-04-25 00:39:23 +020046 select SUPPORTS_BIG_ENDIAN
47 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas6471a222017-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 Rojas07661e72017-05-16 18:46:58 +020052config SOC_BMIPS_BCM6338
53 bool "BMIPS BCM6338 family"
Michal Simek58008cb2018-07-23 15:55:15 +020054 select MIPS_L1_CACHE_SHIFT_4
55 select MIPS_TUNE_4KC
Álvaro Fernández Rojas07661e72017-05-16 18:46:58 +020056 select SUPPORTS_BIG_ENDIAN
57 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas07661e72017-05-16 18:46:58 +020058 select SYSRESET_SYSCON
59 help
60 This supports BMIPS BCM6338 family.
61
Álvaro Fernández Rojasbf9012b2017-05-16 18:39:03 +020062config SOC_BMIPS_BCM6348
63 bool "BMIPS BCM6348 family"
Michal Simek58008cb2018-07-23 15:55:15 +020064 select MIPS_L1_CACHE_SHIFT_4
65 select MIPS_TUNE_4KC
Álvaro Fernández Rojasbf9012b2017-05-16 18:39:03 +020066 select SUPPORTS_BIG_ENDIAN
67 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojasbf9012b2017-05-16 18:39:03 +020068 select SYSRESET_WATCHDOG
69 help
70 This supports BMIPS BCM6348 family.
71
Álvaro Fernández Rojase30d2bd2017-04-25 00:39:21 +020072config SOC_BMIPS_BCM6358
73 bool "BMIPS BCM6358 family"
Michal Simek58008cb2018-07-23 15:55:15 +020074 select MIPS_L1_CACHE_SHIFT_4
75 select MIPS_TUNE_4KC
Álvaro Fernández Rojase30d2bd2017-04-25 00:39:21 +020076 select SUPPORTS_BIG_ENDIAN
77 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojase30d2bd2017-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 Rojas43b7ab92018-01-20 14:16:55 +010082config SOC_BMIPS_BCM6368
83 bool "BMIPS BCM6368 family"
Michal Simek58008cb2018-07-23 15:55:15 +020084 select MIPS_L1_CACHE_SHIFT_4
85 select MIPS_TUNE_4KC
Álvaro Fernández Rojas43b7ab92018-01-20 14:16:55 +010086 select SUPPORTS_BIG_ENDIAN
87 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas43b7ab92018-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 Rojas8f240a32018-02-03 10:30:27 +010092config SOC_BMIPS_BCM6362
93 bool "BMIPS BCM6362 family"
Michal Simek58008cb2018-07-23 15:55:15 +020094 select MIPS_L1_CACHE_SHIFT_4
95 select MIPS_TUNE_4KC
Álvaro Fernández Rojas8f240a32018-02-03 10:30:27 +010096 select SUPPORTS_BIG_ENDIAN
97 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas8f240a32018-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 Rojas6a235bb2017-04-25 00:39:25 +0200102config SOC_BMIPS_BCM63268
103 bool "BMIPS BCM63268 family"
Michal Simek58008cb2018-07-23 15:55:15 +0200104 select MIPS_L1_CACHE_SHIFT_4
105 select MIPS_TUNE_4KC
Álvaro Fernández Rojas6a235bb2017-04-25 00:39:25 +0200106 select SUPPORTS_BIG_ENDIAN
107 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas6a235bb2017-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 Reynes341032d2018-07-16 19:06:14 +0200113config 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
Philippe Reynes341032d2018-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 Rojase30d2bd2017-04-25 00:39:21 +0200124endchoice
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +0200125
126choice
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200127 prompt "Board select"
128
Philippe Reynes990cebf2018-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 Rojas664ec312018-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 Rojas0642f482017-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 Rojas9ac0b632017-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 Rojas0642f482017-04-25 00:39:24 +0200161
Álvaro Fernández Rojas5e14ce22017-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 Rojas77ca99d2017-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 Rojas9ac0b632017-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 Rojas77ca99d2017-04-25 00:39:26 +0200183
Álvaro Fernández Rojasc320b922018-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 Rojas4a2b2722017-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 Rojas9ac0b632017-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 Rojas4a2b2722017-04-25 00:39:22 +0200205
Álvaro Fernández Rojasc4203e12017-05-16 18:42:43 +0200206config 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
Álvaro Fernández Rojas9d466f22018-02-03 10:30:28 +0100217config 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
Álvaro Fernández Rojas8df37882017-05-16 18:46:59 +0200228config 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
Álvaro Fernández Rojas63c011f2017-05-11 11:01:30 +0200239config BOARD_SFR_NB4_SER
240 bool "SFR NeufBox 4 (Sercomm)"
241 depends on SOC_BMIPS_BCM6358
242 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas9ac0b632017-05-16 18:47:49 +0200243 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).
Álvaro Fernández Rojas63c011f2017-05-11 11:01:30 +0200249
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200250endchoice
251
252choice
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +0200253 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
Philippe Reynes990cebf2018-07-16 19:06:15 +0200268source "board/broadcom/bcm968380gerg/Kconfig"
Álvaro Fernández Rojas664ec312018-01-20 19:16:05 +0100269source "board/comtrend/ar5315u/Kconfig"
Álvaro Fernández Rojas0642f482017-04-25 00:39:24 +0200270source "board/comtrend/ar5387un/Kconfig"
Álvaro Fernández Rojas5e14ce22017-05-16 18:39:04 +0200271source "board/comtrend/ct5361/Kconfig"
Álvaro Fernández Rojas77ca99d2017-04-25 00:39:26 +0200272source "board/comtrend/vr3032u/Kconfig"
Álvaro Fernández Rojasc320b922018-01-20 14:16:56 +0100273source "board/comtrend/wap5813n/Kconfig"
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200274source "board/huawei/hg556a/Kconfig"
Álvaro Fernández Rojasc4203e12017-05-16 18:42:43 +0200275source "board/netgear/cg3100d/Kconfig"
Álvaro Fernández Rojas9d466f22018-02-03 10:30:28 +0100276source "board/netgear/dgnd3700v2/Kconfig"
Álvaro Fernández Rojas8df37882017-05-16 18:46:59 +0200277source "board/sagem/f@st1704/Kconfig"
Álvaro Fernández Rojas63c011f2017-05-11 11:01:30 +0200278source "board/sfr/nb4_ser/Kconfig"
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200279
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +0200280endmenu