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