Message ID | 20220208183511.2925304-1-jjhiblot@traphandler.com |
---|---|
Headers | show |
Series | ARM: r9a06g032: add support for the watchdogs | expand |
Hi Jean-Jacques, On Tue, Feb 8, 2022 at 7:35 PM Jean-Jacques Hiblot <jjhiblot@traphandler.com> wrote: > This SOC includes 2 watchdog controllers (one per A7 core). > > Signed-off-by: Jean-Jacques Hiblot <jjhiblot@traphandler.com> Thanks for your patch! > --- a/arch/arm/boot/dts/r9a06g032.dtsi > +++ b/arch/arm/boot/dts/r9a06g032.dtsi > @@ -66,6 +66,22 @@ soc { > interrupt-parent = <&gic>; > ranges; > > + wdt0: watchdog@40008000 { > + compatible = "renesas,r9a06g032-wdt"; compatible = "renesas,r9a06g032-wdt", "renesas,rzn1-wdt"; > + reg = <0x40008000 0x1000>; > + interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>; > + clocks = <&sysctrl R9A06G032_CLK_WATCHDOG>; > + status = "disabled"; > + }; > + > + wdt1: watchdog@40009000 { > + compatible = "renesas,r9a06g032-wdt"; compatible = "renesas,r9a06g032-wdt", "renesas,rzn1-wdt"; > + reg = <0x40009000 0x1000>; > + interrupts = <GIC_SPI 74 IRQ_TYPE_EDGE_RISING>; > + clocks = <&sysctrl R9A06G032_CLK_WATCHDOG>; > + status = "disabled"; > + }; > + > sysctrl: system-controller@4000c000 { > compatible = "renesas,r9a06g032-sysctrl"; > reg = <0x4000c000 0x1000>; > -- > 2.25.1 >
On Tue, Feb 8, 2022 at 7:35 PM Jean-Jacques Hiblot <jjhiblot@traphandler.com> wrote: > 60s is a sensible default value. > > Signed-off-by: Jean-Jacques Hiblot <jjhiblot@traphandler.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds