[PATCH v3 3/6] MIPS: Loongson64: DTS: Add RTC support to LS7A

From
WANG Xuerui <hidden>
Date
2021-05-06 01:04:49
Also in
linux-mips, linux-rtc
Reply to
WANG Xuerui, 2021-05-06
The LS7A RTC module is now supported, enable it.

Signed-off-by: WANG Xuerui <redacted>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: <redacted>
---
 arch/mips/boot/dts/loongson/ls7a-pch.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
index f99a7a11fded..39808e97e6e1 100644
--- a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
+++ b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
@@ -19,6 +19,11 @@ pic: interrupt-controller@10000000 {
 			#interrupt-cells = <2>;
 		};
 
+		rtc0: rtc@100d0100 {
+			compatible = "loongson,ls2x-rtc";
+			reg = <0 0x100d0100 0 0x78>;
+		};
+
 		ls7a_uart0: serial@10080000 {
 			compatible = "ns16550a";
 			reg = <0 0x10080000 0 0x100>;
-- 
2.30.1
Thread (9 messages) 9 messages, 3 authors, 2021-06-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help