blob: e8494389ef1636ee77f2b74149956552cbad0cdf [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 Rojas92da83d2017-05-16 18:39:03 +02007 default "bcm6348" if SOC_BMIPS_BCM6348
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +02008 default "bcm6358" if SOC_BMIPS_BCM6358
Álvaro Fernández Rojasff1e41e2017-04-25 00:39:25 +02009 default "bcm63268" if SOC_BMIPS_BCM63268
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020010
11choice
12 prompt "Broadcom MIPS SoC select"
13
Álvaro Fernández Rojasec8d4c92017-05-16 18:42:42 +020014config SOC_BMIPS_BCM3380
15 bool "BMIPS BCM3380 family"
16 select SUPPORTS_BIG_ENDIAN
17 select SUPPORTS_CPU_MIPS32_R1
18 select MIPS_TUNE_4KC
19 select MIPS_L1_CACHE_SHIFT_4
20 select SWAP_IO_SPACE
21 select SYSRESET_WATCHDOG
22 help
23 This supports BMIPS BCM3380 family.
24
Álvaro Fernández Rojas3aa45762017-04-25 00:39:23 +020025config SOC_BMIPS_BCM6328
26 bool "BMIPS BCM6328 family"
27 select SUPPORTS_BIG_ENDIAN
28 select SUPPORTS_CPU_MIPS32_R1
29 select MIPS_TUNE_4KC
30 select MIPS_L1_CACHE_SHIFT_4
31 select SWAP_IO_SPACE
32 select SYSRESET_SYSCON
33 help
34 This supports BMIPS BCM6328 family including BCM63281 and BCM63283.
35
Álvaro Fernández Rojas92da83d2017-05-16 18:39:03 +020036config SOC_BMIPS_BCM6348
37 bool "BMIPS BCM6348 family"
38 select SUPPORTS_BIG_ENDIAN
39 select SUPPORTS_CPU_MIPS32_R1
40 select MIPS_TUNE_4KC
41 select MIPS_L1_CACHE_SHIFT_4
42 select SWAP_IO_SPACE
43 select SYSRESET_WATCHDOG
44 help
45 This supports BMIPS BCM6348 family.
46
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020047config SOC_BMIPS_BCM6358
48 bool "BMIPS BCM6358 family"
49 select SUPPORTS_BIG_ENDIAN
50 select SUPPORTS_CPU_MIPS32_R1
51 select MIPS_TUNE_4KC
52 select MIPS_L1_CACHE_SHIFT_4
53 select SWAP_IO_SPACE
54 select SYSRESET_SYSCON
55 help
56 This supports BMIPS BCM6358 family including BCM6358 and BCM6359.
57
Álvaro Fernández Rojasff1e41e2017-04-25 00:39:25 +020058config SOC_BMIPS_BCM63268
59 bool "BMIPS BCM63268 family"
60 select SUPPORTS_BIG_ENDIAN
61 select SUPPORTS_CPU_MIPS32_R1
62 select MIPS_TUNE_4KC
63 select MIPS_L1_CACHE_SHIFT_4
64 select SWAP_IO_SPACE
65 select SYSRESET_SYSCON
66 help
67 This supports BMIPS BCM63268 family including BCM63168, BCM63169,
68 BCM63268 and BCM63269.
69
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020070endchoice
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +020071
72choice
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +020073 prompt "Board select"
74
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +020075config BOARD_COMTREND_AR5387UN
76 bool "Comtrend AR-5387un"
77 depends on SOC_BMIPS_BCM6328
78 select BMIPS_SUPPORTS_BOOT_RAM
79
Álvaro Fernández Rojas2149f3b2017-05-16 18:39:04 +020080config BOARD_COMTREND_CT5361
81 bool "Comtrend CT-5361"
82 depends on SOC_BMIPS_BCM6348
83 select BMIPS_SUPPORTS_BOOT_RAM
84 help
85 Comtrend CT-5361 boards have a BCM6348 SoC with 16 MB of RAM and 4 MB
86 of flash (CFI).
87 Between its different peripherals there's a BCM5325 switch with 4
88 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and a
89 BCM4312 (miniPCI).
90
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +020091config BOARD_COMTREND_VR3032U
92 bool "Comtrend VR-3032u board"
93 depends on SOC_BMIPS_BCM63268
94 select BMIPS_SUPPORTS_BOOT_RAM
95
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +020096config BOARD_HUAWEI_HG556A
97 bool "Huawei EchoLife HG556a"
98 depends on SOC_BMIPS_BCM6358
99 select BMIPS_SUPPORTS_BOOT_RAM
100
Álvaro Fernández Rojas2ea88e62017-05-16 18:42:43 +0200101config BOARD_NETGEAR_CG3100D
102 bool "Netgear CG3100D"
103 depends on SOC_BMIPS_BCM3380
104 select BMIPS_SUPPORTS_BOOT_RAM
105 help
106 Netgear CG3100D boards have a BCM3380 SoC with 64 MB of RAM and 8 MB
107 of flash (SPI).
108 Between its different peripherals there's a BCM53115 switch with 4
109 ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM43225
110 (miniPCIe).
111
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +0200112config BOARD_SFR_NB4_SER
113 bool "SFR NeufBox 4 (Sercomm)"
114 depends on SOC_BMIPS_BCM6358
115 select BMIPS_SUPPORTS_BOOT_RAM
116
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200117endchoice
118
119choice
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +0200120 prompt "Boot mode"
121
122config BMIPS_BOOT_RAM
123 bool "RAM boot"
124 depends on BMIPS_SUPPORTS_BOOT_RAM
125 help
126 This builds an image that is linked to a RAM address. It can be used
127 for booting from CFE via TFTP using an ELF image, but it can also be
128 booted from RAM by other bootloaders using a BIN image.
129
130endchoice
131
132config BMIPS_SUPPORTS_BOOT_RAM
133 bool
134
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +0200135source "board/comtrend/ar5387un/Kconfig"
Álvaro Fernández Rojas2149f3b2017-05-16 18:39:04 +0200136source "board/comtrend/ct5361/Kconfig"
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +0200137source "board/comtrend/vr3032u/Kconfig"
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200138source "board/huawei/hg556a/Kconfig"
Álvaro Fernández Rojas2ea88e62017-05-16 18:42:43 +0200139source "board/netgear/cg3100d/Kconfig"
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +0200140source "board/sfr/nb4_ser/Kconfig"
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200141
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +0200142endmenu