Kconfig 5.3 KB
Newer Older
1 2
config ARCH_SHMOBILE
	bool
3
	select ZONE_DMA if ARM_LPAE
4

5 6 7
config PM_RCAR
	bool

8 9
config PM_RMOBILE
	bool
10
	select PM_GENERIC_DOMAINS
11

12 13
config ARCH_RCAR_GEN1
	bool
14
	select PM_RCAR if PM || SMP
15 16 17
	select RENESAS_INTC_IRQPIN
	select SYS_SUPPORTS_SH_TMU

18 19
config ARCH_RCAR_GEN2
	bool
20
	select PM_RCAR if PM || SMP
21 22
	select RENESAS_IRQC
	select SYS_SUPPORTS_SH_CMT
23
	select PCI_DOMAINS if PCI
24

25 26
config ARCH_RMOBILE
	bool
27
	select PM_RMOBILE if PM
28 29 30
	select SYS_SUPPORTS_SH_CMT
	select SYS_SUPPORTS_SH_TMU

31
menuconfig ARCH_SHMOBILE_MULTI
32
	bool "Renesas ARM SoCs" if ARCH_MULTI_V7
33
	depends on MMU
34
	select ARCH_SHMOBILE
35
	select HAVE_ARM_SCU if SMP
36
	select HAVE_ARM_TWD if SMP
37
	select ARM_GIC
38
	select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
39
	select NO_IOPORT_MAP
40 41 42 43 44
	select PINCTRL
	select ARCH_REQUIRE_GPIOLIB

if ARCH_SHMOBILE_MULTI

45
#comment "Renesas ARM SoCs System Type"
46

47 48
config ARCH_EMEV2
	bool "Emma Mobile EV2"
49
	select SYS_SUPPORTS_EM_STI
50

51 52
config ARCH_R7S72100
	bool "RZ/A1H (R7S72100)"
53
	select SYS_SUPPORTS_SH_MTU2
54

55 56 57 58 59
config ARCH_R8A73A4
	bool "R-Mobile APE6 (R8A73A40)"
	select ARCH_RMOBILE
	select RENESAS_IRQC

60 61 62 63 64
config ARCH_R8A7740
	bool "R-Mobile A1 (R8A77400)"
	select ARCH_RMOBILE
	select RENESAS_INTC_IRQPIN

65 66
config ARCH_R8A7779
	bool "R-Car H1 (R8A77790)"
67
	select ARCH_RCAR_GEN1
68

69 70
config ARCH_R8A7790
	bool "R-Car H2 (R8A77900)"
71
	select ARCH_RCAR_GEN2
72

73
config ARCH_R8A7791
74
	bool "R-Car M2-W (R8A77910)"
75
	select ARCH_RCAR_GEN2
76

77 78 79
config ARCH_R8A7794
	bool "R-Car E2 (R8A77940)"
	select ARCH_RCAR_GEN2
80

81 82 83 84 85
config ARCH_SH73A0
	bool "SH-Mobile AG5 (R8A73A00)"
	select ARCH_RMOBILE
	select RENESAS_INTC_IRQPIN

86
comment "Renesas ARM SoCs Board Type"
87

88 89 90 91 92
config MACH_MARZEN
	bool "MARZEN board"
	depends on ARCH_R8A7779
	select REGULATOR_FIXED_VOLTAGE if REGULATOR

93
comment "Renesas ARM SoCs System Configuration"
94 95
endif

96
if ARCH_SHMOBILE_LEGACY
97

98
comment "Renesas ARM SoCs System Type"
99

100 101
config ARCH_SH7372
	bool "SH-Mobile AP4 (SH7372)"
102
	select ARCH_RMOBILE
103
	select ARCH_WANT_OPTIONAL_GPIOLIB
104
	select ARM_CPU_SUSPEND if PM || CPU_IDLE
105
	select SH_INTC
106

107 108
config ARCH_SH73A0
	bool "SH-Mobile AG5 (R8A73A00)"
109
	select ARCH_RMOBILE
110
	select ARCH_WANT_OPTIONAL_GPIOLIB
111
	select ARM_GIC
112
	select I2C
113
	select SH_INTC
114
	select RENESAS_INTC_IRQPIN
115

116 117
config ARCH_R8A73A4
	bool "R-Mobile APE6 (R8A73A40)"
118
	select ARCH_RMOBILE
M
Magnus Damm 已提交
119
	select ARCH_WANT_OPTIONAL_GPIOLIB
120
	select ARM_GIC
