|
|
@@ -121,6 +121,14 @@ static const u32 imx6dl_mmdc_io_offset[] __initconst = {
|
|
|
0x74c, /* GPR_ADDS */
|
|
|
};
|
|
|
|
|
|
+static const u32 imx6sl_mmdc_io_offset[] __initconst = {
|
|
|
+ 0x30c, 0x310, 0x314, 0x318, /* DQM0 ~ DQM3 */
|
|
|
+ 0x5c4, 0x5cc, 0x5d4, 0x5d8, /* GPR_B0DS ~ GPR_B3DS */
|
|
|
+ 0x300, 0x31c, 0x338, 0x5ac, /* CAS, RAS, SDCLK_0, GPR_ADDS */
|
|
|
+ 0x33c, 0x340, 0x5b0, 0x5c0, /* SODT0, SODT1, MODE_CTL, MODE */
|
|
|
+ 0x330, 0x334, 0x320, /* SDCKE0, SDCKE1, RESET */
|
|
|
+};
|
|
|
+
|
|
|
static const struct imx6_pm_socdata imx6q_pm_data __initconst = {
|
|
|
.cpu_type = MXC_CPU_IMX6Q,
|
|
|
.mmdc_compat = "fsl,imx6q-mmdc",
|
|
|
@@ -141,6 +149,16 @@ static const struct imx6_pm_socdata imx6dl_pm_data __initconst = {
|
|
|
.mmdc_io_offset = imx6dl_mmdc_io_offset,
|
|
|
};
|
|
|
|
|
|
+static const struct imx6_pm_socdata imx6sl_pm_data __initconst = {
|
|
|
+ .cpu_type = MXC_CPU_IMX6SL,
|
|
|
+ .mmdc_compat = "fsl,imx6sl-mmdc",
|
|
|
+ .src_compat = "fsl,imx6sl-src",
|
|
|
+ .iomuxc_compat = "fsl,imx6sl-iomuxc",
|
|
|
+ .gpc_compat = "fsl,imx6sl-gpc",
|
|
|
+ .mmdc_io_num = ARRAY_SIZE(imx6sl_mmdc_io_offset),
|
|
|
+ .mmdc_io_offset = imx6sl_mmdc_io_offset,
|
|
|
+};
|
|
|
+
|
|
|
/*
|
|
|
* This structure is for passing necessary data for low level ocram
|
|
|
* suspend code(arch/arm/mach-imx/suspend-imx6.S), if this struct
|
|
|
@@ -530,5 +548,5 @@ void __init imx6dl_pm_init(void)
|
|
|
|
|
|
void __init imx6sl_pm_init(void)
|
|
|
{
|
|
|
- imx6_pm_common_init(NULL);
|
|
|
+ imx6_pm_common_init(&imx6sl_pm_data);
|
|
|
}
|