
On 6 June 2017 at 12:44, Philipp Tomsich philipp.tomsich@theobroma-systems.com wrote:
To better support different RAM timings (DDR3-1333 and DDR3-1866 are assembly options for the RK3399-Q7), this refactors the DTS support and renames the default DTS variant from rk3399-puma to rk3399-puma-ddr1600:
- changes the rk3399-puma DTS into a board-specific DTSI by removing the inclusion of the DRAM timings
- adds a new rk3399-puma-ddr1600.dts, which includes the (new) common board DTSI and the DDR3-1600 timing DTSI
- wires this up from arch/arm/dts/Makefile and configs/puma-rk3399_defconfig
Signed-off-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com
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
arch/arm/dts/Makefile | 2 +- arch/arm/dts/rk3399-puma-ddr1600.dts | 11 +++++++++++ arch/arm/dts/{rk3399-puma.dts => rk3399-puma.dtsi} | 2 -- configs/puma-rk3399_defconfig | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 arch/arm/dts/rk3399-puma-ddr1600.dts rename arch/arm/dts/{rk3399-puma.dts => rk3399-puma.dtsi} (98%)
Acked-by: Simon Glass sjg@chromium.org