xref: /linux/arch/mips/econet/Kconfig (revision 53597deca0e38c30e6cd4ba2114fa42d2bcd85bb)
1# SPDX-License-Identifier: GPL-2.0
2if ECONET
3
4choice
5	prompt "EcoNet SoC selection"
6	default SOC_ECONET_EN751221
7	help
8	  Select EcoNet MIPS SoC type. Individual SoCs within a family are
9	  very similar, so is it enough to select the right family, and
10	  then customize to the specific SoC using the device tree only.
11
12	config SOC_ECONET_EN751221
13		bool "EN751221 family"
14		select COMMON_CLK
15		select ECONET_EN751221_INTC
16		select HAVE_PCI
17		select IRQ_MIPS_CPU
18		select PCI_DRIVERS_GENERIC
19		select SMP
20		select SMP_UP
21		select SYS_SUPPORTS_SMP
22		help
23		  The EN751221 family includes EN7512, RN7513, EN7521, EN7526.
24		  They are based on single core MIPS 34Kc processors. To boot
25		  this kernel, you will need a device tree such as
26		  MIPS_RAW_APPENDED_DTB=y, and a root filesystem.
27endchoice
28
29choice
30	prompt "Devicetree selection"
31	default DTB_ECONET_NONE
32	help
33	  Select the devicetree.
34
35	config DTB_ECONET_NONE
36		bool "None"
37
38	config DTB_ECONET_SMARTFIBER_XP8421_B
39		bool "EN751221 SmartFiber XP8421-B"
40		depends on SOC_ECONET_EN751221
41		select BUILTIN_DTB
42		help
43		  The SmartFiber XP8421-B is a device based on the EN751221 SoC.
44		  It has 512MB of memory and 256MB of NAND flash. This kernel
45		  needs only an appended initramfs to boot. It can be loaded
46		  through XMODEM and booted from memory in the bootloader, or
47		  it can be packed in tclinux.trx format and written to flash.
48endchoice
49
50endif
51