xref: /linux/arch/arm/mach-shmobile/Kconfig (revision 9a9863987bf7307f619f1dbba678a3e6d65c901a)
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_R8A7794
84	bool "R-Car E2 (R8A77940)"
85	select ARCH_RCAR_GEN2
86
87config ARCH_SH73A0
88	bool "SH-Mobile AG5 (R8A73A00)"
89	select ARCH_RMOBILE
90	select RENESAS_INTC_IRQPIN
91
92comment "Renesas ARM SoCs Board Type"
93
94config MACH_MARZEN
95	bool "MARZEN board"
96	depends on ARCH_R8A7779
97	select REGULATOR_FIXED_VOLTAGE if REGULATOR
98
99comment "Renesas ARM SoCs System Configuration"
100endif
101
102if ARCH_SHMOBILE_LEGACY
103
104comment "Renesas ARM SoCs System Type"
105
106config ARCH_R8A7740
107	bool "R-Mobile A1 (R8A77400)"
108	select ARCH_RMOBILE
109	select ARCH_WANT_OPTIONAL_GPIOLIB
110	select ARM_GIC
111	select RENESAS_INTC_IRQPIN
112
113config ARCH_R8A7778
114	bool "R-Car M1A (R8A77781)"
115	select ARCH_RCAR_GEN1
116	select ARCH_WANT_OPTIONAL_GPIOLIB
117	select ARM_GIC
118
119config ARCH_R8A7779
120	bool "R-Car H1 (R8A77790)"
121	select ARCH_RCAR_GEN1
122	select ARCH_WANT_OPTIONAL_GPIOLIB
123	select ARM_GIC
124
125comment "Renesas ARM SoCs Board Type"
126
127config MACH_ARMADILLO800EVA
128	bool "Armadillo-800 EVA board"
129	depends on ARCH_R8A7740
130	select ARCH_REQUIRE_GPIOLIB
131	select REGULATOR_FIXED_VOLTAGE if REGULATOR
132	select SMSC_PHY if SH_ETH
133	select SND_SOC_WM8978 if SND_SIMPLE_CARD && I2C
134	select USE_OF
135
136config MACH_BOCKW
137	bool "BOCK-W platform"
138	depends on ARCH_R8A7778
139	select ARCH_REQUIRE_GPIOLIB
140	select REGULATOR_FIXED_VOLTAGE if REGULATOR
141	select SND_SOC_AK4554 if SND_SIMPLE_CARD
142	select SND_SOC_AK4642 if SND_SIMPLE_CARD && I2C
143	select USE_OF
144
145config MACH_BOCKW_REFERENCE
146	bool "BOCK-W  - Reference Device Tree Implementation"
147	depends on ARCH_R8A7778
148	select ARCH_REQUIRE_GPIOLIB
149	select REGULATOR_FIXED_VOLTAGE if REGULATOR
150	select USE_OF
151	---help---
152	   Use reference implementation of BockW board support
153	   which makes use of device tree at the expense
154	   of not supporting a number of devices.
155
156	   This is intended to aid developers
157
158config MACH_MARZEN
159	bool "MARZEN board"
160	depends on ARCH_R8A7779
161	select ARCH_REQUIRE_GPIOLIB
162	select REGULATOR_FIXED_VOLTAGE if REGULATOR
163	select USE_OF
164
165comment "Renesas ARM SoCs System Configuration"
166
167config CPU_HAS_INTEVT
168        bool
169	default y
170
171config SH_CLK_CPG
172	bool
173
174source "drivers/sh/Kconfig"
175
176endif
177
178if ARCH_SHMOBILE
179
180menu "Timer and clock configuration"
181
182config SHMOBILE_TIMER_HZ
183	int "Kernel HZ (jiffies per second)"
184	range 32 1024
185	default "128"
186	help
187	  Allows the configuration of the timer frequency. It is customary
188	  to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
189	  case of low timer frequencies other values may be more suitable.
190	  Renesas ARM SoC systems using a 32768 Hz RCLK for clock events may
191	  want to select a HZ value such as 128 that can evenly divide RCLK.
192	  A HZ value that does not divide evenly may cause timer drift.
193
194endmenu
195
196endif
197