1if ARCH_SHMOBILE 2 3comment "SH-Mobile System Type" 4 5config 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 12config 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 select RENESAS_INTC_IRQPIN 20 21config ARCH_R8A73A4 22 bool "R-Mobile APE6 (R8A73A40)" 23 select ARCH_WANT_OPTIONAL_GPIOLIB 24 select ARM_GIC 25 select CPU_V7 26 select HAVE_ARM_ARCH_TIMER 27 select SH_CLK_CPG 28 select RENESAS_IRQC 29 30config ARCH_R8A7740 31 bool "R-Mobile A1 (R8A77400)" 32 select ARCH_WANT_OPTIONAL_GPIOLIB 33 select ARM_GIC 34 select CPU_V7 35 select SH_CLK_CPG 36 select RENESAS_INTC_IRQPIN 37 38config ARCH_R8A7778 39 bool "R-Car M1A (R8A77781)" 40 select ARCH_WANT_OPTIONAL_GPIOLIB 41 select CPU_V7 42 select SH_CLK_CPG 43 select ARM_GIC 44 select USB_ARCH_HAS_EHCI 45 select USB_ARCH_HAS_OHCI 46 47config ARCH_R8A7779 48 bool "R-Car H1 (R8A77790)" 49 select ARCH_WANT_OPTIONAL_GPIOLIB 50 select ARM_GIC 51 select CPU_V7 52 select SH_CLK_CPG 53 select USB_ARCH_HAS_EHCI 54 select USB_ARCH_HAS_OHCI 55 select RENESAS_INTC_IRQPIN 56 57config ARCH_R8A7790 58 bool "R-Car H2 (R8A77900)" 59 select ARCH_WANT_OPTIONAL_GPIOLIB 60 select ARM_GIC 61 select CPU_V7 62 select HAVE_ARM_ARCH_TIMER 63 select SH_CLK_CPG 64 select RENESAS_IRQC 65 66config ARCH_EMEV2 67 bool "Emma Mobile EV2" 68 select ARCH_WANT_OPTIONAL_GPIOLIB 69 select ARM_GIC 70 select CPU_V7 71 72comment "SH-Mobile Board Type" 73 74config MACH_AG5EVM 75 bool "AG5EVM board" 76 depends on ARCH_SH73A0 77 select ARCH_REQUIRE_GPIOLIB 78 select REGULATOR_FIXED_VOLTAGE if REGULATOR 79 select SH_LCD_MIPI_DSI 80 81config MACH_APE6EVM 82 bool "APE6EVM board" 83 depends on ARCH_R8A73A4 84 select USE_OF 85 86config MACH_MACKEREL 87 bool "mackerel board" 88 depends on ARCH_SH7372 89 select ARCH_REQUIRE_GPIOLIB 90 select REGULATOR_FIXED_VOLTAGE if REGULATOR 91 select SND_SOC_AK4642 if SND_SIMPLE_CARD 92 select USE_OF 93 94config MACH_KOTA2 95 bool "KOTA2 board" 96 depends on ARCH_SH73A0 97 select ARCH_REQUIRE_GPIOLIB 98 select REGULATOR_FIXED_VOLTAGE if REGULATOR 99 100config MACH_ARMADILLO800EVA 101 bool "Armadillo-800 EVA board" 102 depends on ARCH_R8A7740 103 select ARCH_REQUIRE_GPIOLIB 104 select REGULATOR_FIXED_VOLTAGE if REGULATOR 105 select SND_SOC_WM8978 if SND_SIMPLE_CARD 106 select USE_OF 107 108config 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 122config MACH_BOCKW 123 bool "BOCK-W platform" 124 depends on ARCH_R8A7778 125 select ARCH_REQUIRE_GPIOLIB 126 select RENESAS_INTC_IRQPIN 127 select USE_OF 128 129config MACH_MARZEN 130 bool "MARZEN board" 131 depends on ARCH_R8A7779 132 select ARCH_REQUIRE_GPIOLIB 133 select REGULATOR_FIXED_VOLTAGE if REGULATOR 134 135config 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 148config MACH_LAGER 149 bool "Lager board" 150 depends on ARCH_R8A7790 151 select USE_OF 152 153config MACH_KZM9D 154 bool "KZM9D board" 155 depends on ARCH_EMEV2 156 select REGULATOR_FIXED_VOLTAGE if REGULATOR 157 select USE_OF 158 159config MACH_KZM9G 160 bool "KZM-A9-GT board" 161 depends on ARCH_SH73A0 162 select ARCH_HAS_CPUFREQ 163 select ARCH_HAS_OPP 164 select ARCH_REQUIRE_GPIOLIB 165 select REGULATOR_FIXED_VOLTAGE if REGULATOR 166 select SND_SOC_AK4642 if SND_SIMPLE_CARD 167 select USE_OF 168 169config MACH_KZM9G_REFERENCE 170 bool "KZM-A9-GT board - Reference Device Tree Implementation" 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 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 183comment "SH-Mobile System Configuration" 184 185config CPU_HAS_INTEVT 186 bool 187 default y 188 189menu "Timer and clock configuration" 190 191config 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 203config SH_TIMER_CMT 204 bool "CMT timer driver" 205 default y 206 help 207 This enables build of the CMT timer driver. 208 209config SH_TIMER_TMU 210 bool "TMU timer driver" 211 default y 212 help 213 This enables build of the TMU timer driver. 214 215config EM_TIMER_STI 216 bool "STI timer driver" 217 default y 218 help 219 This enables build of the STI timer driver. 220 221endmenu 222 223config SH_CLK_CPG 224 bool 225 226source "drivers/sh/Kconfig" 227 228endif 229