ARM: shmobile: marzen: add USB EHCI driver support
[cascardo/linux.git] / arch / arm / mach-shmobile / Kconfig
1 if ARCH_SHMOBILE
2
3 comment "SH-Mobile System Type"
4
5 config ARCH_SH7372
6         bool "SH-Mobile AP4 (SH7372)"
7         select ARCH_WANT_OPTIONAL_GPIOLIB
8         select ARM_CPU_SUSPEND if PM || CPU_IDLE
9         select CPU_V7
10         select SH_CLK_CPG
11
12 config ARCH_SH73A0
13         bool "SH-Mobile AG5 (R8A73A00)"
14         select ARCH_WANT_OPTIONAL_GPIOLIB
15         select ARM_GIC
16         select CPU_V7
17         select I2C
18         select SH_CLK_CPG
19
20 config ARCH_R8A7740
21         bool "R-Mobile A1 (R8A77400)"
22         select ARCH_WANT_OPTIONAL_GPIOLIB
23         select CPU_V7
24         select SH_CLK_CPG
25
26 config ARCH_R8A7779
27         bool "R-Car H1 (R8A77790)"
28         select ARCH_WANT_OPTIONAL_GPIOLIB
29         select ARM_GIC
30         select CPU_V7
31         select SH_CLK_CPG
32         select USB_ARCH_HAS_EHCI
33
34 config ARCH_EMEV2
35         bool "Emma Mobile EV2"
36         select ARCH_WANT_OPTIONAL_GPIOLIB
37         select ARM_GIC
38         select CPU_V7
39
40 comment "SH-Mobile Board Type"
41
42 config MACH_AP4EVB
43         bool "AP4EVB board"
44         depends on ARCH_SH7372
45         select ARCH_REQUIRE_GPIOLIB
46         select REGULATOR_FIXED_VOLTAGE if REGULATOR
47         select SH_LCD_MIPI_DSI
48         select SND_SOC_AK4642 if SND_SIMPLE_CARD
49
50 choice
51         prompt "AP4EVB LCD panel selection"
52         default AP4EVB_QHD
53         depends on MACH_AP4EVB
54
55 config AP4EVB_QHD
56         bool "MIPI-DSI QHD (960x540)"
57
58 config AP4EVB_WVGA
59         bool "Parallel WVGA (800x480)"
60
61 endchoice
62
63 config MACH_AG5EVM
64         bool "AG5EVM board"
65         depends on ARCH_SH73A0
66         select ARCH_REQUIRE_GPIOLIB
67         select REGULATOR_FIXED_VOLTAGE if REGULATOR
68         select SH_LCD_MIPI_DSI
69
70 config MACH_MACKEREL
71         bool "mackerel board"
72         depends on ARCH_SH7372
73         select ARCH_REQUIRE_GPIOLIB
74         select REGULATOR_FIXED_VOLTAGE if REGULATOR
75         select SND_SOC_AK4642 if SND_SIMPLE_CARD
76         select USE_OF
77
78 config MACH_KOTA2
79         bool "KOTA2 board"
80         depends on ARCH_SH73A0
81         select ARCH_REQUIRE_GPIOLIB
82         select REGULATOR_FIXED_VOLTAGE if REGULATOR
83
84 config MACH_BONITO
85         bool "bonito board"
86         depends on ARCH_R8A7740
87         select ARCH_REQUIRE_GPIOLIB
88         select REGULATOR_FIXED_VOLTAGE if REGULATOR
89
90 config MACH_ARMADILLO800EVA
91         bool "Armadillo-800 EVA board"
92         depends on ARCH_R8A7740
93         select ARCH_REQUIRE_GPIOLIB
94         select REGULATOR_FIXED_VOLTAGE if REGULATOR
95         select SND_SOC_WM8978 if SND_SIMPLE_CARD
96         select USE_OF
97
98 config MACH_MARZEN
99         bool "MARZEN board"
100         depends on ARCH_R8A7779
101         select ARCH_REQUIRE_GPIOLIB
102         select REGULATOR_FIXED_VOLTAGE if REGULATOR
103
104 config MACH_KZM9D
105         bool "KZM9D board"
106         depends on ARCH_EMEV2
107         select REGULATOR_FIXED_VOLTAGE if REGULATOR
108         select USE_OF
109
110 config MACH_KZM9G
111         bool "KZM-A9-GT board"
112         depends on ARCH_SH73A0
113         select ARCH_REQUIRE_GPIOLIB
114         select REGULATOR_FIXED_VOLTAGE if REGULATOR
115         select SND_SOC_AK4642 if SND_SIMPLE_CARD
116         select USE_OF
117
118 comment "SH-Mobile System Configuration"
119
120 config CPU_HAS_INTEVT
121         bool
122         default y
123
124 menu "Memory configuration"
125
126 config MEMORY_START
127         hex "Physical memory start address"
128         default "0x40000000" if MACH_AP4EVB || MACH_AG5EVM || \
129                                 MACH_MACKEREL || MACH_BONITO || \
130                                 MACH_ARMADILLO800EVA
131         default "0x41000000" if MACH_KOTA2
132         default "0x00000000"
133         ---help---
134           Tweak this only when porting to a new machine which does not
135           already have a defconfig. Changing it from the known correct
136           value on any of the known systems will only lead to disaster.
137
138 config MEMORY_SIZE
139         hex "Physical memory size"
140         default "0x20000000" if MACH_AG5EVM || MACH_BONITO || \
141                                 MACH_ARMADILLO800EVA
142         default "0x1e000000" if MACH_KOTA2
143         default "0x10000000" if MACH_AP4EVB || MACH_MACKEREL
144         default "0x04000000"
145         help
146           This sets the default memory size assumed by your kernel. It can
147           be overridden as normal by the 'mem=' argument on the kernel command
148           line.
149
150 endmenu
151
152 menu "Timer and clock configuration"
153
154 config SHMOBILE_TIMER_HZ
155         int "Kernel HZ (jiffies per second)"
156         range 32 1024
157         default "128"
158         help
159           Allows the configuration of the timer frequency. It is customary
160           to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
161           case of low timer frequencies other values may be more suitable.
162           SH-Mobile systems using a 32768 Hz RCLK for clock events may want
163           to select a HZ value such as 128 that can evenly divide RCLK.
164           A HZ value that does not divide evenly may cause timer drift.
165
166 config SH_TIMER_CMT
167         bool "CMT timer driver"
168         default y
169         help
170           This enables build of the CMT timer driver.
171
172 config SH_TIMER_TMU
173         bool "TMU timer driver"
174         default y
175         help
176           This enables build of the TMU timer driver.
177
178 config EM_TIMER_STI
179         bool "STI timer driver"
180         default y
181         help
182           This enables build of the STI timer driver.
183
184 endmenu
185
186 config SH_CLK_CPG
187         bool
188
189 source "drivers/sh/Kconfig"
190
191 endif