[PATCH] dt-bindings: watchdog: sunxi: add Allwinner A733 compatible string

Nguyen Minh Tien tien.nguyenminh at embeddedlinux.blog
Sun Nov 29 08:21:18 PST 2026


The Allwinner A733 SoC has a watchdog compatible with the one in the
A523: the control, configuration and mode registers sit at the same
offsets, with the same key fields and timeout encoding, and the same
choice between a clock derived from the high-frequency oscillator and
the 32 kHz one.

Add the A733 compatible string, with the A523 one as a fallback. The
A523 entry is already in the list of IPs with two clock inputs, which
the A733 watchdog has as well.

Signed-off-by: Nguyen Minh Tien <tien.nguyenminh at embeddedlinux.blog>
---

Notes:
    Tested on an Orange Pi Zero 3W (A733). The sunxi_wdt driver from
    next-20261127, built as a module for the board's vendor 6.6 kernel,
    bound to the watchdog at 0x02050000 through this compatible pair, and
    keep-alive, magic close and the expiry reset all worked.
    
    WDT_CFG bit 8 was measured on the same board, in interrupt-only mode
    with a 4 s interval: it fired after 3.906 s with bit 8 = 1 (the
    32.768 kHz clock) and after 4.094 s with bit 8 = 0 (about 31.25 kHz,
    from the 26 MHz DCXO side). That is the A523's assignment; the A733
    user manual (V1.00) describes this bit the other way around.
    
    The node will follow on top of the A733 .dtsi under review:
    https://lore.kernel.org/all/20261126-a733-cubie-a7s-dt-v6-0@gmail.com/

 .../devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml  | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml b/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml
index b70a6b45a..c49abea74 100644
--- a/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml
@@ -34,6 +34,9 @@ properties:
           - const: allwinner,sun20i-d1-wdt-reset
           - const: allwinner,sun20i-d1-wdt
       - const: allwinner,sun55i-a523-wdt
+      - items:
+          - const: allwinner,sun60i-a733-wdt
+          - const: allwinner,sun55i-a523-wdt
 
   reg:
     maxItems: 1

base-commit: e5aad2bdbbee783611d32599f89cea3f12f9593d
-- 
2.34.1




More information about the linux-arm-kernel mailing list