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