1if ARCH_MX5
2# ARCH_MX50/51/53 are left to mark places where prevent multi-soc in single
3# image. So for most time, SOC_IMX50/51/53 should be used.
4
5config ARCH_MX50
6	bool
7
8config ARCH_MX51
9	bool
10
11config ARCH_MX53
12	bool
13
14config SOC_IMX50
15	bool
16	select MXC_TZIC
17	select ARCH_MXC_IOMUX_V3
18	select ARCH_MXC_AUDMUX_V2
19	select ARCH_HAS_CPUFREQ
20	select ARCH_MX50
21
22config	SOC_IMX51
23	bool
24	select MXC_TZIC
25	select ARCH_MXC_IOMUX_V3
26	select ARCH_MXC_AUDMUX_V2
27	select ARCH_HAS_CPUFREQ
28	select ARCH_MX51
29
30config	SOC_IMX53
31	bool
32	select MXC_TZIC
33	select ARCH_MXC_IOMUX_V3
34	select ARCH_MX53
35
36comment "MX5 platforms:"
37
38config MACH_MX51_BABBAGE
39	bool "Support MX51 BABBAGE platforms"
40	select SOC_IMX51
41	select IMX_HAVE_PLATFORM_IMX2_WDT
42	select IMX_HAVE_PLATFORM_IMX_I2C
43	select IMX_HAVE_PLATFORM_IMX_UART
44	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
45	select IMX_HAVE_PLATFORM_SPI_IMX
46	help
47	  Include support for MX51 Babbage platform, also known as MX51EVK in
48	  u-boot. This includes specific configurations for the board and its
49	  peripherals.
50
51config MACH_MX51_3DS
52	bool "Support MX51PDK (3DS)"
53	select SOC_IMX51
54	select IMX_HAVE_PLATFORM_IMX2_WDT
55	select IMX_HAVE_PLATFORM_IMX_KEYPAD
56	select IMX_HAVE_PLATFORM_IMX_UART
57	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
58	select IMX_HAVE_PLATFORM_SPI_IMX
59	select MXC_DEBUG_BOARD
60	help
61	  Include support for MX51PDK (3DS) platform. This includes specific
62	  configurations for the board and its peripherals.
63
64config MACH_EUKREA_CPUIMX51
65	bool "Support Eukrea CPUIMX51 module"
66	select SOC_IMX51
67	select IMX_HAVE_PLATFORM_IMX_I2C
68	select IMX_HAVE_PLATFORM_IMX_UART
69	select IMX_HAVE_PLATFORM_MXC_NAND
70	select IMX_HAVE_PLATFORM_SPI_IMX
71	help
72	  Include support for Eukrea CPUIMX51 platform. This includes
73	  specific configurations for the module and its peripherals.
74
75choice
76	prompt "Baseboard"
77	depends on MACH_EUKREA_CPUIMX51
78	default MACH_EUKREA_MBIMX51_BASEBOARD
79
80config MACH_EUKREA_MBIMX51_BASEBOARD
81	prompt "Eukrea MBIMX51 development board"
82	bool
83	select IMX_HAVE_PLATFORM_IMX_KEYPAD
84	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
85	help
86	  This adds board specific devices that can be found on Eukrea's
87	  MBIMX51 evaluation board.
88
89endchoice
90
91config MACH_EUKREA_CPUIMX51SD
92	bool "Support Eukrea CPUIMX51SD module"
93	select SOC_IMX51
94	select IMX_HAVE_PLATFORM_IMX_I2C
95	select IMX_HAVE_PLATFORM_SPI_IMX
96	select IMX_HAVE_PLATFORM_IMX_UART
97	select IMX_HAVE_PLATFORM_MXC_NAND
98	help
99	  Include support for Eukrea CPUIMX51SD platform. This includes
100	  specific configurations for the module and its peripherals.
101
102choice
103	prompt "Baseboard"
104	depends on MACH_EUKREA_CPUIMX51SD
105	default MACH_EUKREA_MBIMXSD51_BASEBOARD
106
107config MACH_EUKREA_MBIMXSD51_BASEBOARD
108	prompt "Eukrea MBIMXSD development board"
109	bool
110	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
111	help
112	  This adds board specific devices that can be found on Eukrea's
113	  MBIMXSD evaluation board.
114
115endchoice
116
117config MX51_EFIKA_COMMON
118	bool
119	select SOC_IMX51
120	select IMX_HAVE_PLATFORM_IMX_UART
121	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
122	select IMX_HAVE_PLATFORM_SPI_IMX
123	select MXC_ULPI if USB_ULPI
124
125config MACH_MX51_EFIKAMX
126	bool "Support MX51 Genesi Efika MX nettop"
127	select MX51_EFIKA_COMMON
128	help
129	  Include support for Genesi Efika MX nettop. This includes specific
130	  configurations for the board and its peripherals.
131
132config MACH_MX51_EFIKASB
133	bool "Support MX51 Genesi Efika Smartbook"
134	select MX51_EFIKA_COMMON
135	help
136	  Include support for Genesi Efika Smartbook. This includes specific
137	  configurations for the board and its peripherals.
138
139config MACH_MX53_EVK
140	bool "Support MX53 EVK platforms"
141	select SOC_IMX53
142	select IMX_HAVE_PLATFORM_IMX2_WDT
143	select IMX_HAVE_PLATFORM_IMX_UART
144	select IMX_HAVE_PLATFORM_IMX_I2C
145	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
146	select IMX_HAVE_PLATFORM_SPI_IMX
147	help
148	  Include support for MX53 EVK platform. This includes specific
149	  configurations for the board and its peripherals.
150
151config MACH_MX53_SMD
152	bool "Support MX53 SMD platforms"
153	select SOC_IMX53
154	select IMX_HAVE_PLATFORM_IMX2_WDT
155	select IMX_HAVE_PLATFORM_IMX_I2C
156	select IMX_HAVE_PLATFORM_IMX_UART
157	help
158	  Include support for MX53 SMD platform. This includes specific
159	  configurations for the board and its peripherals.
160
161config MACH_MX53_LOCO
162	bool "Support MX53 LOCO platforms"
163	select SOC_IMX53
164	select IMX_HAVE_PLATFORM_IMX2_WDT
165	select IMX_HAVE_PLATFORM_IMX_I2C
166	select IMX_HAVE_PLATFORM_IMX_UART
167	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
168	select IMX_HAVE_PLATFORM_GPIO_KEYS
169	help
170	  Include support for MX53 LOCO platform. This includes specific
171	  configurations for the board and its peripherals.
172
173config MACH_MX50_RDP
174	bool "Support MX50 reference design platform"
175	depends on BROKEN
176	select SOC_IMX50
177	select IMX_HAVE_PLATFORM_IMX_I2C
178	select IMX_HAVE_PLATFORM_IMX_UART
179	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
180	select IMX_HAVE_PLATFORM_SPI_IMX
181	select IMX_HAVE_PLATFORM_FEC
182	help
183	  Include support for MX50 reference design platform (RDP) board. This
184	  includes specific configurations for the board and its peripherals.
185
186endif
187