[PATCH 1/4] dt-bindings: watchdog: Add HiSilicon STB watchdog binding
David Yang
mmyangfl at gmail.com
Sat Nov 21 22:55:20 PST 2026
Add Device Tree binding schema for the watchdog controller found on
HiSilicon STB SoCs.
While sharing the register layout of ARM PrimeCell SP805, this block
does not implement PrimeCell ID registers and has non-standard reload
and lock semantics, requiring a dedicated platform driver binding.
Signed-off-by: David Yang <mmyangfl at gmail.com>
---
.../watchdog/hisilicon,histb-wdt.yaml | 54 +++++++++++++++++++
1 file changed, 54 insertions(+)
create mode 100644 Documentation/devicetree/bindings/watchdog/hisilicon,histb-wdt.yaml
diff --git a/Documentation/devicetree/bindings/watchdog/hisilicon,histb-wdt.yaml b/Documentation/devicetree/bindings/watchdog/hisilicon,histb-wdt.yaml
new file mode 100644
index 000000000000..c0a8ccdb482a
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/hisilicon,histb-wdt.yaml
@@ -0,0 +1,54 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/watchdog/hisilicon,histb-wdt.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: HiSilicon STB SoC Watchdog
+
+maintainers:
+ - David Yang <mmyangfl at gmail.com>
+
+description:
+ HiSilicon STB SoCs (Hi3716, Hi3798, Hi3798, etc) integrate a watchdog device,
+ which triggers an interrupt after a configurable time period. If that
+ interrupt has not been serviced when the next interrupt would be triggered,
+ the reset signal is asserted.
+
+allOf:
+ - $ref: watchdog.yaml#
+
+properties:
+ compatible:
+ items:
+ - enum:
+ - hisilicon,hi3798cv200-wdt
+ - const: hisilicon,histb-wdt
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ maxItems: 1
+
+ clock-frequency: true
+
+ interrupts:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+ watchdog at 8a2c000 {
+ compatible = "hisilicon,hi3798cv200-wdt", "hisilicon,histb-wdt";
+ reg = <0x8a2c000 0x1000>;
+ interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&crg 0>;
+ };
--
2.53.0
More information about the linux-arm-kernel
mailing list