xref: /linux/arch/arm/mach-shmobile/Kconfig (revision 8bc964aa25e56b7445ffebffccd455f959370a16)
1config ARCH_SHMOBILE
2	bool
3	select ZONE_DMA if ARM_LPAE
4
5config PM_RCAR
6	bool
7	select PM_GENERIC_DOMAINS if PM
8
9config PM_RMOBILE
10	bool
11	select PM_GENERIC_DOMAINS
12
13config ARCH_RCAR_GEN1
14	bool
15	select PM_RCAR if PM || SMP
16	select RENESAS_INTC_IRQPIN
17	select SYS_SUPPORTS_SH_TMU
18
19config ARCH_RCAR_GEN2
20	bool
21	select PM_RCAR if PM || SMP
22	select RENESAS_IRQC
23	select SYS_SUPPORTS_SH_CMT
24	select PCI_DOMAINS if PCI
25
26config ARCH_RMOBILE
27	bool
28	select PM_RMOBILE if PM
29	select SYS_SUPPORTS_SH_CMT
30	select SYS_SUPPORTS_SH_TMU
31
32menuconfig ARCH_SHMOBILE_MULTI
33	bool "Renesas ARM SoCs" if ARCH_MULTI_V7
34	depends on MMU
35	select ARCH_SHMOBILE
36	select HAVE_ARM_SCU if SMP
37	select HAVE_ARM_TWD if SMP
38	select ARM_GIC
39	select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
40	select NO_IOPORT_MAP
41	select PINCTRL
42	select ARCH_REQUIRE_GPIOLIB
43
44if ARCH_SHMOBILE_MULTI
45
46#comment "Renesas ARM SoCs System Type"
47
48config ARCH_EMEV2
49	bool "Emma Mobile EV2"
50	select SYS_SUPPORTS_EM_STI
51
52config ARCH_R7S72100
53	bool "RZ/A1H (R7S72100)"
54	select SYS_SUPPORTS_SH_MTU2
55
56config ARCH_R8A73A4
57	bool "R-Mobile APE6 (R8A73A40)"
58	select ARCH_RMOBILE
59	select RENESAS_IRQC
60
61config ARCH_R8A7740
62	bool "R-Mobile A1 (R8A77400)"
63	select ARCH_RMOBILE
64	select RENESAS_INTC_IRQPIN
65
66config ARCH_R8A7778
67	bool "R-Car M1A (R8A77781)"
68	select ARCH_RCAR_GEN1
69
70config ARCH_R8A7779
71	bool "R-Car H1 (R8A77790)"
72	select ARCH_RCAR_GEN1
73
74config ARCH_R8A7790
75	bool "R-Car H2 (R8A77900)"
76	select ARCH_RCAR_GEN2
77	select I2C
78
79config ARCH_R8A7791
80	bool "R-Car M2-W (R8A77910)"
81	select ARCH_RCAR_GEN2
82	select I2C
83
84config ARCH_R8A7794
85	bool "R-Car E2 (R8A77940)"
86	select ARCH_RCAR_GEN2
87
88config ARCH_SH73A0
89	bool "SH-Mobile AG5 (R8A73A00)"
90	select ARCH_RMOBILE
91	select RENESAS_INTC_IRQPIN
92
93comment "Renesas ARM SoCs Board Type"
94
95config MACH_MARZEN
96	bool "MARZEN board"
97	depends on ARCH_R8A7779
98	select REGULATOR_FIXED_VOLTAGE if REGULATOR
99
100comment "Renesas ARM SoCs System Configuration"
101endif
102
103if ARCH_SHMOBILE_LEGACY
104
105comment "Renesas ARM SoCs System Type"
106
107config ARCH_SH73A0
108	bool "SH-Mobile AG5 (R8A73A00)"
109	select ARCH_RMOBILE
110	select ARCH_WANT_OPTIONAL_GPIOLIB
111	select ARM_GIC
112	select I2C
113	select SH_INTC
114	select RENESAS_INTC_IRQPIN
115
116config ARCH_R8A7740
117	bool "R-Mobile A1 (R8A77400)"
118	select ARCH_RMOBILE
119	select ARCH_WANT_OPTIONAL_GPIOLIB
120	select ARM_GIC
121	select RENESAS_INTC_IRQPIN
122
123config ARCH_R8A7778
124	bool "R-Car M1A (R8A77781)"
125	select ARCH_RCAR_GEN1
126	select ARCH_WANT_OPTIONAL_GPIOLIB
127	select ARM_GIC
128
129config ARCH_R8A7779
130	bool "R-Car H1 (R8A77790)"
131	select ARCH_RCAR_GEN1
132	select ARCH_WANT_OPTIONAL_GPIOLIB
133	select ARM_GIC
134
135comment "Renesas ARM SoCs Board Type"
136
137config MACH_ARMADILLO800EVA
138	bool "Armadillo-800 EVA board"
139	depends on ARCH_R8A7740
140	select ARCH_REQUIRE_GPIOLIB
141	select REGULATOR_FIXED_VOLTAGE if REGULATOR
142	select SMSC_PHY if SH_ETH
143	select SND_SOC_WM8978 if SND_SIMPLE_CARD && I2C
144	select USE_OF
145
146config MACH_BOCKW
147	bool "BOCK-W platform"
148	depends on ARCH_R8A7778
149	select ARCH_REQUIRE_GPIOLIB
150	select REGULATOR_FIXED_VOLTAGE if REGULATOR
151	select SND_SOC_AK4554 if SND_SIMPLE_CARD
152	select SND_SOC_AK4642 if SND_SIMPLE_CARD && I2C
153	select USE_OF
154
155config MACH_BOCKW_REFERENCE
156	bool "BOCK-W  - Reference Device Tree Implementation"
157	depends on ARCH_R8A7778
158	select ARCH_REQUIRE_GPIOLIB
159	select REGULATOR_FIXED_VOLTAGE if REGULATOR
160	select USE_OF
161	---help---
162	   Use reference implementation of BockW board support
163	   which makes use of device tree at the expense
164	   of not supporting a number of devices.
165
166	   This is intended to aid developers
167
168config MACH_MARZEN
169	bool "MARZEN board"
170	depends on ARCH_R8A7779
171	select ARCH_REQUIRE_GPIOLIB
172	select REGULATOR_FIXED_VOLTAGE if REGULATOR
173	select USE_OF
174
175config MACH_KZM9G
176	bool "KZM-A9-GT board"
177	depends on ARCH_SH73A0
178	select ARCH_REQUIRE_GPIOLIB
179	select REGULATOR_FIXED_VOLTAGE if REGULATOR
180	select SND_SOC_AK4642 if SND_SIMPLE_CARD
181	select USE_OF
182
183comment "Renesas ARM SoCs System Configuration"
184
185config CPU_HAS_INTEVT
186        bool
187	default y
188
189config SH_CLK_CPG
190	bool
191
192source "drivers/sh/Kconfig"
193
194endif
195
196if ARCH_SHMOBILE
197
198menu "Timer and clock configuration"
199
200config SHMOBILE_TIMER_HZ
201	int "Kernel HZ (jiffies per second)"
202	range 32 1024
203	default "128"
204	help
205	  Allows the configuration of the timer frequency. It is customary
206	  to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
207	  case of low timer frequencies other values may be more suitable.
208	  Renesas ARM SoC systems using a 32768 Hz RCLK for clock events may
209	  want to select a HZ value such as 128 that can evenly divide RCLK.
210	  A HZ value that does not divide evenly may cause timer drift.
211
212endmenu
213
214endif
215