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