ARM: imx: dynamically allocate mxc_w1 devices
[linux-2.6-block.git] / arch / arm / mach-imx / Kconfig
1 config IMX_HAVE_DMA_V1
2         bool
3
4 if ARCH_MX1
5
6 config SOC_IMX1
7         select CPU_ARM920T
8         select IMX_HAVE_DMA_V1
9         select IMX_HAVE_IOMUX_V1
10         bool
11
12 comment "MX1 platforms:"
13 config MACH_MXLADS
14         bool
15
16 config ARCH_MX1ADS
17         bool "MX1ADS platform"
18         select MACH_MXLADS
19         select IMX_HAVE_PLATFORM_IMX_I2C
20         select IMX_HAVE_PLATFORM_IMX_UART
21         help
22           Say Y here if you are using Motorola MX1ADS/MXLADS boards
23
24 config MACH_SCB9328
25         bool "Synertronixx scb9328"
26         select IMX_HAVE_PLATFORM_IMX_UART
27         help
28           Say Y here if you are using a Synertronixx scb9328 board
29
30 endif
31
32 if ARCH_MX2
33
34 config SOC_IMX21
35         select CPU_ARM926T
36         select ARCH_MXC_AUDMUX_V1
37         select IMX_HAVE_DMA_V1
38         select IMX_HAVE_IOMUX_V1
39         bool
40
41 config SOC_IMX27
42         select CPU_ARM926T
43         select ARCH_MXC_AUDMUX_V1
44         select IMX_HAVE_DMA_V1
45         select IMX_HAVE_IOMUX_V1
46         bool
47
48 choice
49         prompt "CPUs:"
50         default MACH_MX21
51
52 config MACH_MX21
53         bool "i.MX21 support"
54         select SOC_IMX21
55         help
56           This enables support for Freescale's MX2 based i.MX21 processor.
57
58 config MACH_MX27
59         bool "i.MX27 support"
60         select SOC_IMX27
61         help
62           This enables support for Freescale's MX2 based i.MX27 processor.
63
64 endchoice
65
66 endif
67
68 if MACH_MX21
69
70 comment "MX21 platforms:"
71
72 config MACH_MX21ADS
73         bool "MX21ADS platform"
74         select IMX_HAVE_PLATFORM_IMX_UART
75         select IMX_HAVE_PLATFORM_MXC_NAND
76         help
77           Include support for MX21ADS platform. This includes specific
78           configurations for the board and its peripherals.
79
80 endif
81
82 if MACH_MX27
83
84 comment "MX27 platforms:"
85
86 config MACH_MX27ADS
87         bool "MX27ADS platform"
88         select IMX_HAVE_PLATFORM_IMX_I2C
89         select IMX_HAVE_PLATFORM_IMX_UART
90         select IMX_HAVE_PLATFORM_MXC_NAND
91         select IMX_HAVE_PLATFORM_MXC_W1
92         help
93           Include support for MX27ADS platform. This includes specific
94           configurations for the board and its peripherals.
95
96 config MACH_PCM038
97         bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
98         select IMX_HAVE_PLATFORM_IMX_I2C
99         select IMX_HAVE_PLATFORM_IMX_UART
100         select IMX_HAVE_PLATFORM_MXC_NAND
101         select IMX_HAVE_PLATFORM_MXC_W1
102         select IMX_HAVE_PLATFORM_SPI_IMX
103         select MXC_ULPI if USB_ULPI
104         help
105           Include support for phyCORE-i.MX27 (aka pcm038) platform. This
106           includes specific configurations for the module and its peripherals.
107
108 choice
109         prompt "Baseboard"
110         depends on MACH_PCM038
111         default MACH_PCM970_BASEBOARD
112
113 config MACH_PCM970_BASEBOARD
114         prompt "PHYTEC PCM970 development board"
115         bool
116         help
117           This adds board specific devices that can be found on Phytec's
118           PCM970 evaluation board.
119
120 endchoice
121
122 config MACH_CPUIMX27
123         bool "Eukrea CPUIMX27 module"
124         select IMX_HAVE_PLATFORM_IMX_I2C
125         select IMX_HAVE_PLATFORM_IMX_UART
126         select IMX_HAVE_PLATFORM_MXC_NAND
127         select IMX_HAVE_PLATFORM_MXC_W1
128         select MXC_ULPI if USB_ULPI
129         help
130           Include support for Eukrea CPUIMX27 platform. This includes
131           specific configurations for the module and its peripherals.
132
133 config MACH_EUKREA_CPUIMX27_USESDHC2
134         bool "CPUIMX27 integrates SDHC2 module"
135         depends on MACH_CPUIMX27
136         help
137           This adds support for the internal SDHC2 used on CPUIMX27
138           for wifi or eMMC.
139
140 config MACH_EUKREA_CPUIMX27_USEUART4
141         bool "CPUIMX27 integrates UART4 module"
142         depends on MACH_CPUIMX27
143         help
144           This adds support for the internal UART4 used on CPUIMX27
145           for bluetooth.
146
147 choice
148         prompt "Baseboard"
149         depends on MACH_CPUIMX27
150         default MACH_EUKREA_MBIMX27_BASEBOARD
151
152 config MACH_EUKREA_MBIMX27_BASEBOARD
153         bool "Eukrea MBIMX27 development board"
154         select IMX_HAVE_PLATFORM_IMX_SSI
155         select IMX_HAVE_PLATFORM_IMX_UART
156         select IMX_HAVE_PLATFORM_SPI_IMX
157         help
158           This adds board specific devices that can be found on Eukrea's
159           MBIMX27 evaluation board.
160
161 endchoice
162
163 config MACH_MX27_3DS
164         bool "MX27PDK platform"
165         select IMX_HAVE_PLATFORM_IMX_UART
166         help
167           Include support for MX27PDK platform. This includes specific
168           configurations for the board and its peripherals.
169
170 config MACH_IMX27_VISSTRIM_M10
171         bool "Vista Silicon i.MX27 Visstrim_m10"
172         select IMX_HAVE_PLATFORM_IMX_I2C
173         select IMX_HAVE_PLATFORM_IMX_UART
174         help
175           Include support for Visstrim_m10 platform and its different variants.
176           This includes specific configurations for the board and its
177           peripherals.
178
179 config MACH_IMX27LITE
180         bool "LogicPD MX27 LITEKIT platform"
181         select IMX_HAVE_PLATFORM_IMX_UART
182         help
183           Include support for MX27 LITEKIT platform. This includes specific
184           configurations for the board and its peripherals.
185
186 config MACH_PCA100
187         bool "Phytec phyCARD-s (pca100)"
188         select IMX_HAVE_PLATFORM_IMX_I2C
189         select IMX_HAVE_PLATFORM_IMX_SSI
190         select IMX_HAVE_PLATFORM_IMX_UART
191         select IMX_HAVE_PLATFORM_MXC_NAND
192         select IMX_HAVE_PLATFORM_MXC_W1
193         select IMX_HAVE_PLATFORM_SPI_IMX
194         select MXC_ULPI if USB_ULPI
195         help
196           Include support for phyCARD-s (aka pca100) platform. This
197           includes specific configurations for the module and its peripherals.
198
199 config MACH_MXT_TD60
200         bool "Maxtrack i-MXT TD60"
201         select IMX_HAVE_PLATFORM_IMX_I2C
202         select IMX_HAVE_PLATFORM_IMX_UART
203         select IMX_HAVE_PLATFORM_MXC_NAND
204         help
205           Include support for i-MXT (aka td60) platform. This
206           includes specific configurations for the module and its peripherals.
207
208 endif