18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ciif MACH_PIC32
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_cichoice
58c2ecf20Sopenharmony_ci	prompt "Machine Type"
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciconfig PIC32MZDA
88c2ecf20Sopenharmony_ci	bool "Microchip PIC32MZDA Platform"
98c2ecf20Sopenharmony_ci	select BOOT_ELF32
108c2ecf20Sopenharmony_ci	select BOOT_RAW
118c2ecf20Sopenharmony_ci	select CEVT_R4K
128c2ecf20Sopenharmony_ci	select CSRC_R4K
138c2ecf20Sopenharmony_ci	select DMA_NONCOHERENT
148c2ecf20Sopenharmony_ci	select SYS_HAS_CPU_MIPS32_R2
158c2ecf20Sopenharmony_ci	select SYS_HAS_EARLY_PRINTK
168c2ecf20Sopenharmony_ci	select SYS_SUPPORTS_32BIT_KERNEL
178c2ecf20Sopenharmony_ci	select SYS_SUPPORTS_LITTLE_ENDIAN
188c2ecf20Sopenharmony_ci	select GPIOLIB
198c2ecf20Sopenharmony_ci	select COMMON_CLK
208c2ecf20Sopenharmony_ci	select CLKDEV_LOOKUP
218c2ecf20Sopenharmony_ci	select LIBFDT
228c2ecf20Sopenharmony_ci	select USE_OF
238c2ecf20Sopenharmony_ci	select PINCTRL
248c2ecf20Sopenharmony_ci	select PIC32_EVIC
258c2ecf20Sopenharmony_ci	help
268c2ecf20Sopenharmony_ci	  Support for the Microchip PIC32MZDA microcontroller.
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci	  This is a 32-bit microcontroller with support for external or
298c2ecf20Sopenharmony_ci	  internally packaged DDR2 memory up to 128MB.
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci	  For more information, see <http://www.microchip.com/>.
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ciendchoice
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_cichoice
368c2ecf20Sopenharmony_ci	prompt "Devicetree selection"
378c2ecf20Sopenharmony_ci	default DTB_PIC32_NONE
388c2ecf20Sopenharmony_ci	help
398c2ecf20Sopenharmony_ci	  Select the devicetree.
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ciconfig DTB_PIC32_NONE
428c2ecf20Sopenharmony_ci	bool "None"
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ciconfig DTB_PIC32_MZDA_SK
458c2ecf20Sopenharmony_ci	bool "PIC32MZDA Starter Kit"
468c2ecf20Sopenharmony_ci	depends on PIC32MZDA
478c2ecf20Sopenharmony_ci	select BUILTIN_DTB
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ciendchoice
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ciendif # MACH_PIC32
52