blob: 7071888bb38998f3d226855cf85067cf91cd41a8 [file] [log] [blame]
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +02001menu "Broadcom MIPS platforms"
2 depends on ARCH_BMIPS
3
4config SYS_SOC
Álvaro Fernández Rojas23a21682017-05-16 18:42:42 +02005 default "bcm3380" if SOC_BMIPS_BCM3380
Álvaro Fernández Rojas6471a222017-04-25 00:39:23 +02006 default "bcm6328" if SOC_BMIPS_BCM6328
Álvaro Fernández Rojas07661e72017-05-16 18:46:58 +02007 default "bcm6338" if SOC_BMIPS_BCM6338
Álvaro Fernández Rojasbf9012b2017-05-16 18:39:03 +02008 default "bcm6348" if SOC_BMIPS_BCM6348
Álvaro Fernández Rojase30d2bd2017-04-25 00:39:21 +02009 default "bcm6358" if SOC_BMIPS_BCM6358
Álvaro Fernández Rojas6a235bb2017-04-25 00:39:25 +020010 default "bcm63268" if SOC_BMIPS_BCM63268
Álvaro Fernández Rojase30d2bd2017-04-25 00:39:21 +020011
12choice
13 prompt "Broadcom MIPS SoC select"
14
Álvaro Fernández Rojas23a21682017-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 Rojas6471a222017-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 Rojas07661e72017-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 Rojasbf9012b2017-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 Rojase30d2bd2017-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 Rojas6a235bb2017-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 Rojase30d2bd2017-04-25 00:39:21 +020082endchoice
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +020083
84choice
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +020085 prompt "Board select"
86
Álvaro Fernández Rojas0642f482017-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
91
Álvaro Fernández Rojas5e14ce22017-05-16 18:39:04 +020092config BOARD_COMTREND_CT5361
93 bool "Comtrend CT-5361"
94 depends on SOC_BMIPS_BCM6348
95 select BMIPS_SUPPORTS_BOOT_RAM
96 help
97 Comtrend CT-5361 boards have a BCM6348 SoC with 16 MB of RAM and 4 MB
98 of flash (CFI).
99 Between its different peripherals there's a BCM5325 switch with 4
100 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and a
101 BCM4312 (miniPCI).
102
Álvaro Fernández Rojas77ca99d2017-04-25 00:39:26 +0200103config BOARD_COMTREND_VR3032U
104 bool "Comtrend VR-3032u board"
105 depends on SOC_BMIPS_BCM63268
106 select BMIPS_SUPPORTS_BOOT_RAM
107
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200108config BOARD_HUAWEI_HG556A
109 bool "Huawei EchoLife HG556a"
110 depends on SOC_BMIPS_BCM6358
111 select BMIPS_SUPPORTS_BOOT_RAM
112
Álvaro Fernández Rojasc4203e12017-05-16 18:42:43 +0200113config BOARD_NETGEAR_CG3100D
114 bool "Netgear CG3100D"
115 depends on SOC_BMIPS_BCM3380
116 select BMIPS_SUPPORTS_BOOT_RAM
117 help
118 Netgear CG3100D boards have a BCM3380 SoC with 64 MB of RAM and 8 MB
119 of flash (SPI).
120 Between its different peripherals there's a BCM53115 switch with 4
121 ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM43225
122 (miniPCIe).
123
Álvaro Fernández Rojas63c011f2017-05-11 11:01:30 +0200124config BOARD_SFR_NB4_SER
125 bool "SFR NeufBox 4 (Sercomm)"
126 depends on SOC_BMIPS_BCM6358
127 select BMIPS_SUPPORTS_BOOT_RAM
128
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200129endchoice
130
131choice
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +0200132 prompt "Boot mode"
133
134config BMIPS_BOOT_RAM
135 bool "RAM boot"
136 depends on BMIPS_SUPPORTS_BOOT_RAM
137 help
138 This builds an image that is linked to a RAM address. It can be used
139 for booting from CFE via TFTP using an ELF image, but it can also be
140 booted from RAM by other bootloaders using a BIN image.
141
142endchoice
143
144config BMIPS_SUPPORTS_BOOT_RAM
145 bool
146
Álvaro Fernández Rojas0642f482017-04-25 00:39:24 +0200147source "board/comtrend/ar5387un/Kconfig"
Álvaro Fernández Rojas5e14ce22017-05-16 18:39:04 +0200148source "board/comtrend/ct5361/Kconfig"
Álvaro Fernández Rojas77ca99d2017-04-25 00:39:26 +0200149source "board/comtrend/vr3032u/Kconfig"
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200150source "board/huawei/hg556a/Kconfig"
Álvaro Fernández Rojasc4203e12017-05-16 18:42:43 +0200151source "board/netgear/cg3100d/Kconfig"
Álvaro Fernández Rojas63c011f2017-05-11 11:01:30 +0200152source "board/sfr/nb4_ser/Kconfig"
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200153
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +0200154endmenu