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....@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@f8000400 {
> +                      compatible = "altr,sdr-ctl-s10";
> +                      reg = <0xf8000400 0x80>,
> +                            <0xf8010000 0x190>,
> +                            <0xf8011000 0x500>;
> +                      resets = <&rst DDRSCH_RESET>;
> +                      u-boot,dm-pre-reloc;
> +              };
> +
>               spi0: spi@ffda4000 {
>                       compatible = "snps,dw-apb-ssi";
>                       #address-cells = <1>;
> 


-- 
Best regards,
Marek Vasut
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to