diff mbox

[U-Boot,v2,2/3] rockchip: dts: rk3399-puma: add DTS for the DDR3-1333 timing

Message ID 1496774687-32611-3-git-send-email-philipp.tomsich@theobroma-systems.com
State Accepted
Delegated to: Simon Glass
Headers show

Commit Message

Philipp Tomsich June 6, 2017, 6:44 p.m. UTC
This adds the DDR3-1333 timing via its own DTS and wires it up.  This
is not the default timing for the RK3399-Q7 and should be selected
explicitly via the config (CONFIG_DEFAULT_DEVICE_TREE).

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

---

Changes in v2:
- added rk3399-puma-ddr1333 for DDR3-1333 timing (replacing the #ifdef
  implementation)

 arch/arm/dts/Makefile                |  1 +
 arch/arm/dts/rk3399-puma-ddr1333.dts | 11 +++++++++++
 2 files changed, 12 insertions(+)
 create mode 100644 arch/arm/dts/rk3399-puma-ddr1333.dts

Comments

Simon Glass June 6, 2017, 9:09 p.m. UTC | #1
On 6 June 2017 at 12:44, Philipp Tomsich
<philipp.tomsich@theobroma-systems.com> wrote:
> This adds the DDR3-1333 timing via its own DTS and wires it up.  This
> is not the default timing for the RK3399-Q7 and should be selected
> explicitly via the config (CONFIG_DEFAULT_DEVICE_TREE).
>
> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
>
> ---
>
> Changes in v2:
> - added rk3399-puma-ddr1333 for DDR3-1333 timing (replacing the #ifdef
>   implementation)
>
>  arch/arm/dts/Makefile                |  1 +
>  arch/arm/dts/rk3399-puma-ddr1333.dts | 11 +++++++++++
>  2 files changed, 12 insertions(+)
>  create mode 100644 arch/arm/dts/rk3399-puma-ddr1333.dts

Acked-by: Simon Glass <sjg@chromium.org>
Simon Glass June 8, 2017, 3:34 a.m. UTC | #2
On 6 June 2017 at 12:44, Philipp Tomsich
<philipp.tomsich@theobroma-systems.com> wrote:
> This adds the DDR3-1333 timing via its own DTS and wires it up.  This
> is not the default timing for the RK3399-Q7 and should be selected
> explicitly via the config (CONFIG_DEFAULT_DEVICE_TREE).
>
> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
>
> ---
>
> Changes in v2:
> - added rk3399-puma-ddr1333 for DDR3-1333 timing (replacing the #ifdef
>   implementation)
>
>  arch/arm/dts/Makefile                |  1 +
>  arch/arm/dts/rk3399-puma-ddr1333.dts | 11 +++++++++++
>  2 files changed, 12 insertions(+)
>  create mode 100644 arch/arm/dts/rk3399-puma-ddr1333.dts

Acked-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-rockchip, thanks!
diff mbox

Patch

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index d9bb7f8..37962e2 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -43,6 +43,7 @@  dtb-$(CONFIG_ARCH_ROCKCHIP) += \
 	rk3328-evb.dtb \
 	rk3399-evb.dtb \
 	rk3399-firefly.dtb \
+	rk3399-puma-ddr1333.dtb \
 	rk3399-puma-ddr1600.dtb \
 	rv1108-evb.dtb
 dtb-$(CONFIG_ARCH_MESON) += \
diff --git a/arch/arm/dts/rk3399-puma-ddr1333.dts b/arch/arm/dts/rk3399-puma-ddr1333.dts
new file mode 100644
index 0000000..564de91
--- /dev/null
+++ b/arch/arm/dts/rk3399-puma-ddr1333.dts
@@ -0,0 +1,11 @@ 
+/*
+ * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
+ *
+ * SPDX-License-Identifier:     GPL-2.0+	X11
+ */
+
+/dts-v1/;
+
+#include "rk3399-puma.dtsi"
+#include "rk3399-sdram-ddr3-1333.dtsi"
+