]> Git Repo - linux.git/commitdiff
arm64: dts: imx8qm-mek: enable dsp node for rproc usage
authorLaurentiu Mihalcea <[email protected]>
Mon, 21 Oct 2024 15:52:21 +0000 (11:52 -0400)
committerShawn Guo <[email protected]>
Mon, 4 Nov 2024 08:46:31 +0000 (16:46 +0800)
Set the status of the dsp node to "okay" and assign and add its reserved
memory regions.

Signed-off-by: Laurentiu Mihalcea <[email protected]>
Reviewed-by: Frank Li <[email protected]>
Tested-by: Iuliana Prodan <[email protected]>
Reviewed-by: Iuliana Prodan <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
arch/arm64/boot/dts/freescale/imx8qm-mek.dts

index e983633a4bb3171cf1065e7f80e926822d8bb914..50fd3370f7dce9b35763d5bacb7a500f734a2324 100644 (file)
                        reg = <0 0x90400000 0 0x100000>;
                        no-map;
                };
+
+               dsp_reserved: memory@92400000 {
+                       reg = <0 0x92400000 0 0x1000000>;
+                       no-map;
+               };
+
+               dsp_vdev0vring0: memory@942f0000 {
+                       reg = <0 0x942f0000 0 0x8000>;
+                       no-map;
+               };
+
+               dsp_vdev0vring1: memory@942f8000 {
+                       reg = <0 0x942f8000 0 0x8000>;
+                       no-map;
+               };
+
+               dsp_vdev0buffer: memory@94300000 {
+                       compatible = "shared-dma-pool";
+                       reg = <0 0x94300000 0 0x100000>;
+                       no-map;
+               };
        };
 
        lvds_backlight0: backlight-lvds0 {
        status = "okay";
 };
 
+&vpu_dsp {
+       memory-region = <&dsp_vdev0buffer>, <&dsp_vdev0vring0>,
+                       <&dsp_vdev0vring1>, <&dsp_reserved>;
+       status = "okay";
+};
+
 &iomuxc {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_hog>;
This page took 0.053526 seconds and 4 git commands to generate.