ramips: add preliminary support for the RT3662/RT3883 SoCs
[openwrt.git] / target / linux / ramips / files / arch / mips / ralink / Kconfig
index 1bb6bc3..a7e7f21 100644 (file)
@@ -14,10 +14,15 @@ choice
                bool "RT305x"
                select SOC_RT305X
 
+       config RALINK_RT3883
+               bool "RT3883"
+               select SOC_RT3883
+
 endchoice
 
 source "arch/mips/ralink/rt288x/Kconfig"
 source "arch/mips/ralink/rt305x/Kconfig"
+source "arch/mips/ralink/rt3883/Kconfig"
 
 config SOC_RT288X
        bool
@@ -49,6 +54,22 @@ config SOC_RT305X
        select MIPS_MACHINE
        select USB_ARCH_HAS_HCD
 
+config SOC_RT3883
+       bool
+       select CEVT_R4K
+       select CSRC_R4K
+       select DMA_NONCOHERENT
+       select IRQ_CPU
+       select ARCH_REQUIRE_GPIOLIB
+       select SYS_HAS_CPU_MIPS32_R1
+       select SYS_HAS_CPU_MIPS32_R2
+       select SYS_SUPPORTS_32BIT_KERNEL
+       select SYS_SUPPORTS_LITTLE_ENDIAN
+       select SYS_HAS_EARLY_PRINTK
+       select MIPS_MACHINE
+       select USB_ARCH_HAS_OHCI
+       select USB_ARCH_HAS_EHCI
+
 config RALINK_DEV_GPIO_BUTTONS
        def_bool n