diff options
author | Binbin Zhou <zhoubinbin@loongson.cn> | 2023-06-02 12:50:50 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2023-06-26 10:18:43 +0300 |
commit | e47084e116fccaa43644360d7c0b997979abce3e (patch) | |
tree | ba31fa32e6f6158aca7f781b8537bab7e2d1eae0 /arch/mips/boot | |
parent | 8a649e33f48e08be20c51541d9184645892ec370 (diff) | |
download | linux-e47084e116fccaa43644360d7c0b997979abce3e.tar.xz |
MIPS: Loongson64: DTS: Add RTC support to Loongson-2K1000
The 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/boot')
-rw-r--r-- | arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi index 8143a61111e3..f878f47e4501 100644 --- a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi +++ b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi @@ -97,6 +97,13 @@ <0x00000000>; /* int3 */ }; + rtc0: rtc@1fe07800 { + compatible = "loongson,ls2k1000-rtc"; + reg = <0 0x1fe07800 0 0x78>; + interrupt-parent = <&liointc0>; + interrupts = <60 IRQ_TYPE_LEVEL_LOW>; + }; + uart0: serial@1fe00000 { compatible = "ns16550a"; reg = <0 0x1fe00000 0 0x8>; |