# \[PATCH 5/7\] MIPS: Loongson: Enable LS2X RTC in loongson3\_defconfig

- From: Binbin Zhou \<zhoubinbin@loongson.cn\>
- Date: 2022-09-03 09:36:28 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2022/09/8209367
- Thread: https://ratatoskr.run/linux-rtc/2022/09/8209366/t.md

```text
From: WANG Xuerui <redacted>

This is now supported, enable for Loongson-3 systems.
Other systems are unaffected.

Signed-off-by: WANG Xuerui <redacted>
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Tiezhu Yang <yangtiezhu@loongson.cn>
Cc: Youling Tang <redacted>
Cc: Qing Zhang <redacted>
Cc: <redacted>
---
 arch/mips/configs/loongson3_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/configs/loongson3_defconfig b/arch/mips/configs/loongson3_defconfig
index 25ecd15bc952..166c9775de75 100644
--- a/arch/mips/configs/loongson3_defconfig
+++ b/arch/mips/configs/loongson3_defconfig
@@ -321,6 +321,7 @@ CONFIG_USB_SERIAL_OPTION=m
 CONFIG_RTC_CLASS=y
 CONFIG_RTC_DRV_CMOS=y
 CONFIG_RTC_DRV_GOLDFISH=y
+CONFIG_RTC_DRV_LS2X=y
 CONFIG_DMADEVICES=y
 CONFIG_VIRTIO_PCI=y
 CONFIG_VIRTIO_BALLOON=m
-- 
2.31.1

```
