xref: /openbmc/linux/arch/powerpc/platforms/40x/Kconfig (revision 8a5aaf97)
1# SPDX-License-Identifier: GPL-2.0
2config ACADIA
3	bool "Acadia"
4	depends on 40x
5	select PPC40x_SIMPLE
6	select 405EZ
7	help
8	  This option enables support for the AMCC 405EZ Acadia evaluation board.
9
10config EP405
11	bool "EP405/EP405PC"
12	depends on 40x
13	select 405GP
14	select FORCE_PCI
15	help
16	  This option enables support for the EP405/EP405PC boards.
17
18config HOTFOOT
19        bool "Hotfoot"
20	depends on 40x
21	select PPC40x_SIMPLE
22	select FORCE_PCI
23        help
24	 This option enables support for the ESTEEM 195E Hotfoot board.
25
26config KILAUEA
27	bool "Kilauea"
28	depends on 40x
29	select 405EX
30	select PPC40x_SIMPLE
31	select PPC4xx_PCI_EXPRESS
32	select FORCE_PCI
33	select PCI_MSI
34	select PPC4xx_MSI
35	help
36	  This option enables support for the AMCC PPC405EX evaluation board.
37
38config MAKALU
39	bool "Makalu"
40	depends on 40x
41	select 405EX
42	select FORCE_PCI
43	select PPC4xx_PCI_EXPRESS
44	select PPC40x_SIMPLE
45	help
46	  This option enables support for the AMCC PPC405EX board.
47
48config WALNUT
49	bool "Walnut"
50	depends on 40x
51	default y
52	select 405GP
53	select FORCE_PCI
54	select OF_RTC
55	help
56	  This option enables support for the IBM PPC405GP evaluation board.
57
58config XILINX_VIRTEX_GENERIC_BOARD
59	bool "Generic Xilinx Virtex board"
60	depends on 40x
61	select XILINX_VIRTEX_II_PRO
62	select XILINX_VIRTEX_4_FX
63	select XILINX_INTC
64	help
65	  This option enables generic support for Xilinx Virtex based boards.
66
67	  The generic virtex board support matches any device tree which
68	  specifies 'xilinx,virtex' in its compatible field.  This includes
69	  the Xilinx ML3xx and ML4xx reference designs using the powerpc
70	  core.
71
72	  Most Virtex designs should use this unless it needs to do some
73	  special configuration at board probe time.
74
75config OBS600
76	bool "OpenBlockS 600"
77	depends on 40x
78	select 405EX
79	select PPC40x_SIMPLE
80	help
81	  This option enables support for PlatHome OpenBlockS 600 server
82
83
84config PPC40x_SIMPLE
85	bool "Simple PowerPC 40x board support"
86	depends on 40x
87	help
88	  This option enables the simple PowerPC 40x platform support.
89
90# OAK doesn't exist but wanted to keep this around for any future 403GCX boards
91config 403GCX
92	bool
93	#depends on OAK
94	select IBM405_ERR51
95
96config 405GP
97	bool
98	select IBM405_ERR77
99	select IBM405_ERR51
100	select IBM_EMAC_ZMII if IBM_EMAC
101
102config 405EX
103	bool
104	select IBM_EMAC_EMAC4 if IBM_EMAC
105	select IBM_EMAC_RGMII if IBM_EMAC
106
107config 405EZ
108	bool
109	select IBM_EMAC_NO_FLOW_CTRL if IBM_EMAC
110	select IBM_EMAC_MAL_CLR_ICINTSTAT if IBM_EMAC
111	select IBM_EMAC_MAL_COMMON_ERR if IBM_EMAC
112
113config XILINX_VIRTEX
114	bool
115	select DEFAULT_UIMAGE
116
117config XILINX_VIRTEX_II_PRO
118	bool
119	select XILINX_VIRTEX
120	select IBM405_ERR77
121	select IBM405_ERR51
122
123config XILINX_VIRTEX_4_FX
124	bool
125	select XILINX_VIRTEX
126
127config STB03xxx
128	bool
129	select IBM405_ERR77
130	select IBM405_ERR51
131
132config PPC4xx_GPIO
133	bool "PPC4xx GPIO support"
134	depends on 40x
135	select GPIOLIB
136	help
137	  Enable gpiolib support for ppc40x based boards
138
139# 40x errata/workaround config symbols, selected by the CPU models above
140
141# All 405-based cores up until the 405GPR and 405EP have this errata.
142config IBM405_ERR77
143	bool
144
145# All 40x-based cores, up until the 405GPR and 405EP have this errata.
146config IBM405_ERR51
147	bool
148
149config APM8018X
150	bool "APM8018X"
151	depends on 40x
152	select PPC40x_SIMPLE
153	help
154	  This option enables support for the AppliedMicro APM8018X evaluation
155	  board.
156