2020-11-26 14:22:11 +00:00
|
|
|
--- a/arch/mips/Kbuild.platforms
|
|
|
|
+++ b/arch/mips/Kbuild.platforms
|
2020-09-13 07:06:13 +00:00
|
|
|
@@ -27,6 +27,7 @@ platforms += pistachio
|
|
|
|
platforms += pmcs-msp71xx
|
|
|
|
platforms += pnx833x
|
|
|
|
platforms += ralink
|
|
|
|
+platforms += rtl838x
|
|
|
|
platforms += rb532
|
|
|
|
platforms += sgi-ip22
|
|
|
|
platforms += sgi-ip27
|
2020-11-26 14:22:11 +00:00
|
|
|
--- a/arch/mips/Kconfig
|
|
|
|
+++ b/arch/mips/Kconfig
|
2021-05-15 14:21:46 +00:00
|
|
|
@@ -631,6 +631,26 @@ config RALINK
|
2020-09-13 07:06:13 +00:00
|
|
|
select ARCH_HAS_RESET_CONTROLLER
|
|
|
|
select RESET_CONTROLLER
|
|
|
|
|
|
|
|
+config RTL838X
|
|
|
|
+ bool "Realtek based platforms"
|
|
|
|
+ select DMA_NONCOHERENT
|
|
|
|
+ select IRQ_MIPS_CPU
|
|
|
|
+ select CSRC_R4K
|
|
|
|
+ select CEVT_R4K
|
|
|
|
+ select SYS_HAS_CPU_MIPS32_R1
|
|
|
|
+ select SYS_HAS_CPU_MIPS32_R2
|
|
|
|
+ select SYS_SUPPORTS_BIG_ENDIAN
|
|
|
|
+ select SYS_SUPPORTS_32BIT_KERNEL
|
|
|
|
+ select SYS_SUPPORTS_MIPS16
|
|
|
|
+ select SYS_HAS_EARLY_PRINTK
|
2020-11-26 11:02:21 +00:00
|
|
|
+ select SYS_HAS_EARLY_PRINTK_8250
|
|
|
|
+ select USE_GENERIC_EARLY_PRINTK_8250
|
2020-09-13 07:06:13 +00:00
|
|
|
+ select BOOT_RAW
|
|
|
|
+ select PINCTRL
|
|
|
|
+ select ARCH_HAS_RESET_CONTROLLER
|
|
|
|
+ select RESET_CONTROLLER
|
|
|
|
+ select USE_OF
|
|
|
|
+
|
|
|
|
config SGI_IP22
|
|
|
|
bool "SGI IP22 (Indy/Indigo2)"
|
|
|
|
select FW_ARC
|