1 The ADSP on Renesas SoCs required a reserved memory area to become
2 enabled, and this needs to be done manually.
4 This patch adds sound hardware abstraction information for the m3ulcb
5 and m3ulcb-kf (kingfisher) device trees. This is helpful on-board the
6 ADSP for dynamically determining sound hardware at runtime, allowing
7 single binaries to be used between the two boards.
9 Future work will incorporate the h3ulcb and Salvator boards into the
12 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
13 Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
15 diff --git a/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts b/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts
16 index 1cd64c1b3b31..71e59da3528d 100644
17 --- a/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts
18 +++ b/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts
20 reg = <0x00000000 0x54000000 0x0 0x03000000>;
24 + adsp_reserved: linux,adsp {
25 + compatible = "shared-dma-pool";
27 + reg = <0x00000000 0x57000000 0x0 0x01000000>;
30 /* global autoconfigured region for contiguous allocations */
32 compatible = "shared-dma-pool";
34 - reg = <0x00000000 0x57000000 0x0 0x19000000>;
35 + reg = <0x00000000 0x58000000 0x0 0x18000000>;
40 "dclkin.0", "dclkin.1", "dclkin.2";
45 + clock-frequency = <12288000 11289600>;
46 + audio-clocks = <22579200 24576000>;
47 + memory-region = <&adsp_reserved>;
49 + /* ADSP playback setting for ak4613 */
50 + adsp_playback0: adsp,playback {
52 + clock-mode = "master";
57 + pin-share-ssi = <1>;
60 + /* ADSP capture setting for ak4613 */
61 + adsp_capture0: adsp,capture {
63 + clock-mode = "slave";
68 + pin-share-ssi = <0>;
73 + playback = <&adsp_playback0>;
74 + capture = <&adsp_capture0>;