blob: 2cc6a6a8d9d94b7882ad7839bd1cd8e237e09457 [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"
23 select SUPPORTS_BIG_ENDIAN
24 select SUPPORTS_CPU_MIPS32_R1
25 select MIPS_TUNE_4KC
26 select MIPS_L1_CACHE_SHIFT_4
27 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"
34 select SUPPORTS_BIG_ENDIAN
35 select SUPPORTS_CPU_MIPS32_R1
36 select MIPS_TUNE_4KC
37 select MIPS_L1_CACHE_SHIFT_4
38 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"
45 select SUPPORTS_BIG_ENDIAN
46 select SUPPORTS_CPU_MIPS32_R1
47 select MIPS_TUNE_4KC
48 select MIPS_L1_CACHE_SHIFT_4
49 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"
56 select SUPPORTS_BIG_ENDIAN
57 select SUPPORTS_CPU_MIPS32_R1
58 select MIPS_TUNE_4KC
59 select MIPS_L1_CACHE_SHIFT_4
60 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"
67 select SUPPORTS_BIG_ENDIAN
68 select SUPPORTS_CPU_MIPS32_R1
69 select MIPS_TUNE_4KC
70 select MIPS_L1_CACHE_SHIFT_4
71 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"
78 select SUPPORTS_BIG_ENDIAN
79 select SUPPORTS_CPU_MIPS32_R1
80 select MIPS_TUNE_4KC
81 select MIPS_L1_CACHE_SHIFT_4
82 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"
89 select SUPPORTS_BIG_ENDIAN
90 select SUPPORTS_CPU_MIPS32_R1
91 select MIPS_TUNE_4KC
92 select MIPS_L1_CACHE_SHIFT_4
93 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"
100 select SUPPORTS_BIG_ENDIAN
101 select SUPPORTS_CPU_MIPS32_R1
102 select MIPS_TUNE_4KC
103 select MIPS_L1_CACHE_SHIFT_4
104 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"
111 select SUPPORTS_BIG_ENDIAN
112 select SUPPORTS_CPU_MIPS32_R1
113 select MIPS_TUNE_4KC
114 select MIPS_L1_CACHE_SHIFT_4
115 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 Rojas8df37882017-05-16 18:46:59 +0200203config BOARD_SAGEM_FAST1704
204 bool "Sagem F@ST1704"
205 depends on SOC_BMIPS_BCM6338
206 select BMIPS_SUPPORTS_BOOT_RAM
207 help
208 Sagem F@ST1704 boards have a BCM6338 SoC with 16 MB of RAM and 4 MB
209 of flash (SPI).
210 Between its different peripherals there's a BCM5325 switch with 4
211 ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM4312
212 (miniPCI).
213
Álvaro Fernández Rojas63c011f2017-05-11 11:01:30 +0200214config BOARD_SFR_NB4_SER
215 bool "SFR NeufBox 4 (Sercomm)"
216 depends on SOC_BMIPS_BCM6358
217 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas9ac0b632017-05-16 18:47:49 +0200218 help
219 SFR NeufBox 4 (Sercomm) boards have a BCM6358 SoC with 32 MB of RAM
220 and 8 MB of flash (CFI).
221 Between its different peripherals there's a BCM5325 switch with 4
222 ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and
223 a BCM4318 (PCI).
Álvaro Fernández Rojas63c011f2017-05-11 11:01:30 +0200224
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200225endchoice
226
227choice
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +0200228 prompt "Boot mode"
229
230config BMIPS_BOOT_RAM
231 bool "RAM boot"
232 depends on BMIPS_SUPPORTS_BOOT_RAM
233 help
234 This builds an image that is linked to a RAM address. It can be used
235 for booting from CFE via TFTP using an ELF image, but it can also be
236 booted from RAM by other bootloaders using a BIN image.
237
238endchoice
239
240config BMIPS_SUPPORTS_BOOT_RAM
241 bool
242
Álvaro Fernández Rojas664ec312018-01-20 19:16:05 +0100243source "board/comtrend/ar5315u/Kconfig"
Álvaro Fernández Rojas0642f482017-04-25 00:39:24 +0200244source "board/comtrend/ar5387un/Kconfig"
Álvaro Fernández Rojas5e14ce22017-05-16 18:39:04 +0200245source "board/comtrend/ct5361/Kconfig"
Álvaro Fernández Rojas77ca99d2017-04-25 00:39:26 +0200246source "board/comtrend/vr3032u/Kconfig"
Álvaro Fernández Rojasc320b922018-01-20 14:16:56 +0100247source "board/comtrend/wap5813n/Kconfig"
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200248source "board/huawei/hg556a/Kconfig"
Álvaro Fernández Rojasc4203e12017-05-16 18:42:43 +0200249source "board/netgear/cg3100d/Kconfig"
Álvaro Fernández Rojas8df37882017-05-16 18:46:59 +0200250source "board/sagem/f@st1704/Kconfig"
Álvaro Fernández Rojas63c011f2017-05-11 11:01:30 +0200251source "board/sfr/nb4_ser/Kconfig"
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200252
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +0200253endmenu