dt-bindings: watchdog: toshiba,visconti-wdt: Update the common clock properties

The clock for this driver switched to the common clock controller driver.
Therefore, update common clock properties for watchdog in the binding document.
And this matched this example with the actual dts.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220525004605.2128727-1-nobuhiro1.iwamatsu@toshiba.co.jp
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
This commit is contained in:
Nobuhiro Iwamatsu 2022-05-25 09:46:05 +09:00 committed by Wim Van Sebroeck
parent b90cb10531
commit 434e5f93ed
1 changed files with 4 additions and 8 deletions

View File

@ -35,20 +35,16 @@ additionalProperties: false
examples: examples:
- | - |
#include <dt-bindings/clock/toshiba,tmpv770x.h>
soc { soc {
#address-cells = <2>; #address-cells = <2>;
#size-cells = <2>; #size-cells = <2>;
wdt_clk: wdt-clk { wdt: watchdog@28330000 {
compatible = "fixed-clock";
clock-frequency = <150000000>;
#clock-cells = <0>;
};
watchdog@28330000 {
compatible = "toshiba,visconti-wdt"; compatible = "toshiba,visconti-wdt";
reg = <0 0x28330000 0 0x1000>; reg = <0 0x28330000 0 0x1000>;
clocks = <&wdt_clk>;
timeout-sec = <20>; timeout-sec = <20>;
clocks = <&pismu TMPV770X_CLK_WDTCLK>;
}; };
}; };