summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2018-05-23 09:40:55 +0300
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:33:17 +0800
commit513befc82cd9b622ec145b3886f49f8551301c08 (patch)
tree587a0d6fa65bba4451be650353f6ce2b095ab7a9 /arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi
parent9b5b13686b8fe619aa3f78de4957860c67e91ae0 (diff)
MLK-17481-3: ASoC: fsl: Fix DSP memory mappings
We load DSP firmware from the ARM side at 0x556e8000 but because the compiler generated memory layout starts at 0x596e8000 we need to do some fixups. Thus, each address (in DSP local memory) generated by the compiler needs to be substracted an offset = 0x596e8000 - 0x556e8000 = 0x4000000. Because this only happens on QM we will use dts to specify the offset. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com> (cherry picked from commit 8d4518d2a5d956549e829470af15003d7adff841)
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi')
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi b/arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi
index b1066c84987c..ea5a8a330af6 100644
--- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi
@@ -3644,6 +3644,7 @@
<&clk IMX8QM_AUD_DSP_CORE_CLK>;
clock-names = "ipg", "ocram", "core";
fsl,dsp-firmware = "imx/dsp/hifi4.bin";
+ fixup-offset = <0x4000000>;
power-domains = <&pd_dsp>;
};