[PATCH 1/2] dt-bindings: clock: loongson,ls2k: add ls2k1000 compatible

wjjsn
2026-03-22T08:04:56Z

From: wjjsn <2858482031@qq.com>

Add a SoC-specific "loongson,ls2k1000-clk" compatible.
Retain the existing "loongson,ls2k-clk" as a deprecated fallback
for backward compatibility.

Signed-off-by: wjjsn <wjjsn@qq.com>
---
.../devicetree/bindings/clock/loongson,ls2k-clk.yaml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/clock/loongson,ls2k-clk.yaml b/Documentation/devicetree/bindings/clock/loongson,ls2k-clk.yaml
index c07ad1f85857..4d70bc4e7a13 100644
--- a/Documentation/devicetree/bindings/clock/loongson,ls2k-clk.yaml
+++ b/Documentation/devicetree/bindings/clock/loongson,ls2k-clk.yaml
@@ -13,12 +13,16 @@ description: |
Loongson-2 SoC clock control module is an integrated clock controller, which
generates and supplies to all modules.

+ The "loongson,ls2k1000-clk" string should be used for Loongson-2K1000.
+ The "loongson,ls2k-clk" string is kept as a fallback for backward compatibility for Loongson-2K1000.
+
properties:
compatible:
enum:
- loongson,ls2k0300-clk
- loongson,ls2k0500-clk
- - loongson,ls2k-clk # This is for Loongson-2K1000
+ - loongson,ls2k-clk
+ - loongson,ls2k1000-clk
- loongson,ls2k2000-clk

reg:
--
2.43.0