From 5e42e5ca4d50321f863f8440abf2e4d946298ae7 Mon Sep 17 00:00:00 2001 From: Arulpandiyan Vadivel Date: Tue, 30 Apr 2019 11:54:36 +0530 Subject: [PATCH] MLK-21758-2 ARM: imx6/imx7: PM: Remove all leading zeros in node names Remove all leading zeros from the power domain drivers to align with device tree. Signed-off-by: Arulpandiyan Vadivel Signed-off-by: Shrikant Bobade --- arch/arm/mach-imx/pm-imx6.c | 4 ++-- arch/arm/mach-imx/pm-imx7.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-imx/pm-imx6.c b/arch/arm/mach-imx/pm-imx6.c index 2af0cf2efec0..ca665d36a8f0 100644 --- a/arch/arm/mach-imx/pm-imx6.c +++ b/arch/arm/mach-imx/pm-imx6.c @@ -1357,7 +1357,7 @@ void __init imx6sx_pm_init(void) WARN_ON(!ocram_saved_in_ddr); np = of_find_node_by_path( - "/soc/aips-bus@02000000/spba-bus@02000000/serial@02020000"); + "/soc/aips-bus@2000000/spba-bus@2000000/serial@2020000"); if (np) console_base = of_iomap(np, 0); if (imx_src_is_m4_enabled()) { @@ -1380,7 +1380,7 @@ void __init imx6ul_pm_init(void) if (cpu_is_imx6ull()) { np = of_find_node_by_path( - "/soc/aips-bus@02000000/spba-bus@02000000/serial@02020000"); + "/soc/aips-bus@2000000/spba-bus@2000000/serial@2020000"); if (np) console_base = of_iomap(np, 0); } diff --git a/arch/arm/mach-imx/pm-imx7.c b/arch/arm/mach-imx/pm-imx7.c index a14904378271..f66ba6a0cb7f 100644 --- a/arch/arm/mach-imx/pm-imx7.c +++ b/arch/arm/mach-imx/pm-imx7.c @@ -1137,14 +1137,14 @@ void __init imx7d_pm_init(void) if (imx_src_is_m4_enabled()) { /* map the 32K of M4 TCM */ np = of_find_node_by_path( - "/tcml@007f8000"); + "/tcml@7f8000"); if (np) lpm_m4tcm_base = of_iomap(np, 0); WARN_ON(!lpm_m4tcm_base); /* map the m4 bootrom from dtb */ np = of_find_node_by_path( - "/soc/sram@00180000"); + "/soc/sram@180000"); if (np) m4_bootrom_base = of_iomap(np, 0); WARN_ON(!m4_bootrom_base); -- 2.17.1