1# Copyright 2007 Simtec Electronics
2#
3# Licensed under GPLv2
4
5config CPU_S3C2440
6	bool
7	select CPU_ARM920T
8	select S3C_GPIO_PULL_UP
9	select S3C2410_CLOCK
10	select S3C2410_PM if PM
11	select S3C2410_GPIO
12	select S3C2440_DMA if S3C2410_DMA
13	select CPU_S3C244X
14	select CPU_LLSERIAL_S3C2440
15	help
16	  Support for S3C2440 Samsung Mobile CPU based systems.
17
18config CPU_S3C2442
19	bool
20	select CPU_ARM920T
21	select S3C_GPIO_PULL_DOWN
22	select S3C2410_CLOCK
23	select S3C2410_GPIO
24	select S3C2410_PM if PM
25	select CPU_S3C244X
26	select CPU_LLSERIAL_S3C2440
27	help
28	  Support for S3C2442 Samsung Mobile CPU based systems.
29
30config CPU_S3C244X
31	bool
32	depends on CPU_S3C2440 || CPU_S3C2442
33	help
34	  Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems.
35
36
37
38config S3C2440_CPUFREQ
39	bool "S3C2440/S3C2442 CPU Frequency scaling support"
40	depends on CPU_FREQ_S3C24XX && (CPU_S3C2440 || CPU_S3C2442)
41	select S3C2410_CPUFREQ_UTILS
42	default y
43	help
44	  CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs.
45
46config S3C2440_XTAL_12000000
47	bool
48	help
49	  Indicate that the build needs to support 12MHz system
50	  crystal.
51
52config S3C2440_XTAL_16934400
53	bool
54	help
55	  Indicate that the build needs to support 16.9344MHz system
56	  crystal.
57
58config S3C2440_PLL_12000000
59	bool
60	depends on S3C2440_CPUFREQ && S3C2440_XTAL_12000000
61	default y if CPU_FREQ_S3C24XX_PLL
62	help
63	  PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
64
65config S3C2440_PLL_16934400
66	bool
67	depends on S3C2440_CPUFREQ && S3C2440_XTAL_16934400
68	default y if CPU_FREQ_S3C24XX_PLL
69	help
70	  PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
71
72config S3C2440_DMA
73	bool
74	depends on CPU_S3C2440
75	help
76	  Support for S3C2440 specific DMA code5A
77
78menu "S3C2440 and S3C2442 Machines"
79
80config MACH_ANUBIS
81	bool "Simtec Electronics ANUBIS"
82	select CPU_S3C2440
83	select S3C24XX_DCLK
84	select PM_SIMTEC if PM
85	select HAVE_PATA_PLATFORM
86	select S3C24XX_GPIO_EXTRA64
87	select S3C2440_XTAL_12000000
88	select S3C_DEV_USB_HOST
89	help
90	  Say Y here if you are using the Simtec Electronics ANUBIS
91	  development system
92
93config MACH_NEO1973_GTA02
94	bool "Openmoko GTA02 / Freerunner phone"
95	select CPU_S3C2442
96	select MFD_PCF50633
97	select PCF50633_GPIO
98	select I2C
99	select POWER_SUPPLY
100	select MACH_NEO1973
101	select S3C2410_PWM
102	select S3C_DEV_USB_HOST
103	help
104	   Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
105
106config MACH_OSIRIS
107	bool "Simtec IM2440D20 (OSIRIS) module"
108	select CPU_S3C2440
109	select S3C24XX_DCLK
110	select PM_SIMTEC if PM
111	select S3C24XX_GPIO_EXTRA128
112	select S3C2440_XTAL_12000000
113	select S3C2410_IOTIMING if S3C2440_CPUFREQ
114	select S3C_DEV_USB_HOST
115	select S3C_DEV_NAND
116	help
117	  Say Y here if you are using the Simtec IM2440D20 module, also
118	  known as the Osiris.
119
120config MACH_OSIRIS_DVS
121	tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
122	depends on MACH_OSIRIS
123	select TPS65010
124	help
125	  Say Y/M here if you want to have dynamic voltage scaling support
126	  on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
127
128	  The DVS driver alters the voltage supplied to the ARM core
129	  depending on the frequency it is running at. The driver itself
130	  does not do any of the frequency alteration, which is left up
131	  to the cpufreq driver.
132
133config MACH_RX3715
134	bool "HP iPAQ rx3715"
135	select CPU_S3C2440
136	select S3C2440_XTAL_16934400
137	select PM_H1940 if PM
138	select S3C_DEV_NAND
139	help
140	  Say Y here if you are using the HP iPAQ rx3715.
141
142config ARCH_S3C2440
143	bool "SMDK2440"
144	select CPU_S3C2440
145	select S3C2440_XTAL_16934400
146	select MACH_SMDK
147	select S3C_DEV_USB_HOST
148	select S3C_DEV_NAND
149	help
150	  Say Y here if you are using the SMDK2440.
151
152config MACH_NEXCODER_2440
153 	bool "NexVision NEXCODER 2440 Light Board"
154 	select CPU_S3C2440
155	select S3C2440_XTAL_12000000
156	select S3C_DEV_USB_HOST
157	select S3C_DEV_NAND
158	help
159 	  Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
160
161config SMDK2440_CPU2440
162	bool "SMDK2440 with S3C2440 CPU module"
163	default y if ARCH_S3C2440
164	select S3C2440_XTAL_16934400
165	select CPU_S3C2440
166
167config SMDK2440_CPU2442
168	bool "SMDM2440 with S3C2442 CPU module"
169	select CPU_S3C2442
170
171config MACH_AT2440EVB
172	bool "Avantech AT2440EVB development board"
173	select CPU_S3C2440
174	select S3C_DEV_USB_HOST
175	select S3C_DEV_NAND
176	help
177	  Say Y here if you are using the AT2440EVB development board
178
179config MACH_MINI2440
180	bool "MINI2440 development board"
181	select CPU_S3C2440
182	select EEPROM_AT24
183	select NEW_LEDS
184	select LEDS_CLASS
185	select LEDS_TRIGGER
186	select LEDS_TRIGGER_BACKLIGHT
187	select S3C_DEV_NAND
188	select S3C_DEV_USB_HOST
189	help
190	  Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
191	  available via various sources. It can come with a 3.5" or 7" touch LCD.
192
193config MACH_RX1950
194	bool "HP iPAQ rx1950"
195	select CPU_S3C2442
196	select S3C24XX_DCLK
197	select PM_H1940 if PM
198	select I2C
199	select S3C2410_PWM
200	select S3C_DEV_NAND
201	select S3C2410_IOTIMING if S3C2440_CPUFREQ
202	select S3C2440_XTAL_16934400
203	help
204	   Say Y here if you're using HP iPAQ rx1950
205
206endmenu
207