Commit 284ec100 authored by Maxime Ripard's avatar Maxime Ripard Committed by Wim Van Sebroeck

dt-bindings: watchdog: sun4i: Add the watchdog clock

The Allwinner watchdog has a clock that has been described in some DT, but
not all of them.

The binding is also completely missing that description. Let's add that
property to be consistent.
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20190821143835.7294-4-mripard@kernel.orgSigned-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@linux-watchdog.org>
parent f285e78f
...@@ -31,12 +31,16 @@ properties: ...@@ -31,12 +31,16 @@ properties:
reg: reg:
maxItems: 1 maxItems: 1
clocks:
maxItems: 1
interrupts: interrupts:
maxItems: 1 maxItems: 1
required: required:
- compatible - compatible
- reg - reg
- clocks
- interrupts - interrupts
unevaluatedProperties: false unevaluatedProperties: false
...@@ -47,6 +51,7 @@ examples: ...@@ -47,6 +51,7 @@ examples:
compatible = "allwinner,sun4i-a10-wdt"; compatible = "allwinner,sun4i-a10-wdt";
reg = <0x01c20c90 0x10>; reg = <0x01c20c90 0x10>;
interrupts = <24>; interrupts = <24>;
clocks = <&osc24M>;
timeout-sec = <10>; timeout-sec = <10>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment