xref: /openbmc/u-boot/arch/mips/mach-bmips/Kconfig (revision 00caae6d)
1menu "Broadcom MIPS platforms"
2	depends on ARCH_BMIPS
3
4config SYS_SOC
5	default "bcm3380" if SOC_BMIPS_BCM3380
6	default "bcm6328" if SOC_BMIPS_BCM6328
7	default "bcm6338" if SOC_BMIPS_BCM6338
8	default "bcm6348" if SOC_BMIPS_BCM6348
9	default "bcm6358" if SOC_BMIPS_BCM6358
10	default "bcm63268" if SOC_BMIPS_BCM63268
11
12choice
13	prompt "Broadcom MIPS SoC select"
14
15config 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
26config 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
37config 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
48config 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
59config 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
70config 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
82endchoice
83
84choice
85	prompt "Board select"
86
87config BOARD_COMTREND_AR5387UN
88	bool "Comtrend AR-5387un"
89	depends on SOC_BMIPS_BCM6328
90	select BMIPS_SUPPORTS_BOOT_RAM
91	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).
97
98config 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
109config BOARD_COMTREND_VR3032U
110	bool "Comtrend VR-3032u board"
111	depends on SOC_BMIPS_BCM63268
112	select BMIPS_SUPPORTS_BOOT_RAM
113	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).
119
120config BOARD_HUAWEI_HG556A
121	bool "Huawei EchoLife HG556a"
122	depends on SOC_BMIPS_BCM6358
123	select BMIPS_SUPPORTS_BOOT_RAM
124	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).
130
131config 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
142config 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
153config BOARD_SFR_NB4_SER
154	bool "SFR NeufBox 4 (Sercomm)"
155	depends on SOC_BMIPS_BCM6358
156	select BMIPS_SUPPORTS_BOOT_RAM
157	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).
163
164endchoice
165
166choice
167	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
182source "board/comtrend/ar5387un/Kconfig"
183source "board/comtrend/ct5361/Kconfig"
184source "board/comtrend/vr3032u/Kconfig"
185source "board/huawei/hg556a/Kconfig"
186source "board/netgear/cg3100d/Kconfig"
187source "board/sagem/f@st1704/Kconfig"
188source "board/sfr/nb4_ser/Kconfig"
189
190endmenu
191