From: Patrick DELAUNAY Date: Tue, 16 Mar 2021 14:46:41 +0100 Subject: [PATCH v2 7/9] ARM: dts: stm32: Add Engicam MicroGEA STM32MP1 1X4Gb DDR3 In-Reply-To: <20210315173256.103731-8-jagan@amarulasolutions.com> References: <20210315173256.103731-1-jagan@amarulasolutions.com> <20210315173256.103731-8-jagan@amarulasolutions.com> Message-ID: <9586c314-a38f-3c7f-e592-88c39f35e8f1@foss.st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Jagan, On 3/15/21 6:32 PM, Jagan Teki wrote: > Engicam MicroGEA STM32MP1 Micro SOM has mounted 1x4Gb DDR3 > which has 16bits width 533Mhz frequency. > > Add DDR configurations via dtsi. > > Reviewed-by: Patrice Chotard > Signed-off-by: Jagan Teki > --- > Changes for v2: > - collect Patrice r-b > > ...m32mp15-ddr3-microgea-1x4Gb-1066-binG.dtsi | 121 ++++++++++++++++++ > 1 file changed, 121 insertions(+) > create mode 100644 arch/arm/dts/stm32mp15-ddr3-microgea-1x4Gb-1066-binG.dtsi > > diff --git a/arch/arm/dts/stm32mp15-ddr3-microgea-1x4Gb-1066-binG.dtsi b/arch/arm/dts/stm32mp15-ddr3-microgea-1x4Gb-1066-binG.dtsi > new file mode 100644 > index 0000000000..950f292abb > --- /dev/null > +++ b/arch/arm/dts/stm32mp15-ddr3-microgea-1x4Gb-1066-binG.dtsi > @@ -0,0 +1,121 @@ > +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause > +/* > + * Copyright (C) 2018, STMicroelectronics - All Rights Reserved > + * > + * STM32MP157C DK1/DK2 BOARD configuration > + * 1x DDR3L 4Gb, 16-bit, 533MHz. > + * Reference used NT5CC256M16DP-DI from NANYA > + * > + * DDR type / Platform DDR3/3L > + * freq 533MHz > + * width 16 > + * datasheet 0 = MT41J256M16-187 / DDR3-1066 bin G > + * DDR density 4 > + * timing mode optimized > + * Scheduling/QoS options : type = 2 > + * address mapping : RBC > + * Tc > + 85C : N > + */ This file is identical to stm32mp15-ddr3-1x4Gb-1066-binG.dtsi, because it is a files generated with CubeMX with the same parameters. Do you any reason to duplicate it ? Do you expect some board-specific tuning or configuration with be integrated latter. If it is not the case, I think you can reuse the file used by STMicroelectronics boards DK1/DK2 in the next patch. #include "stm32mp15-ddr3-1x4Gb-1066-binG.dtsi" Regards Patrick