xref: /linux/arch/arm/mach-shmobile/Kconfig (revision 3f3f0ea0afe031ca20e48a212f4faa00f9920450)
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 PM_GENERIC_DOMAINS if PM
55	select SYS_SUPPORTS_SH_MTU2
56
57config ARCH_R8A73A4
58	bool "R-Mobile APE6 (R8A73A40)"
59	select ARCH_RMOBILE
60	select RENESAS_IRQC
61
62config ARCH_R8A7740
63	bool "R-Mobile A1 (R8A77400)"
64	select ARCH_RMOBILE
65	select RENESAS_INTC_IRQPIN
66
67config ARCH_R8A7778
68	bool "R-Car M1A (R8A77781)"
69	select ARCH_RCAR_GEN1
70
71config ARCH_R8A7779
72	bool "R-Car H1 (R8A77790)"
73	select ARCH_RCAR_GEN1
74
75config ARCH_R8A7790
76	bool "R-Car H2 (R8A77900)"
77	select ARCH_RCAR_GEN2
78	select I2C
79
80config ARCH_R8A7791
81	bool "R-Car M2-W (R8A77910)"
82	select ARCH_RCAR_GEN2
83	select I2C
84
85config ARCH_R8A7794
86	bool "R-Car E2 (R8A77940)"
87	select ARCH_RCAR_GEN2
88
89config ARCH_SH73A0
90	bool "SH-Mobile AG5 (R8A73A00)"
91	select ARCH_RMOBILE
92	select RENESAS_INTC_IRQPIN
93
94comment "Renesas ARM SoCs Board Type"
95
96config MACH_MARZEN
97	bool "MARZEN board"
98	depends on ARCH_R8A7779
99	select REGULATOR_FIXED_VOLTAGE if REGULATOR
100
101comment "Renesas ARM SoCs System Configuration"
102endif
103
104if ARCH_SHMOBILE_LEGACY
105
106comment "Renesas ARM SoCs System Type"
107
108config ARCH_SH73A0
109	bool "SH-Mobile AG5 (R8A73A00)"
110	select ARCH_RMOBILE
111	select ARCH_WANT_OPTIONAL_GPIOLIB
112	select ARM_GIC
113	select I2C
114	select SH_INTC
115	select RENESAS_INTC_IRQPIN
116
117config ARCH_R8A7740
118	bool "R-Mobile A1 (R8A77400)"
119	select ARCH_RMOBILE
120	select ARCH_WANT_OPTIONAL_GPIOLIB
121	select ARM_GIC
122	select RENESAS_INTC_IRQPIN
123
124config ARCH_R8A7778
125	bool "R-Car M1A (R8A77781)"
126	select ARCH_RCAR_GEN1
127	select ARCH_WANT_OPTIONAL_GPIOLIB
128	select ARM_GIC
129
130config ARCH_R8A7779
131	bool "R-Car H1 (R8A77790)"
132	select ARCH_RCAR_GEN1
133	select ARCH_WANT_OPTIONAL_GPIOLIB
134	select ARM_GIC
135
136comment "Renesas ARM SoCs Board Type"
137
138config MACH_ARMADILLO800EVA
139	bool "Armadillo-800 EVA board"
140	depends on ARCH_R8A7740
141	select ARCH_REQUIRE_GPIOLIB
142	select REGULATOR_FIXED_VOLTAGE if REGULATOR
143	select SMSC_PHY if SH_ETH
144	select SND_SOC_WM8978 if SND_SIMPLE_CARD && I2C
145	select USE_OF
146
147config MACH_BOCKW
148	bool "BOCK-W platform"
149	depends on ARCH_R8A7778
150	select ARCH_REQUIRE_GPIOLIB
151	select REGULATOR_FIXED_VOLTAGE if REGULATOR
152	select SND_SOC_AK4554 if SND_SIMPLE_CARD
153	select SND_SOC_AK4642 if SND_SIMPLE_CARD && I2C
154	select USE_OF
155
156config MACH_BOCKW_REFERENCE
157	bool "BOCK-W  - Reference Device Tree Implementation"
158	depends on ARCH_R8A7778
159	select ARCH_REQUIRE_GPIOLIB
160	select REGULATOR_FIXED_VOLTAGE if REGULATOR
161	select USE_OF
162	---help---
163	   Use reference implementation of BockW board support
164	   which makes 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_MARZEN
170	bool "MARZEN board"
171	depends on ARCH_R8A7779
172	select ARCH_REQUIRE_GPIOLIB
173	select REGULATOR_FIXED_VOLTAGE if REGULATOR
174	select USE_OF
175
176config MACH_KZM9G
177	bool "KZM-A9-GT board"
178	depends on ARCH_SH73A0
179	select ARCH_REQUIRE_GPIOLIB
180	select REGULATOR_FIXED_VOLTAGE if REGULATOR
181	select SND_SOC_AK4642 if SND_SIMPLE_CARD
182	select USE_OF
183
184comment "Renesas ARM SoCs System Configuration"
185
186config CPU_HAS_INTEVT
187        bool
188	default y
189
190config SH_CLK_CPG
191	bool
192
193source "drivers/sh/Kconfig"
194
195endif
196
197if ARCH_SHMOBILE
198
199menu "Timer and clock configuration"
200
201config SHMOBILE_TIMER_HZ
202	int "Kernel HZ (jiffies per second)"
203	range 32 1024
204	default "128"
205	help
206	  Allows the configuration of the timer frequency. It is customary
207	  to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
208	  case of low timer frequencies other values may be more suitable.
209	  Renesas ARM SoC systems using a 32768 Hz RCLK for clock events may
210	  want to select a HZ value such as 128 that can evenly divide RCLK.
211	  A HZ value that does not divide evenly may cause timer drift.
212
213endmenu
214
215endif
216