MIPS: add support for Broadcom MIPS BCM6338 SoC family
[platform/kernel/u-boot.git] / arch / mips / mach-bmips / Kconfig
1 menu "Broadcom MIPS platforms"
2         depends on ARCH_BMIPS
3
4 config 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
12 choice
13         prompt "Broadcom MIPS SoC select"
14
15 config 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
26 config 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
37 config 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
48 config 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
59 config 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
70 config 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
82 endchoice
83
84 choice
85         prompt "Board select"
86
87 config BOARD_COMTREND_AR5387UN
88         bool "Comtrend AR-5387un"
89         depends on SOC_BMIPS_BCM6328
90         select BMIPS_SUPPORTS_BOOT_RAM
91
92 config 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
103 config BOARD_COMTREND_VR3032U
104         bool "Comtrend VR-3032u board"
105         depends on SOC_BMIPS_BCM63268
106         select BMIPS_SUPPORTS_BOOT_RAM
107
108 config BOARD_HUAWEI_HG556A
109         bool "Huawei EchoLife HG556a"
110         depends on SOC_BMIPS_BCM6358
111         select BMIPS_SUPPORTS_BOOT_RAM
112
113 config 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
124 config BOARD_SFR_NB4_SER
125         bool "SFR NeufBox 4 (Sercomm)"
126         depends on SOC_BMIPS_BCM6358
127         select BMIPS_SUPPORTS_BOOT_RAM
128
129 endchoice
130
131 choice
132         prompt "Boot mode"
133
134 config 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
142 endchoice
143
144 config BMIPS_SUPPORTS_BOOT_RAM
145         bool
146
147 source "board/comtrend/ar5387un/Kconfig"
148 source "board/comtrend/ct5361/Kconfig"
149 source "board/comtrend/vr3032u/Kconfig"
150 source "board/huawei/hg556a/Kconfig"
151 source "board/netgear/cg3100d/Kconfig"
152 source "board/sfr/nb4_ser/Kconfig"
153
154 endmenu