Skip to content

Commit

Permalink
riscv: dts: starfive: add watchdog node
Browse files Browse the repository at this point in the history
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
  • Loading branch information
hal-feng authored and tekkamanninja committed Feb 15, 2022
1 parent ca3cac1 commit ef571fc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/riscv/dts/jh7100.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,20 @@
reg-names = "control";
};

wdog: wdog@12480000 {
compatible = "starfive,si5-wdt";
reg = <0x0 0x12480000 0x0 0x10000>;
interrupt-parent = <&plic>;
interrupts = <80>;
interrupt-names = "wdog";
clocks = <&clkgen JH7100_CLK_WDT_CORE>,
<&clkgen JH7100_CLK_WDTIMER_APB>;
clock-names = "core_clk", "apb_clk";
clock-frequency = <50000000>;
timeout-sec = <15>;
status = "okay";
};

plic: interrupt-controller@c000000 {
#interrupt-cells = <1>;
compatible = "riscv,plic0";
Expand Down

0 comments on commit ef571fc

Please sign in to comment.