diff options
author | Peng Fan <peng.fan@nxp.com> | 2020-11-06 10:26:42 +0800 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2020-11-06 10:48:32 +0800 |
commit | b414e6dfc20ec6430ab1069139d59e11dff0f5dd (patch) | |
tree | a9cef067b329ca7e2225aa2419ecafc7161d90f0 /arch | |
parent | 51ee59aa02cb0a88c64604faecd5b01022af5182 (diff) |
MLK-24968 imx8m: soc: update fuse path
Update fuse path to disable modules correctly.
Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/imx8m/soc.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c index 2505557988..40adf87345 100644 --- a/arch/arm/mach-imx/imx8m/soc.c +++ b/arch/arm/mach-imx/imx8m/soc.c @@ -682,6 +682,7 @@ static int disable_mipi_dsi_nodes(void *blob) "/dsi_phy@30A00300", "/soc@0/bus@30800000/mipi_dsi@30a00000", "/soc@0/bus@30800000/dphy@30a00300" + "/soc@0/bus@30800000/mipi-dsi@30a00000", }; return disable_fdt_nodes(blob, nodes_path, ARRAY_SIZE(nodes_path)); @@ -709,7 +710,8 @@ static int check_mipi_dsi_nodes(void *blob) { const char *lcdif_path[] = { "/lcdif@30320000", - "/soc@0/bus@30000000/lcdif@30320000" + "/soc@0/bus@30000000/lcdif@30320000", + "/soc@0/bus@30000000/lcd-controller@30320000" }; const char *mipi_dsi_path[] = { "/mipi_dsi@30A00000", @@ -717,11 +719,13 @@ static int check_mipi_dsi_nodes(void *blob) }; const char *lcdif_ep_path[] = { "/lcdif@30320000/port@0/mipi-dsi-endpoint", - "/soc@0/bus@30000000/lcdif@30320000/port@0/endpoint" + "/soc@0/bus@30000000/lcdif@30320000/port@0/endpoint", + "/soc@0/bus@30000000/lcd-controller@30320000/port@0/endpoint" }; const char *mipi_dsi_ep_path[] = { "/mipi_dsi@30A00000/port@1/endpoint", - "/soc@0/bus@30800000/mipi_dsi@30a00000/ports/port@0/endpoint" + "/soc@0/bus@30800000/mipi_dsi@30a00000/ports/port@0/endpoint", + "/soc@0/bus@30800000/mipi-dsi@30a00000/ports/port@0/endpoint@0" }; int nodeoff; @@ -800,7 +804,8 @@ int disable_vpu_nodes(void *blob) static int low_drive_gpu_freq(void *blob) { const char *nodes_path_8mn[] = { - "/gpu@38000000" + "/gpu@38000000", + "/soc@0/gpu@38000000" }; int nodeoff, cnt, i; @@ -833,7 +838,8 @@ static int low_drive_gpu_freq(void *blob) int disable_gpu_nodes(void *blob) { const char *nodes_path_8mn[] = { - "/gpu@38000000" + "/gpu@38000000", + "/soc@/gpu@38000000" }; return disable_fdt_nodes(blob, nodes_path_8mn, ARRAY_SIZE(nodes_path_8mn)); |