From: WANG Xuerui <git@xen0n.name>
To: linux-rtc@vger.kernel.org
Cc: WANG Xuerui <git@xen0n.name>,
linux-mips@vger.kernel.org, devicetree@vger.kernel.org,
Rob Herring <robh+dt@kernel.org>
Subject: [PATCH 3/4] MIPS: Loongson64: DTS: Add RTC support to LS7A
Date: Wed, 23 Sep 2020 15:58:44 +0800 [thread overview]
Message-ID: <20200923075845.360974-4-git@xen0n.name> (raw)
In-Reply-To: <20200923075845.360974-1-git@xen0n.name>
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
---
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 f99a7a11fded..39808e97e6e1 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>;
--
2.28.0
next prev parent reply other threads:[~2020-09-23 8:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-23 7:58 [PATCH 0/4] rtc: ls2x: Add support for the Loongson-2K/LS7A RTC WANG Xuerui
2020-09-23 7:58 ` [PATCH 1/4] " WANG Xuerui
2020-09-23 9:54 ` Tiezhu Yang
2020-09-23 14:31 ` Du Huanpeng
2020-09-25 6:13 ` WANG Xuerui
2020-11-16 12:40 ` Tiezhu Yang
2020-09-24 7:32 ` WANG Xuerui
2020-09-23 13:50 ` Jiaxun Yang
2020-09-23 7:58 ` [PATCH 2/4] dt-bindings: rtc: Add bindings for LS2X RTC WANG Xuerui
2020-09-29 18:45 ` Rob Herring
2020-09-23 7:58 ` WANG Xuerui [this message]
2020-09-23 7:58 ` [PATCH 4/4] MIPS: Loongson: Enable LS2X RTC in loongson3_defconfig WANG Xuerui
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200923075845.360974-4-git@xen0n.name \
--to=git@xen0n.name \
--cc=devicetree@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).