1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/fsl,rpmsg.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP Audio RPMSG CPU DAI Controller
10 - Shengjiu Wang <shengjiu.wang@nxp.com>
13 fsl_rpmsg is a virtual audio device. Mapping to real hardware devices
14 are SAI, DMA controlled by Cortex M core. What we see from Linux
15 side is a device which provides audio service by rpmsg channel.
20 - fsl,imx7ulp-rpmsg-audio
21 - fsl,imx8mn-rpmsg-audio
22 - fsl,imx8mm-rpmsg-audio
23 - fsl,imx8mp-rpmsg-audio
24 - fsl,imx8ulp-rpmsg-audio
27 $ref: /schemas/types.yaml#/definitions/string
28 description: User specified audio sound card name
32 - description: Peripheral clock for register access
33 - description: Master clock
34 - description: DMA clock for DMA register access
35 - description: Parent clock for multiple of 8kHz sample rates
36 - description: Parent clock for multiple of 11kHz sample rates
48 List of phandle and PM domain specifier as documented in
49 Documentation/devicetree/bindings/power/power_domain.txt
55 phandle to a node describing reserved memory (System RAM memory)
56 The M core can't access all the DDR memory space on some platform,
57 So reserved a specific memory for dma buffer which M core can
59 (see bindings/reserved-memory/reserved-memory.txt)
62 $ref: /schemas/types.yaml#/definitions/phandle
63 description: The phandle to a node of audio codec
66 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
68 A list of the connections between audio components. Each entry is a
69 pair of strings, the first being the connection's sink, the second
70 being the connection's source.
73 $ref: /schemas/types.yaml#/definitions/flag
74 description: enable low power audio path.
77 $ref: /schemas/types.yaml#/definitions/flag
79 This is a boolean property. If present, the transmitting function
83 $ref: /schemas/types.yaml#/definitions/flag
85 This is a boolean property. If present, the receiving function
92 additionalProperties: false
96 #include <dt-bindings/clock/imx8mn-clock.h>
98 rpmsg_audio: rpmsg_audio {
99 compatible = "fsl,imx8mn-rpmsg-audio";
100 model = "wm8524-audio";
103 clocks = <&clk IMX8MN_CLK_SAI3_IPG>,
104 <&clk IMX8MN_CLK_SAI3_ROOT>,
105 <&clk IMX8MN_CLK_SDMA3_ROOT>,
106 <&clk IMX8MN_AUDIO_PLL1_OUT>,
107 <&clk IMX8MN_AUDIO_PLL2_OUT>;
108 clock-names = "ipg", "mclk", "dma", "pll8k", "pll11k";