blob: 5968d5345ed7c33b0f0190a1853a4cb258f6672e [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
Álvaro Fernández Rojase30d2bd2017-04-25 00:39:21 +020017
18choice
19 prompt "Broadcom MIPS SoC select"
20
Álvaro Fernández Rojas23a21682017-05-16 18:42:42 +020021config SOC_BMIPS_BCM3380
22 bool "BMIPS BCM3380 family"
Michal Simek58008cb2018-07-23 15:55:15 +020023 select MIPS_L1_CACHE_SHIFT_4
24 select MIPS_TUNE_4KC
Álvaro Fernández Rojas23a21682017-05-16 18:42:42 +020025 select SUPPORTS_BIG_ENDIAN
26 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas23a21682017-05-16 18:42:42 +020027 select SWAP_IO_SPACE
28 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 SWAP_IO_SPACE
39 select SYSRESET_SYSCON
40 help
41 This supports BMIPS BCM6318 family.
42
Álvaro Fernández Rojas6471a222017-04-25 00:39:23 +020043config SOC_BMIPS_BCM6328
44 bool "BMIPS BCM6328 family"
Michal Simek58008cb2018-07-23 15:55:15 +020045 select MIPS_L1_CACHE_SHIFT_4
46 select MIPS_TUNE_4KC
Álvaro Fernández Rojas6471a222017-04-25 00:39:23 +020047 select SUPPORTS_BIG_ENDIAN
48 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas6471a222017-04-25 00:39:23 +020049 select SWAP_IO_SPACE
50 select SYSRESET_SYSCON
51 help
52 This supports BMIPS BCM6328 family including BCM63281 and BCM63283.
53
Álvaro Fernández Rojas07661e72017-05-16 18:46:58 +020054config SOC_BMIPS_BCM6338
55 bool "BMIPS BCM6338 family"
Michal Simek58008cb2018-07-23 15:55:15 +020056 select MIPS_L1_CACHE_SHIFT_4
57 select MIPS_TUNE_4KC
Álvaro Fernández Rojas07661e72017-05-16 18:46:58 +020058 select SUPPORTS_BIG_ENDIAN
59 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas07661e72017-05-16 18:46:58 +020060 select SWAP_IO_SPACE
61 select SYSRESET_SYSCON
62 help
63 This supports BMIPS BCM6338 family.
64
Álvaro Fernández Rojasbf9012b2017-05-16 18:39:03 +020065config SOC_BMIPS_BCM6348
66 bool "BMIPS BCM6348 family"
Michal Simek58008cb2018-07-23 15:55:15 +020067 select MIPS_L1_CACHE_SHIFT_4
68 select MIPS_TUNE_4KC
Álvaro Fernández Rojasbf9012b2017-05-16 18:39:03 +020069 select SUPPORTS_BIG_ENDIAN
70 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojasbf9012b2017-05-16 18:39:03 +020071 select SWAP_IO_SPACE
72 select SYSRESET_WATCHDOG
73 help
74 This supports BMIPS BCM6348 family.
75
Álvaro Fernández Rojase30d2bd2017-04-25 00:39:21 +020076config SOC_BMIPS_BCM6358
77 bool "BMIPS BCM6358 family"
Michal Simek58008cb2018-07-23 15:55:15 +020078 select MIPS_L1_CACHE_SHIFT_4
79 select MIPS_TUNE_4KC
Álvaro Fernández Rojase30d2bd2017-04-25 00:39:21 +020080 select SUPPORTS_BIG_ENDIAN
81 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojase30d2bd2017-04-25 00:39:21 +020082 select SWAP_IO_SPACE
83 select SYSRESET_SYSCON
84 help
85 This supports BMIPS BCM6358 family including BCM6358 and BCM6359.
86
Álvaro Fernández Rojas43b7ab92018-01-20 14:16:55 +010087config SOC_BMIPS_BCM6368
88 bool "BMIPS BCM6368 family"
Michal Simek58008cb2018-07-23 15:55:15 +020089 select MIPS_L1_CACHE_SHIFT_4
90 select MIPS_TUNE_4KC
Álvaro Fernández Rojas43b7ab92018-01-20 14:16:55 +010091 select SUPPORTS_BIG_ENDIAN
92 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas43b7ab92018-01-20 14:16:55 +010093 select SWAP_IO_SPACE
94 select SYSRESET_SYSCON
95 help
96 This supports BMIPS BCM6368 family including BCM6368 and BCM6369.
97
Álvaro Fernández Rojas8f240a32018-02-03 10:30:27 +010098config SOC_BMIPS_BCM6362
99 bool "BMIPS BCM6362 family"
Michal Simek58008cb2018-07-23 15:55:15 +0200100 select MIPS_L1_CACHE_SHIFT_4
101 select MIPS_TUNE_4KC
Álvaro Fernández Rojas8f240a32018-02-03 10:30:27 +0100102 select SUPPORTS_BIG_ENDIAN
103 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas8f240a32018-02-03 10:30:27 +0100104 select SWAP_IO_SPACE
105 select SYSRESET_SYSCON
106 help
107 This supports BMIPS BCM6362 family including BCM6361 and BCM6362.
108
Álvaro Fernández Rojas6a235bb2017-04-25 00:39:25 +0200109config SOC_BMIPS_BCM63268
110 bool "BMIPS BCM63268 family"
Michal Simek58008cb2018-07-23 15:55:15 +0200111 select MIPS_L1_CACHE_SHIFT_4
112 select MIPS_TUNE_4KC
Álvaro Fernández Rojas6a235bb2017-04-25 00:39:25 +0200113 select SUPPORTS_BIG_ENDIAN
114 select SUPPORTS_CPU_MIPS32_R1
Álvaro Fernández Rojas6a235bb2017-04-25 00:39:25 +0200115 select SWAP_IO_SPACE
116 select SYSRESET_SYSCON
117 help
118 This supports BMIPS BCM63268 family including BCM63168, BCM63169,
119 BCM63268 and BCM63269.
120
Álvaro Fernández Rojase30d2bd2017-04-25 00:39:21 +0200121endchoice
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +0200122
123choice
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200124 prompt "Board select"
125
Álvaro Fernández Rojas664ec312018-01-20 19:16:05 +0100126config BOARD_COMTREND_AR5315U
127 bool "Comtrend AR-5315u"
128 depends on SOC_BMIPS_BCM6318
129 select BMIPS_SUPPORTS_BOOT_RAM
130 help
131 Comtrend AR-5315u boards have a BCM6318 SoC with 64 MB of RAM and 16
132 MB of flash (SPI).
133 Between its different peripherals there's an integrated switch with 4
134 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
135 a BCM43217 (PCIe).
136
Álvaro Fernández Rojas0642f482017-04-25 00:39:24 +0200137config BOARD_COMTREND_AR5387UN
138 bool "Comtrend AR-5387un"
139 depends on SOC_BMIPS_BCM6328
140 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas9ac0b632017-05-16 18:47:49 +0200141 help
142 Comtrend AR-5387un boards have a BCM6328 SoC with 64 MB of RAM and 16
143 MB of flash (SPI).
144 Between its different peripherals there's an integrated switch with 4
145 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
146 a BCM43225 (PCIe).
Álvaro Fernández Rojas0642f482017-04-25 00:39:24 +0200147
Álvaro Fernández Rojas5e14ce22017-05-16 18:39:04 +0200148config BOARD_COMTREND_CT5361
149 bool "Comtrend CT-5361"
150 depends on SOC_BMIPS_BCM6348
151 select BMIPS_SUPPORTS_BOOT_RAM
152 help
153 Comtrend CT-5361 boards have a BCM6348 SoC with 16 MB of RAM and 4 MB
154 of flash (CFI).
155 Between its different peripherals there's a BCM5325 switch with 4
156 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and a
157 BCM4312 (miniPCI).
158
Álvaro Fernández Rojas77ca99d2017-04-25 00:39:26 +0200159config BOARD_COMTREND_VR3032U
160 bool "Comtrend VR-3032u board"
161 depends on SOC_BMIPS_BCM63268
162 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas9ac0b632017-05-16 18:47:49 +0200163 help
164 Comtrend VR-3032u boards have a BCM63268 SoC with 64 MB of RAM and
165 128 MB of flash (NAND).
166 Between its different peripherals there's an integrated switch with 4
167 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
168 and a BCM6362 (integrated).
Álvaro Fernández Rojas77ca99d2017-04-25 00:39:26 +0200169
Álvaro Fernández Rojasc320b922018-01-20 14:16:56 +0100170config BOARD_COMTREND_WAP5813N
171 bool "Comtrend WAP-5813n board"
172 depends on SOC_BMIPS_BCM6368
173 select BMIPS_SUPPORTS_BOOT_RAM
174 help
175 Comtrend WAP-5813n boards have a BCM6369 SoC with 64 MB of RAM and
176 8 MB of flash (CFI).
177 Between its different peripherals there's a BCM53115 switch with 5
178 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
179 and a BCM4322 (miniPCI).
180
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200181config BOARD_HUAWEI_HG556A
182 bool "Huawei EchoLife HG556a"
183 depends on SOC_BMIPS_BCM6358
184 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas9ac0b632017-05-16 18:47:49 +0200185 help
186 Huawei EchoLife HG556a boards have a BCM6358 SoC with 64 MB of RAM
187 and 16 MB of flash (CFI).
188 Between its different peripherals there's a BCM5325 switch with 4
189 ethernet ports, 3 USB ports, 1 UART, GPIO buttons and LEDs, and
190 a RT3062F/AR9223 (PCI).
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200191
Álvaro Fernández Rojasc4203e12017-05-16 18:42:43 +0200192config BOARD_NETGEAR_CG3100D
193 bool "Netgear CG3100D"
194 depends on SOC_BMIPS_BCM3380
195 select BMIPS_SUPPORTS_BOOT_RAM
196 help
197 Netgear CG3100D boards have a BCM3380 SoC with 64 MB of RAM and 8 MB
198 of flash (SPI).
199 Between its different peripherals there's a BCM53115 switch with 4
200 ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM43225
201 (miniPCIe).
202
Álvaro Fernández Rojas9d466f22018-02-03 10:30:28 +0100203config BOARD_NETGEAR_DGND3700V2
204 bool "Netgear DGND3700v2"
205 depends on SOC_BMIPS_BCM6362
206 select BMIPS_SUPPORTS_BOOT_RAM
207 help
208 Netgear DGND3700v2 boards have a BCM6362 SoC with 64 MB of RAM and
209 32 MB of flash (NAND).
210 Between its different peripherals there's a BCM53125 switch with 5
211 ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and a
212 BCM43228 (miniPCIe).
213
Álvaro Fernández Rojas8df37882017-05-16 18:46:59 +0200214config BOARD_SAGEM_FAST1704
215 bool "Sagem F@ST1704"
216 depends on SOC_BMIPS_BCM6338
217 select BMIPS_SUPPORTS_BOOT_RAM
218 help
219 Sagem F@ST1704 boards have a BCM6338 SoC with 16 MB of RAM and 4 MB
220 of flash (SPI).
221 Between its different peripherals there's a BCM5325 switch with 4
222 ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM4312
223 (miniPCI).
224
Álvaro Fernández Rojas63c011f2017-05-11 11:01:30 +0200225config BOARD_SFR_NB4_SER
226 bool "SFR NeufBox 4 (Sercomm)"
227 depends on SOC_BMIPS_BCM6358
228 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas9ac0b632017-05-16 18:47:49 +0200229 help
230 SFR NeufBox 4 (Sercomm) boards have a BCM6358 SoC with 32 MB of RAM
231 and 8 MB of flash (CFI).
232 Between its different peripherals there's a BCM5325 switch with 4
233 ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and
234 a BCM4318 (PCI).
Álvaro Fernández Rojas63c011f2017-05-11 11:01:30 +0200235
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200236endchoice
237
238choice
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +0200239 prompt "Boot mode"
240
241config BMIPS_BOOT_RAM
242 bool "RAM boot"
243 depends on BMIPS_SUPPORTS_BOOT_RAM
244 help
245 This builds an image that is linked to a RAM address. It can be used
246 for booting from CFE via TFTP using an ELF image, but it can also be
247 booted from RAM by other bootloaders using a BIN image.
248
249endchoice
250
251config BMIPS_SUPPORTS_BOOT_RAM
252 bool
253
Álvaro Fernández Rojas664ec312018-01-20 19:16:05 +0100254source "board/comtrend/ar5315u/Kconfig"
Álvaro Fernández Rojas0642f482017-04-25 00:39:24 +0200255source "board/comtrend/ar5387un/Kconfig"
Álvaro Fernández Rojas5e14ce22017-05-16 18:39:04 +0200256source "board/comtrend/ct5361/Kconfig"
Álvaro Fernández Rojas77ca99d2017-04-25 00:39:26 +0200257source "board/comtrend/vr3032u/Kconfig"
Álvaro Fernández Rojasc320b922018-01-20 14:16:56 +0100258source "board/comtrend/wap5813n/Kconfig"
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200259source "board/huawei/hg556a/Kconfig"
Álvaro Fernández Rojasc4203e12017-05-16 18:42:43 +0200260source "board/netgear/cg3100d/Kconfig"
Álvaro Fernández Rojas9d466f22018-02-03 10:30:28 +0100261source "board/netgear/dgnd3700v2/Kconfig"
Álvaro Fernández Rojas8df37882017-05-16 18:46:59 +0200262source "board/sagem/f@st1704/Kconfig"
Álvaro Fernández Rojas63c011f2017-05-11 11:01:30 +0200263source "board/sfr/nb4_ser/Kconfig"
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200264
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +0200265endmenu