diff -drupN a/arch/mips/xburst/Kconfig b/arch/mips/xburst/Kconfig --- a/arch/mips/xburst/Kconfig 1970-01-01 03:00:00.000000000 +0300 +++ b/arch/mips/xburst/Kconfig 2022-06-09 05:02:27.000000000 +0300 @@ -0,0 +1,74 @@ +menuconfig SOC_TYPE + tristate "SOC type" + depends on MACH_XBURST + default y + +if SOC_TYPE +choice + prompt "SOC types" + depends on MACH_XBURST + default SOC_X1000 + +config SOC_X1000 + bool "x1000 socs" + select INGENIC_INTC + select CLK_X1000 + select CLKSRC_OF + select PINCTRL + select BUILTIN_DTB + select CLKDEV_LOOKUP + select PINCTRL_INGENIC + select CLKSRC_INGENIC_SYS_OST + +config SOC_X1800 + bool "x1800 socs" + select INGENIC_INTC + select CLK_X1800 + select CLKSRC_OF + select PINCTRL + select BUILTIN_DTB + select CLKDEV_LOOKUP + select PINCTRL_INGENIC + select PINCTRL_INGENIC_LEGACY_GPIO + select CLKSRC_INGENIC_SYS_OST + select XBURST_MXUV2 +endchoice + + +choice + prompt "device tree select" + default DT_NONE +config DT_NONE + +if SOC_X1000 +source "arch/mips/xburst/soc-x1000/Kconfig.DT" +endif +if SOC_X1800 +#source "arch/mips/xburst/soc-x1800/Kconfig.DT" +endif +endchoice + +config EXTAL_CLOCK + depends on MACH_XBURST + int "extal clock in MHz" + default 24 + +config INGENIC_GPT_CHECK + depends on MACH_XBURST + bool "The physical space is larger than the virtual space" + default y + +config SUSPEND_TEST + bool "auto suspend test" + default n + +config SUSPEND_ALARM_TIME + int "suspend alarm time(second)" + depends on SUSPEND_TEST + default 2 + +config XBURST_MXUV2 + bool + default n + +endif