2016-04-26 13:11:16

by Nicolas Ferre

[permalink] [raw]
Subject: [PATCH] ARM: dts: at91: sama5d2: add slow clock to watchdog node

As the watchdog timer needs the slow clock, add it to the currently defined
wdt node.

Reported-by: Alexandre Belloni <[email protected]>
Signed-off-by: Nicolas Ferre <[email protected]>
---
arch/arm/boot/dts/sama5d2.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 43015c2ad395..84eed47ffb0a 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -1050,6 +1050,7 @@
compatible = "atmel,sama5d4-wdt";
reg = <0xf8048040 0x10>;
interrupts = <4 IRQ_TYPE_LEVEL_HIGH 7>;
+ clocks = <&clk32k>;
status = "disabled";
};

--
2.1.3


2016-04-27 08:06:15

by Alexandre Belloni

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: at91: sama5d2: add slow clock to watchdog node

On 26/04/2016 at 15:11:47 +0200, Nicolas Ferre wrote :
> As the watchdog timer needs the slow clock, add it to the currently defined
> wdt node.
>
> Reported-by: Alexandre Belloni <[email protected]>
> Signed-off-by: Nicolas Ferre <[email protected]>
Acked-by: Alexandre Belloni <[email protected]>

> ---
> arch/arm/boot/dts/sama5d2.dtsi | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
> index 43015c2ad395..84eed47ffb0a 100644
> --- a/arch/arm/boot/dts/sama5d2.dtsi
> +++ b/arch/arm/boot/dts/sama5d2.dtsi
> @@ -1050,6 +1050,7 @@
> compatible = "atmel,sama5d4-wdt";
> reg = <0xf8048040 0x10>;
> interrupts = <4 IRQ_TYPE_LEVEL_HIGH 7>;
> + clocks = <&clk32k>;
> status = "disabled";
> };
>
> --
> 2.1.3
>

--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com