arm64: dts: imx8qxp: Add DSP DT node
authorDaniel Baluta <daniel.baluta@nxp.com>
Wed, 7 Aug 2019 16:42:57 +0000 (19:42 +0300)
committerShawn Guo <shawnguo@kernel.org>
Mon, 19 Aug 2019 14:16:02 +0000 (16:16 +0200)
This includes DSP reserved memory, ADMA DSP device and DSP MU
communication channels description.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8qxp-mek.dts
arch/arm64/boot/dts/freescale/imx8qxp.dtsi

index bfdada2db176ca07cbb392a67aa55272e6a6d717..19468058e6ae4d409770a2d03b8ecf5dfffb79e0 100644 (file)
                >;
        };
 };
+
+&adma_dsp {
+       status = "okay";
+};
index 05fa0b7f36bb18375a14d8255e4af2c0c02e5296..b6c408fb2b7f1258334033ca401aa62f0821ec5b 100644 (file)
                interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
        };
 
+       reserved-memory {
+               #address-cells = <2>;
+               #size-cells = <2>;
+               ranges;
+
+               dsp_reserved: dsp@92400000 {
+                       reg = <0 0x92400000 0 0x2000000>;
+                       no-map;
+               };
+       };
+
        pmu {
                compatible = "arm,armv8-pmuv3";
                interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
                        #clock-cells = <1>;
                };
 
+               adma_dsp: dsp@596e8000 {
+                       compatible = "fsl,imx8qxp-dsp";
+                       reg = <0x596e8000 0x88000>;
+                       clocks = <&adma_lpcg IMX_ADMA_LPCG_DSP_IPG_CLK>,
+                               <&adma_lpcg IMX_ADMA_LPCG_OCRAM_IPG_CLK>,
+                               <&adma_lpcg IMX_ADMA_LPCG_DSP_CORE_CLK>;
+                       clock-names = "ipg", "ocram", "core";
+                       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>;
+                       mbox-names = "txdb0", "txdb1",
+                               "rxdb0", "rxdb1";
+                       mboxes = <&lsio_mu13 2 0>,
+                               <&lsio_mu13 2 1>,
+                               <&lsio_mu13 3 0>,
+                               <&lsio_mu13 3 1>;
+                       memory-region = <&dsp_reserved>;
+                       status = "disabled";
+               };
+
                adma_lpuart0: serial@5a060000 {
                        compatible = "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart";
                        reg = <0x5a060000 0x1000>;