1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/fsl,easrc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP Asynchronous Sample Rate Converter (ASRC) Controller
10 - Shengjiu Wang <shengjiu.wang@nxp.com>
23 - const: fsl,imx8mn-easrc
33 - description: Peripheral clock
55 - const: imx/easrc/easrc-imx8mn.bin
56 description: The coefficient table for the filters
59 $ref: /schemas/types.yaml#/definitions/uint32
62 description: Defines a mutual sample rate used by DPCM Back Ends
65 $ref: /schemas/types.yaml#/definitions/uint32
66 enum: [2, 6, 10, 32, 36]
69 Defines a mutual sample format used by DPCM Back Ends
83 additionalProperties: false
87 #include <dt-bindings/clock/imx8mn-clock.h>
89 easrc: easrc@300c0000 {
90 compatible = "fsl,imx8mn-easrc";
91 reg = <0x300c0000 0x10000>;
92 interrupts = <0x0 122 0x4>;
93 clocks = <&clk IMX8MN_CLK_ASRC_ROOT>;
95 dmas = <&sdma2 16 23 0> , <&sdma2 17 23 0>,
96 <&sdma2 18 23 0> , <&sdma2 19 23 0>,
97 <&sdma2 20 23 0> , <&sdma2 21 23 0>,
98 <&sdma2 22 23 0> , <&sdma2 23 23 0>;
99 dma-names = "ctx0_rx", "ctx0_tx",
100 "ctx1_rx", "ctx1_tx",
101 "ctx2_rx", "ctx2_tx",
102 "ctx3_rx", "ctx3_tx";
103 firmware-name = "imx/easrc/easrc-imx8mn.bin";
104 fsl,asrc-rate = <8000>;
105 fsl,asrc-format = <2>;