xref: /linux/arch/arm/mach-shmobile/Kconfig (revision a483dcbfa21f919c7666cb897e293eff785e3bee)
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_MARZEN
78	bool "MARZEN board"
79	depends on ARCH_R8A7779
80	select REGULATOR_FIXED_VOLTAGE if REGULATOR
81
82comment "Renesas ARM SoCs System Configuration"
83endif
84
85if ARCH_SHMOBILE_LEGACY
86
87comment "Renesas ARM SoCs System Type"
88
89config ARCH_SH7372
90	bool "SH-Mobile AP4 (SH7372)"
91	select ARCH_RMOBILE
92	select ARCH_WANT_OPTIONAL_GPIOLIB
93	select ARM_CPU_SUSPEND if PM || CPU_IDLE
94	select SH_INTC
95
96config ARCH_SH73A0
97	bool "SH-Mobile AG5 (R8A73A00)"
98	select ARCH_RMOBILE
99	select ARCH_WANT_OPTIONAL_GPIOLIB
100	select ARM_GIC
101	select I2C
102	select SH_INTC
103	select RENESAS_INTC_IRQPIN
104
105config ARCH_R8A73A4
106	bool "R-Mobile APE6 (R8A73A40)"
107	select ARCH_RMOBILE
108	select ARCH_WANT_OPTIONAL_GPIOLIB
109	select ARM_GIC
110	select RENESAS_IRQC
111
112config ARCH_R8A7740
113	bool "R-Mobile A1 (R8A77400)"
114	select ARCH_RMOBILE
115	select ARCH_WANT_OPTIONAL_GPIOLIB
116	select ARM_GIC
117	select RENESAS_INTC_IRQPIN
118
119config ARCH_R8A7778
120	bool "R-Car M1A (R8A77781)"
121	select ARCH_RCAR_GEN1
122	select ARCH_WANT_OPTIONAL_GPIOLIB
123	select ARM_GIC
124
125config ARCH_R8A7779
126	bool "R-Car H1 (R8A77790)"
127	select ARCH_RCAR_GEN1
128	select ARCH_WANT_OPTIONAL_GPIOLIB
129	select ARM_GIC
130
131config ARCH_R8A7790
132	bool "R-Car H2 (R8A77900)"
133	select ARCH_RCAR_GEN2
134	select ARCH_WANT_OPTIONAL_GPIOLIB
135	select ARM_GIC
136	select MIGHT_HAVE_PCI
137	select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
138
139comment "Renesas ARM SoCs Board Type"
140
141config MACH_APE6EVM
142	bool "APE6EVM board"
143	depends on ARCH_R8A73A4
144	select SMSC_PHY if SMSC911X
145	select USE_OF
146
147config MACH_APE6EVM_REFERENCE
148	bool "APE6EVM board - Reference Device Tree Implementation"
149	depends on ARCH_R8A73A4
150	select SMSC_PHY if SMSC911X
151	select USE_OF
152	---help---
153	   Use reference implementation of APE6EVM board support
154	   which makes a greater use of device tree at the expense
155	   of not supporting a number of devices.
156
157	   This is intended to aid developers
158
159config MACH_MACKEREL
160	bool "mackerel board"
161	depends on ARCH_SH7372
162	select ARCH_REQUIRE_GPIOLIB
163	select REGULATOR_FIXED_VOLTAGE if REGULATOR
164	select SMSC_PHY if SMSC911X
165	select SND_SOC_AK4642 if SND_SIMPLE_CARD
166	select USE_OF
167
168config MACH_ARMADILLO800EVA
169	bool "Armadillo-800 EVA board"
170	depends on ARCH_R8A7740
171	select ARCH_REQUIRE_GPIOLIB
172	select REGULATOR_FIXED_VOLTAGE if REGULATOR
173	select SMSC_PHY if SH_ETH
174	select SND_SOC_WM8978 if SND_SIMPLE_CARD
175	select USE_OF
176
177config MACH_BOCKW
178	bool "BOCK-W platform"
179	depends on ARCH_R8A7778
180	select ARCH_REQUIRE_GPIOLIB
181	select REGULATOR_FIXED_VOLTAGE if REGULATOR
182	select SND_SOC_AK4554 if SND_SIMPLE_CARD
183	select SND_SOC_AK4642 if SND_SIMPLE_CARD
184	select USE_OF
185
186config MACH_BOCKW_REFERENCE
187	bool "BOCK-W  - Reference Device Tree Implementation"
188	depends on ARCH_R8A7778
189	select ARCH_REQUIRE_GPIOLIB
190	select REGULATOR_FIXED_VOLTAGE if REGULATOR
191	select USE_OF
192	---help---
193	   Use reference implementation of BockW board support
194	   which makes use of device tree at the expense
195	   of not supporting a number of devices.
196
197	   This is intended to aid developers
198
199config MACH_MARZEN
200	bool "MARZEN board"
201	depends on ARCH_R8A7779
202	select ARCH_REQUIRE_GPIOLIB
203	select REGULATOR_FIXED_VOLTAGE if REGULATOR
204	select USE_OF
205
206config MACH_KZM9G
207	bool "KZM-A9-GT board"
208	depends on ARCH_SH73A0
209	select ARCH_REQUIRE_GPIOLIB
210	select REGULATOR_FIXED_VOLTAGE if REGULATOR
211	select SND_SOC_AK4642 if SND_SIMPLE_CARD
212	select USE_OF
213
214config MACH_KZM9G_REFERENCE
215	bool "KZM-A9-GT board - Reference Device Tree Implementation"
216	depends on ARCH_SH73A0
217	select ARCH_REQUIRE_GPIOLIB
218	select REGULATOR_FIXED_VOLTAGE if REGULATOR
219	select SND_SOC_AK4642 if SND_SIMPLE_CARD
220	select USE_OF
221	---help---
222	   Use reference implementation of KZM-A9-GT board support
223	   which makes as greater use of device tree at the expense
224	   of not supporting a number of devices.
225
226	   This is intended to aid developers
227
228comment "Renesas ARM SoCs System Configuration"
229
230config CPU_HAS_INTEVT
231        bool
232	default y
233
234config SH_CLK_CPG
235	bool
236
237source "drivers/sh/Kconfig"
238
239endif
240
241if ARCH_SHMOBILE
242
243menu "Timer and clock configuration"
244
245config SHMOBILE_TIMER_HZ
246	int "Kernel HZ (jiffies per second)"
247	range 32 1024
248	default "128"
249	help
250	  Allows the configuration of the timer frequency. It is customary
251	  to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
252	  case of low timer frequencies other values may be more suitable.
253	  Renesas ARM SoC systems using a 32768 Hz RCLK for clock events may
254	  want to select a HZ value such as 128 that can evenly divide RCLK.
255	  A HZ value that does not divide evenly may cause timer drift.
256
257endmenu
258
259endif
260