blob: f25e9d7bf0f501fd1025718a2d25f72f76d7f4e3 [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önig124bf942010-11-19 21:03:33 +010071 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Fabio Estevam374daa42010-11-10 07:00:02 -080072 select IMX_HAVE_PLATFORM_SPI_IMX
Amit Kucheriab996b582010-02-02 11:57:53 -080073 help
74 Include support for MX51 Babbage platform, also known as MX51EVK in
75 u-boot. This includes specific configurations for the board and its
76 peripherals.
77
Jason Wangbeaac6f32010-07-14 21:24:52 +080078config MACH_MX51_3DS
79 bool "Support MX51PDK (3DS)"
Fabio Estevamd94ed122010-11-26 12:25:58 -020080 select SOC_IMX51
Daiane Angolini56f94b12010-12-09 15:50:49 -020081 select IMX_HAVE_PLATFORM_IMX2_WDT
Fabio Estevama5fcfef2010-12-01 11:11:47 -020082 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Uwe Kleine-König04b73b12010-08-11 22:23:06 +020083 select IMX_HAVE_PLATFORM_IMX_UART
Arnaud Patard (Rtp)0ef51952010-11-26 15:27:53 +010084 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Jason Wang988916e2010-09-02 15:52:03 +080085 select IMX_HAVE_PLATFORM_SPI_IMX
Jason Wangbeaac6f32010-07-14 21:24:52 +080086 select MXC_DEBUG_BOARD
87 help
88 Include support for MX51PDK (3DS) platform. This includes specific
89 configurations for the board and its peripherals.
Eric Bénardef93f142010-07-23 16:11:19 +020090
91config MACH_EUKREA_CPUIMX51
92 bool "Support Eukrea CPUIMX51 module"
Fabio Estevamd94ed122010-11-26 12:25:58 -020093 select SOC_IMX51
Uwe Kleine-König44505c02010-09-30 16:44:53 +020094 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König04b73b12010-08-11 22:23:06 +020095 select IMX_HAVE_PLATFORM_IMX_UART
Eric Bénarda3927412010-10-12 16:29:20 +020096 select IMX_HAVE_PLATFORM_MXC_NAND
97 select IMX_HAVE_PLATFORM_SPI_IMX
Eric Bénardef93f142010-07-23 16:11:19 +020098 help
99 Include support for Eukrea CPUIMX51 platform. This includes
100 specific configurations for the module and its peripherals.
101
102choice
103 prompt "Baseboard"
104 depends on MACH_EUKREA_CPUIMX51
105 default MACH_EUKREA_MBIMX51_BASEBOARD
106
107config MACH_EUKREA_MBIMX51_BASEBOARD
108 prompt "Eukrea MBIMX51 development board"
109 bool
Fabio Estevama5fcfef2010-12-01 11:11:47 -0200110 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100111 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Uwe Kleine-König5b8d6282011-05-28 21:05:02 +0200112 select LEDS_GPIO_REGISTER
Eric Bénardef93f142010-07-23 16:11:19 +0200113 help
114 This adds board specific devices that can be found on Eukrea's
115 MBIMX51 evaluation board.
116
117endchoice
118
Eric Bénard70b17262010-10-12 16:12:36 +0200119config MACH_EUKREA_CPUIMX51SD
120 bool "Support Eukrea CPUIMX51SD module"
Fabio Estevamd94ed122010-11-26 12:25:58 -0200121 select SOC_IMX51
Eric Bénard70b17262010-10-12 16:12:36 +0200122 select IMX_HAVE_PLATFORM_IMX_I2C
123 select IMX_HAVE_PLATFORM_SPI_IMX
124 select IMX_HAVE_PLATFORM_IMX_UART
125 select IMX_HAVE_PLATFORM_MXC_NAND
126 help
127 Include support for Eukrea CPUIMX51SD platform. This includes
128 specific configurations for the module and its peripherals.
129
130choice
131 prompt "Baseboard"
132 depends on MACH_EUKREA_CPUIMX51SD
133 default MACH_EUKREA_MBIMXSD51_BASEBOARD
134
135config MACH_EUKREA_MBIMXSD51_BASEBOARD
136 prompt "Eukrea MBIMXSD development board"
137 bool
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100138 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Uwe Kleine-König5b8d6282011-05-28 21:05:02 +0200139 select LEDS_GPIO_REGISTER
Eric Bénard70b17262010-10-12 16:12:36 +0200140 help
141 This adds board specific devices that can be found on Eukrea's
142 MBIMXSD evaluation board.
143
144endchoice
145
Arnaud Patard (Rtp)7ac18a32011-02-17 15:31:28 +0100146config MX51_EFIKA_COMMON
147 bool
Fabio Estevamd94ed122010-11-26 12:25:58 -0200148 select SOC_IMX51
Amit Kucheria088d01b2010-10-07 03:58:12 +0300149 select IMX_HAVE_PLATFORM_IMX_UART
Arnaud Patard (Rtp)0ef51952010-11-26 15:27:53 +0100150 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Arnaud Patard (Rtp)c6e34a42010-10-27 14:40:54 +0200151 select IMX_HAVE_PLATFORM_SPI_IMX
Arnaud Patard (Rtp)9d72af62011-02-17 15:31:29 +0100152 select MXC_ULPI if USB_ULPI
Arnaud Patard (Rtp)7ac18a32011-02-17 15:31:28 +0100153
154config MACH_MX51_EFIKAMX
155 bool "Support MX51 Genesi Efika MX nettop"
Uwe Kleine-König5b8d6282011-05-28 21:05:02 +0200156 select LEDS_GPIO_REGISTER
Arnaud Patard (Rtp)7ac18a32011-02-17 15:31:28 +0100157 select MX51_EFIKA_COMMON
Amit Kucheria088d01b2010-10-07 03:58:12 +0300158 help
159 Include support for Genesi Efika MX nettop. This includes specific
160 configurations for the board and its peripherals.
161
Arnaud Patard (Rtp)102c91d2011-02-17 15:31:32 +0100162config MACH_MX51_EFIKASB
163 bool "Support MX51 Genesi Efika Smartbook"
Uwe Kleine-König5b8d6282011-05-28 21:05:02 +0200164 select LEDS_GPIO_REGISTER
Arnaud Patard (Rtp)102c91d2011-02-17 15:31:32 +0100165 select MX51_EFIKA_COMMON
166 help
167 Include support for Genesi Efika Smartbook. This includes specific
168 configurations for the board and its peripherals.
169
Uwe Kleine-König7db4d882011-04-08 11:06:43 +0200170endif # ARCH_MX51
171
172if ARCH_MX53_SUPPORTED
173comment "i.MX53 machines:"
174
Yong Shena58154d2011-01-04 14:22:56 +0800175config MACH_MX53_EVK
176 bool "Support MX53 EVK platforms"
177 select SOC_IMX53
Fabio Estevamdaa79542011-02-17 18:09:53 -0200178 select IMX_HAVE_PLATFORM_IMX2_WDT
Yong Shena58154d2011-01-04 14:22:56 +0800179 select IMX_HAVE_PLATFORM_IMX_UART
Yong Shen0d7671e2011-01-07 12:25:33 +0800180 select IMX_HAVE_PLATFORM_IMX_I2C
Yong Shen410d3452011-01-07 12:25:34 +0800181 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Yong Shenb0a6ba52011-01-10 20:08:53 +0800182 select IMX_HAVE_PLATFORM_SPI_IMX
Yong Shena58154d2011-01-04 14:22:56 +0800183 help
184 Include support for MX53 EVK platform. This includes specific
185 configurations for the board and its peripherals.
186
Yong Shen6f12ea42011-01-12 17:14:46 +0800187config MACH_MX53_SMD
188 bool "Support MX53 SMD platforms"
189 select SOC_IMX53
Fabio Estevamdaa79542011-02-17 18:09:53 -0200190 select IMX_HAVE_PLATFORM_IMX2_WDT
Fabio Estevam20930232011-03-01 16:59:48 -0300191 select IMX_HAVE_PLATFORM_IMX_I2C
Yong Shen6f12ea42011-01-12 17:14:46 +0800192 select IMX_HAVE_PLATFORM_IMX_UART
Fabio Estevamc6c83b42011-04-04 09:50:49 -0300193 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Yong Shen6f12ea42011-01-12 17:14:46 +0800194 help
195 Include support for MX53 SMD platform. This includes specific
196 configurations for the board and its peripherals.
Yong Shena58154d2011-01-04 14:22:56 +0800197
Yong Shen3b18c342011-01-12 17:14:47 +0800198config MACH_MX53_LOCO
199 bool "Support MX53 LOCO platforms"
200 select SOC_IMX53
Fabio Estevamdaa79542011-02-17 18:09:53 -0200201 select IMX_HAVE_PLATFORM_IMX2_WDT
Richard Zhao942b99f2011-02-18 12:36:16 +0800202 select IMX_HAVE_PLATFORM_IMX_I2C
Yong Shen3b18c342011-01-12 17:14:47 +0800203 select IMX_HAVE_PLATFORM_IMX_UART
Richard Zhu772edea2011-02-28 19:32:02 +0800204 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Frank Li14fb20c2011-03-15 17:04:10 +0800205 select IMX_HAVE_PLATFORM_GPIO_KEYS
Yong Shen3b18c342011-01-12 17:14:47 +0800206 help
207 Include support for MX53 LOCO platform. This includes specific
208 configurations for the board and its peripherals.
209
Uwe Kleine-König7db4d882011-04-08 11:06:43 +0200210endif # ARCH_MX53_SUPPORTED
Richard Zhaod3d4b602010-12-30 19:25:06 +0800211
Amit Kucheriab996b582010-02-02 11:57:53 -0800212endif