[PATCH v4 4/7] MIPS: Loongson64: dts: ls7a-pch: Add miscellaneous clock node
From: Rong Zhang
Date: Wed Dec 02 2026 - 06:21:31 EST
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@xxxxxxxx>
Signed-off-by: Rong Zhang <rongrong@xxxxxxxxxxxxxxxxx>
---
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