dt-bindings: watchdog: sunxi: Add compatibles for D1
authorSamuel Holland <samuel@sholland.org>
Thu, 2 Sep 2021 22:57:49 +0000 (17:57 -0500)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Tue, 26 Oct 2021 19:31:08 +0000 (21:31 +0200)
commit601db217916de339ddebeb3b6f024f09a275562a
treea97fbcde9f82d540efb117d5cc8053b594d14de6
parent28b7ee33a2122569ac065cad578bf23f50cc65c3
dt-bindings: watchdog: sunxi: Add compatibles for D1

D1 keeps the same register layout and clock sources as the R329, but it
adds a key field which must be set to update the watchdog's "CFG" and
"MODE" registers. Therefore it is not backward-compatible.

Similarly to the R329, the D1 has three watchdog instances, and only one
of them has the "soft reset" registers. So that instance needs an extra
compatible string.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210902225750.29313-3-samuel@sholland.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml