Message ID | 36ceb490f00f7a387de41330465a4daa21484be0.1685693501.git.zhoubinbin@loongson.cn (mailing list archive) |
---|---|
State | Accepted |
Commit | e47084e116fccaa43644360d7c0b997979abce3e |
Headers | show |
Series | Add rtc driver for the Loongson family chips | expand |
On Fri, Jun 02, 2023 at 05:50:50PM +0800, Binbin Zhou wrote: > 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> > --- > arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 7 +++++++ > 1 file changed, 7 insertions(+) > > 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 @@ liointc1: interrupt-controller@1fe11440 { > <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>; > -- > 2.39.1 applied to mips-next. Thomas.
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 @@ liointc1: interrupt-controller@1fe11440 { <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>;