]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: imx8qm: add node for VPU dsp
authorLaurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Mon, 21 Oct 2024 15:52:20 +0000 (11:52 -0400)
committerShawn Guo <shawnguo@kernel.org>
Mon, 4 Nov 2024 08:46:31 +0000 (16:46 +0800)
Add DT node for i.MX8QM's DSP, which is found in the VPU subsystem.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Tested-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8qm.dtsi

index 9ae42eb5239b694d561326a14b52ce75f98ea6de..6fa31bc9ece8f940eb6c6619e6bcbe64274a0cd1 100644 (file)
                clock-output-names = "mipi_pll_div2_clk";
        };
 
+       vpu_subsys_dsp: bus@55000000 {
+               compatible = "simple-bus";
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0x55000000 0x0 0x55000000 0x1000000>;
+
+               vpu_dsp: dsp@556e8000 {
+                       compatible = "fsl,imx8qm-hifi4";
+                       reg = <0x556e8000 0x88000>;
+                       clocks = <&clk_dummy>,
+                                <&clk_dummy>,
+                                <&clk_dummy>;
+                       clock-names = "ipg", "ocram", "core";
+                       power-domains = <&pd IMX_SC_R_MU_13B>,
+                                       <&pd IMX_SC_R_DSP>,
+                                       <&pd IMX_SC_R_DSP_RAM>,
+                                       <&pd IMX_SC_R_MU_2A>;
+                       mboxes = <&lsio_mu13 0 0>,
+                                <&lsio_mu13 1 0>,
+                                <&lsio_mu13 3 0>;
+                       mbox-names = "tx", "rx", "rxdb";
+                       firmware-name = "imx/dsp/hifi4.bin";
+                       status = "disabled";
+               };
+       };
+
        /* sorted in register address */
        #include "imx8-ss-cm41.dtsi"
        #include "imx8-ss-audio.dtsi"