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