Skip to content

Commit

Permalink
MIPS: Loongson64: DTS: Add RTC support to LS7A PCH
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Binbin Zhou authored and Thomas Bogendoerfer committed Jun 26, 2023
1 parent dc917ea commit 8a649e3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/mips/boot/dts/loongson/ls7a-pch.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@
#interrupt-cells = <2>;
};

rtc0: rtc@100d0100 {
compatible = "loongson,ls7a-rtc";
reg = <0 0x100d0100 0 0x78>;
interrupt-parent = <&pic>;
interrupts = <52 IRQ_TYPE_LEVEL_HIGH>;
};

ls7a_uart0: serial@10080000 {
compatible = "ns16550a";
reg = <0 0x10080000 0 0x100>;
Expand Down

0 comments on commit 8a649e3

Please sign in to comment.