xref: /linux/arch/arm/mach-shmobile/Kconfig (revision c3d3dbddd3acbe93501a9500ad979af393f78ec8)
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_R8A7778
66	bool "R-Car M1A (R8A77781)"
67	select ARCH_RCAR_GEN1
68
69config ARCH_R8A7779
70	bool "R-Car H1 (R8A77790)"
71	select ARCH_RCAR_GEN1
72
73config ARCH_R8A7790
74	bool "R-Car H2 (R8A77900)"
75	select ARCH_RCAR_GEN2
76	select I2C
77
78config ARCH_R8A7791
79	bool "R-Car M2-W (R8A77910)"
80	select ARCH_RCAR_GEN2
81	select I2C
82
83config ARCH_R8A7793
84	bool "R-Car M2-N (R8A7793)"
85	select ARCH_RCAR_GEN2
86	select I2C
87
88config ARCH_R8A7794
89	bool "R-Car E2 (R8A77940)"
90	select ARCH_RCAR_GEN2
91
92config ARCH_SH73A0
93	bool "SH-Mobile AG5 (R8A73A00)"
94	select ARCH_RMOBILE
95	select RENESAS_INTC_IRQPIN
96
97comment "Renesas ARM SoCs Board Type"
98
99config MACH_MARZEN
100	bool "MARZEN board"
101	depends on ARCH_R8A7779
102	select REGULATOR_FIXED_VOLTAGE if REGULATOR
103
104comment "Renesas ARM SoCs System Configuration"
105endif
106
107if ARCH_SHMOBILE_LEGACY
108
109comment "Renesas ARM SoCs System Type"
110
111config ARCH_SH73A0
112	bool "SH-Mobile AG5 (R8A73A00)"
113	select ARCH_RMOBILE
114	select ARCH_WANT_OPTIONAL_GPIOLIB
115	select ARM_GIC
116	select I2C
117	select SH_INTC
118	select RENESAS_INTC_IRQPIN
119
120config ARCH_R8A7740
121	bool "R-Mobile A1 (R8A77400)"
122	select ARCH_RMOBILE
123	select ARCH_WANT_OPTIONAL_GPIOLIB
124	select ARM_GIC
125	select RENESAS_INTC_IRQPIN
126
127config ARCH_R8A7778
128	bool "R-Car M1A (R8A77781)"
129	select ARCH_RCAR_GEN1
130	select ARCH_WANT_OPTIONAL_GPIOLIB
131	select ARM_GIC
132
133config ARCH_R8A7779
134	bool "R-Car H1 (R8A77790)"
135	select ARCH_RCAR_GEN1
136	select ARCH_WANT_OPTIONAL_GPIOLIB
137	select ARM_GIC
138
139comment "Renesas ARM SoCs Board Type"
140
141config MACH_ARMADILLO800EVA
142	bool "Armadillo-800 EVA board"
143	depends on ARCH_R8A7740
144	select ARCH_REQUIRE_GPIOLIB
145	select REGULATOR_FIXED_VOLTAGE if REGULATOR
146	select SMSC_PHY if SH_ETH
147	select SND_SOC_WM8978 if SND_SIMPLE_CARD && I2C
148	select USE_OF
149
150config MACH_BOCKW
151	bool "BOCK-W platform"
152	depends on ARCH_R8A7778
153	select ARCH_REQUIRE_GPIOLIB
154	select REGULATOR_FIXED_VOLTAGE if REGULATOR
155	select SND_SOC_AK4554 if SND_SIMPLE_CARD
156	select SND_SOC_AK4642 if SND_SIMPLE_CARD && I2C
157	select USE_OF
158
159config MACH_BOCKW_REFERENCE
160	bool "BOCK-W  - Reference Device Tree Implementation"
161	depends on ARCH_R8A7778
162	select ARCH_REQUIRE_GPIOLIB
163	select REGULATOR_FIXED_VOLTAGE if REGULATOR
164	select USE_OF
165	---help---
166	   Use reference implementation of BockW board support
167	   which makes 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_MARZEN
173	bool "MARZEN board"
174	depends on ARCH_R8A7779
175	select ARCH_REQUIRE_GPIOLIB
176	select REGULATOR_FIXED_VOLTAGE if REGULATOR
177	select USE_OF
178
179config MACH_KZM9G
180	bool "KZM-A9-GT board"
181	depends on ARCH_SH73A0
182	select ARCH_REQUIRE_GPIOLIB
183	select REGULATOR_FIXED_VOLTAGE if REGULATOR
184	select SND_SOC_AK4642 if SND_SIMPLE_CARD
185	select USE_OF
186
187comment "Renesas ARM SoCs System Configuration"
188
189config CPU_HAS_INTEVT
190        bool
191	default y
192
193config SH_CLK_CPG
194	bool
195
196source "drivers/sh/Kconfig"
197
198endif
199
200if ARCH_SHMOBILE
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	  Renesas ARM SoC systems using a 32768 Hz RCLK for clock events may
213	  want 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
216endmenu
217
218endif
219