Skip to content

Commit 8a649e3

Browse files
AaronDottsbogend
authored andcommitted
MIPS: Loongson64: DTS: Add RTC support to LS7A PCH
The RTC module is now supported, enable it. Acked-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn> Signed-off-by: WANG Xuerui <git@xen0n.name> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
1 parent dc917ea commit 8a649e3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

arch/mips/boot/dts/loongson/ls7a-pch.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@
1919
#interrupt-cells = <2>;
2020
};
2121

22+
rtc0: rtc@100d0100 {
23+
compatible = "loongson,ls7a-rtc";
24+
reg = <0 0x100d0100 0 0x78>;
25+
interrupt-parent = <&pic>;
26+
interrupts = <52 IRQ_TYPE_LEVEL_HIGH>;
27+
};
28+
2229
ls7a_uart0: serial@10080000 {
2330
compatible = "ns16550a";
2431
reg = <0 0x10080000 0 0x100>;

0 commit comments

Comments
 (0)