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