1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright 2021 NXP
*/
#include "imx8ulp-evk.dts"
/ {
reserved-memory {
/delete-node/ dsp_reserved;
/delete-node/ dsp_vdev0vring0;
/delete-node/ dsp_vdev0vring1;
/delete-node/ dsp_vdev0buffer;
dsp_reserved0: dsp@8e000000 {
reg = <0 0x8e000000 0 0x1000000>;
no-map;
};
dsp_reserved1: dsp@8f000000 {
compatible = "shared-dma-pool";
memory-region-names = "dsp_mem";
reg = <0 0x8f000000 0 0x1000000>;
no-map;
};
};
sound-bt-sco {
status = "disabled";
};
sof-sound-btsco {
compatible = "simple-audio-card";
label = "btsco-audio";
simple-audio-card,name = "bt-dsp-a";
simple-audio-card,bitclock-master = <&cpudai>;
simple-audio-card,frame-master = <&cpudai>;
simple-audio-card,dai-link {
format = "i2s";
cpudai: cpu {
sound-dai = <&dsp 0>;
};
sndcodec: codec {
sound-dai = <&bt_sco_codec 1>;
};
};
};
};
&rpmsg_audio {
status = "okay";
};
&sai5 {
status = "disabled";
};
&sai6 {
status = "disabled";
};
&edma2 {
status = "disabled";
};
&mu3 {
status = "okay";
};
&dsp {
#sound-dai-cells = <1>;
compatible = "fsl,imx8ulp-dsp";
memory-reserved = <&dsp_reserved0>;
memory-region = <&dsp_reserved1>;
reg = <0x21170000 0x20000>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_sai5>;
pinctrl-1 = <&pinctrl_sai5>;
assigned-clocks = <&cgc2 IMX8ULP_CLK_HIFI_SEL>, <&cgc1 IMX8ULP_CLK_SAI5_SEL>;
assigned-clock-parents = <&cgc2 IMX8ULP_CLK_PLL4>, <&cgc1 IMX8ULP_CLK_SPLL3_PFD1_DIV1>;
clocks = <&cgc2 IMX8ULP_CLK_HIFI_DIVCORE>,
<&cgc2 IMX8ULP_CLK_LPAV_BUS_DIV>,
<&cgc2 IMX8ULP_CLK_HIFI_DIVPLAT>,
<&pcc5 IMX8ULP_CLK_MU3_B>,
<&pcc4 IMX8ULP_CLK_SAI5>, <&cgc1 IMX8ULP_CLK_DUMMY>,
<&cgc1 IMX8ULP_CLK_SAI5_SEL>,
<&pcc5 IMX8ULP_CLK_DMA2_MP>,
<&pcc5 IMX8ULP_CLK_DMA2_CH0>, <&pcc5 IMX8ULP_CLK_DMA2_CH1>,
<&pcc5 IMX8ULP_CLK_DMA2_CH2>, <&pcc5 IMX8ULP_CLK_DMA2_CH3>,
<&pcc5 IMX8ULP_CLK_DMA2_CH4>, <&pcc5 IMX8ULP_CLK_DMA2_CH5>,
<&pcc5 IMX8ULP_CLK_DMA2_CH6>, <&pcc5 IMX8ULP_CLK_DMA2_CH7>;
clock-names = "core", "pbclk", "nic", "mu_b",
"bus", "mclk0", "mclk1",
"edma-mp-clk",
"edma2-chan0-clk", "edma2-chan1-clk",
"edma2-chan2-clk", "edma2-chan3-clk",
"edma2-chan4-clk", "edma2-chan5-clk",
"edma2-chan6-clk", "edma2-chan7-clk";
mbox-names = "txdb0", "txdb1", "rxdb0", "rxdb1";
mboxes = <&mu3 2 0>,
<&mu3 2 1>,
<&mu3 3 0>,
<&mu3 3 1>;
/delete-property/ firmware-name;
tplg-name = "sof-imx8ulp-btsco.tplg";
machine-drv-name = "asoc-simple-card";
status = "okay";
};
|