Commit 434e5f93 authored by Nobuhiro Iwamatsu's avatar Nobuhiro Iwamatsu Committed by Wim Van Sebroeck

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: default avatarNobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Acked-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220525004605.2128727-1-nobuhiro1.iwamatsu@toshiba.co.jpSigned-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@linux-watchdog.org>
parent b90cb105
...@@ -35,20 +35,16 @@ additionalProperties: false ...@@ -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>;
}; };
}; };
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