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