diff options
author | Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp> | 2020-12-01 12:39:07 +0300 |
---|---|---|
committer | Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp> | 2021-01-25 03:20:47 +0300 |
commit | 4fd18fc38757217c746aa063ba9e4729814dc737 (patch) | |
tree | 72a7f591de5d54daa85dc6ad59381cb97e420efc /arch/arm64 | |
parent | 7b18e43d08ab8e559fad4725f3d5510d9cae830c (diff) | |
download | linux-4fd18fc38757217c746aa063ba9e4729814dc737.tar.xz |
arm64: dts: visconti: Add watchdog support for TMPV7708 SoC
Add watchdog node in TMPV7708's dtsi, and tmpv7708-rm-mbrc boards's
dts.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts | 5 | ||||
-rw-r--r-- | arch/arm64/boot/dts/toshiba/tmpv7708.dtsi | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts b/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts index ed0bf7f13f54..37da418393e0 100644 --- a/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts +++ b/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts @@ -41,3 +41,8 @@ clocks = <&uart_clk>; clock-names = "apb_pclk"; }; + +&wdt { + status = "okay"; + clocks = <&wdt_clk>; +}; diff --git a/arch/arm64/boot/dts/toshiba/tmpv7708.dtsi b/arch/arm64/boot/dts/toshiba/tmpv7708.dtsi index 242f25f4e12a..c360e68bef1d 100644 --- a/arch/arm64/boot/dts/toshiba/tmpv7708.dtsi +++ b/arch/arm64/boot/dts/toshiba/tmpv7708.dtsi @@ -134,6 +134,12 @@ #clock-cells = <0>; }; + wdt_clk: wdt-clk { + compatible = "fixed-clock"; + clock-frequency = <150000000>; + #clock-cells = <0>; + }; + soc { #address-cells = <2>; #size-cells = <2>; @@ -384,6 +390,12 @@ #size-cells = <0>; status = "disabled"; }; + + wdt: wdt@28330000 { + compatible = "toshiba,visconti-wdt"; + reg = <0 0x28330000 0 0x1000>; + status = "disabled"; + }; }; }; |