blob: e4a0118368d346eabf726d77ec90460f19cdee44 [file] [log] [blame]
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +02001menu "Broadcom MIPS platforms"
2 depends on ARCH_BMIPS
3
Álvaro Fernández Rojasb212b902018-01-20 11:45:39 +01004config SYS_MALLOC_F_LEN
5 default 0x1000
6
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +02007config SYS_SOC
Álvaro Fernández Rojasec8d4c92017-05-16 18:42:42 +02008 default "bcm3380" if SOC_BMIPS_BCM3380
Álvaro Fernández Rojascade62c2018-01-20 19:16:04 +01009 default "bcm6318" if SOC_BMIPS_BCM6318
Álvaro Fernández Rojas3aa45762017-04-25 00:39:23 +020010 default "bcm6328" if SOC_BMIPS_BCM6328
Álvaro Fernández Rojase2b9ed02017-05-16 18:46:58 +020011 default "bcm6338" if SOC_BMIPS_BCM6338
Álvaro Fernández Rojas92da83d2017-05-16 18:39:03 +020012 default "bcm6348" if SOC_BMIPS_BCM6348
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020013 default "bcm6358" if SOC_BMIPS_BCM6358
Álvaro Fernández Rojas75d4cf22018-01-20 14:16:55 +010014 default "bcm6368" if SOC_BMIPS_BCM6368
Álvaro Fernández Rojasff1e41e2017-04-25 00:39:25 +020015 default "bcm63268" if SOC_BMIPS_BCM63268
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020016
17choice
18 prompt "Broadcom MIPS SoC select"
19
Álvaro Fernández Rojasec8d4c92017-05-16 18:42:42 +020020config SOC_BMIPS_BCM3380
21 bool "BMIPS BCM3380 family"
22 select SUPPORTS_BIG_ENDIAN
23 select SUPPORTS_CPU_MIPS32_R1
24 select MIPS_TUNE_4KC
25 select MIPS_L1_CACHE_SHIFT_4
26 select SWAP_IO_SPACE
27 select SYSRESET_WATCHDOG
28 help
29 This supports BMIPS BCM3380 family.
30
Álvaro Fernández Rojascade62c2018-01-20 19:16:04 +010031config SOC_BMIPS_BCM6318
32 bool "BMIPS BCM6318 family"
33 select SUPPORTS_BIG_ENDIAN
34 select SUPPORTS_CPU_MIPS32_R1
35 select MIPS_TUNE_4KC
36 select MIPS_L1_CACHE_SHIFT_4
37 select SWAP_IO_SPACE
38 select SYSRESET_SYSCON
39 help
40 This supports BMIPS BCM6318 family.
41
Álvaro Fernández Rojas3aa45762017-04-25 00:39:23 +020042config SOC_BMIPS_BCM6328
43 bool "BMIPS BCM6328 family"
44 select SUPPORTS_BIG_ENDIAN
45 select SUPPORTS_CPU_MIPS32_R1
46 select MIPS_TUNE_4KC
47 select MIPS_L1_CACHE_SHIFT_4
48 select SWAP_IO_SPACE
49 select SYSRESET_SYSCON
50 help
51 This supports BMIPS BCM6328 family including BCM63281 and BCM63283.
52
Álvaro Fernández Rojase2b9ed02017-05-16 18:46:58 +020053config SOC_BMIPS_BCM6338
54 bool "BMIPS BCM6338 family"
55 select SUPPORTS_BIG_ENDIAN
56 select SUPPORTS_CPU_MIPS32_R1
57 select MIPS_TUNE_4KC
58 select MIPS_L1_CACHE_SHIFT_4
59 select SWAP_IO_SPACE
60 select SYSRESET_SYSCON
61 help
62 This supports BMIPS BCM6338 family.
63
Álvaro Fernández Rojas92da83d2017-05-16 18:39:03 +020064config SOC_BMIPS_BCM6348
65 bool "BMIPS BCM6348 family"
66 select SUPPORTS_BIG_ENDIAN
67 select SUPPORTS_CPU_MIPS32_R1
68 select MIPS_TUNE_4KC
69 select MIPS_L1_CACHE_SHIFT_4
70 select SWAP_IO_SPACE
71 select SYSRESET_WATCHDOG
72 help
73 This supports BMIPS BCM6348 family.
74
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020075config SOC_BMIPS_BCM6358
76 bool "BMIPS BCM6358 family"
77 select SUPPORTS_BIG_ENDIAN
78 select SUPPORTS_CPU_MIPS32_R1
79 select MIPS_TUNE_4KC
80 select MIPS_L1_CACHE_SHIFT_4
81 select SWAP_IO_SPACE
82 select SYSRESET_SYSCON
83 help
84 This supports BMIPS BCM6358 family including BCM6358 and BCM6359.
85
Álvaro Fernández Rojas75d4cf22018-01-20 14:16:55 +010086config SOC_BMIPS_BCM6368
87 bool "BMIPS BCM6368 family"
88 select SUPPORTS_BIG_ENDIAN
89 select SUPPORTS_CPU_MIPS32_R1
90 select MIPS_TUNE_4KC
91 select MIPS_L1_CACHE_SHIFT_4
92 select SWAP_IO_SPACE
93 select SYSRESET_SYSCON
94 help
95 This supports BMIPS BCM6368 family including BCM6368 and BCM6369.
96
Álvaro Fernández Rojasff1e41e2017-04-25 00:39:25 +020097config SOC_BMIPS_BCM63268
98 bool "BMIPS BCM63268 family"
99 select SUPPORTS_BIG_ENDIAN
100 select SUPPORTS_CPU_MIPS32_R1
101 select MIPS_TUNE_4KC
102 select MIPS_L1_CACHE_SHIFT_4
103 select SWAP_IO_SPACE
104 select SYSRESET_SYSCON
105 help
106 This supports BMIPS BCM63268 family including BCM63168, BCM63169,
107 BCM63268 and BCM63269.
108
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +0200109endchoice
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +0200110
111choice
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200112 prompt "Board select"
113
Álvaro Fernández Rojas16f90b52018-01-20 19:16:05 +0100114config BOARD_COMTREND_AR5315U
115 bool "Comtrend AR-5315u"
116 depends on SOC_BMIPS_BCM6318
117 select BMIPS_SUPPORTS_BOOT_RAM
118 help
119 Comtrend AR-5315u boards have a BCM6318 SoC with 64 MB of RAM and 16
120 MB of flash (SPI).
121 Between its different peripherals there's an integrated switch with 4
122 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
123 a BCM43217 (PCIe).
124
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +0200125config BOARD_COMTREND_AR5387UN
126 bool "Comtrend AR-5387un"
127 depends on SOC_BMIPS_BCM6328
128 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200129 help
130 Comtrend AR-5387un boards have a BCM6328 SoC with 64 MB of RAM and 16
131 MB of flash (SPI).
132 Between its different peripherals there's an integrated switch with 4
133 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
134 a BCM43225 (PCIe).
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +0200135
Álvaro Fernández Rojas2149f3b2017-05-16 18:39:04 +0200136config BOARD_COMTREND_CT5361
137 bool "Comtrend CT-5361"
138 depends on SOC_BMIPS_BCM6348
139 select BMIPS_SUPPORTS_BOOT_RAM
140 help
141 Comtrend CT-5361 boards have a BCM6348 SoC with 16 MB of RAM and 4 MB
142 of flash (CFI).
143 Between its different peripherals there's a BCM5325 switch with 4
144 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and a
145 BCM4312 (miniPCI).
146
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +0200147config BOARD_COMTREND_VR3032U
148 bool "Comtrend VR-3032u board"
149 depends on SOC_BMIPS_BCM63268
150 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200151 help
152 Comtrend VR-3032u boards have a BCM63268 SoC with 64 MB of RAM and
153 128 MB of flash (NAND).
154 Between its different peripherals there's an integrated switch with 4
155 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
156 and a BCM6362 (integrated).
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +0200157
Álvaro Fernández Rojas69639f02018-01-20 14:16:56 +0100158config BOARD_COMTREND_WAP5813N
159 bool "Comtrend WAP-5813n board"
160 depends on SOC_BMIPS_BCM6368
161 select BMIPS_SUPPORTS_BOOT_RAM
162 help
163 Comtrend WAP-5813n boards have a BCM6369 SoC with 64 MB of RAM and
164 8 MB of flash (CFI).
165 Between its different peripherals there's a BCM53115 switch with 5
166 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
167 and a BCM4322 (miniPCI).
168
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200169config BOARD_HUAWEI_HG556A
170 bool "Huawei EchoLife HG556a"
171 depends on SOC_BMIPS_BCM6358
172 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200173 help
174 Huawei EchoLife HG556a boards have a BCM6358 SoC with 64 MB of RAM
175 and 16 MB of flash (CFI).
176 Between its different peripherals there's a BCM5325 switch with 4
177 ethernet ports, 3 USB ports, 1 UART, GPIO buttons and LEDs, and
178 a RT3062F/AR9223 (PCI).
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200179
Álvaro Fernández Rojas2ea88e62017-05-16 18:42:43 +0200180config BOARD_NETGEAR_CG3100D
181 bool "Netgear CG3100D"
182 depends on SOC_BMIPS_BCM3380
183 select BMIPS_SUPPORTS_BOOT_RAM
184 help
185 Netgear CG3100D boards have a BCM3380 SoC with 64 MB of RAM and 8 MB
186 of flash (SPI).
187 Between its different peripherals there's a BCM53115 switch with 4
188 ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM43225
189 (miniPCIe).
190
Álvaro Fernández Rojas01188572017-05-16 18:46:59 +0200191config BOARD_SAGEM_FAST1704
192 bool "Sagem F@ST1704"
193 depends on SOC_BMIPS_BCM6338
194 select BMIPS_SUPPORTS_BOOT_RAM
195 help
196 Sagem F@ST1704 boards have a BCM6338 SoC with 16 MB of RAM and 4 MB
197 of flash (SPI).
198 Between its different peripherals there's a BCM5325 switch with 4
199 ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM4312
200 (miniPCI).
201
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +0200202config BOARD_SFR_NB4_SER
203 bool "SFR NeufBox 4 (Sercomm)"
204 depends on SOC_BMIPS_BCM6358
205 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200206 help
207 SFR NeufBox 4 (Sercomm) boards have a BCM6358 SoC with 32 MB of RAM
208 and 8 MB of flash (CFI).
209 Between its different peripherals there's a BCM5325 switch with 4
210 ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and
211 a BCM4318 (PCI).
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +0200212
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200213endchoice
214
215choice
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +0200216 prompt "Boot mode"
217
218config BMIPS_BOOT_RAM
219 bool "RAM boot"
220 depends on BMIPS_SUPPORTS_BOOT_RAM
221 help
222 This builds an image that is linked to a RAM address. It can be used
223 for booting from CFE via TFTP using an ELF image, but it can also be
224 booted from RAM by other bootloaders using a BIN image.
225
226endchoice
227
228config BMIPS_SUPPORTS_BOOT_RAM
229 bool
230
Álvaro Fernández Rojas16f90b52018-01-20 19:16:05 +0100231source "board/comtrend/ar5315u/Kconfig"
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +0200232source "board/comtrend/ar5387un/Kconfig"
Álvaro Fernández Rojas2149f3b2017-05-16 18:39:04 +0200233source "board/comtrend/ct5361/Kconfig"
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +0200234source "board/comtrend/vr3032u/Kconfig"
Álvaro Fernández Rojas69639f02018-01-20 14:16:56 +0100235source "board/comtrend/wap5813n/Kconfig"
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200236source "board/huawei/hg556a/Kconfig"
Álvaro Fernández Rojas2ea88e62017-05-16 18:42:43 +0200237source "board/netgear/cg3100d/Kconfig"
Álvaro Fernández Rojas01188572017-05-16 18:46:59 +0200238source "board/sagem/f@st1704/Kconfig"
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +0200239source "board/sfr/nb4_ser/Kconfig"
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200240
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +0200241endmenu