summaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/Kconfig
blob: 9416613c8ecadf8d677d9d47bf5a8cec03985767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
menuconfig ARCH_AT91
	bool "Atmel SoCs"
	select ARCH_REQUIRE_GPIOLIB
	select COMMON_CLK_AT91
	select PINCTRL
	select PINCTRL_AT91
	select SOC_BUS

if ARCH_AT91
config SOC_SAMA5D3
	bool "SAMA5D3 family" if ARCH_MULTI_V7
	select SOC_SAMA5
	select HAVE_FB_ATMEL
	select HAVE_AT91_UTMI
	select HAVE_AT91_SMD
	select HAVE_AT91_USB_CLK
	help
	  Select this if you are using one of Atmel's SAMA5D3 family SoC.
	  This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36.

config SOC_SAMA5D4
	bool "SAMA5D4 family" if ARCH_MULTI_V7
	select SOC_SAMA5
	select CACHE_L2X0
	select HAVE_FB_ATMEL
	select HAVE_AT91_UTMI
	select HAVE_AT91_SMD
	select HAVE_AT91_USB_CLK
	select HAVE_AT91_H32MX
	help
	  Select this if you are using one of Atmel's SAMA5D4 family SoC.

config SOC_AT91RM9200
	bool "AT91RM9200" if ARCH_MULTI_V4T
	select ATMEL_AIC_IRQ
	select ATMEL_ST
	select CPU_ARM920T
	select HAVE_AT91_USB_CLK
	select MIGHT_HAVE_PCI
	select SOC_SAM_V4_V5
	select SRAM if PM
	help
	  Select this if you are using Atmel's AT91RM9200 SoC.

config SOC_AT91SAM9
	bool "AT91SAM9" if ARCH_MULTI_V5
	select ATMEL_AIC_IRQ
	select ATMEL_SDRAMC
	select CPU_ARM926T
	select HAVE_AT91_SMD
	select HAVE_AT91_USB_CLK
	select HAVE_AT91_UTMI
	select HAVE_FB_ATMEL
	select MEMORY
	select SOC_SAM_V4_V5
	select SRAM if PM
	help
	  Select this if you are using one of those Atmel SoC:
	    AT91SAM9260
	    AT91SAM9261
	    AT91SAM9263
	    AT91SAM9G15
	    AT91SAM9G20
	    AT91SAM9G25
	    AT91SAM9G35
	    AT91SAM9G45
	    AT91SAM9G46
	    AT91SAM9M10
	    AT91SAM9M11
	    AT91SAM9N12
	    AT91SAM9RL
	    AT91SAM9X25
	    AT91SAM9X35
	    AT91SAM9XE

config HAVE_AT91_UTMI
	bool

config HAVE_AT91_USB_CLK
	bool

config COMMON_CLK_AT91
	bool
	select COMMON_CLK

config HAVE_AT91_SMD
	bool

config HAVE_AT91_H32MX
	bool

config SOC_SAM_V4_V5
	bool

config SOC_SAM_V7
	bool

config SOC_SAMA5
	bool
	select ATMEL_AIC5_IRQ
	select ATMEL_SDRAMC
	select MEMORY
	select SOC_SAM_V7
	select SRAM if PM

comment "Atmel SoCs Feature Selections"

config AT91_TIMER_HZ
	int "Kernel HZ (jiffies per second)"
	range 32 1024
	depends on ARCH_AT91
	default "128" if SOC_AT91RM9200
	default "100"
	help
	  On AT91rm9200 chips where you're using a system clock derived
	  from the 32768 Hz hardware clock, this tick rate should divide
	  it exactly: use a power-of-two value, such as 128 or 256, to
	  reduce timing errors caused by rounding.

	  On AT91sam926x chips, or otherwise when using a higher precision
	  system clock (of at least several MHz), rounding is less of a
	  problem so it can be safer to use a decimal values like 100.

endif