Kconfig 5.9 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 10
config PM_RMOBILE
	bool

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

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

24 25
config ARCH_RMOBILE
	bool
26
	select PM_RMOBILE if PM && !ARCH_SHMOBILE_MULTI
27 28 29
	select SYS_SUPPORTS_SH_CMT
	select SYS_SUPPORTS_SH_TMU

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

if ARCH_SHMOBILE_MULTI

44
#comment "Renesas ARM SoCs System Type"
45

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

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

54 55 56 57 58
config ARCH_R8A7740
	bool "R-Mobile A1 (R8A77400)"
	select ARCH_RMOBILE
	select RENESAS_INTC_IRQPIN

59 60
config ARCH_R8A7779
	bool "R-Car H1 (R8A77790)"
61
	select ARCH_RCAR_GEN1
62

63 64
config ARCH_R8A7790
	bool "R-Car H2 (R8A77900)"
65
	select ARCH_RCAR_GEN2
66

67
config ARCH_R8A7791
68
	bool "R-Car M2-W (R8A77910)"
69
	select ARCH_RCAR_GEN2
70

71 72 73
config ARCH_R8A7794
	bool "R-Car E2 (R8A77940)"
	select ARCH_RCAR_GEN2
74

75
comment "Renesas ARM SoCs Board Type"
76

77 78 79 80 81
config MACH_MARZEN
	bool "MARZEN board"
	depends on ARCH_R8A7779
	select REGULATOR_FIXED_VOLTAGE if REGULATOR

82
comment "Renesas ARM SoCs System Configuration"
83 84
endif

85
if ARCH_SHMOBILE_LEGACY
86

87
comment "Renesas ARM SoCs System Type"
88

89 90
config ARCH_SH7372
	bool "SH-Mobile AP4 (SH7372)"
91
	select ARCH_RMOBILE
92
	select ARCH_WANT_OPTIONAL_GPIOLIB
93
	select ARM_CPU_SUSPEND if PM || CPU_IDLE
94
	select SH_INTC
95

96 97
config ARCH_SH73A0
	bool "SH-Mobile AG5 (R8A73A00)"
98
	select ARCH_RMOBILE
99
	select ARCH_WANT_OPTIONAL_GPIOLIB
100
	select ARM_GIC
101
	select I2C
102
	select SH_INTC
103
	select RENESAS_INTC_IRQPIN
104

105 106
config ARCH_R8A73A4
	bool "R-Mobile APE6 (R8A73A40)"
107
	select ARCH_RMOBILE
M
Magnus Damm 已提交
108
	select ARCH_WANT_OPTIONAL_GPIOLIB
109
	select ARM_GIC
110
	select RENESAS_IRQC
111

112 113
config ARCH_R8A7740
	bool "R-Mobile A1 (R8A77400)"
114
	select ARCH_RMOBILE
115
	select ARCH_WANT_OPTIONAL_GPIOLIB
116 117
	select ARM_GIC
	select RENESAS_INTC_IRQPIN
118

119
config ARCH_R8A7778
120
	bool "R-Car M1A (R8A77781)"
121
	select ARCH_RCAR_GEN1
122
	select ARCH_WANT_OPTIONAL_GPIOLIB
123
	select ARM_GIC
124

125 126
config ARCH_R8A7779
	bool "R-Car H1 (R8A77790)"
127
	select ARCH_RCAR_GEN1
128 129
	select ARCH_WANT_OPTIONAL_GPIOLIB
	select ARM_GIC
130

131 132
config ARCH_R8A7790
	bool "R-Car H2 (R8A77900)"
133
	select ARCH_RCAR_GEN2
M
Magnus Damm 已提交
134
	select ARCH_WANT_OPTIONAL_GPIOLIB
135
	select ARM_GIC
136
	select MIGHT_HAVE_PCI
137
	select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
138

139
comment "Renesas ARM SoCs Board Type"
140

141 142 143
config MACH_APE6EVM
	bool "APE6EVM board"
	depends on ARCH_R8A73A4
144
	select SMSC_PHY if SMSC911X
145 146
	select USE_OF

147 148 149
config MACH_APE6EVM_REFERENCE
	bool "APE6EVM board - Reference Device Tree Implementation"
	depends on ARCH_R8A73A4
150
	select SMSC_PHY if SMSC911X
151 152 153 154 155 156 157 158
	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

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

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

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

186 187 188 189 190 191 192 193 194 195 196 197 198
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

199 200 201
config MACH_MARZEN
	bool "MARZEN board"
	depends on ARCH_R8A7779
202
	select ARCH_REQUIRE_GPIOLIB
203
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
204
	select USE_OF
205

206 207 208 209
config MACH_LAGER
	bool "Lager board"
	depends on ARCH_R8A7790
	select USE_OF
210
	select MICREL_PHY if SH_ETH
211
	select SND_SOC_AK4642 if SND_SIMPLE_CARD
212

213 214 215 216
config MACH_KZM9G
	bool "KZM-A9-GT board"
	depends on ARCH_SH73A0
	select ARCH_REQUIRE_GPIOLIB
217
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
218 219
	select SND_SOC_AK4642 if SND_SIMPLE_CARD
	select USE_OF
220

221 222
config MACH_KZM9G_REFERENCE
	bool "KZM-A9-GT board - Reference Device Tree Implementation"
223 224 225 226 227
	depends on ARCH_SH73A0
	select ARCH_REQUIRE_GPIOLIB
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
	select SND_SOC_AK4642 if SND_SIMPLE_CARD
	select USE_OF
228 229 230 231 232 233 234
	---help---
	   Use reference implementation of KZM-A9-GT board support
	   which makes as greater use of device tree at the expense
	   of not supporting a number of devices.

	   This is intended to aid developers

235
comment "Renesas ARM SoCs System Configuration"
236

237 238 239 240
config CPU_HAS_INTEVT
        bool
	default y

241 242 243 244 245 246 247
config SH_CLK_CPG
	bool

source "drivers/sh/Kconfig"

endif

248
if ARCH_SHMOBILE
249

250 251
menu "Timer and clock configuration"

252 253 254 255 256 257 258 259
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.
260 261
	  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.
262 263
	  A HZ value that does not divide evenly may cause timer drift.

264 265 266
endmenu

endif