1
0
Fork 0

MLK-24324 arm64: dts: imx8qm: passthrough dsp to domu

We need passthrough dsp to domu, it is in vpu ss,
without power off it, vpu ss will not be really off.
And domu audio also needs dsp to work proper for hifi.

Reviewed-by: Shijie Qin <shijie.qin@nxp.com>
Reviewed-by: zhang sanshan <pete.zhang@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Peng Fan 2020-06-15 12:21:19 +08:00
parent f3cd2f6a3e
commit 029bc3d1e4
2 changed files with 47 additions and 2 deletions

View File

@ -91,6 +91,10 @@
IMX_SC_R_VPU_MU_1
IMX_SC_R_VPU_MU_2
IMX_SC_R_VPU_MU_3
IMX_SC_R_MU_13A
IMX_SC_R_MU_13B
IMX_SC_R_DSP
IMX_SC_R_DSP_RAM
/* usbotg1 */
IMX_SC_R_USB_0
IMX_SC_R_USB_0_PHY
@ -600,6 +604,14 @@
xen,passthrough;
};
&dsp {
xen,passthrough;
};
&lsio_mu13 {
xen,passthrough;
};
&mu_m0 {
xen,passthrough;
};

View File

@ -113,6 +113,10 @@
no-map;
reg = <0 0x84000000 0 0x2000000>;
};
dsp_reserved: dsp@0x92400000 {
no-map;
reg = <0 0x92400000 0 0x2000000>;
};
encoder_boot: encoder_boot@0x86000000 {
no-map;
reg = <0 0x86000000 0 0x400000>;
@ -381,6 +385,32 @@
};
};
};
vpu_subsys_dsp: bus@55000000 {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x55000000 0x0 0x55000000 0x1000000>;
xen,passthrough;
dsp: dsp@556e8000 {
compatible = "fsl,imx8qm-dsp";
reg = <0x556e8000 0x88000>;
clocks = <&clk_dummy>,
<&clk_dummy>,
<&clk_dummy>;
clock-names = "ipg", "ocram", "core";
fsl,dsp-firmware = "imx/dsp/hifi4.bin";
power-domains = <&pd IMX_SC_R_MU_13A>,
<&pd IMX_SC_R_MU_13B>,
<&pd IMX_SC_R_DSP>,
<&pd IMX_SC_R_DSP_RAM>;
memory-region = <&dsp_reserved>;
fixup-offset = <0x4000000>;
status = "disabled";
};
};
};
#include "imx8qm-ss-conn.dtsi"
@ -405,6 +435,10 @@
};
};
&lsio_mu13 {
xen,passthrough;
};
&dc0_subsys {
xen,passthrough;
};
@ -977,11 +1011,10 @@
};
/* Audio */
/*&dsp {
&dsp {
compatible = "fsl,imx8qm-dsp-v1";
status = "okay";
};
*/
&asrc0 {
fsl,asrc-rate = <48000>;