blob: 2905110954c24f30c560e3d94f677e05ca02f429 [file] [log] [blame]
Uwe Kleine-König7db4d882011-04-08 11:06:43 +02001if ARCH_MX503 || ARCH_MX51
2# ARCH_MX5/50/53 are left to mark places where prevent multi-soc in single
Richard Zhao76851672011-03-03 16:40:02 +08003# image. So for most time, SOC_IMX50/51/53 should be used.
Richard Zhao3d5a44b2010-12-30 19:25:05 +08004
Uwe Kleine-König7db4d882011-04-08 11:06:43 +02005config ARCH_MX5
Richard Zhao3d5a44b2010-12-30 19:25:05 +08006 bool
Amit Kucheriab996b582010-02-02 11:57:53 -08007
Uwe Kleine-König7db4d882011-04-08 11:06:43 +02008config ARCH_MX50
Amit Kucheriab996b582010-02-02 11:57:53 -08009 bool
Fabio Estevamd94ed122010-11-26 12:25:58 -020010
Yong Shena58154d2011-01-04 14:22:56 +080011config ARCH_MX53
12 bool
13
Richard Zhao3d5a44b2010-12-30 19:25:05 +080014config SOC_IMX50
15 bool
Uwe Kleine-König91350f62011-03-22 11:54:35 +010016 select CPU_V7
17 select ARM_L1_CACHE_SHIFT_6
Richard Zhao3d5a44b2010-12-30 19:25:05 +080018 select MXC_TZIC
19 select ARCH_MXC_IOMUX_V3
20 select ARCH_MXC_AUDMUX_V2
21 select ARCH_HAS_CPUFREQ
Uwe Kleine-König7db4d882011-04-08 11:06:43 +020022 select ARCH_MX5
Richard Zhao3d5a44b2010-12-30 19:25:05 +080023 select ARCH_MX50
24
Fabio Estevamd94ed122010-11-26 12:25:58 -020025config SOC_IMX51
26 bool
Uwe Kleine-König91350f62011-03-22 11:54:35 +010027 select CPU_V7
28 select ARM_L1_CACHE_SHIFT_6
Amit Kucheriab996b582010-02-02 11:57:53 -080029 select MXC_TZIC
30 select ARCH_MXC_IOMUX_V3
Sascha Hauer40e2eda2010-08-20 16:44:34 +020031 select ARCH_MXC_AUDMUX_V2
Yong Shen64f102b2010-10-21 21:18:59 +080032 select ARCH_HAS_CPUFREQ
Uwe Kleine-König7db4d882011-04-08 11:06:43 +020033 select ARCH_MX5
Amit Kucheriab996b582010-02-02 11:57:53 -080034
Yong Shena58154d2011-01-04 14:22:56 +080035config SOC_IMX53
36 bool
Uwe Kleine-König91350f62011-03-22 11:54:35 +010037 select CPU_V7
38 select ARM_L1_CACHE_SHIFT_6
Yong Shena58154d2011-01-04 14:22:56 +080039 select MXC_TZIC
40 select ARCH_MXC_IOMUX_V3
Uwe Kleine-König7db4d882011-04-08 11:06:43 +020041 select ARCH_MX5
Yong Shena58154d2011-01-04 14:22:56 +080042 select ARCH_MX53
43
Uwe Kleine-König7db4d882011-04-08 11:06:43 +020044if ARCH_MX50_SUPPORTED
45#comment "i.MX50 machines:"
46
47config MACH_MX50_RDP
48 bool "Support MX50 reference design platform"
49 depends on BROKEN
50 select SOC_IMX50
51 select IMX_HAVE_PLATFORM_IMX_I2C
52 select IMX_HAVE_PLATFORM_IMX_UART
53 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
54 select IMX_HAVE_PLATFORM_SPI_IMX
55 select IMX_HAVE_PLATFORM_FEC
56 help
57 Include support for MX50 reference design platform (RDP) board. This
58 includes specific configurations for the board and its peripherals.
59
60endif # ARCH_MX50_SUPPORTED
61
62if ARCH_MX51
63comment "i.MX51 machines:"
Amit Kucheriab996b582010-02-02 11:57:53 -080064
65config MACH_MX51_BABBAGE
66 bool "Support MX51 BABBAGE platforms"
Fabio Estevamd94ed122010-11-26 12:25:58 -020067 select SOC_IMX51
Fabio Estevama96efbc2010-12-06 16:38:34 -020068 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König44505c02010-09-30 16:44:53 +020069 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König04b73b12010-08-11 22:23:06 +020070 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König7d92e8e2011-07-30 23:41:49 +020071 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König124bf942010-11-19 21:03:33 +010072 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Fabio Estevam374daa42010-11-10 07:00:02 -080073 select IMX_HAVE_PLATFORM_SPI_IMX
Amit Kucheriab996b582010-02-02 11:57:53 -080074 help
75 Include support for MX51 Babbage platform, also known as MX51EVK in
76 u-boot. This includes specific configurations for the board and its
77 peripherals.
78
Jason Wangbeaac6f32010-07-14 21:24:52 +080079config MACH_MX51_3DS
80 bool "Support MX51PDK (3DS)"
Fabio Estevamd94ed122010-11-26 12:25:58 -020081 select SOC_IMX51
Daiane Angolini56f94b12010-12-09 15:50:49 -020082 select IMX_HAVE_PLATFORM_IMX2_WDT
Fabio Estevama5fcfef2010-12-01 11:11:47 -020083 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Uwe Kleine-König04b73b12010-08-11 22:23:06 +020084 select IMX_HAVE_PLATFORM_IMX_UART
Arnaud Patard (Rtp)0ef51952010-11-26 15:27:53 +010085 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Jason Wang988916e2010-09-02 15:52:03 +080086 select IMX_HAVE_PLATFORM_SPI_IMX
Jason Wangbeaac6f32010-07-14 21:24:52 +080087 select MXC_DEBUG_BOARD
88 help
89 Include support for MX51PDK (3DS) platform. This includes specific
90 configurations for the board and its peripherals.
Eric Bénardef93f142010-07-23 16:11:19 +020091
92config MACH_EUKREA_CPUIMX51
93 bool "Support Eukrea CPUIMX51 module"
Fabio Estevamd94ed122010-11-26 12:25:58 -020094 select SOC_IMX51
Uwe Kleine-König44505c02010-09-30 16:44:53 +020095 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König04b73b12010-08-11 22:23:06 +020096 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König7d92e8e2011-07-30 23:41:49 +020097 select IMX_HAVE_PLATFORM_MXC_EHCI
Eric Bénarda3927412010-10-12 16:29:20 +020098 select IMX_HAVE_PLATFORM_MXC_NAND
99 select IMX_HAVE_PLATFORM_SPI_IMX
Eric Bénardef93f142010-07-23 16:11:19 +0200100 help
101 Include support for Eukrea CPUIMX51 platform. This includes
102 specific configurations for the module and its peripherals.
103
104choice
105 prompt "Baseboard"
106 depends on MACH_EUKREA_CPUIMX51
107 default MACH_EUKREA_MBIMX51_BASEBOARD
108
109config MACH_EUKREA_MBIMX51_BASEBOARD
110 prompt "Eukrea MBIMX51 development board"
111 bool
Fabio Estevama5fcfef2010-12-01 11:11:47 -0200112 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100113 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Uwe Kleine-König5b8d6282011-05-28 21:05:02 +0200114 select LEDS_GPIO_REGISTER
Eric Bénardef93f142010-07-23 16:11:19 +0200115 help
116 This adds board specific devices that can be found on Eukrea's
117 MBIMX51 evaluation board.
118
119endchoice
120
Eric Bénard70b17262010-10-12 16:12:36 +0200121config MACH_EUKREA_CPUIMX51SD
122 bool "Support Eukrea CPUIMX51SD module"
Fabio Estevamd94ed122010-11-26 12:25:58 -0200123 select SOC_IMX51
Eric Bénard70b17262010-10-12 16:12:36 +0200124 select IMX_HAVE_PLATFORM_IMX_I2C
Eric Bénard70b17262010-10-12 16:12:36 +0200125 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König7d92e8e2011-07-30 23:41:49 +0200126 select IMX_HAVE_PLATFORM_MXC_EHCI
Eric Bénard70b17262010-10-12 16:12:36 +0200127 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König7d92e8e2011-07-30 23:41:49 +0200128 select IMX_HAVE_PLATFORM_SPI_IMX
Eric Bénard70b17262010-10-12 16:12:36 +0200129 help
130 Include support for Eukrea CPUIMX51SD platform. This includes
131 specific configurations for the module and its peripherals.
132
133choice
134 prompt "Baseboard"
135 depends on MACH_EUKREA_CPUIMX51SD
136 default MACH_EUKREA_MBIMXSD51_BASEBOARD
137
138config MACH_EUKREA_MBIMXSD51_BASEBOARD
139 prompt "Eukrea MBIMXSD development board"
140 bool
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100141 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Uwe Kleine-König5b8d6282011-05-28 21:05:02 +0200142 select LEDS_GPIO_REGISTER
Eric Bénard70b17262010-10-12 16:12:36 +0200143 help
144 This adds board specific devices that can be found on Eukrea's
145 MBIMXSD evaluation board.
146
147endchoice
148
Arnaud Patard (Rtp)7ac18a32011-02-17 15:31:28 +0100149config MX51_EFIKA_COMMON
150 bool
Fabio Estevamd94ed122010-11-26 12:25:58 -0200151 select SOC_IMX51
Amit Kucheria088d01b2010-10-07 03:58:12 +0300152 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König7d92e8e2011-07-30 23:41:49 +0200153 select IMX_HAVE_PLATFORM_MXC_EHCI
Arnaud Patard (Rtp)0ef51952010-11-26 15:27:53 +0100154 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Arnaud Patard (Rtp)c6e34a4c2010-10-27 14:40:54 +0200155 select IMX_HAVE_PLATFORM_SPI_IMX
Arnaud Patard (Rtp)9d72af62011-02-17 15:31:29 +0100156 select MXC_ULPI if USB_ULPI
Arnaud Patard (Rtp)7ac18a32011-02-17 15:31:28 +0100157
158config MACH_MX51_EFIKAMX
159 bool "Support MX51 Genesi Efika MX nettop"
Uwe Kleine-König5b8d6282011-05-28 21:05:02 +0200160 select LEDS_GPIO_REGISTER
Arnaud Patard (Rtp)7ac18a32011-02-17 15:31:28 +0100161 select MX51_EFIKA_COMMON
Amit Kucheria088d01b2010-10-07 03:58:12 +0300162 help
163 Include support for Genesi Efika MX nettop. This includes specific
164 configurations for the board and its peripherals.
165
Arnaud Patard (Rtp)102c91d2011-02-17 15:31:32 +0100166config MACH_MX51_EFIKASB
167 bool "Support MX51 Genesi Efika Smartbook"
Uwe Kleine-König5b8d6282011-05-28 21:05:02 +0200168 select LEDS_GPIO_REGISTER
Arnaud Patard (Rtp)102c91d2011-02-17 15:31:32 +0100169 select MX51_EFIKA_COMMON
170 help
171 Include support for Genesi Efika Smartbook. This includes specific
172 configurations for the board and its peripherals.
173
Uwe Kleine-König7db4d882011-04-08 11:06:43 +0200174endif # ARCH_MX51
175
176if ARCH_MX53_SUPPORTED
177comment "i.MX53 machines:"
178
Yong Shena58154d2011-01-04 14:22:56 +0800179config MACH_MX53_EVK
180 bool "Support MX53 EVK platforms"
181 select SOC_IMX53
Fabio Estevamdaa79542011-02-17 18:09:53 -0200182 select IMX_HAVE_PLATFORM_IMX2_WDT
Yong Shena58154d2011-01-04 14:22:56 +0800183 select IMX_HAVE_PLATFORM_IMX_UART
Yong Shen0d7671e2011-01-07 12:25:33 +0800184 select IMX_HAVE_PLATFORM_IMX_I2C
Yong Shen410d34582011-01-07 12:25:34 +0800185 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Yong Shenb0a6ba52011-01-10 20:08:53 +0800186 select IMX_HAVE_PLATFORM_SPI_IMX
Fabio Estevam95b74452011-05-30 12:42:26 -0300187 select LEDS_GPIO_REGISTER
Yong Shena58154d2011-01-04 14:22:56 +0800188 help
189 Include support for MX53 EVK platform. This includes specific
190 configurations for the board and its peripherals.
191
Yong Shen6f12ea42011-01-12 17:14:46 +0800192config MACH_MX53_SMD
193 bool "Support MX53 SMD platforms"
194 select SOC_IMX53
Fabio Estevamdaa79542011-02-17 18:09:53 -0200195 select IMX_HAVE_PLATFORM_IMX2_WDT
Fabio Estevam20930232011-03-01 16:59:48 -0300196 select IMX_HAVE_PLATFORM_IMX_I2C
Yong Shen6f12ea42011-01-12 17:14:46 +0800197 select IMX_HAVE_PLATFORM_IMX_UART
Fabio Estevamc6c83b42011-04-04 09:50:49 -0300198 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Yong Shen6f12ea42011-01-12 17:14:46 +0800199 help
200 Include support for MX53 SMD platform. This includes specific
201 configurations for the board and its peripherals.
Yong Shena58154d2011-01-04 14:22:56 +0800202
Yong Shen3b18c342011-01-12 17:14:47 +0800203config MACH_MX53_LOCO
204 bool "Support MX53 LOCO platforms"
205 select SOC_IMX53
Fabio Estevamdaa79542011-02-17 18:09:53 -0200206 select IMX_HAVE_PLATFORM_IMX2_WDT
Richard Zhao942b99f2011-02-18 12:36:16 +0800207 select IMX_HAVE_PLATFORM_IMX_I2C
Yong Shen3b18c342011-01-12 17:14:47 +0800208 select IMX_HAVE_PLATFORM_IMX_UART
Richard Zhu772edea2011-02-28 19:32:02 +0800209 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Frank Li14fb20c2011-03-15 17:04:10 +0800210 select IMX_HAVE_PLATFORM_GPIO_KEYS
Fabio Estevam5dc33942011-05-28 11:51:32 -0300211 select LEDS_GPIO_REGISTER
Yong Shen3b18c342011-01-12 17:14:47 +0800212 help
213 Include support for MX53 LOCO platform. This includes specific
214 configurations for the board and its peripherals.
215
Andre Silvabd897822011-06-10 13:08:14 -0300216config MACH_MX53_ARD
217 bool "Support MX53 ARD platforms"
218 select SOC_IMX53
Andre Silva40d32c82011-06-13 14:31:58 -0300219 select IMX_HAVE_PLATFORM_IMX2_WDT
Andre Silva8dd7b812011-06-22 16:33:05 -0300220 select IMX_HAVE_PLATFORM_IMX_I2C
Andre Silvabd897822011-06-10 13:08:14 -0300221 select IMX_HAVE_PLATFORM_IMX_UART
Andre Silvae3a58be2011-06-13 14:31:57 -0300222 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Daiane Angolini2a90a692011-06-30 14:41:46 -0300223 select IMX_HAVE_PLATFORM_GPIO_KEYS
Andre Silvabd897822011-06-10 13:08:14 -0300224 help
225 Include support for MX53 ARD platform. This includes specific
226 configurations for the board and its peripherals.
227
Uwe Kleine-König7db4d882011-04-08 11:06:43 +0200228endif # ARCH_MX53_SUPPORTED
Richard Zhaod3d4b602010-12-30 19:25:06 +0800229
Amit Kucheriab996b582010-02-02 11:57:53 -0800230endif