xref: /openbmc/linux/arch/mips/pic32/Kconfig (revision 2f4574dd)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
22572f00dSJoshua Hendersonif MACH_PIC32
32572f00dSJoshua Henderson
42572f00dSJoshua Hendersonchoice
52572f00dSJoshua Henderson	prompt "Machine Type"
62572f00dSJoshua Henderson
72572f00dSJoshua Hendersonconfig PIC32MZDA
82572f00dSJoshua Henderson	bool "Microchip PIC32MZDA Platform"
92572f00dSJoshua Henderson	select BOOT_ELF32
102572f00dSJoshua Henderson	select BOOT_RAW
112572f00dSJoshua Henderson	select CEVT_R4K
122572f00dSJoshua Henderson	select CSRC_R4K
132572f00dSJoshua Henderson	select DMA_NONCOHERENT
142572f00dSJoshua Henderson	select SYS_HAS_CPU_MIPS32_R2
152572f00dSJoshua Henderson	select SYS_HAS_EARLY_PRINTK
162572f00dSJoshua Henderson	select SYS_SUPPORTS_32BIT_KERNEL
172572f00dSJoshua Henderson	select SYS_SUPPORTS_LITTLE_ENDIAN
18d30a2b47SLinus Walleij	select GPIOLIB
192572f00dSJoshua Henderson	select COMMON_CLK
202572f00dSJoshua Henderson	select LIBFDT
212572f00dSJoshua Henderson	select USE_OF
222572f00dSJoshua Henderson	select PINCTRL
232572f00dSJoshua Henderson	select PIC32_EVIC
242572f00dSJoshua Henderson	help
252572f00dSJoshua Henderson	  Support for the Microchip PIC32MZDA microcontroller.
262572f00dSJoshua Henderson
272572f00dSJoshua Henderson	  This is a 32-bit microcontroller with support for external or
282572f00dSJoshua Henderson	  internally packaged DDR2 memory up to 128MB.
292572f00dSJoshua Henderson
302572f00dSJoshua Henderson	  For more information, see <http://www.microchip.com/>.
312572f00dSJoshua Henderson
322572f00dSJoshua Hendersonendchoice
332572f00dSJoshua Henderson
34842b6b16SJoshua Hendersonchoice
35842b6b16SJoshua Henderson	prompt "Devicetree selection"
36842b6b16SJoshua Henderson	default DTB_PIC32_NONE
37842b6b16SJoshua Henderson	help
38842b6b16SJoshua Henderson	  Select the devicetree.
39842b6b16SJoshua Henderson
40842b6b16SJoshua Hendersonconfig DTB_PIC32_NONE
41842b6b16SJoshua Henderson	bool "None"
42842b6b16SJoshua Henderson
43842b6b16SJoshua Hendersonconfig DTB_PIC32_MZDA_SK
44842b6b16SJoshua Henderson	bool "PIC32MZDA Starter Kit"
45842b6b16SJoshua Henderson	depends on PIC32MZDA
46842b6b16SJoshua Henderson	select BUILTIN_DTB
47842b6b16SJoshua Henderson
48842b6b16SJoshua Hendersonendchoice
49842b6b16SJoshua Henderson
502572f00dSJoshua Hendersonendif # MACH_PIC32
51