[U-Boot] [PATCH v2 0/3] rockchip: dts: rk3399-puma: add support for all three DDR3 speed-grades (1333/1600/1866) on the RK3399-Q7

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Tue Jun 6 18:44:44 UTC 2017


The RK3399-Q7 was validated for three different speed grades of DDR3
(1333MT/s, 1600MT/s, 1866MT/s) to allow for some flexibility in
assembly.

This series adds three different DTS variants for the board (which use
a common DTSI and only differ in what DRAM timings they include in
addition to this common DTSI) and makes the DDR3-1600 timing the
default.

*Note* that this is rebased against u-boot-rockchip/master at 2b19b2f
(which is the same base used for the major RK3399-Q7 DTS update that
syncs the U-Boot DTS with the one used in our Linux tree) and will
cause a small conflict in merging rk3399-puma.{dts,dtsi}.


Changes in v2:
- changed implementation from Kconfig and C preprocessor macros in the
  DTS to using one DTS per DRAM timing that contains only two includes:
  one for the common board-level definitions and one for the DRAM
  timings
- added rk3399-puma-ddr1333 for DDR3-1333 timing (replacing the #ifdef
  implementation)
- added rk3399-puma-ddr1866 DTS file for the DDR3-1866 implementation
  (replacing the #ifdef implementation)

Philipp Tomsich (3):
  rockchip: dts: rk3399-puma: refactor and rename (default) DDR3-1600
    DTS
  rockchip: dts: rk3399-puma: add DTS for the DDR3-1333 timing
  rockchip: dts: rk3399-puma: add DTS for the DDR3-1866 timing

 arch/arm/dts/Makefile                              |  4 +++-
 arch/arm/dts/rk3399-puma-ddr1333.dts               | 11 +++++++++++
 arch/arm/dts/rk3399-puma-ddr1600.dts               | 11 +++++++++++
 arch/arm/dts/rk3399-puma-ddr1866.dts               | 11 +++++++++++
 arch/arm/dts/{rk3399-puma.dts => rk3399-puma.dtsi} |  2 --
 configs/puma-rk3399_defconfig                      |  2 +-
 6 files changed, 37 insertions(+), 4 deletions(-)
 create mode 100644 arch/arm/dts/rk3399-puma-ddr1333.dts
 create mode 100644 arch/arm/dts/rk3399-puma-ddr1600.dts
 create mode 100644 arch/arm/dts/rk3399-puma-ddr1866.dts
 rename arch/arm/dts/{rk3399-puma.dts => rk3399-puma.dtsi} (98%)

-- 
2.1.4



More information about the U-Boot mailing list