[PATCH] ARM: dts: ast2600: Make WDT by default disabled

Ryan Chen ryan_chen at aspeedtech.com
Thu Sep 16 09:11:52 CEST 2021


> -----Original Message-----
> From: ChiaWei Wang <chiawei_wang at aspeedtech.com>
> Sent: Thursday, September 16, 2021 2:10 PM
> To: u-boot at lists.denx.de
> Cc: Ryan Chen <ryan_chen at aspeedtech.com>
> Subject: [PATCH] ARM: dts: ast2600: Make WDT by default disabled
> 
> The WDT devices described in the general .dtsi file should be marked as
> "disabled" by default.
> 
> A WDT should be then enabled in the board specific .dts file on demands.
> 
> Signed-off-by: Chia-Wei Wang <chiawei_wang at aspeedtech.com>
Reviewed-by: Ryan Chen <ryan_chen at aspeedtech.com>
> ---
>  arch/arm/dts/ast2600.dtsi | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm/dts/ast2600.dtsi b/arch/arm/dts/ast2600.dtsi index
> ac0f08b7ea..f121f547e6 100644
> --- a/arch/arm/dts/ast2600.dtsi
> +++ b/arch/arm/dts/ast2600.dtsi
> @@ -474,21 +474,25 @@
>  			wdt1: watchdog at 1e785000 {
>  				compatible = "aspeed,ast2600-wdt";
>  				reg = <0x1e785000 0x40>;
> +				status = "disabled";
>  			};
> 
>  			wdt2: watchdog at 1e785040 {
>  				compatible = "aspeed,ast2600-wdt";
>  				reg = <0x1e785040 0x40>;
> +				status = "disabled";
>  			};
> 
>  			wdt3: watchdog at 1e785080 {
>  				compatible = "aspeed,ast2600-wdt";
>  				reg = <0x1e785080 0x40>;
> +				status = "disabled";
>  			};
> 
>  			wdt4: watchdog at 1e7850C0 {
>  				compatible = "aspeed,ast2600-wdt";
>  				reg = <0x1e7850C0 0x40>;
> +				status = "disabled";
>  			};
> 
>  			lpc: lpc at 1e789000 {
> --
> 2.17.1



More information about the U-Boot mailing list