[PATCH 2/3] dt-bindings: watchdog: starfive,jh7100-wdt: Add jhb100 support
From: Henry Qin
Date: Fri Dec 04 2026 - 08:54:47 EST
Add the compatible for the watchdog in the StarFive JHB100 SoC. It has
an APB and a core clock like the other variants, but only a single core
reset.
The register layout differs from JH7110, so it does not use
starfive,jh7110-wdt as fallback.
Signed-off-by: Henry Qin <henry.qin@xxxxxxxxxxxxxxxx>
---
.../watchdog/starfive,jh7100-wdt.yaml | 25 ++++++++++++++++---
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/watchdog/starfive,jh7100-wdt.yaml b/Documentation/devicetree/bindings/watchdog/starfive,jh7100-wdt.yaml
index ff8d2fa8621e..996218fea802 100644
--- a/Documentation/devicetree/bindings/watchdog/starfive,jh7100-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/starfive,jh7100-wdt.yaml
@@ -4,7 +4,7 @@
$id: http://devicetree.org/schemas/watchdog/starfive,jh7100-wdt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
-title: StarFive Watchdog for JH7100 and JH7110 SoC
+title: StarFive Watchdog for JH7100, JH7110 and JHB100 SoC
maintainers:
- Xingyu Wu <xingyu.wu@xxxxxxxxxxxxxxxx>
@@ -24,6 +24,7 @@ properties:
enum:
- starfive,jh7100-wdt
- starfive,jh7110-wdt
+ - starfive,jhb100-wdt
reg:
maxItems: 1
@@ -42,9 +43,8 @@ properties:
- const: core
resets:
- items:
- - description: APB reset
- - description: Core reset
+ minItems: 1
+ maxItems: 2
required:
- compatible
@@ -56,6 +56,23 @@ required:
allOf:
- $ref: watchdog.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: starfive,jhb100-wdt
+ then:
+ properties:
+ resets:
+ items:
+ - description: Core reset
+ else:
+ properties:
+ resets:
+ items:
+ - description: APB reset
+ - description: Core reset
+
unevaluatedProperties: false
examples:
--
2.43.0