diff mbox series

arm: dts: socfpga: stratix10: Add freeze controller node

Message ID 20220531081517.25025-1-dinesh.maniyam@intel.com
State Accepted
Commit 5474fb894cba4de1f8735e02155ca85d81af03de
Delegated to: Simon Goldschmidt
Headers show
Series arm: dts: socfpga: stratix10: Add freeze controller node | expand

Commit Message

Maniyam, Dinesh May 31, 2022, 8:15 a.m. UTC
From: Dinesh Maniyam <dinesh.maniyam@intel.com>

The freeze controller is required for FPGA partial reconfig.
This node is disable on default.
Enable this node via u-boot fdt command when needed.

Signed-off-by: Yau Wai Gan <yau.wai.gan@intel.com>
Signed-off-by: Dinesh Maniyam <dinesh.maniyam@intel.com>
---
 arch/arm/dts/socfpga_stratix10_socdk-u-boot.dtsi | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

Comments

Chee, Tien Fong June 16, 2022, 8:25 a.m. UTC | #1
> -----Original Message-----
> From: Maniyam, Dinesh <dinesh.maniyam@intel.com>
> Sent: Tuesday, 31 May, 2022 4:15 PM
> To: u-boot@lists.denx.de
> Cc: Chee, Tien Fong <tien.fong.chee@intel.com>; Hea, Kok Kiang
> <kok.kiang.hea@intel.com>; Gan, Yau Wai <yau.wai.gan@intel.com>; Kho,
> Sin Hui <sin.hui.kho@intel.com>; Lokanathan, Raaj
> <raaj.lokanathan@intel.com>; Maniyam, Dinesh
> <dinesh.maniyam@intel.com>
> Subject: [PATCH] arm: dts: socfpga: stratix10: Add freeze controller node
> 
> From: Dinesh Maniyam <dinesh.maniyam@intel.com>
> 
> The freeze controller is required for FPGA partial reconfig.
> This node is disable on default.
> Enable this node via u-boot fdt command when needed.
> 
> Signed-off-by: Yau Wai Gan <yau.wai.gan@intel.com>
> Signed-off-by: Dinesh Maniyam <dinesh.maniyam@intel.com>
> ---
>  arch/arm/dts/socfpga_stratix10_socdk-u-boot.dtsi | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/dts/socfpga_stratix10_socdk-u-boot.dtsi
> b/arch/arm/dts/socfpga_stratix10_socdk-u-boot.dtsi
> index 61df425f14..75a29045da 100755
> --- a/arch/arm/dts/socfpga_stratix10_socdk-u-boot.dtsi
> +++ b/arch/arm/dts/socfpga_stratix10_socdk-u-boot.dtsi
> @@ -2,7 +2,7 @@
>  /*
>   * U-Boot additions
>   *
> - * Copyright (C) 2019-2020 Intel Corporation <www.intel.com>
> + * Copyright (C) 2019-2022 Intel Corporation <www.intel.com>
>   */
> 
>  #include "socfpga_stratix10-u-boot.dtsi"
> @@ -10,6 +10,15 @@
>  /{
>  	aliases {
>  		spi0 = &qspi;
> +		freeze_br0 = &freeze_controller;
> +	};
> +
> +	soc {
> +		freeze_controller: freeze_controller@f9000450 {
> +			compatible = "altr,freeze-bridge-controller";
> +			reg = <0xf9000450 0x00000010>;
> +			status = "disabled";
> +		};
>  	};
>  };
> 
> --
> 2.25.1

Reviewed-by: Tien Fong Chee <tien.fong.chee@intel.com>

Regards
Tien Fong
diff mbox series

Patch

diff --git a/arch/arm/dts/socfpga_stratix10_socdk-u-boot.dtsi b/arch/arm/dts/socfpga_stratix10_socdk-u-boot.dtsi
index 61df425f14..75a29045da 100755
--- a/arch/arm/dts/socfpga_stratix10_socdk-u-boot.dtsi
+++ b/arch/arm/dts/socfpga_stratix10_socdk-u-boot.dtsi
@@ -2,7 +2,7 @@ 
 /*
  * U-Boot additions
  *
- * Copyright (C) 2019-2020 Intel Corporation <www.intel.com>
+ * Copyright (C) 2019-2022 Intel Corporation <www.intel.com>
  */
 
 #include "socfpga_stratix10-u-boot.dtsi"
@@ -10,6 +10,15 @@ 
 /{
 	aliases {
 		spi0 = &qspi;
+		freeze_br0 = &freeze_controller;
+	};
+
+	soc {
+		freeze_controller: freeze_controller@f9000450 {
+			compatible = "altr,freeze-bridge-controller";
+			reg = <0xf9000450 0x00000010>;
+			status = "disabled";
+		};
 	};
 };