xref: /OK3568_Linux_fs/kernel/arch/mips/netlogic/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyunif NLM_XLP_BOARD || NLM_XLR_BOARD
3*4882a593Smuzhiyun
4*4882a593Smuzhiyunif NLM_XLP_BOARD
5*4882a593Smuzhiyunconfig DT_XLP_EVP
6*4882a593Smuzhiyun	bool "Built-in device tree for XLP EVP boards"
7*4882a593Smuzhiyun	default y
8*4882a593Smuzhiyun	select BUILTIN_DTB
9*4882a593Smuzhiyun	help
10*4882a593Smuzhiyun	  Add an FDT blob for XLP EVP boards into the kernel.
11*4882a593Smuzhiyun	  This DTB will be used if the firmware does not pass in a DTB
12*4882a593Smuzhiyun	  pointer to the kernel.  The corresponding DTS file is at
13*4882a593Smuzhiyun	  arch/mips/netlogic/dts/xlp_evp.dts
14*4882a593Smuzhiyun
15*4882a593Smuzhiyunconfig DT_XLP_SVP
16*4882a593Smuzhiyun	bool "Built-in device tree for XLP SVP boards"
17*4882a593Smuzhiyun	default y
18*4882a593Smuzhiyun	select BUILTIN_DTB
19*4882a593Smuzhiyun	help
20*4882a593Smuzhiyun	  Add an FDT blob for XLP VP boards into the kernel.
21*4882a593Smuzhiyun	  This DTB will be used if the firmware does not pass in a DTB
22*4882a593Smuzhiyun	  pointer to the kernel.  The corresponding DTS file is at
23*4882a593Smuzhiyun	  arch/mips/netlogic/dts/xlp_svp.dts
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunconfig DT_XLP_FVP
26*4882a593Smuzhiyun	bool "Built-in device tree for XLP FVP boards"
27*4882a593Smuzhiyun	default y
28*4882a593Smuzhiyun	select BUILTIN_DTB
29*4882a593Smuzhiyun	help
30*4882a593Smuzhiyun	  Add an FDT blob for XLP FVP board into the kernel.
31*4882a593Smuzhiyun	  This DTB will be used if the firmware does not pass in a DTB
32*4882a593Smuzhiyun	  pointer to the kernel.  The corresponding DTS file is at
33*4882a593Smuzhiyun	  arch/mips/netlogic/dts/xlp_fvp.dts
34*4882a593Smuzhiyun
35*4882a593Smuzhiyunconfig DT_XLP_GVP
36*4882a593Smuzhiyun	bool "Built-in device tree for XLP GVP boards"
37*4882a593Smuzhiyun	default y
38*4882a593Smuzhiyun	select BUILTIN_DTB
39*4882a593Smuzhiyun	help
40*4882a593Smuzhiyun	  Add an FDT blob for XLP GVP board into the kernel.
41*4882a593Smuzhiyun	  This DTB will be used if the firmware does not pass in a DTB
42*4882a593Smuzhiyun	  pointer to the kernel.  The corresponding DTS file is at
43*4882a593Smuzhiyun	  arch/mips/netlogic/dts/xlp_gvp.dts
44*4882a593Smuzhiyun
45*4882a593Smuzhiyunconfig DT_XLP_RVP
46*4882a593Smuzhiyun	bool "Built-in device tree for XLP RVP boards"
47*4882a593Smuzhiyun	default y
48*4882a593Smuzhiyun	help
49*4882a593Smuzhiyun	  Add an FDT blob for XLP RVP board into the kernel.
50*4882a593Smuzhiyun	  This DTB will be used if the firmware does not pass in a DTB
51*4882a593Smuzhiyun	  pointer to the kernel.  The corresponding DTS file is at
52*4882a593Smuzhiyun	  arch/mips/netlogic/dts/xlp_rvp.dts
53*4882a593Smuzhiyun
54*4882a593Smuzhiyunconfig NLM_MULTINODE
55*4882a593Smuzhiyun	bool "Support for multi-chip boards"
56*4882a593Smuzhiyun	depends on NLM_XLP_BOARD
57*4882a593Smuzhiyun	default n
58*4882a593Smuzhiyun	help
59*4882a593Smuzhiyun	  Add support for boards with 2 or 4 XLPs connected over ICI.
60*4882a593Smuzhiyun
61*4882a593Smuzhiyunif NLM_MULTINODE
62*4882a593Smuzhiyunchoice
63*4882a593Smuzhiyun	prompt "Number of XLPs on the board"
64*4882a593Smuzhiyun	default NLM_MULTINODE_2
65*4882a593Smuzhiyun	help
66*4882a593Smuzhiyun	  In the multi-node case, specify the number of SoCs on the board.
67*4882a593Smuzhiyun
68*4882a593Smuzhiyunconfig NLM_MULTINODE_2
69*4882a593Smuzhiyun	bool "Dual-XLP board"
70*4882a593Smuzhiyun	help
71*4882a593Smuzhiyun	  Support boards with upto two XLPs connected over ICI.
72*4882a593Smuzhiyun
73*4882a593Smuzhiyunconfig NLM_MULTINODE_4
74*4882a593Smuzhiyun	bool "Quad-XLP board"
75*4882a593Smuzhiyun	help
76*4882a593Smuzhiyun	  Support boards with upto four XLPs connected over ICI.
77*4882a593Smuzhiyun
78*4882a593Smuzhiyunendchoice
79*4882a593Smuzhiyun
80*4882a593Smuzhiyunendif
81*4882a593Smuzhiyunendif
82*4882a593Smuzhiyun
83*4882a593Smuzhiyunconfig NLM_COMMON
84*4882a593Smuzhiyun	bool
85*4882a593Smuzhiyun
86*4882a593Smuzhiyunendif
87