blob: ce02028578104e2f798b94b2c7d115622281b785 [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 SWAP_IO_SPACE
29 select SYSRESET_WATCHDOG
30 help
31 This supports BMIPS BCM3380 family.
32
Álvaro Fernández Rojas3483f282018-01-20 19:16:04 +010033config SOC_BMIPS_BCM6318
34 bool "BMIPS BCM6318 family"
Michal Simek58008cb2018-07-23 15:55:15 +020035 select MIPS_L1_CACHE_SHIFT_4
36 select MIPS_TUNE_4KC
Álvaro Fernández Rojas3483f282018-01-20 19:16:04 +010037 select SUPPORTS_BIG_ENDIAN
38 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas3483f282018-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 Rojas6471a222017-04-25 00:39:23 +020044config SOC_BMIPS_BCM6328
45 bool "BMIPS BCM6328 family"
Michal Simek58008cb2018-07-23 15:55:15 +020046 select MIPS_L1_CACHE_SHIFT_4
47 select MIPS_TUNE_4KC
Álvaro Fernández Rojas6471a222017-04-25 00:39:23 +020048 select SUPPORTS_BIG_ENDIAN
49 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas6471a222017-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 Rojas07661e72017-05-16 18:46:58 +020055config SOC_BMIPS_BCM6338
56 bool "BMIPS BCM6338 family"
Michal Simek58008cb2018-07-23 15:55:15 +020057 select MIPS_L1_CACHE_SHIFT_4
58 select MIPS_TUNE_4KC
Álvaro Fernández Rojas07661e72017-05-16 18:46:58 +020059 select SUPPORTS_BIG_ENDIAN
60 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas07661e72017-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 Rojasbf9012b2017-05-16 18:39:03 +020066config SOC_BMIPS_BCM6348
67 bool "BMIPS BCM6348 family"
Michal Simek58008cb2018-07-23 15:55:15 +020068 select MIPS_L1_CACHE_SHIFT_4
69 select MIPS_TUNE_4KC
Álvaro Fernández Rojasbf9012b2017-05-16 18:39:03 +020070 select SUPPORTS_BIG_ENDIAN
71 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojasbf9012b2017-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 Rojase30d2bd2017-04-25 00:39:21 +020077config SOC_BMIPS_BCM6358
78 bool "BMIPS BCM6358 family"
Michal Simek58008cb2018-07-23 15:55:15 +020079 select MIPS_L1_CACHE_SHIFT_4
80 select MIPS_TUNE_4KC
Álvaro Fernández Rojase30d2bd2017-04-25 00:39:21 +020081 select SUPPORTS_BIG_ENDIAN
82 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojase30d2bd2017-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 Rojas43b7ab92018-01-20 14:16:55 +010088config SOC_BMIPS_BCM6368
89 bool "BMIPS BCM6368 family"
Michal Simek58008cb2018-07-23 15:55:15 +020090 select MIPS_L1_CACHE_SHIFT_4
91 select MIPS_TUNE_4KC
Álvaro Fernández Rojas43b7ab92018-01-20 14:16:55 +010092 select SUPPORTS_BIG_ENDIAN
93 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas43b7ab92018-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 Rojas8f240a32018-02-03 10:30:27 +010099config SOC_BMIPS_BCM6362
100 bool "BMIPS BCM6362 family"
Michal Simek58008cb2018-07-23 15:55:15 +0200101 select MIPS_L1_CACHE_SHIFT_4
102 select MIPS_TUNE_4KC
Álvaro Fernández Rojas8f240a32018-02-03 10:30:27 +0100103 select SUPPORTS_BIG_ENDIAN
104 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas8f240a32018-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 Rojas6a235bb2017-04-25 00:39:25 +0200110config SOC_BMIPS_BCM63268
111 bool "BMIPS BCM63268 family"
Michal Simek58008cb2018-07-23 15:55:15 +0200112 select MIPS_L1_CACHE_SHIFT_4
113 select MIPS_TUNE_4KC
Álvaro Fernández Rojas6a235bb2017-04-25 00:39:25 +0200114 select SUPPORTS_BIG_ENDIAN
115 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas6a235bb2017-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 Reynes341032d2018-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 Rojase30d2bd2017-04-25 00:39:21 +0200134endchoice
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +0200135
136choice
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200137 prompt "Board select"
138
Álvaro Fernández Rojas664ec312018-01-20 19:16:05 +0100139config BOARD_COMTREND_AR5315U
140 bool "Comtrend AR-5315u"
141 depends on SOC_BMIPS_BCM6318
142 select BMIPS_SUPPORTS_BOOT_RAM
143 help
144 Comtrend AR-5315u boards have a BCM6318 SoC with 64 MB of RAM and 16
145 MB of flash (SPI).
146 Between its different peripherals there's an integrated switch with 4
147 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
148 a BCM43217 (PCIe).
149
Álvaro Fernández Rojas0642f482017-04-25 00:39:24 +0200150config BOARD_COMTREND_AR5387UN
151 bool "Comtrend AR-5387un"
152 depends on SOC_BMIPS_BCM6328
153 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas9ac0b632017-05-16 18:47:49 +0200154 help
155 Comtrend AR-5387un boards have a BCM6328 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 BCM43225 (PCIe).
Álvaro Fernández Rojas0642f482017-04-25 00:39:24 +0200160
Álvaro Fernández Rojas5e14ce22017-05-16 18:39:04 +0200161config BOARD_COMTREND_CT5361
162 bool "Comtrend CT-5361"
163 depends on SOC_BMIPS_BCM6348
164 select BMIPS_SUPPORTS_BOOT_RAM
165 help
166 Comtrend CT-5361 boards have a BCM6348 SoC with 16 MB of RAM and 4 MB
167 of flash (CFI).
168 Between its different peripherals there's a BCM5325 switch with 4
169 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and a
170 BCM4312 (miniPCI).
171
Álvaro Fernández Rojas77ca99d2017-04-25 00:39:26 +0200172config BOARD_COMTREND_VR3032U
173 bool "Comtrend VR-3032u board"
174 depends on SOC_BMIPS_BCM63268
175 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas9ac0b632017-05-16 18:47:49 +0200176 help
177 Comtrend VR-3032u boards have a BCM63268 SoC with 64 MB of RAM and
178 128 MB of flash (NAND).
179 Between its different peripherals there's an integrated switch with 4
180 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
181 and a BCM6362 (integrated).
Álvaro Fernández Rojas77ca99d2017-04-25 00:39:26 +0200182
Álvaro Fernández Rojasc320b922018-01-20 14:16:56 +0100183config BOARD_COMTREND_WAP5813N
184 bool "Comtrend WAP-5813n board"
185 depends on SOC_BMIPS_BCM6368
186 select BMIPS_SUPPORTS_BOOT_RAM
187 help
188 Comtrend WAP-5813n boards have a BCM6369 SoC with 64 MB of RAM and
189 8 MB of flash (CFI).
190 Between its different peripherals there's a BCM53115 switch with 5
191 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
192 and a BCM4322 (miniPCI).
193
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200194config BOARD_HUAWEI_HG556A
195 bool "Huawei EchoLife HG556a"
196 depends on SOC_BMIPS_BCM6358
197 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas9ac0b632017-05-16 18:47:49 +0200198 help
199 Huawei EchoLife HG556a boards have a BCM6358 SoC with 64 MB of RAM
200 and 16 MB of flash (CFI).
201 Between its different peripherals there's a BCM5325 switch with 4
202 ethernet ports, 3 USB ports, 1 UART, GPIO buttons and LEDs, and
203 a RT3062F/AR9223 (PCI).
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200204
Álvaro Fernández Rojasc4203e12017-05-16 18:42:43 +0200205config BOARD_NETGEAR_CG3100D
206 bool "Netgear CG3100D"
207 depends on SOC_BMIPS_BCM3380
208 select BMIPS_SUPPORTS_BOOT_RAM
209 help
210 Netgear CG3100D boards have a BCM3380 SoC with 64 MB of RAM and 8 MB
211 of flash (SPI).
212 Between its different peripherals there's a BCM53115 switch with 4
213 ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM43225
214 (miniPCIe).
215
Álvaro Fernández Rojas9d466f22018-02-03 10:30:28 +0100216config BOARD_NETGEAR_DGND3700V2
217 bool "Netgear DGND3700v2"
218 depends on SOC_BMIPS_BCM6362
219 select BMIPS_SUPPORTS_BOOT_RAM
220 help
221 Netgear DGND3700v2 boards have a BCM6362 SoC with 64 MB of RAM and
222 32 MB of flash (NAND).
223 Between its different peripherals there's a BCM53125 switch with 5
224 ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and a
225 BCM43228 (miniPCIe).
226
Álvaro Fernández Rojas8df37882017-05-16 18:46:59 +0200227config BOARD_SAGEM_FAST1704
228 bool "Sagem F@ST1704"
229 depends on SOC_BMIPS_BCM6338
230 select BMIPS_SUPPORTS_BOOT_RAM
231 help
232 Sagem F@ST1704 boards have a BCM6338 SoC with 16 MB of RAM and 4 MB
233 of flash (SPI).
234 Between its different peripherals there's a BCM5325 switch with 4
235 ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM4312
236 (miniPCI).
237
Álvaro Fernández Rojas63c011f2017-05-11 11:01:30 +0200238config BOARD_SFR_NB4_SER
239 bool "SFR NeufBox 4 (Sercomm)"
240 depends on SOC_BMIPS_BCM6358
241 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas9ac0b632017-05-16 18:47:49 +0200242 help
243 SFR NeufBox 4 (Sercomm) boards have a BCM6358 SoC with 32 MB of RAM
244 and 8 MB of flash (CFI).
245 Between its different peripherals there's a BCM5325 switch with 4
246 ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and
247 a BCM4318 (PCI).
Álvaro Fernández Rojas63c011f2017-05-11 11:01:30 +0200248
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200249endchoice
250
251choice
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +0200252 prompt "Boot mode"
253
254config BMIPS_BOOT_RAM
255 bool "RAM boot"
256 depends on BMIPS_SUPPORTS_BOOT_RAM
257 help
258 This builds an image that is linked to a RAM address. It can be used
259 for booting from CFE via TFTP using an ELF image, but it can also be
260 booted from RAM by other bootloaders using a BIN image.
261
262endchoice
263
264config BMIPS_SUPPORTS_BOOT_RAM
265 bool
266
Álvaro Fernández Rojas664ec312018-01-20 19:16:05 +0100267source "board/comtrend/ar5315u/Kconfig"
Álvaro Fernández Rojas0642f482017-04-25 00:39:24 +0200268source "board/comtrend/ar5387un/Kconfig"
Álvaro Fernández Rojas5e14ce22017-05-16 18:39:04 +0200269source "board/comtrend/ct5361/Kconfig"
Álvaro Fernández Rojas77ca99d2017-04-25 00:39:26 +0200270source "board/comtrend/vr3032u/Kconfig"
Álvaro Fernández Rojasc320b922018-01-20 14:16:56 +0100271source "board/comtrend/wap5813n/Kconfig"
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200272source "board/huawei/hg556a/Kconfig"
Álvaro Fernández Rojasc4203e12017-05-16 18:42:43 +0200273source "board/netgear/cg3100d/Kconfig"
Álvaro Fernández Rojas9d466f22018-02-03 10:30:28 +0100274source "board/netgear/dgnd3700v2/Kconfig"
Álvaro Fernández Rojas8df37882017-05-16 18:46:59 +0200275source "board/sagem/f@st1704/Kconfig"
Álvaro Fernández Rojas63c011f2017-05-11 11:01:30 +0200276source "board/sfr/nb4_ser/Kconfig"
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200277
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +0200278endmenu