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