Laurent Pinchart | bf98c1e | 2013-11-09 13:33:48 +0100 | [diff] [blame] | 1 | config ARCH_SHMOBILE |
2 | bool | ||||
Laurent Pinchart | 3794705 | 2014-10-23 17:38:31 +0300 | [diff] [blame] | 3 | select ZONE_DMA if ARM_LPAE |
Laurent Pinchart | bf98c1e | 2013-11-09 13:33:48 +0100 | [diff] [blame] | 4 | |
Magnus Damm | 1a950ca | 2014-08-25 12:03:52 +0900 | [diff] [blame] | 5 | config PM_RCAR |
6 | bool | ||||
7 | |||||
Magnus Damm | abebbc4 | 2014-08-25 12:04:01 +0900 | [diff] [blame] | 8 | config PM_RMOBILE |
9 | bool | ||||
Geert Uytterhoeven | 2173fc7 | 2014-12-03 14:41:45 +0100 | [diff] [blame] | 10 | select PM_GENERIC_DOMAINS |
Magnus Damm | abebbc4 | 2014-08-25 12:04:01 +0900 | [diff] [blame] | 11 | |
Magnus Damm | 57cc67d | 2014-08-25 12:03:34 +0900 | [diff] [blame] | 12 | config ARCH_RCAR_GEN1 |
13 | bool | ||||
Magnus Damm | 1a950ca | 2014-08-25 12:03:52 +0900 | [diff] [blame] | 14 | select PM_RCAR if PM || SMP |
Magnus Damm | 57cc67d | 2014-08-25 12:03:34 +0900 | [diff] [blame] | 15 | select RENESAS_INTC_IRQPIN |
16 | select SYS_SUPPORTS_SH_TMU | ||||
17 | |||||
Magnus Damm | 0d91843 | 2014-08-25 12:03:43 +0900 | [diff] [blame] | 18 | config ARCH_RCAR_GEN2 |
19 | bool | ||||
Magnus Damm | 1a950ca | 2014-08-25 12:03:52 +0900 | [diff] [blame] | 20 | select PM_RCAR if PM || SMP |
Magnus Damm | 0d91843 | 2014-08-25 12:03:43 +0900 | [diff] [blame] | 21 | select RENESAS_IRQC |
22 | select SYS_SUPPORTS_SH_CMT | ||||
Phil Edworthy | 950a3f0 | 2014-11-04 17:38:28 +0000 | [diff] [blame] | 23 | select PCI_DOMAINS if PCI |
Magnus Damm | 0d91843 | 2014-08-25 12:03:43 +0900 | [diff] [blame] | 24 | |
Magnus Damm | 5784b19 | 2014-08-25 12:03:25 +0900 | [diff] [blame] | 25 | config ARCH_RMOBILE |
26 | bool | ||||
Geert Uytterhoeven | 2173fc7 | 2014-12-03 14:41:45 +0100 | [diff] [blame] | 27 | select PM_RMOBILE if PM |
Magnus Damm | 5784b19 | 2014-08-25 12:03:25 +0900 | [diff] [blame] | 28 | select SYS_SUPPORTS_SH_CMT |
29 | select SYS_SUPPORTS_SH_TMU | ||||
30 | |||||
Rob Herring | 21278ae | 2014-06-10 09:06:10 -0500 | [diff] [blame] | 31 | menuconfig ARCH_SHMOBILE_MULTI |
Laurent Pinchart | 0d9fd61 | 2013-11-28 17:27:29 +0100 | [diff] [blame] | 32 | bool "Renesas ARM SoCs" if ARCH_MULTI_V7 |
Magnus Damm | efacfce | 2013-07-18 05:31:09 +0900 | [diff] [blame] | 33 | depends on MMU |
Laurent Pinchart | bf98c1e | 2013-11-09 13:33:48 +0100 | [diff] [blame] | 34 | select ARCH_SHMOBILE |
Magnus Damm | efacfce | 2013-07-18 05:31:09 +0900 | [diff] [blame] | 35 | select HAVE_ARM_SCU if SMP |
Rob Herring | 8b7dfa7 | 2014-02-01 16:35:44 -0600 | [diff] [blame] | 36 | select HAVE_ARM_TWD if SMP |
Magnus Damm | efacfce | 2013-07-18 05:31:09 +0900 | [diff] [blame] | 37 | select ARM_GIC |
Magnus Damm | 4a51856 | 2014-02-05 14:36:28 +0900 | [diff] [blame] | 38 | select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE |
Uwe Kleine-König | ce816fa | 2014-04-07 15:39:19 -0700 | [diff] [blame] | 39 | select NO_IOPORT_MAP |
Magnus Damm | efacfce | 2013-07-18 05:31:09 +0900 | [diff] [blame] | 40 | select PINCTRL |
41 | select ARCH_REQUIRE_GPIOLIB | ||||
Magnus Damm | efacfce | 2013-07-18 05:31:09 +0900 | [diff] [blame] | 42 | |
43 | if ARCH_SHMOBILE_MULTI | ||||
44 | |||||
Rob Herring | 21278ae | 2014-06-10 09:06:10 -0500 | [diff] [blame] | 45 | #comment "Renesas ARM SoCs System Type" |
Magnus Damm | efacfce | 2013-07-18 05:31:09 +0900 | [diff] [blame] | 46 | |
Magnus Damm | cbc60e7 | 2013-07-18 05:31:18 +0900 | [diff] [blame] | 47 | config ARCH_EMEV2 |
48 | bool "Emma Mobile EV2" | ||||
Magnus Damm | aeb8fb7 | 2014-02-20 12:54:46 +0100 | [diff] [blame] | 49 | select SYS_SUPPORTS_EM_STI |
Magnus Damm | cbc60e7 | 2013-07-18 05:31:18 +0900 | [diff] [blame] | 50 | |
Magnus Damm | 7d91c46 | 2013-11-07 08:31:25 +0900 | [diff] [blame] | 51 | config ARCH_R7S72100 |
52 | bool "RZ/A1H (R7S72100)" | ||||
Magnus Damm | aeb8fb7 | 2014-02-20 12:54:46 +0100 | [diff] [blame] | 53 | select SYS_SUPPORTS_SH_MTU2 |
Magnus Damm | 7d91c46 | 2013-11-07 08:31:25 +0900 | [diff] [blame] | 54 | |
Ulrich Hecht | 3969588 | 2014-12-17 17:18:17 +0100 | [diff] [blame] | 55 | config ARCH_R8A73A4 |
56 | bool "R-Mobile APE6 (R8A73A40)" | ||||
57 | select ARCH_RMOBILE | ||||
58 | select RENESAS_IRQC | ||||
59 | |||||
Magnus Damm | c41215b | 2014-08-25 12:36:53 +0900 | [diff] [blame] | 60 | config ARCH_R8A7740 |
61 | bool "R-Mobile A1 (R8A77400)" | ||||
62 | select ARCH_RMOBILE | ||||
63 | select RENESAS_INTC_IRQPIN | ||||
64 | |||||
Ulrich Hecht | 3915d36f | 2015-02-26 17:42:13 +0100 | [diff] [blame] | 65 | config ARCH_R8A7778 |
66 | bool "R-Car M1A (R8A77781)" | ||||
67 | select ARCH_RCAR_GEN1 | ||||
68 | |||||
Simon Horman | 5016c81 | 2014-05-15 20:32:05 +0900 | [diff] [blame] | 69 | config ARCH_R8A7779 |
70 | bool "R-Car H1 (R8A77790)" | ||||
Magnus Damm | 57cc67d | 2014-08-25 12:03:34 +0900 | [diff] [blame] | 71 | select ARCH_RCAR_GEN1 |
Simon Horman | 5016c81 | 2014-05-15 20:32:05 +0900 | [diff] [blame] | 72 | |
Laurent Pinchart | 0ef3cde | 2013-12-11 15:13:52 +0100 | [diff] [blame] | 73 | config ARCH_R8A7790 |
74 | bool "R-Car H2 (R8A77900)" | ||||
Magnus Damm | 0d91843 | 2014-08-25 12:03:43 +0900 | [diff] [blame] | 75 | select ARCH_RCAR_GEN2 |
Geert Uytterhoeven | 663fbb5 | 2015-03-09 20:50:40 +0100 | [diff] [blame] | 76 | select I2C |
Laurent Pinchart | 0ef3cde | 2013-12-11 15:13:52 +0100 | [diff] [blame] | 77 | |
Magnus Damm | 6d75bc6 | 2013-11-06 19:40:01 +0900 | [diff] [blame] | 78 | config ARCH_R8A7791 |
Geert Uytterhoeven | 13298fb | 2014-08-28 10:28:09 +0200 | [diff] [blame] | 79 | bool "R-Car M2-W (R8A77910)" |
Magnus Damm | 0d91843 | 2014-08-25 12:03:43 +0900 | [diff] [blame] | 80 | select ARCH_RCAR_GEN2 |
Geert Uytterhoeven | 663fbb5 | 2015-03-09 20:50:40 +0100 | [diff] [blame] | 81 | select I2C |
Magnus Damm | 6d75bc6 | 2013-11-06 19:40:01 +0900 | [diff] [blame] | 82 | |
Ulrich Hecht | 5923abb2 | 2014-09-04 16:02:28 +0200 | [diff] [blame] | 83 | config ARCH_R8A7794 |
84 | bool "R-Car E2 (R8A77940)" | ||||
85 | select ARCH_RCAR_GEN2 | ||||
Magnus Damm | cbc60e7 | 2013-07-18 05:31:18 +0900 | [diff] [blame] | 86 | |
Magnus Damm | 8e8bfff | 2015-01-09 14:08:50 +0100 | [diff] [blame] | 87 | config ARCH_SH73A0 |
88 | bool "SH-Mobile AG5 (R8A73A00)" | ||||
89 | select ARCH_RMOBILE | ||||
90 | select RENESAS_INTC_IRQPIN | ||||
91 | |||||
Magnus Damm | cbc60e7 | 2013-07-18 05:31:18 +0900 | [diff] [blame] | 92 | comment "Renesas ARM SoCs Board Type" |
Magnus Damm | 7d91c46 | 2013-11-07 08:31:25 +0900 | [diff] [blame] | 93 | |
Simon Horman | 5016c81 | 2014-05-15 20:32:05 +0900 | [diff] [blame] | 94 | config MACH_MARZEN |
95 | bool "MARZEN board" | ||||
96 | depends on ARCH_R8A7779 | ||||
97 | select REGULATOR_FIXED_VOLTAGE if REGULATOR | ||||
98 | |||||
Laurent Pinchart | 0d9fd61 | 2013-11-28 17:27:29 +0100 | [diff] [blame] | 99 | comment "Renesas ARM SoCs System Configuration" |
Magnus Damm | efacfce | 2013-07-18 05:31:09 +0900 | [diff] [blame] | 100 | endif |
101 | |||||
Laurent Pinchart | bf98c1e | 2013-11-09 13:33:48 +0100 | [diff] [blame] | 102 | if ARCH_SHMOBILE_LEGACY |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 103 | |
Laurent Pinchart | 0d9fd61 | 2013-11-28 17:27:29 +0100 | [diff] [blame] | 104 | comment "Renesas ARM SoCs System Type" |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 105 | |
Magnus Damm | 6d9598e | 2010-11-17 10:59:31 +0000 | [diff] [blame] | 106 | config ARCH_SH73A0 |
107 | bool "SH-Mobile AG5 (R8A73A00)" | ||||
Magnus Damm | 5784b19 | 2014-08-25 12:03:25 +0900 | [diff] [blame] | 108 | select ARCH_RMOBILE |
Takashi YOSHII | 1cdf370 | 2010-11-19 16:47:16 +0900 | [diff] [blame] | 109 | select ARCH_WANT_OPTIONAL_GPIOLIB |
Magnus Damm | 6d9598e | 2010-11-17 10:59:31 +0000 | [diff] [blame] | 110 | select ARM_GIC |
Guennadi Liakhovetski | 99f8bd8 | 2011-08-30 16:19:13 +0000 | [diff] [blame] | 111 | select I2C |
Geert Uytterhoeven | 049d280 | 2014-08-20 15:39:22 +0200 | [diff] [blame] | 112 | select SH_INTC |
Magnus Damm | 341eb54 | 2013-02-26 12:01:09 +0900 | [diff] [blame] | 113 | select RENESAS_INTC_IRQPIN |
Magnus Damm | 6d9598e | 2010-11-17 10:59:31 +0000 | [diff] [blame] | 114 | |
Kuninori Morimoto | 6c01ba4 | 2011-11-10 18:45:52 -0800 | [diff] [blame] | 115 | config ARCH_R8A7740 |
116 | bool "R-Mobile A1 (R8A77400)" | ||||
Magnus Damm | 5784b19 | 2014-08-25 12:03:25 +0900 | [diff] [blame] | 117 | select ARCH_RMOBILE |
Russell King | b1b3f49 | 2012-10-06 17:12:25 +0100 | [diff] [blame] | 118 | select ARCH_WANT_OPTIONAL_GPIOLIB |
Bastian Hecht | 0b7d782 | 2013-03-27 14:54:04 +0100 | [diff] [blame] | 119 | select ARM_GIC |
Bastian Hecht | 0b7d782 | 2013-03-27 14:54:04 +0100 | [diff] [blame] | 120 | select RENESAS_INTC_IRQPIN |
Kuninori Morimoto | 6c01ba4 | 2011-11-10 18:45:52 -0800 | [diff] [blame] | 121 | |
Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 122 | config ARCH_R8A7778 |
Sergei Shtylyov | 45fa929 | 2013-05-09 00:05:40 +0000 | [diff] [blame] | 123 | bool "R-Car M1A (R8A77781)" |
Magnus Damm | 57cc67d | 2014-08-25 12:03:34 +0900 | [diff] [blame] | 124 | select ARCH_RCAR_GEN1 |
Kuninori Morimoto | 369b00b | 2013-04-12 05:37:50 +0000 | [diff] [blame] | 125 | select ARCH_WANT_OPTIONAL_GPIOLIB |
Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 126 | select ARM_GIC |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 127 | |
Magnus Damm | f411fad | 2011-12-14 01:36:12 +0900 | [diff] [blame] | 128 | config ARCH_R8A7779 |
129 | bool "R-Car H1 (R8A77790)" | ||||
Magnus Damm | 57cc67d | 2014-08-25 12:03:34 +0900 | [diff] [blame] | 130 | select ARCH_RCAR_GEN1 |
Russell King | b1b3f49 | 2012-10-06 17:12:25 +0100 | [diff] [blame] | 131 | select ARCH_WANT_OPTIONAL_GPIOLIB |
132 | select ARM_GIC | ||||
Magnus Damm | f411fad | 2011-12-14 01:36:12 +0900 | [diff] [blame] | 133 | |
Laurent Pinchart | 0d9fd61 | 2013-11-28 17:27:29 +0100 | [diff] [blame] | 134 | comment "Renesas ARM SoCs Board Type" |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 135 | |
Kuninori Morimoto | 4d22e56 | 2012-04-06 01:28:59 -0700 | [diff] [blame] | 136 | config MACH_ARMADILLO800EVA |
137 | bool "Armadillo-800 EVA board" | ||||
138 | depends on ARCH_R8A7740 | ||||
139 | select ARCH_REQUIRE_GPIOLIB | ||||
Guennadi Liakhovetski | 34767f8 | 2012-07-05 15:17:42 +0200 | [diff] [blame] | 140 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
Simon Horman | 6a517b1 | 2014-01-07 15:55:49 +0900 | [diff] [blame] | 141 | select SMSC_PHY if SH_ETH |
Arnd Bergmann | 66f72f0 | 2015-05-19 15:40:37 +0200 | [diff] [blame^] | 142 | select SND_SOC_WM8978 if SND_SIMPLE_CARD && I2C |
Russell King | b1b3f49 | 2012-10-06 17:12:25 +0100 | [diff] [blame] | 143 | select USE_OF |
Kuninori Morimoto | 4d22e56 | 2012-04-06 01:28:59 -0700 | [diff] [blame] | 144 | |
Kuninori Morimoto | 53e42c2 | 2013-03-21 03:03:38 -0700 | [diff] [blame] | 145 | config MACH_BOCKW |
146 | bool "BOCK-W platform" | ||||
147 | depends on ARCH_R8A7778 | ||||
148 | select ARCH_REQUIRE_GPIOLIB | ||||
Kuninori Morimoto | c9996e5 | 2013-07-09 02:07:13 -0700 | [diff] [blame] | 149 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
Kuninori Morimoto | 688e6a6 | 2013-08-26 01:52:35 -0700 | [diff] [blame] | 150 | select SND_SOC_AK4554 if SND_SIMPLE_CARD |
Arnd Bergmann | 66f72f0 | 2015-05-19 15:40:37 +0200 | [diff] [blame^] | 151 | select SND_SOC_AK4642 if SND_SIMPLE_CARD && I2C |
Simon Horman | 2b2fd27 | 2014-01-07 16:40:32 +0900 | [diff] [blame] | 152 | select USE_OF |
Kuninori Morimoto | 53e42c2 | 2013-03-21 03:03:38 -0700 | [diff] [blame] | 153 | |
Kuninori Morimoto | cfa66a8 | 2013-07-24 00:36:51 -0700 | [diff] [blame] | 154 | config MACH_BOCKW_REFERENCE |
155 | bool "BOCK-W - Reference Device Tree Implementation" | ||||
156 | depends on ARCH_R8A7778 | ||||
157 | select ARCH_REQUIRE_GPIOLIB | ||||
Kuninori Morimoto | cfa66a8 | 2013-07-24 00:36:51 -0700 | [diff] [blame] | 158 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
159 | select USE_OF | ||||
160 | ---help--- | ||||
161 | Use reference implementation of BockW board support | ||||
162 | which makes use of device tree at the expense | ||||
163 | of not supporting a number of devices. | ||||
164 | |||||
165 | This is intended to aid developers | ||||
166 | |||||
Magnus Damm | f411fad | 2011-12-14 01:36:12 +0900 | [diff] [blame] | 167 | config MACH_MARZEN |
168 | bool "MARZEN board" | ||||
169 | depends on ARCH_R8A7779 | ||||
Magnus Damm | 19c43fc | 2011-12-14 01:36:22 +0900 | [diff] [blame] | 170 | select ARCH_REQUIRE_GPIOLIB |
Guennadi Liakhovetski | 34767f8 | 2012-07-05 15:17:42 +0200 | [diff] [blame] | 171 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
Magnus Damm | 7ebbb4a | 2013-07-24 16:30:42 +0900 | [diff] [blame] | 172 | select USE_OF |
Magnus Damm | f411fad | 2011-12-14 01:36:12 +0900 | [diff] [blame] | 173 | |
Kuninori Morimoto | 9b93e24 | 2012-04-10 20:57:31 -0700 | [diff] [blame] | 174 | config MACH_KZM9G |
175 | bool "KZM-A9-GT board" | ||||
176 | depends on ARCH_SH73A0 | ||||
177 | select ARCH_REQUIRE_GPIOLIB | ||||
Guennadi Liakhovetski | 34767f8 | 2012-07-05 15:17:42 +0200 | [diff] [blame] | 178 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
Russell King | b1b3f49 | 2012-10-06 17:12:25 +0100 | [diff] [blame] | 179 | select SND_SOC_AK4642 if SND_SIMPLE_CARD |
180 | select USE_OF | ||||
Kuninori Morimoto | 9b93e24 | 2012-04-10 20:57:31 -0700 | [diff] [blame] | 181 | |
Laurent Pinchart | 0d9fd61 | 2013-11-28 17:27:29 +0100 | [diff] [blame] | 182 | comment "Renesas ARM SoCs System Configuration" |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 183 | |
Rob Herring | 7f1e763 | 2012-01-17 11:20:23 -0600 | [diff] [blame] | 184 | config CPU_HAS_INTEVT |
185 | bool | ||||
186 | default y | ||||
187 | |||||
Magnus Damm | fd071b6 | 2013-07-18 05:31:27 +0900 | [diff] [blame] | 188 | config SH_CLK_CPG |
189 | bool | ||||
190 | |||||
191 | source "drivers/sh/Kconfig" | ||||
192 | |||||
193 | endif | ||||
194 | |||||
Laurent Pinchart | bf98c1e | 2013-11-09 13:33:48 +0100 | [diff] [blame] | 195 | if ARCH_SHMOBILE |
Magnus Damm | fd071b6 | 2013-07-18 05:31:27 +0900 | [diff] [blame] | 196 | |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 197 | menu "Timer and clock configuration" |
198 | |||||
Magnus Damm | 5da3e71 | 2010-07-29 14:03:04 +0100 | [diff] [blame] | 199 | config SHMOBILE_TIMER_HZ |
200 | int "Kernel HZ (jiffies per second)" | ||||
201 | range 32 1024 | ||||
202 | default "128" | ||||
203 | help | ||||
204 | Allows the configuration of the timer frequency. It is customary | ||||
205 | to have the timer interrupt run at 1000 Hz or 100 Hz, but in the | ||||
206 | case of low timer frequencies other values may be more suitable. | ||||
Laurent Pinchart | 0d9fd61 | 2013-11-28 17:27:29 +0100 | [diff] [blame] | 207 | Renesas ARM SoC systems using a 32768 Hz RCLK for clock events may |
208 | want to select a HZ value such as 128 that can evenly divide RCLK. | ||||
Magnus Damm | 5da3e71 | 2010-07-29 14:03:04 +0100 | [diff] [blame] | 209 | A HZ value that does not divide evenly may cause timer drift. |
210 | |||||
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 211 | endmenu |
212 | |||||
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 213 | endif |