blob: 9cf8e5c12037480c70d233d0c479e4321a14dc69 [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 Rojasbf9012b2017-05-16 18:39:03 +02007 default "bcm6348" if SOC_BMIPS_BCM6348
Álvaro Fernández Rojase30d2bd2017-04-25 00:39:21 +02008 default "bcm6358" if SOC_BMIPS_BCM6358
Álvaro Fernández Rojas6a235bb2017-04-25 00:39:25 +02009 default "bcm63268" if SOC_BMIPS_BCM63268
Álvaro Fernández Rojase30d2bd2017-04-25 00:39:21 +020010
11choice
12 prompt "Broadcom MIPS SoC select"
13
Álvaro Fernández Rojas23a21682017-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 Rojas6471a222017-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 Rojasbf9012b2017-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 Rojase30d2bd2017-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 Rojas6a235bb2017-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 Rojase30d2bd2017-04-25 00:39:21 +020070endchoice
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +020071
72choice
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +020073 prompt "Board select"
74
Álvaro Fernández Rojas0642f482017-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 Rojas5e14ce22017-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 Rojas77ca99d2017-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 Rojas4a2b2722017-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 Rojas63c011f2017-05-11 11:01:30 +0200101config BOARD_SFR_NB4_SER
102 bool "SFR NeufBox 4 (Sercomm)"
103 depends on SOC_BMIPS_BCM6358
104 select BMIPS_SUPPORTS_BOOT_RAM
105
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200106endchoice
107
108choice
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +0200109 prompt "Boot mode"
110
111config BMIPS_BOOT_RAM
112 bool "RAM boot"
113 depends on BMIPS_SUPPORTS_BOOT_RAM
114 help
115 This builds an image that is linked to a RAM address. It can be used
116 for booting from CFE via TFTP using an ELF image, but it can also be
117 booted from RAM by other bootloaders using a BIN image.
118
119endchoice
120
121config BMIPS_SUPPORTS_BOOT_RAM
122 bool
123
Álvaro Fernández Rojas0642f482017-04-25 00:39:24 +0200124source "board/comtrend/ar5387un/Kconfig"
Álvaro Fernández Rojas5e14ce22017-05-16 18:39:04 +0200125source "board/comtrend/ct5361/Kconfig"
Álvaro Fernández Rojas77ca99d2017-04-25 00:39:26 +0200126source "board/comtrend/vr3032u/Kconfig"
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200127source "board/huawei/hg556a/Kconfig"
Álvaro Fernández Rojas63c011f2017-05-11 11:01:30 +0200128source "board/sfr/nb4_ser/Kconfig"
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200129
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +0200130endmenu