[U-Boot] [PATCH v3 2/3] arm: dts: Stratix10: Add SDRAM node

Marek Vasut marex at denx.de
Tue Apr 30 09:43:58 UTC 2019


On 4/30/19 11:20 AM, Ley Foon Tan wrote:
> Add SDRAM device tree node to support SDRAM DM driver.

DT is a hardware description, so you're adding the node to describe the
hardware that's present, not to enable software feature.

> Signed-off-by: Ley Foon Tan <ley.foon.tan at intel.com>
> ---
>  arch/arm/dts/socfpga_stratix10.dtsi | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm/dts/socfpga_stratix10.dtsi b/arch/arm/dts/socfpga_stratix10.dtsi
> index d1ae2fabae..bd68a78a37 100755
> --- a/arch/arm/dts/socfpga_stratix10.dtsi
> +++ b/arch/arm/dts/socfpga_stratix10.dtsi
> @@ -258,6 +258,15 @@
>  			u-boot,dm-pre-reloc;
>  		};
>  
> +		sdr: sdr at f8000400 {
> +			 compatible = "altr,sdr-ctl-s10";
> +			 reg = <0xf8000400 0x80>,
> +			       <0xf8010000 0x190>,
> +			       <0xf8011000 0x500>;
> +			 resets = <&rst DDRSCH_RESET>;
> +			 u-boot,dm-pre-reloc;
> +		 };
> +
>  		spi0: spi at ffda4000 {
>  			compatible = "snps,dw-apb-ssi";
>  			#address-cells = <1>;
> 


-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list