public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] rockchip: dts: tinker: Move u-boot dmc initialization to specific section
@ 2019-11-10 12:57 Michael Trimarchi
  2019-11-10 12:57 ` [U-Boot] [PATCH 2/2] rockchip: dts: tinker: Add tinker-s board support Michael Trimarchi
  2019-11-10 14:36 ` [U-Boot] [PATCH 1/2] rockchip: dts: tinker: Move u-boot dmc initialization to specific section Kever Yang
  0 siblings, 2 replies; 6+ messages in thread
From: Michael Trimarchi @ 2019-11-10 12:57 UTC (permalink / raw)
  To: u-boot

dmc is used to initialize the memory controller. It's needed by
u-boot. Move it in the specific section

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
---
 arch/arm/dts/rk3288-tinker-u-boot.dtsi | 12 ++++++++++++
 arch/arm/dts/rk3288-tinker.dts         | 12 ------------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/arch/arm/dts/rk3288-tinker-u-boot.dtsi b/arch/arm/dts/rk3288-tinker-u-boot.dtsi
index f7f9d6dc72..732aa4f91f 100644
--- a/arch/arm/dts/rk3288-tinker-u-boot.dtsi
+++ b/arch/arm/dts/rk3288-tinker-u-boot.dtsi
@@ -5,6 +5,18 @@
 
 #include "rk3288-u-boot.dtsi"
 
+&dmc {
+	u-boot,dm-pre-reloc;
+	rockchip,pctl-timing = <0x215 0xc8 0x0 0x35 0x26 0x2 0x70 0x2000d
+		0x6 0x0 0x8 0x4 0x17 0x24 0xd 0x6
+		0x4 0x8 0x4 0x76 0x4 0x0 0x30 0x0
+		0x1 0x2 0x2 0x4 0x0 0x0 0xc0 0x4
+		0x8 0x1f4>;
+	rockchip,phy-timing = <0x48d7dd93 0x187008d8 0x121076
+		0x0 0xc3 0x6 0x2>;
+	rockchip,sdram-params = <0x20d266a4 0x5b6 2 533000000 6 9 0>;
+};
+
 &pinctrl {
 	u-boot,dm-pre-reloc;
 };
diff --git a/arch/arm/dts/rk3288-tinker.dts b/arch/arm/dts/rk3288-tinker.dts
index 94c3afe860..4b8405fd82 100644
--- a/arch/arm/dts/rk3288-tinker.dts
+++ b/arch/arm/dts/rk3288-tinker.dts
@@ -15,18 +15,6 @@
 	};
 };
 
-&dmc {
-	rockchip,pctl-timing = <0x215 0xc8 0x0 0x35 0x26 0x2 0x70 0x2000d
-		0x6 0x0 0x8 0x4 0x17 0x24 0xd 0x6
-		0x4 0x8 0x4 0x76 0x4 0x0 0x30 0x0
-		0x1 0x2 0x2 0x4 0x0 0x0 0xc0 0x4
-		0x8 0x1f4>;
-	rockchip,phy-timing = <0x48d7dd93 0x187008d8 0x121076
-		0x0 0xc3 0x6 0x2>;
-	rockchip,sdram-params = <0x20d266a4 0x5b6 2 533000000 6 9 0>;
-};
-
-
 &pinctrl {
 	usb {
 		host_vbus_drv: host-vbus-drv {
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-11-15  7:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-10 12:57 [U-Boot] [PATCH 1/2] rockchip: dts: tinker: Move u-boot dmc initialization to specific section Michael Trimarchi
2019-11-10 12:57 ` [U-Boot] [PATCH 2/2] rockchip: dts: tinker: Add tinker-s board support Michael Trimarchi
2019-11-10 14:36   ` Kever Yang
2019-11-15  7:01   ` Kever Yang
2019-11-15  7:15     ` Michael Nazzareno Trimarchi
2019-11-10 14:36 ` [U-Boot] [PATCH 1/2] rockchip: dts: tinker: Move u-boot dmc initialization to specific section Kever Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox