Skip to content

Commit 601db21

Browse files
smaeulWim Van Sebroeck
authored andcommitted
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 <[email protected]> Acked-by: Maxime Ripard <[email protected]> Acked-by: Guenter Roeck <[email protected]> Acked-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent 28b7ee3 commit 601db21

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ properties:
3030
- items:
3131
- const: allwinner,suniv-f1c100s-wdt
3232
- const: allwinner,sun4i-a10-wdt
33+
- const: allwinner,sun20i-d1-wdt
34+
- items:
35+
- const: allwinner,sun20i-d1-wdt-reset
36+
- const: allwinner,sun20i-d1-wdt
3337

3438
reg:
3539
maxItems: 1
@@ -62,6 +66,8 @@ if:
6266
compatible:
6367
contains:
6468
enum:
69+
- allwinner,sun20i-d1-wdt
70+
- allwinner,sun20i-d1-wdt-reset
6571
- allwinner,sun50i-r329-wdt
6672
- allwinner,sun50i-r329-wdt-reset
6773

0 commit comments

Comments
 (0)