ARM: dts: mvebu: add sdram controller node to Armada-38x
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Thu, 26 Sep 2019 23:28:19 +0000 (11:28 +1200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Tue, 8 Oct 2019 09:49:07 +0000 (11:49 +0200)
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@alliedtelesis.co.nz>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/boot/dts/armada-38x.dtsi

index 3f4bb44..e038abc 100644 (file)
                        #size-cells = <1>;
                        ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>;
 
+                       sdramc: sdramc@1400 {
+                               compatible = "marvell,armada-xp-sdram-controller";
+                               reg = <0x1400 0x500>;
+                       };
+
                        L2: cache-controller@8000 {
                                compatible = "arm,pl310-cache";
                                reg = <0x8000 0x1000>;