bcm6838: add initial support
[platform/kernel/u-boot.git] / arch / mips / mach-bmips / Kconfig
1 menu "Broadcom MIPS platforms"
2         depends on ARCH_BMIPS
3
4 config SYS_MALLOC_F_LEN
5         default 0x1000
6
7 config SYS_SOC
8         default "bcm3380" if SOC_BMIPS_BCM3380
9         default "bcm6318" if SOC_BMIPS_BCM6318
10         default "bcm6328" if SOC_BMIPS_BCM6328
11         default "bcm6338" if SOC_BMIPS_BCM6338
12         default "bcm6348" if SOC_BMIPS_BCM6348
13         default "bcm6358" if SOC_BMIPS_BCM6358
14         default "bcm6368" if SOC_BMIPS_BCM6368
15         default "bcm6362" if SOC_BMIPS_BCM6362
16         default "bcm63268" if SOC_BMIPS_BCM63268
17         default "bcm6838" if SOC_BMIPS_BCM6838
18
19 choice
20         prompt "Broadcom MIPS SoC select"
21
22 config SOC_BMIPS_BCM3380
23         bool "BMIPS BCM3380 family"
24         select MIPS_L1_CACHE_SHIFT_4
25         select MIPS_TUNE_4KC
26         select SUPPORTS_BIG_ENDIAN
27         select SUPPORTS_CPU_MIPS32_R1
28         select SWAP_IO_SPACE
29         select SYSRESET_WATCHDOG
30         help
31           This supports BMIPS BCM3380 family.
32
33 config SOC_BMIPS_BCM6318
34         bool "BMIPS BCM6318 family"
35         select MIPS_L1_CACHE_SHIFT_4
36         select MIPS_TUNE_4KC
37         select SUPPORTS_BIG_ENDIAN
38         select SUPPORTS_CPU_MIPS32_R1
39         select SWAP_IO_SPACE
40         select SYSRESET_SYSCON
41         help
42           This supports BMIPS BCM6318 family.
43
44 config SOC_BMIPS_BCM6328
45         bool "BMIPS BCM6328 family"
46         select MIPS_L1_CACHE_SHIFT_4
47         select MIPS_TUNE_4KC
48         select SUPPORTS_BIG_ENDIAN
49         select SUPPORTS_CPU_MIPS32_R1
50         select SWAP_IO_SPACE
51         select SYSRESET_SYSCON
52         help
53           This supports BMIPS BCM6328 family including BCM63281 and BCM63283.
54
55 config SOC_BMIPS_BCM6338
56         bool "BMIPS BCM6338 family"
57         select MIPS_L1_CACHE_SHIFT_4
58         select MIPS_TUNE_4KC
59         select SUPPORTS_BIG_ENDIAN
60         select SUPPORTS_CPU_MIPS32_R1
61         select SWAP_IO_SPACE
62         select SYSRESET_SYSCON
63         help
64           This supports BMIPS BCM6338 family.
65
66 config SOC_BMIPS_BCM6348
67         bool "BMIPS BCM6348 family"
68         select MIPS_L1_CACHE_SHIFT_4
69         select MIPS_TUNE_4KC
70         select SUPPORTS_BIG_ENDIAN
71         select SUPPORTS_CPU_MIPS32_R1
72         select SWAP_IO_SPACE
73         select SYSRESET_WATCHDOG
74         help
75           This supports BMIPS BCM6348 family.
76
77 config SOC_BMIPS_BCM6358
78         bool "BMIPS BCM6358 family"
79         select MIPS_L1_CACHE_SHIFT_4
80         select MIPS_TUNE_4KC
81         select SUPPORTS_BIG_ENDIAN
82         select SUPPORTS_CPU_MIPS32_R1
83         select SWAP_IO_SPACE
84         select SYSRESET_SYSCON
85         help
86           This supports BMIPS BCM6358 family including BCM6358 and BCM6359.
87
88 config SOC_BMIPS_BCM6368
89         bool "BMIPS BCM6368 family"
90         select MIPS_L1_CACHE_SHIFT_4
91         select MIPS_TUNE_4KC
92         select SUPPORTS_BIG_ENDIAN
93         select SUPPORTS_CPU_MIPS32_R1
94         select SWAP_IO_SPACE
95         select SYSRESET_SYSCON
96         help
97           This supports BMIPS BCM6368 family including BCM6368 and BCM6369.
98
99 config SOC_BMIPS_BCM6362
100         bool "BMIPS BCM6362 family"
101         select MIPS_L1_CACHE_SHIFT_4
102         select MIPS_TUNE_4KC
103         select SUPPORTS_BIG_ENDIAN
104         select SUPPORTS_CPU_MIPS32_R1
105         select SWAP_IO_SPACE
106         select SYSRESET_SYSCON
107         help
108           This supports BMIPS BCM6362 family including BCM6361 and BCM6362.
109
110 config SOC_BMIPS_BCM63268
111         bool "BMIPS BCM63268 family"
112         select MIPS_L1_CACHE_SHIFT_4
113         select MIPS_TUNE_4KC
114         select SUPPORTS_BIG_ENDIAN
115         select SUPPORTS_CPU_MIPS32_R1
116         select SWAP_IO_SPACE
117         select SYSRESET_SYSCON
118         help
119           This supports BMIPS BCM63268 family including BCM63168, BCM63169,
120           BCM63268 and BCM63269.
121
122 config 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
134 endchoice
135
136 choice
137         prompt "Board select"
138
139 config 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
150 config BOARD_COMTREND_AR5387UN
151         bool "Comtrend AR-5387un"
152         depends on SOC_BMIPS_BCM6328
153         select BMIPS_SUPPORTS_BOOT_RAM
154         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).
160
161 config 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
172 config BOARD_COMTREND_VR3032U
173         bool "Comtrend VR-3032u board"
174         depends on SOC_BMIPS_BCM63268
175         select BMIPS_SUPPORTS_BOOT_RAM
176         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).
182
183 config 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
194 config BOARD_HUAWEI_HG556A
195         bool "Huawei EchoLife HG556a"
196         depends on SOC_BMIPS_BCM6358
197         select BMIPS_SUPPORTS_BOOT_RAM
198         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).
204
205 config 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
216 config 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
227 config 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
238 config BOARD_SFR_NB4_SER
239         bool "SFR NeufBox 4 (Sercomm)"
240         depends on SOC_BMIPS_BCM6358
241         select BMIPS_SUPPORTS_BOOT_RAM
242         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).
248
249 endchoice
250
251 choice
252         prompt "Boot mode"
253
254 config 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
262 endchoice
263
264 config BMIPS_SUPPORTS_BOOT_RAM
265         bool
266
267 source "board/comtrend/ar5315u/Kconfig"
268 source "board/comtrend/ar5387un/Kconfig"
269 source "board/comtrend/ct5361/Kconfig"
270 source "board/comtrend/vr3032u/Kconfig"
271 source "board/comtrend/wap5813n/Kconfig"
272 source "board/huawei/hg556a/Kconfig"
273 source "board/netgear/cg3100d/Kconfig"
274 source "board/netgear/dgnd3700v2/Kconfig"
275 source "board/sagem/f@st1704/Kconfig"
276 source "board/sfr/nb4_ser/Kconfig"
277
278 endmenu