[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180111015903.11322-4-chris.packham@alliedtelesis.co.nz>
Date: Thu, 11 Jan 2018 14:59:03 +1300
From: Chris Packham <chris.packham@...iedtelesis.co.nz>
To: gregory.clement@...e-electrons.com, robh+dt@...nel.org,
linux-arm-kernel@...ts.infradead.org, andrew@...n.ch
Cc: jason@...edaemon.net, sebastian.hesselbarth@...il.com,
linux@...linux.org.uk, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Chris Packham <chris.packham@...iedtelesis.co.nz>,
Mark Rutland <mark.rutland@....com>
Subject: [PATCH v2 3/3] ARM: dts: mvebu: add sdram controller node to Armada-38x
The Armada-38x uses an SDRAM controller that is compatible with the
Armada-XP. The key difference is the width of the bus (XP is 64/32, 38x
is 32/16). The SDRAM controller registers are the same between the two
SoCs.
Signed-off-by: Chris Packham <chris.packham@...iedtelesis.co.nz>
---
Changes in v2:
- Add label to sdram-controller node
arch/arm/boot/dts/armada-38x.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
index 00ff549d4e39..f9008c4ddd7d 100644
--- a/arch/arm/boot/dts/armada-38x.dtsi
+++ b/arch/arm/boot/dts/armada-38x.dtsi
@@ -138,6 +138,11 @@
#size-cells = <1>;
ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>;
+ sdramc: sdramc@...0 {
+ compatible = "marvell,armada-xp-sdram-controller";
+ reg = <0x1400 0x500>;
+ };
+
L2: cache-controller@...0 {
compatible = "arm,pl310-cache";
reg = <0x8000 0x1000>;
--
2.15.1
Powered by blists - more mailing lists