From: "Rong Zhang" <rongrong@oss.cipunited.com>
To: "Keguang Zhang" <keguang.zhang@gmail.com>,
"Wim Van Sebroeck" <wim@linux-watchdog.org>,
"Guenter Roeck" <linux@roeck-us.net>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Thomas Bogendoerfer" <tsbogend@alpha.franken.de>,
"Huacai Chen" <chenhuacai@kernel.org>,
"Jiaxun Yang" <jiaxun.yang@flygoat.com>
Cc: "Rong Zhang" <i@rong.moe>, "Yao Zi" <me@ziyao.cc>,
"Icenowy Zheng" <uwu@icenowy.me>, <linux-mips@vger.kernel.org>,
<linux-watchdog@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>,
"Rong Zhang" <rongrong@oss.cipunited.com>
Subject: [PATCH v4 4/7] MIPS: Loongson64: dts: ls7a-pch: Add miscellaneous clock node
Date: Wed, 02 Dec 2026 19:19:55 +0800 [thread overview]
Message-ID: <20261202-mips-ls7a-wdt-v4-4-4f98cc1fa3ec@oss.cipunited.com> (raw)
In-Reply-To: <20261202-mips-ls7a-wdt-v4-0-4f98cc1fa3ec@oss.cipunited.com>
The Loongson-7A has an internal clock source for miscellaneous
peripherals. The clock source is nonconfigurable and has a fixed 50MHz
clock frequency.
Add a 50MHz fixed-clock node with label "pch_misc_clk" to represent it.
Reviewed-by: Yao Zi <me@ziyao.cc>
Signed-off-by: Rong Zhang <rongrong@oss.cipunited.com>
---
Changes in v4:
- Move `compatible' on top (thanks Yao Zi)
---
arch/mips/boot/dts/loongson/ls7a-pch.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
index 1a0484fa2a96..1369f4f65a93 100644
--- a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
+++ b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
@@ -1,6 +1,12 @@
// SPDX-License-Identifier: GPL-2.0
/ {
+ pch_misc_clk: clock-50000000 {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <50000000>;
+ };
+
pch: bus@10000000 {
compatible = "simple-bus";
#address-cells = <2>;
--
2.55.0
next prev parent reply other threads:[~2026-12-02 11:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 11:19 [PATCH v4 0/7] MIPS: Loongson64: Add Loongson-7A watchdog support Rong Zhang
2026-12-02 11:19 ` [PATCH v4 1/7] MIPS: Loongson64: env: Don't warn if UART has clocks node when fixing up FDT Rong Zhang
2026-12-02 11:19 ` [PATCH v4 2/7] MIPS: Loongson64: dts: ls7a-pch: Add missing #address-cells to pic node Rong Zhang
2026-12-02 11:19 ` [PATCH v4 3/7] MIPS: Loongson64: dts: ls7a-pch: Use hex in ranges and reg properties Rong Zhang
2026-12-02 11:19 ` Rong Zhang [this message]
2026-12-02 11:19 ` [PATCH v4 5/7] MIPS: Loongson64: dts: ls7a-pch: Bind UART nodes to miscellaneous clock Rong Zhang
2026-12-02 11:19 ` [PATCH v4 6/7] MIPS: Loongson64: dts: ls7a-pch: Add watchdog node Rong Zhang
2026-12-02 11:19 ` [PATCH v4 7/7] MIPS: loongson3_defconfig: Enable LOONGSON1_WDT by default Rong Zhang
2026-12-02 12:37 ` [PATCH v4 0/7] MIPS: Loongson64: Add Loongson-7A watchdog support Jiaxun Yang
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=20261202-mips-ls7a-wdt-v4-4-4f98cc1fa3ec@oss.cipunited.com \
--to=rongrong@oss.cipunited.com \
--cc=chenhuacai@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=i@rong.moe \
--cc=jiaxun.yang@flygoat.com \
--cc=keguang.zhang@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=me@ziyao.cc \
--cc=robh@kernel.org \
--cc=tsbogend@alpha.franken.de \
--cc=uwu@icenowy.me \
--cc=wim@linux-watchdog.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
all inboxes | Powered by JetHome®