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