summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-imx/pm-imx6.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/pm-imx6.c b/arch/arm/mach-imx/pm-imx6.c
index b6b208023861..0b9185843bba 100644
--- a/arch/arm/mach-imx/pm-imx6.c
+++ b/arch/arm/mach-imx/pm-imx6.c
@@ -863,7 +863,8 @@ Please ensure device tree has an entry fsl,lpm-sram\n");
if (np)
console_base = of_iomap(np, 0);
if (imx_src_is_m4_enabled()) {
- np = of_find_node_by_path("/soc/aips-bus@02100000/qspi@021e4000");
+ np = of_find_compatible_node(NULL, NULL,
+ "fsl,imx6sx-qspi-m4-restore");
if (np)
qspi_base = of_iomap(np, 0);
WARN_ON(!qspi_base);