]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: cherry: Enable the Audio DSP for SOF
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 22 Sep 2022 09:49:06 +0000 (11:49 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 9 Jan 2023 16:16:50 +0000 (17:16 +0100)
This platform is able to use the Audio DSP embedded into the
MT8195 SoC: in preparation for adding audio support for Cherry,
add the ADSP related memory nodes and enable it.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220922094908.41623-3-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi

index be218fade91a2c7f1a3630b1753b6cd660350482..07e6c5c2e930d115a5f49268bfbaa7d8817d03aa 100644 (file)
                        no-map;
                };
 
+               adsp_mem: memory@60000000 {
+                       compatible = "shared-dma-pool";
+                       reg = <0 0x60000000 0 0xd80000>;
+                       no-map;
+               };
+
                afe_mem: memory@60d80000 {
                        compatible = "shared-dma-pool";
                        reg = <0 0x60d80000 0 0x100000>;
                        no-map;
                };
+
+               adsp_device_mem: memory@60e80000 {
+                       compatible = "shared-dma-pool";
+                       reg = <0 0x60e80000 0 0x280000>;
+                       no-map;
+               };
        };
 };
 
+&adsp {
+       status = "okay";
+
+       memory-region = <&adsp_device_mem>, <&adsp_mem>;
+};
+
 &afe {
        status = "okay";