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