xref: /linux/arch/arm/mach-shmobile/Kconfig (revision 8e8bffffdaf6b75fb1380bfbb80481d3073086c5)
1config ARCH_SHMOBILE
2	bool
3	select ZONE_DMA if ARM_LPAE
4
5config PM_RCAR
6	bool
7
8config PM_RMOBILE
9	bool
10	select PM_GENERIC_DOMAINS
11
12config ARCH_RCAR_GEN1
13	bool
14	select PM_RCAR if PM || SMP
15	select RENESAS_INTC_IRQPIN
16	select SYS_SUPPORTS_SH_TMU
17
18config ARCH_RCAR_GEN2
19	bool
20	select PM_RCAR if PM || SMP
21	select RENESAS_IRQC
22	select SYS_SUPPORTS_SH_CMT
23	select PCI_DOMAINS if PCI
24
25config ARCH_RMOBILE
26	bool
27	select PM_RMOBILE if PM
28	select SYS_SUPPORTS_SH_CMT
29	select SYS_SUPPORTS_SH_TMU
30
31menuconfig ARCH_SHMOBILE_MULTI
32	bool "Renesas ARM SoCs" if ARCH_MULTI_V7
33	depends on MMU
34	select ARCH_SHMOBILE
35	select HAVE_ARM_SCU if SMP
36	select HAVE_ARM_TWD if SMP
37	select ARM_GIC
38	select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
39	select NO_IOPORT_MAP
40	select PINCTRL
41	select ARCH_REQUIRE_GPIOLIB
42
43if ARCH_SHMOBILE_MULTI
44
45#comment "Renesas ARM SoCs System Type"
46
47config ARCH_EMEV2
48	bool "Emma Mobile EV2"
49	select SYS_SUPPORTS_EM_STI
50
51config ARCH_R7S72100
52	bool "RZ/A1H (R7S72100)"
53	select SYS_SUPPORTS_SH_MTU2
54
55config ARCH_R8A73A4
56	bool "R-Mobile APE6 (R8A73A40)"
57	select ARCH_RMOBILE
58	select RENESAS_IRQC
59
60config ARCH_R8A7740
61	bool "R-Mobile A1 (R8A77400)"
62	select ARCH_RMOBILE
63	select RENESAS_INTC_IRQPIN
64
65config ARCH_R8A7779
66	bool "R-Car H1 (R8A77790)"
67	select ARCH_RCAR_GEN1
68
69config ARCH_R8A7790
70	bool "R-Car H2 (R8A77900)"
71	select ARCH_RCAR_GEN2
72
73config ARCH_R8A7791
74	bool "R-Car M2-W (R8A77910)"
75	select ARCH_RCAR_GEN2
76
77config ARCH_R8A7794
78	bool "R-Car E2 (R8A77940)"
79	select ARCH_RCAR_GEN2
80
81config ARCH_SH73A0
82	bool "SH-Mobile AG5 (R8A73A00)"
83	select ARCH_RMOBILE
84	select RENESAS_INTC_IRQPIN
85
86comment "Renesas ARM SoCs Board Type"
87
88config MACH_MARZEN
89	bool "MARZEN board"
90	depends on ARCH_R8A7779
91	select REGULATOR_FIXED_VOLTAGE if REGULATOR
92
93comment "Renesas ARM SoCs System Configuration"
94endif
95
96if ARCH_SHMOBILE_LEGACY
97
98comment "Renesas ARM SoCs System Type"
99
100config ARCH_SH7372
101	bool "SH-Mobile AP4 (SH7372)"
102	select ARCH_RMOBILE
103	select ARCH_WANT_OPTIONAL_GPIOLIB
104	select ARM_CPU_SUSPEND if PM || CPU_IDLE
105	select SH_INTC
106
107config ARCH_SH73A0
108	bool "SH-Mobile AG5 (R8A73A00)"
109	select ARCH_RMOBILE
110	select ARCH_WANT_OPTIONAL_GPIOLIB
111	select ARM_GIC
112	select I2C
113	select SH_INTC
114	select RENESAS_INTC_IRQPIN
115
116config ARCH_R8A73A4
117	bool "R-Mobile APE6 (R8A73A40)"
118	select ARCH_RMOBILE
119	select ARCH_WANT_OPTIONAL_GPIOLIB
120	select ARM_GIC
121	select RENESAS_IRQC
122
123config ARCH_R8A7740
124	bool "R-Mobile A1 (R8A77400)"
125	select ARCH_RMOBILE
126	select ARCH_WANT_OPTIONAL_GPIOLIB
127	select ARM_GIC
128	select RENESAS_INTC_IRQPIN
129
130config ARCH_R8A7778
131	bool "R-Car M1A (R8A77781)"
132	select ARCH_RCAR_GEN1
133	select ARCH_WANT_OPTIONAL_GPIOLIB
134	select ARM_GIC
135
136config ARCH_R8A7779
137	bool "R-Car H1 (R8A77790)"
138	select ARCH_RCAR_GEN1
139	select ARCH_WANT_OPTIONAL_GPIOLIB
140	select ARM_GIC
141
142comment "Renesas ARM SoCs Board Type"
143
144config MACH_APE6EVM
145	bool "APE6EVM board"
146	depends on ARCH_R8A73A4
147	select SMSC_PHY if SMSC911X
148	select USE_OF
149
150config MACH_APE6EVM_REFERENCE
151	bool "APE6EVM board - Reference Device Tree Implementation"
152	depends on ARCH_R8A73A4
153	select SMSC_PHY if SMSC911X
154	select USE_OF
155	---help---
156	   Use reference implementation of APE6EVM board support
157	   which makes a greater use of device tree at the expense
158	   of not supporting a number of devices.
159
160	   This is intended to aid developers
161
162config MACH_MACKEREL
163	bool "mackerel board"
164	depends on ARCH_SH7372
165	select ARCH_REQUIRE_GPIOLIB
166	select REGULATOR_FIXED_VOLTAGE if REGULATOR
167	select SMSC_PHY if SMSC911X
168	select SND_SOC_AK4642 if SND_SIMPLE_CARD
169	select USE_OF
170
171config MACH_ARMADILLO800EVA
172	bool "Armadillo-800 EVA board"
173	depends on ARCH_R8A7740
174	select ARCH_REQUIRE_GPIOLIB
175	select REGULATOR_FIXED_VOLTAGE if REGULATOR
176	select SMSC_PHY if SH_ETH
177	select SND_SOC_WM8978 if SND_SIMPLE_CARD
178	select USE_OF
179
180config MACH_BOCKW
181	bool "BOCK-W platform"
182	depends on ARCH_R8A7778
183	select ARCH_REQUIRE_GPIOLIB
184	select REGULATOR_FIXED_VOLTAGE if REGULATOR
185	select SND_SOC_AK4554 if SND_SIMPLE_CARD
186	select SND_SOC_AK4642 if SND_SIMPLE_CARD
187	select USE_OF
188
189config MACH_BOCKW_REFERENCE
190	bool "BOCK-W  - Reference Device Tree Implementation"
191	depends on ARCH_R8A7778
192	select ARCH_REQUIRE_GPIOLIB
193	select REGULATOR_FIXED_VOLTAGE if REGULATOR
194	select USE_OF
195	---help---
196	   Use reference implementation of BockW board support
197	   which makes use of device tree at the expense
198	   of not supporting a number of devices.
199
200	   This is intended to aid developers
201
202config MACH_MARZEN
203	bool "MARZEN board"
204	depends on ARCH_R8A7779
205	select ARCH_REQUIRE_GPIOLIB
206	select REGULATOR_FIXED_VOLTAGE if REGULATOR
207	select USE_OF
208
209config MACH_KZM9G
210	bool "KZM-A9-GT board"
211	depends on ARCH_SH73A0
212	select ARCH_REQUIRE_GPIOLIB
213	select REGULATOR_FIXED_VOLTAGE if REGULATOR
214	select SND_SOC_AK4642 if SND_SIMPLE_CARD
215	select USE_OF
216
217config MACH_KZM9G_REFERENCE
218	bool "KZM-A9-GT board - Reference Device Tree Implementation"
219	depends on ARCH_SH73A0
220	select ARCH_REQUIRE_GPIOLIB
221	select REGULATOR_FIXED_VOLTAGE if REGULATOR
222	select SND_SOC_AK4642 if SND_SIMPLE_CARD
223	select USE_OF
224	---help---
225	   Use reference implementation of KZM-A9-GT board support
226	   which makes as greater use of device tree at the expense
227	   of not supporting a number of devices.
228
229	   This is intended to aid developers
230
231comment "Renesas ARM SoCs System Configuration"
232
233config CPU_HAS_INTEVT
234        bool
235	default y
236
237config SH_CLK_CPG
238	bool
239
240source "drivers/sh/Kconfig"
241
242endif
243
244if ARCH_SHMOBILE
245
246menu "Timer and clock configuration"
247
248config SHMOBILE_TIMER_HZ
249	int "Kernel HZ (jiffies per second)"
250	range 32 1024
251	default "128"
252	help
253	  Allows the configuration of the timer frequency. It is customary
254	  to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
255	  case of low timer frequencies other values may be more suitable.
256	  Renesas ARM SoC systems using a 32768 Hz RCLK for clock events may
257	  want to select a HZ value such as 128 that can evenly divide RCLK.
258	  A HZ value that does not divide evenly may cause timer drift.
259
260endmenu
261
262endif
263