Message ID | 20210628164552.1006079-4-git@xen0n.name (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | rtc: ls2x: Add support for the Loongson-2K/LS7A RTC | expand |
在 2021/6/29 上午12:45, WANG Xuerui 写道: > The LS7A RTC module is now supported, enable it. > > Signed-off-by: WANG Xuerui <git@xen0n.name> > Cc: Rob Herring <robh+dt@kernel.org> > Cc: devicetree@vger.kernel.org > Cc: linux-mips@vger.kernel.org Acked-by: Jiaxun Yang <jiaxun.yang@flygoat.com> > --- > arch/mips/boot/dts/loongson/ls7a-pch.dtsi | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi > index 2f45fce2cdc4..82035de4774f 100644 > --- a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi > +++ b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi > @@ -19,6 +19,11 @@ pic: interrupt-controller@10000000 { > #interrupt-cells = <2>; > }; > > + rtc0: rtc@100d0100 { > + compatible = "loongson,ls2x-rtc"; > + reg = <0 0x100d0100 0 0x78>; > + }; > + > ls7a_uart0: serial@10080000 { > compatible = "ns16550a"; > reg = <0 0x10080000 0 0x100>;
diff --git a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi index 2f45fce2cdc4..82035de4774f 100644 --- a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi +++ b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi @@ -19,6 +19,11 @@ pic: interrupt-controller@10000000 { #interrupt-cells = <2>; }; + rtc0: rtc@100d0100 { + compatible = "loongson,ls2x-rtc"; + reg = <0 0x100d0100 0 0x78>; + }; + ls7a_uart0: serial@10080000 { compatible = "ns16550a"; reg = <0 0x10080000 0 0x100>;
The LS7A RTC module is now supported, enable it. Signed-off-by: WANG Xuerui <git@xen0n.name> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Cc: linux-mips@vger.kernel.org --- arch/mips/boot/dts/loongson/ls7a-pch.dtsi | 5 +++++ 1 file changed, 5 insertions(+)