121
	select RENESAS_IRQC
122

123 124
config ARCH_R8A7740
	bool "R-Mobile A1 (R8A77400)"
125
	select ARCH_RMOBILE
126
	select ARCH_WANT_OPTIONAL_GPIOLIB
127 128
	select ARM_GIC
	select RENESAS_INTC_IRQPIN
129

130
config ARCH_R8A7778
131
	bool "R-Car M1A (R8A77781)"
132
	select ARCH_RCAR_GEN1
133
	select ARCH_WANT_OPTIONAL_GPIOLIB
134
	select ARM_GIC
135

136 137
config ARCH_R8A7779
	bool "R-Car H1 (R8A77790)"
138
	select ARCH_RCAR_GEN1
139 140
	select ARCH_WANT_OPTIONAL_GPIOLIB
	select ARM_GIC
141

142
comment "Renesas ARM SoCs Board Type"
143

144 145 146
config MACH_APE6EVM
	bool "APE6EVM board"
	depends on ARCH_R8A73A4
147
	select SMSC_PHY if SMSC911X
148 149
	select USE_OF

150 151 152
config MACH_APE6EVM_REFERENCE
	bool "APE6EVM board - Reference Device Tree Implementation"
	depends on ARCH_R8A73A4
153
	select SMSC_PHY if SMSC911X
154 155 156 157 158 159 160 161
	select USE_OF
	---help---
	   Use reference implementation of APE6EVM board support
	   which makes a greater use of device tree at the expense
	   of not supporting a number of devices.

	   This is intended to aid developers

162 163 164
config MACH_MACKEREL
	bool "mackerel board"
	depends on ARCH_SH7372
165
	select ARCH_REQUIRE_GPIOLIB
166
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
167
	select SMSC_PHY if SMSC911X
168
	select SND_SOC_AK4642 if SND_SIMPLE_CARD
169
	select USE_OF
170

171 172 173 174
config MACH_ARMADILLO800EVA
	bool "Armadillo-800 EVA board"
	depends on ARCH_R8A7740
	select ARCH_REQUIRE_GPIOLIB
175
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
176
	select SMSC_PHY if SH_ETH
177
	select SND_SOC_WM8978 if SND_SIMPLE_CARD
178
	select USE_OF
179

180 181 182 183
config MACH_BOCKW
	bool "BOCK-W platform"
	depends on ARCH_R8A7778
	select ARCH_REQUIRE_GPIOLIB
184
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
185 186
	select SND_SOC_AK4554 if SND_SIMPLE_CARD
	select SND_SOC_AK4642 if SND_SIMPLE_CARD
187
	select USE_OF
188

189 190 191 192 193 194 195 196 197 198 199 200 201
config MACH_BOCKW_REFERENCE
	bool "BOCK-W  - Reference Device Tree Implementation"
	depends on ARCH_R8A7778
	select ARCH_REQUIRE_GPIOLIB
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
	select USE_OF
	---help---
	   Use reference implementation of BockW board support
	   which makes use of device tree at the expense
	   of not supporting a number of devices.

	   This is intended to aid developers

202 203 204
config MACH_MARZEN
	bool "MARZEN board"
	depends on ARCH_R8A7779
205
	select ARCH_REQUIRE_GPIOLIB
206
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
207
	select USE_OF
208

209 210 211 212
config MACH_KZM9G
	bool "KZM-A9-GT board"
	depends on ARCH_SH73A0
	select ARCH_REQUIRE_GPIOLIB
213
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
214 215
	select SND_SOC_AK4642 if SND_SIMPLE_CARD
	select USE_OF
216

217
comment "Renesas ARM SoCs System Configuration"
218

219 220 221 222
config CPU_HAS_INTEVT
        bool
	default y

223 224 225 226 227 228 229
config SH_CLK_CPG
	bool

source "drivers/sh/Kconfig"

endif

230
if ARCH_SHMOBILE
231

232 233
menu "Timer and clock configuration"

234 235 236 237 238 239 240 241
config SHMOBILE_TIMER_HZ
	int "Kernel HZ (jiffies per second)"
	range 32 1024
	default "128"
	help
	  Allows the configuration of the timer frequency. It is customary
	  to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
	  case of low timer frequencies other values may be more suitable.
242 243
	  Renesas ARM SoC systems using a 32768 Hz RCLK for clock events may
	  want to select a HZ value such as 128 that can evenly divide RCLK.
244 245
	  A HZ value that does not divide evenly may cause timer drift.

246 247 248
endmenu

endif