MLK-12307: ARM: imx: imx6q arm2 use lpddr2 in 2 channel fixed mode
authorAdrian Alonso <adrian.alonso@nxp.com>
Mon, 18 Jan 2016 23:34:29 +0000 (17:34 -0600)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:31:07 +0000 (02:31 +0300)
Set usable memory to 2 channel fixed mode
MMDC0 0x80000000 512M
MMDC1 0x10000000 512M
MMDC 2 channel fixed mode is enabled by setting
BOOT_CFG3[5:4] = 01 for Fixed 2x32 map

Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
arch/arm/boot/dts/imx6q-pop-arm2.dts

index 1bd42f7..3be9076 100644 (file)
@@ -17,7 +17,8 @@
        compatible = "fsl,imx6q-pop-arm2", "fsl,imx6q";
 
        memory {
-               reg = <0x10000000 0x40000000>;
+               linux,usable-memory = <0x10000000 0x20000000>,
+                       <0x80000000 0x20000000>;
        };
 
        regulators {