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