Thread (1 message) 1 message, 1 author, 2014-11-10

[PATCH 17/17] ARM: mvebu: add SDRAM controller description for Armada XP

From: Gregory CLEMENT <hidden>
Date: 2014-11-10 14:25:08
Also in: linux-devicetree

Hi Thomas,


On 24/10/2014 13:59, Thomas Petazzoni wrote:
The suspend/resume sequence on Armada XP needs to modify a number of
registers in the SDRAM controller. Therefore, this commit updates the
Armada XP Device Tree description to include the SDRAM controller
Device Tree node.
Acked-by: Gregory CLEMENT <redacted>


Thanks,

Gregory
quoted hunk
Signed-off-by: Thomas Petazzoni <redacted>
---
 arch/arm/boot/dts/armada-xp.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi
index bff9f6c..2be244a 100644
--- a/arch/arm/boot/dts/armada-xp.dtsi
+++ b/arch/arm/boot/dts/armada-xp.dtsi
@@ -35,6 +35,11 @@
 		};
 
 		internal-regs {
+			sdramc at 1400 {
+				compatible = "marvell,armada-xp-sdram-controller";
+				reg = <0x1400 0x500>;
It seemed a quite large area, but indeed there are registers related to the sdram
controller at least until the address 0x18AC.
+			};
+
 			L2: l2-cache {
 				compatible = "marvell,aurora-system-cache";
 				reg = <0x08000 0x1000>;

-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help