Commit | Line | Data |
---|---|---|
c793c1b0 MD |
1 | if ARCH_SHMOBILE |
2 | ||
3 | comment "SH-Mobile System Type" | |
4 | ||
2b7eda63 MD |
5 | config ARCH_SH7372 |
6 | bool "SH-Mobile AP4 (SH7372)" | |
6d72ad35 | 7 | select ARCH_WANT_OPTIONAL_GPIOLIB |
a1ee61b8 | 8 | select ARM_CPU_SUSPEND if PM || CPU_IDLE |
b1b3f49c RK |
9 | select CPU_V7 |
10 | select SH_CLK_CPG | |
2b7eda63 | 11 | |
6d9598e2 MD |
12 | config ARCH_SH73A0 |
13 | bool "SH-Mobile AG5 (R8A73A00)" | |
1cdf3702 | 14 | select ARCH_WANT_OPTIONAL_GPIOLIB |
6d9598e2 | 15 | select ARM_GIC |
b1b3f49c | 16 | select CPU_V7 |
99f8bd85 | 17 | select I2C |
b1b3f49c | 18 | select SH_CLK_CPG |
341eb546 | 19 | select RENESAS_INTC_IRQPIN |
6d9598e2 | 20 | |
eccf0607 MD |
21 | config ARCH_R8A73A4 |
22 | bool "R-Mobile APE6 (R8A73A40)" | |
d313d068 | 23 | select ARCH_WANT_OPTIONAL_GPIOLIB |
eccf0607 MD |
24 | select ARM_GIC |
25 | select CPU_V7 | |
fb521a0d | 26 | select HAVE_ARM_ARCH_TIMER |
eccf0607 | 27 | select SH_CLK_CPG |
984ca295 | 28 | select RENESAS_IRQC |
6d9598e2 | 29 | |
6c01ba44 KM |
30 | config ARCH_R8A7740 |
31 | bool "R-Mobile A1 (R8A77400)" | |
b1b3f49c | 32 | select ARCH_WANT_OPTIONAL_GPIOLIB |
0b7d7820 | 33 | select ARM_GIC |
6c01ba44 KM |
34 | select CPU_V7 |
35 | select SH_CLK_CPG | |
0b7d7820 | 36 | select RENESAS_INTC_IRQPIN |
6c01ba44 | 37 | |
ccb7cc74 | 38 | config ARCH_R8A7778 |
45fa9295 | 39 | bool "R-Car M1A (R8A77781)" |
369b00bb | 40 | select ARCH_WANT_OPTIONAL_GPIOLIB |
ccb7cc74 KM |
41 | select CPU_V7 |
42 | select SH_CLK_CPG | |
43 | select ARM_GIC | |
02474a41 SS |
44 | select USB_ARCH_HAS_EHCI |
45 | select USB_ARCH_HAS_OHCI | |
6c01ba44 | 46 | |
f411fade MD |
47 | config ARCH_R8A7779 |
48 | bool "R-Car H1 (R8A77790)" | |
b1b3f49c RK |
49 | select ARCH_WANT_OPTIONAL_GPIOLIB |
50 | select ARM_GIC | |
f411fade MD |
51 | select CPU_V7 |
52 | select SH_CLK_CPG | |
94e1f7fb | 53 | select USB_ARCH_HAS_EHCI |
ac7c4ea0 | 54 | select USB_ARCH_HAS_OHCI |
8e56e6d5 | 55 | select RENESAS_INTC_IRQPIN |
f411fade | 56 | |
0468b2d6 MD |
57 | config ARCH_R8A7790 |
58 | bool "R-Car H2 (R8A77900)" | |
69e351d0 | 59 | select ARCH_WANT_OPTIONAL_GPIOLIB |
0468b2d6 MD |
60 | select ARM_GIC |
61 | select CPU_V7 | |
fb521a0d | 62 | select HAVE_ARM_ARCH_TIMER |
0468b2d6 | 63 | select SH_CLK_CPG |
8f5ec0a5 | 64 | select RENESAS_IRQC |
f411fade | 65 | |
7f627f03 MD |
66 | config ARCH_EMEV2 |
67 | bool "Emma Mobile EV2" | |
088efd92 | 68 | select ARCH_WANT_OPTIONAL_GPIOLIB |
b1b3f49c RK |
69 | select ARM_GIC |
70 | select CPU_V7 | |
7f627f03 | 71 | |
c793c1b0 MD |
72 | comment "SH-Mobile Board Type" |
73 | ||
6d9598e2 MD |
74 | config MACH_AG5EVM |
75 | bool "AG5EVM board" | |
b1b3f49c | 76 | depends on ARCH_SH73A0 |
6d2ae89c | 77 | select ARCH_REQUIRE_GPIOLIB |
34767f8d | 78 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
b1b3f49c | 79 | select SH_LCD_MIPI_DSI |
2818b191 | 80 | |
78ded168 MD |
81 | config MACH_APE6EVM |
82 | bool "APE6EVM board" | |
83 | depends on ARCH_R8A73A4 | |
84 | select USE_OF | |
85 | ||
920adc75 KM |
86 | config MACH_MACKEREL |
87 | bool "mackerel board" | |
88 | depends on ARCH_SH7372 | |
3256c789 | 89 | select ARCH_REQUIRE_GPIOLIB |
34767f8d | 90 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
b1b3f49c | 91 | select SND_SOC_AK4642 if SND_SIMPLE_CARD |
0ce53cdc | 92 | select USE_OF |
6d9598e2 | 93 | |
28626632 MD |
94 | config MACH_KOTA2 |
95 | bool "KOTA2 board" | |
b1b3f49c | 96 | depends on ARCH_SH73A0 |
28626632 | 97 | select ARCH_REQUIRE_GPIOLIB |
34767f8d | 98 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
28626632 | 99 | |
4d22e564 KM |
100 | config MACH_ARMADILLO800EVA |
101 | bool "Armadillo-800 EVA board" | |
102 | depends on ARCH_R8A7740 | |
103 | select ARCH_REQUIRE_GPIOLIB | |
34767f8d | 104 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
5389bf71 | 105 | select SND_SOC_WM8978 if SND_SIMPLE_CARD |
b1b3f49c | 106 | select USE_OF |
4d22e564 | 107 | |
76b92b40 BH |
108 | config MACH_ARMADILLO800EVA_REFERENCE |
109 | bool "Armadillo-800 EVA board - Reference Device Tree Implementation" | |
110 | depends on ARCH_R8A7740 | |
111 | select ARCH_REQUIRE_GPIOLIB | |
112 | select REGULATOR_FIXED_VOLTAGE if REGULATOR | |
113 | select SND_SOC_WM8978 if SND_SIMPLE_CARD | |
114 | select USE_OF | |
115 | ---help--- | |
116 | Use reference implementation of Aramdillo800 EVA board support | |
117 | which makes a greater use of device tree at the expense | |
118 | of not supporting a number of devices. | |
119 | ||
120 | This is intended to aid developers | |
121 | ||
53e42c29 KM |
122 | config MACH_BOCKW |
123 | bool "BOCK-W platform" | |
124 | depends on ARCH_R8A7778 | |
125 | select ARCH_REQUIRE_GPIOLIB | |
27d5f27e | 126 | select RENESAS_INTC_IRQPIN |
53e42c29 KM |
127 | select USE_OF |
128 | ||
f411fade MD |
129 | config MACH_MARZEN |
130 | bool "MARZEN board" | |
131 | depends on ARCH_R8A7779 | |
19c43fc5 | 132 | select ARCH_REQUIRE_GPIOLIB |
34767f8d | 133 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
f411fade | 134 | |
73d6a69e SH |
135 | config MACH_MARZEN_REFERENCE |
136 | bool "MARZEN board - Reference Device Tree Implementation" | |
137 | depends on ARCH_R8A7779 | |
138 | select ARCH_REQUIRE_GPIOLIB | |
139 | select REGULATOR_FIXED_VOLTAGE if REGULATOR | |
140 | select USE_OF | |
141 | ---help--- | |
142 | Use reference implementation of Marzen board support | |
143 | which makes use of device tree at the expense | |
144 | of not supporting a number of devices. | |
145 | ||
146 | This is intended to aid developers | |
147 | ||
3cc828fd MD |
148 | config MACH_LAGER |
149 | bool "Lager board" | |
150 | depends on ARCH_R8A7790 | |
151 | select USE_OF | |
152 | ||
c050fb10 MD |
153 | config MACH_KZM9D |
154 | bool "KZM9D board" | |
155 | depends on ARCH_EMEV2 | |
34767f8d | 156 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
b1b3f49c | 157 | select USE_OF |
c050fb10 | 158 | |
9b93e244 KM |
159 | config MACH_KZM9G |
160 | bool "KZM-A9-GT board" | |
161 | depends on ARCH_SH73A0 | |
d2347382 GL |
162 | select ARCH_HAS_CPUFREQ |
163 | select ARCH_HAS_OPP | |
9b93e244 | 164 | select ARCH_REQUIRE_GPIOLIB |
34767f8d | 165 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
b1b3f49c RK |
166 | select SND_SOC_AK4642 if SND_SIMPLE_CARD |
167 | select USE_OF | |
9b93e244 | 168 | |
b8b82b29 SH |
169 | config MACH_KZM9G_REFERENCE |
170 | bool "KZM-A9-GT board - Reference Device Tree Implementation" | |
f33d1c34 GL |
171 | depends on ARCH_SH73A0 |
172 | select ARCH_REQUIRE_GPIOLIB | |
173 | select REGULATOR_FIXED_VOLTAGE if REGULATOR | |
174 | select SND_SOC_AK4642 if SND_SIMPLE_CARD | |
175 | select USE_OF | |
b8b82b29 SH |
176 | ---help--- |
177 | Use reference implementation of KZM-A9-GT board support | |
178 | which makes as greater use of device tree at the expense | |
179 | of not supporting a number of devices. | |
180 | ||
181 | This is intended to aid developers | |
182 | ||
c793c1b0 MD |
183 | comment "SH-Mobile System Configuration" |
184 | ||
7f1e7637 RH |
185 | config CPU_HAS_INTEVT |
186 | bool | |
187 | default y | |
188 | ||
c793c1b0 MD |
189 | menu "Timer and clock configuration" |
190 | ||
5da3e714 MD |
191 | config SHMOBILE_TIMER_HZ |
192 | int "Kernel HZ (jiffies per second)" | |
193 | range 32 1024 | |
194 | default "128" | |
195 | help | |
196 | Allows the configuration of the timer frequency. It is customary | |
197 | to have the timer interrupt run at 1000 Hz or 100 Hz, but in the | |
198 | case of low timer frequencies other values may be more suitable. | |
199 | SH-Mobile systems using a 32768 Hz RCLK for clock events may want | |
200 | to select a HZ value such as 128 that can evenly divide RCLK. | |
201 | A HZ value that does not divide evenly may cause timer drift. | |
202 | ||
c793c1b0 MD |
203 | config SH_TIMER_CMT |
204 | bool "CMT timer driver" | |
205 | default y | |
206 | help | |
207 | This enables build of the CMT timer driver. | |
208 | ||
645e522e MD |
209 | config SH_TIMER_TMU |
210 | bool "TMU timer driver" | |
211 | default y | |
212 | help | |
213 | This enables build of the TMU timer driver. | |
214 | ||
b9dbf951 MD |
215 | config EM_TIMER_STI |
216 | bool "STI timer driver" | |
217 | default y | |
218 | help | |
219 | This enables build of the STI timer driver. | |
220 | ||
c793c1b0 MD |
221 | endmenu |
222 | ||
e47bb515 MD |
223 | config SH_CLK_CPG |
224 | bool | |
225 | ||
be8cb585 PM |
226 | source "drivers/sh/Kconfig" |
227 | ||
c793c1b0 | 228 | endif |