blob: e3e1da3c28c8800f912cce49761d27bea2446c7e [file] [log] [blame]
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +02001menu "Broadcom MIPS platforms"
2 depends on ARCH_BMIPS
3
4config SYS_SOC
Álvaro Fernández Rojasec8d4c92017-05-16 18:42:42 +02005 default "bcm3380" if SOC_BMIPS_BCM3380
Álvaro Fernández Rojas3aa45762017-04-25 00:39:23 +02006 default "bcm6328" if SOC_BMIPS_BCM6328
Álvaro Fernández Rojase2b9ed02017-05-16 18:46:58 +02007 default "bcm6338" if SOC_BMIPS_BCM6338
Álvaro Fernández Rojas92da83d2017-05-16 18:39:03 +02008 default "bcm6348" if SOC_BMIPS_BCM6348
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +02009 default "bcm6358" if SOC_BMIPS_BCM6358
Álvaro Fernández Rojasff1e41e2017-04-25 00:39:25 +020010 default "bcm63268" if SOC_BMIPS_BCM63268
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020011
12choice
13 prompt "Broadcom MIPS SoC select"
14
Álvaro Fernández Rojasec8d4c92017-05-16 18:42:42 +020015config SOC_BMIPS_BCM3380
16 bool "BMIPS BCM3380 family"
17 select SUPPORTS_BIG_ENDIAN
18 select SUPPORTS_CPU_MIPS32_R1
19 select MIPS_TUNE_4KC
20 select MIPS_L1_CACHE_SHIFT_4
21 select SWAP_IO_SPACE
22 select SYSRESET_WATCHDOG
23 help
24 This supports BMIPS BCM3380 family.
25
Álvaro Fernández Rojas3aa45762017-04-25 00:39:23 +020026config SOC_BMIPS_BCM6328
27 bool "BMIPS BCM6328 family"
28 select SUPPORTS_BIG_ENDIAN
29 select SUPPORTS_CPU_MIPS32_R1
30 select MIPS_TUNE_4KC
31 select MIPS_L1_CACHE_SHIFT_4
32 select SWAP_IO_SPACE
33 select SYSRESET_SYSCON
34 help
35 This supports BMIPS BCM6328 family including BCM63281 and BCM63283.
36
Álvaro Fernández Rojase2b9ed02017-05-16 18:46:58 +020037config SOC_BMIPS_BCM6338
38 bool "BMIPS BCM6338 family"
39 select SUPPORTS_BIG_ENDIAN
40 select SUPPORTS_CPU_MIPS32_R1
41 select MIPS_TUNE_4KC
42 select MIPS_L1_CACHE_SHIFT_4
43 select SWAP_IO_SPACE
44 select SYSRESET_SYSCON
45 help
46 This supports BMIPS BCM6338 family.
47
Álvaro Fernández Rojas92da83d2017-05-16 18:39:03 +020048config SOC_BMIPS_BCM6348
49 bool "BMIPS BCM6348 family"
50 select SUPPORTS_BIG_ENDIAN
51 select SUPPORTS_CPU_MIPS32_R1
52 select MIPS_TUNE_4KC
53 select MIPS_L1_CACHE_SHIFT_4
54 select SWAP_IO_SPACE
55 select SYSRESET_WATCHDOG
56 help
57 This supports BMIPS BCM6348 family.
58
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020059config SOC_BMIPS_BCM6358
60 bool "BMIPS BCM6358 family"
61 select SUPPORTS_BIG_ENDIAN
62 select SUPPORTS_CPU_MIPS32_R1
63 select MIPS_TUNE_4KC
64 select MIPS_L1_CACHE_SHIFT_4
65 select SWAP_IO_SPACE
66 select SYSRESET_SYSCON
67 help
68 This supports BMIPS BCM6358 family including BCM6358 and BCM6359.
69
Álvaro Fernández Rojasff1e41e2017-04-25 00:39:25 +020070config SOC_BMIPS_BCM63268
71 bool "BMIPS BCM63268 family"
72 select SUPPORTS_BIG_ENDIAN
73 select SUPPORTS_CPU_MIPS32_R1
74 select MIPS_TUNE_4KC
75 select MIPS_L1_CACHE_SHIFT_4
76 select SWAP_IO_SPACE
77 select SYSRESET_SYSCON
78 help
79 This supports BMIPS BCM63268 family including BCM63168, BCM63169,
80 BCM63268 and BCM63269.
81
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020082endchoice
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +020083
84choice
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +020085 prompt "Board select"
86
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +020087config BOARD_COMTREND_AR5387UN
88 bool "Comtrend AR-5387un"
89 depends on SOC_BMIPS_BCM6328
90 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +020091 help
92 Comtrend AR-5387un boards have a BCM6328 SoC with 64 MB of RAM and 16
93 MB of flash (SPI).
94 Between its different peripherals there's an integrated switch with 4
95 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
96 a BCM43225 (PCIe).
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +020097
Álvaro Fernández Rojas2149f3b2017-05-16 18:39:04 +020098config BOARD_COMTREND_CT5361
99 bool "Comtrend CT-5361"
100 depends on SOC_BMIPS_BCM6348
101 select BMIPS_SUPPORTS_BOOT_RAM
102 help
103 Comtrend CT-5361 boards have a BCM6348 SoC with 16 MB of RAM and 4 MB
104 of flash (CFI).
105 Between its different peripherals there's a BCM5325 switch with 4
106 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and a
107 BCM4312 (miniPCI).
108
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +0200109config BOARD_COMTREND_VR3032U
110 bool "Comtrend VR-3032u board"
111 depends on SOC_BMIPS_BCM63268
112 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200113 help
114 Comtrend VR-3032u boards have a BCM63268 SoC with 64 MB of RAM and
115 128 MB of flash (NAND).
116 Between its different peripherals there's an integrated switch with 4
117 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
118 and a BCM6362 (integrated).
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +0200119
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200120config BOARD_HUAWEI_HG556A
121 bool "Huawei EchoLife HG556a"
122 depends on SOC_BMIPS_BCM6358
123 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200124 help
125 Huawei EchoLife HG556a boards have a BCM6358 SoC with 64 MB of RAM
126 and 16 MB of flash (CFI).
127 Between its different peripherals there's a BCM5325 switch with 4
128 ethernet ports, 3 USB ports, 1 UART, GPIO buttons and LEDs, and
129 a RT3062F/AR9223 (PCI).
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200130
Álvaro Fernández Rojas2ea88e62017-05-16 18:42:43 +0200131config BOARD_NETGEAR_CG3100D
132 bool "Netgear CG3100D"
133 depends on SOC_BMIPS_BCM3380
134 select BMIPS_SUPPORTS_BOOT_RAM
135 help
136 Netgear CG3100D boards have a BCM3380 SoC with 64 MB of RAM and 8 MB
137 of flash (SPI).
138 Between its different peripherals there's a BCM53115 switch with 4
139 ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM43225
140 (miniPCIe).
141
Álvaro Fernández Rojas01188572017-05-16 18:46:59 +0200142config BOARD_SAGEM_FAST1704
143 bool "Sagem F@ST1704"
144 depends on SOC_BMIPS_BCM6338
145 select BMIPS_SUPPORTS_BOOT_RAM
146 help
147 Sagem F@ST1704 boards have a BCM6338 SoC with 16 MB of RAM and 4 MB
148 of flash (SPI).
149 Between its different peripherals there's a BCM5325 switch with 4
150 ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM4312
151 (miniPCI).
152
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +0200153config BOARD_SFR_NB4_SER
154 bool "SFR NeufBox 4 (Sercomm)"
155 depends on SOC_BMIPS_BCM6358
156 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200157 help
158 SFR NeufBox 4 (Sercomm) boards have a BCM6358 SoC with 32 MB of RAM
159 and 8 MB of flash (CFI).
160 Between its different peripherals there's a BCM5325 switch with 4
161 ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and
162 a BCM4318 (PCI).
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +0200163
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200164endchoice
165
166choice
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +0200167 prompt "Boot mode"
168
169config BMIPS_BOOT_RAM
170 bool "RAM boot"
171 depends on BMIPS_SUPPORTS_BOOT_RAM
172 help
173 This builds an image that is linked to a RAM address. It can be used
174 for booting from CFE via TFTP using an ELF image, but it can also be
175 booted from RAM by other bootloaders using a BIN image.
176
177endchoice
178
179config BMIPS_SUPPORTS_BOOT_RAM
180 bool
181
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +0200182source "board/comtrend/ar5387un/Kconfig"
Álvaro Fernández Rojas2149f3b2017-05-16 18:39:04 +0200183source "board/comtrend/ct5361/Kconfig"
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +0200184source "board/comtrend/vr3032u/Kconfig"
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200185source "board/huawei/hg556a/Kconfig"
Álvaro Fernández Rojas2ea88e62017-05-16 18:42:43 +0200186source "board/netgear/cg3100d/Kconfig"
Álvaro Fernández Rojas01188572017-05-16 18:46:59 +0200187source "board/sagem/f@st1704/Kconfig"
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +0200188source "board/sfr/nb4_ser/Kconfig"
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200189
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +0200190endmenu