blob: 936b67f5f2098b27e55e83963ad97bc7055029c3 [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 Rojas3aa45762017-04-25 00:39:23 +02009 default "bcm6328" if SOC_BMIPS_BCM6328
Álvaro Fernández Rojase2b9ed02017-05-16 18:46:58 +020010 default "bcm6338" if SOC_BMIPS_BCM6338
Álvaro Fernández Rojas92da83d2017-05-16 18:39:03 +020011 default "bcm6348" if SOC_BMIPS_BCM6348
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020012 default "bcm6358" if SOC_BMIPS_BCM6358
Álvaro Fernández Rojas75d4cf22018-01-20 14:16:55 +010013 default "bcm6368" if SOC_BMIPS_BCM6368
Álvaro Fernández Rojasff1e41e2017-04-25 00:39:25 +020014 default "bcm63268" if SOC_BMIPS_BCM63268
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020015
16choice
17 prompt "Broadcom MIPS SoC select"
18
Álvaro Fernández Rojasec8d4c92017-05-16 18:42:42 +020019config SOC_BMIPS_BCM3380
20 bool "BMIPS BCM3380 family"
21 select SUPPORTS_BIG_ENDIAN
22 select SUPPORTS_CPU_MIPS32_R1
23 select MIPS_TUNE_4KC
24 select MIPS_L1_CACHE_SHIFT_4
25 select SWAP_IO_SPACE
26 select SYSRESET_WATCHDOG
27 help
28 This supports BMIPS BCM3380 family.
29
Álvaro Fernández Rojas3aa45762017-04-25 00:39:23 +020030config SOC_BMIPS_BCM6328
31 bool "BMIPS BCM6328 family"
32 select SUPPORTS_BIG_ENDIAN
33 select SUPPORTS_CPU_MIPS32_R1
34 select MIPS_TUNE_4KC
35 select MIPS_L1_CACHE_SHIFT_4
36 select SWAP_IO_SPACE
37 select SYSRESET_SYSCON
38 help
39 This supports BMIPS BCM6328 family including BCM63281 and BCM63283.
40
Álvaro Fernández Rojase2b9ed02017-05-16 18:46:58 +020041config SOC_BMIPS_BCM6338
42 bool "BMIPS BCM6338 family"
43 select SUPPORTS_BIG_ENDIAN
44 select SUPPORTS_CPU_MIPS32_R1
45 select MIPS_TUNE_4KC
46 select MIPS_L1_CACHE_SHIFT_4
47 select SWAP_IO_SPACE
48 select SYSRESET_SYSCON
49 help
50 This supports BMIPS BCM6338 family.
51
Álvaro Fernández Rojas92da83d2017-05-16 18:39:03 +020052config SOC_BMIPS_BCM6348
53 bool "BMIPS BCM6348 family"
54 select SUPPORTS_BIG_ENDIAN
55 select SUPPORTS_CPU_MIPS32_R1
56 select MIPS_TUNE_4KC
57 select MIPS_L1_CACHE_SHIFT_4
58 select SWAP_IO_SPACE
59 select SYSRESET_WATCHDOG
60 help
61 This supports BMIPS BCM6348 family.
62
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020063config SOC_BMIPS_BCM6358
64 bool "BMIPS BCM6358 family"
65 select SUPPORTS_BIG_ENDIAN
66 select SUPPORTS_CPU_MIPS32_R1
67 select MIPS_TUNE_4KC
68 select MIPS_L1_CACHE_SHIFT_4
69 select SWAP_IO_SPACE
70 select SYSRESET_SYSCON
71 help
72 This supports BMIPS BCM6358 family including BCM6358 and BCM6359.
73
Álvaro Fernández Rojas75d4cf22018-01-20 14:16:55 +010074config SOC_BMIPS_BCM6368
75 bool "BMIPS BCM6368 family"
76 select SUPPORTS_BIG_ENDIAN
77 select SUPPORTS_CPU_MIPS32_R1
78 select MIPS_TUNE_4KC
79 select MIPS_L1_CACHE_SHIFT_4
80 select SWAP_IO_SPACE
81 select SYSRESET_SYSCON
82 help
83 This supports BMIPS BCM6368 family including BCM6368 and BCM6369.
84
Álvaro Fernández Rojasff1e41e2017-04-25 00:39:25 +020085config SOC_BMIPS_BCM63268
86 bool "BMIPS BCM63268 family"
87 select SUPPORTS_BIG_ENDIAN
88 select SUPPORTS_CPU_MIPS32_R1
89 select MIPS_TUNE_4KC
90 select MIPS_L1_CACHE_SHIFT_4
91 select SWAP_IO_SPACE
92 select SYSRESET_SYSCON
93 help
94 This supports BMIPS BCM63268 family including BCM63168, BCM63169,
95 BCM63268 and BCM63269.
96
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020097endchoice
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +020098
99choice
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200100 prompt "Board select"
101
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +0200102config BOARD_COMTREND_AR5387UN
103 bool "Comtrend AR-5387un"
104 depends on SOC_BMIPS_BCM6328
105 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200106 help
107 Comtrend AR-5387un boards have a BCM6328 SoC with 64 MB of RAM and 16
108 MB of flash (SPI).
109 Between its different peripherals there's an integrated switch with 4
110 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
111 a BCM43225 (PCIe).
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +0200112
Álvaro Fernández Rojas2149f3b2017-05-16 18:39:04 +0200113config BOARD_COMTREND_CT5361
114 bool "Comtrend CT-5361"
115 depends on SOC_BMIPS_BCM6348
116 select BMIPS_SUPPORTS_BOOT_RAM
117 help
118 Comtrend CT-5361 boards have a BCM6348 SoC with 16 MB of RAM and 4 MB
119 of flash (CFI).
120 Between its different peripherals there's a BCM5325 switch with 4
121 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and a
122 BCM4312 (miniPCI).
123
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +0200124config BOARD_COMTREND_VR3032U
125 bool "Comtrend VR-3032u board"
126 depends on SOC_BMIPS_BCM63268
127 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200128 help
129 Comtrend VR-3032u boards have a BCM63268 SoC with 64 MB of RAM and
130 128 MB of flash (NAND).
131 Between its different peripherals there's an integrated switch with 4
132 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
133 and a BCM6362 (integrated).
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +0200134
Álvaro Fernández Rojas69639f02018-01-20 14:16:56 +0100135config BOARD_COMTREND_WAP5813N
136 bool "Comtrend WAP-5813n board"
137 depends on SOC_BMIPS_BCM6368
138 select BMIPS_SUPPORTS_BOOT_RAM
139 help
140 Comtrend WAP-5813n boards have a BCM6369 SoC with 64 MB of RAM and
141 8 MB of flash (CFI).
142 Between its different peripherals there's a BCM53115 switch with 5
143 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
144 and a BCM4322 (miniPCI).
145
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200146config BOARD_HUAWEI_HG556A
147 bool "Huawei EchoLife HG556a"
148 depends on SOC_BMIPS_BCM6358
149 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200150 help
151 Huawei EchoLife HG556a boards have a BCM6358 SoC with 64 MB of RAM
152 and 16 MB of flash (CFI).
153 Between its different peripherals there's a BCM5325 switch with 4
154 ethernet ports, 3 USB ports, 1 UART, GPIO buttons and LEDs, and
155 a RT3062F/AR9223 (PCI).
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200156
Álvaro Fernández Rojas2ea88e62017-05-16 18:42:43 +0200157config BOARD_NETGEAR_CG3100D
158 bool "Netgear CG3100D"
159 depends on SOC_BMIPS_BCM3380
160 select BMIPS_SUPPORTS_BOOT_RAM
161 help
162 Netgear CG3100D boards have a BCM3380 SoC with 64 MB of RAM and 8 MB
163 of flash (SPI).
164 Between its different peripherals there's a BCM53115 switch with 4
165 ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM43225
166 (miniPCIe).
167
Álvaro Fernández Rojas01188572017-05-16 18:46:59 +0200168config BOARD_SAGEM_FAST1704
169 bool "Sagem F@ST1704"
170 depends on SOC_BMIPS_BCM6338
171 select BMIPS_SUPPORTS_BOOT_RAM
172 help
173 Sagem F@ST1704 boards have a BCM6338 SoC with 16 MB of RAM and 4 MB
174 of flash (SPI).
175 Between its different peripherals there's a BCM5325 switch with 4
176 ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM4312
177 (miniPCI).
178
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +0200179config BOARD_SFR_NB4_SER
180 bool "SFR NeufBox 4 (Sercomm)"
181 depends on SOC_BMIPS_BCM6358
182 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200183 help
184 SFR NeufBox 4 (Sercomm) boards have a BCM6358 SoC with 32 MB of RAM
185 and 8 MB of flash (CFI).
186 Between its different peripherals there's a BCM5325 switch with 4
187 ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and
188 a BCM4318 (PCI).
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +0200189
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200190endchoice
191
192choice
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +0200193 prompt "Boot mode"
194
195config BMIPS_BOOT_RAM
196 bool "RAM boot"
197 depends on BMIPS_SUPPORTS_BOOT_RAM
198 help
199 This builds an image that is linked to a RAM address. It can be used
200 for booting from CFE via TFTP using an ELF image, but it can also be
201 booted from RAM by other bootloaders using a BIN image.
202
203endchoice
204
205config BMIPS_SUPPORTS_BOOT_RAM
206 bool
207
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +0200208source "board/comtrend/ar5387un/Kconfig"
Álvaro Fernández Rojas2149f3b2017-05-16 18:39:04 +0200209source "board/comtrend/ct5361/Kconfig"
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +0200210source "board/comtrend/vr3032u/Kconfig"
Álvaro Fernández Rojas69639f02018-01-20 14:16:56 +0100211source "board/comtrend/wap5813n/Kconfig"
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200212source "board/huawei/hg556a/Kconfig"
Álvaro Fernández Rojas2ea88e62017-05-16 18:42:43 +0200213source "board/netgear/cg3100d/Kconfig"
Álvaro Fernández Rojas01188572017-05-16 18:46:59 +0200214source "board/sagem/f@st1704/Kconfig"
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +0200215source "board/sfr/nb4_ser/Kconfig"
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200216
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +0200217endmenu