^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) if MACH_PIC32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) choice
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) prompt "Machine Type"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) config PIC32MZDA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) bool "Microchip PIC32MZDA Platform"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) select BOOT_ELF32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) select BOOT_RAW
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) select CEVT_R4K
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) select CSRC_R4K
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) select DMA_NONCOHERENT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) select SYS_HAS_CPU_MIPS32_R2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) select SYS_HAS_EARLY_PRINTK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) select SYS_SUPPORTS_32BIT_KERNEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) select SYS_SUPPORTS_LITTLE_ENDIAN
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) select GPIOLIB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) select COMMON_CLK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) select CLKDEV_LOOKUP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) select LIBFDT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) select USE_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) select PINCTRL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) select PIC32_EVIC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Support for the Microchip PIC32MZDA microcontroller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) This is a 32-bit microcontroller with support for external or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) internally packaged DDR2 memory up to 128MB.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) For more information, see <http://www.microchip.com/>.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) endchoice
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) choice
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) prompt "Devicetree selection"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) default DTB_PIC32_NONE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) Select the devicetree.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) config DTB_PIC32_NONE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) bool "None"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) config DTB_PIC32_MZDA_SK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) bool "PIC32MZDA Starter Kit"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) depends on PIC32MZDA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) select BUILTIN_DTB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) endchoice
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) endif # MACH_PIC32