summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorBinbin Zhou <zhoubinbin@loongson.cn>2023-06-02 17:50:49 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2023-06-26 09:18:26 +0200
commit8a649e33f48e08be20c51541d9184645892ec370 (patch)
tree03aa50dd15e64bdf5526b26986e82489e57135cc /arch/mips
parentdc917ea7a2c95545dd41572a5685a95566ff9985 (diff)
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>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/boot/dts/loongson/ls7a-pch.dtsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
index 2f45fce2cdc4..7c69e8245c2f 100644
--- a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
+++ b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
@@ -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>;