[PATCH v3 5/6] ARM: dts: sam9x60: Add watchdog DT node

Eugen Hristev eugen.hristev at linaro.org
Mon Apr 28 10:51:00 CEST 2025



On 4/28/25 11:37, Zixun LI wrote:
> Add the watchdog timer node for the sam9x60 SoC's.
> 
> A default timeout of 16s is added which is the maximum supported value,
> also matching Linux driver's behavior.
> 
> Signed-off-by: Zixun LI <admin at hifiphile.com>
> ---
>  arch/arm/dts/sam9x60.dtsi | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm/dts/sam9x60.dtsi
> index 7631dfaa07fc1e7c605c70840da1196c1daeb638..588d2cb9f5109396b11a11e497eac282dffb4fb0 100644
> --- a/arch/arm/dts/sam9x60.dtsi
> +++ b/arch/arm/dts/sam9x60.dtsi
> @@ -311,6 +311,15 @@
>  				clocks = <&slow_rc_osc>, <&slow_xtal>;
>  				#clock-cells = <1>;
>  			};
> +
> +			watchdog: watchdog at ffffff80 {
> +				compatible = "microchip,sam9x60-wdt";
> +				reg = <0xffffff80 0x24>;
> +				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
> +				clocks = <&clk32 0>;
> +				timeout-sec = <16>;

As the 'timeout-sec' is not in Linux, please move it to
at91-sam9x60-curiosity-u-boot.dtsi or sam9x60-u-boot.dtsi

> +				status = "disabled";
> +			};
>  		};
>  	};
>  
> 



More information about the U-Boot mailing list