1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/fsl,aud2htx.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NXP Audio Subsystem to HDMI RTX Subsystem Controller
8
9maintainers:
10  - Shengjiu Wang <shengjiu.wang@nxp.com>
11
12properties:
13  compatible:
14    const: fsl,imx8mp-aud2htx
15
16  reg:
17    maxItems: 1
18
19  interrupts:
20    maxItems: 1
21
22  clocks:
23    items:
24      - description: Peripheral clock
25
26  clock-names:
27    items:
28      - const: bus
29
30  dmas:
31    items:
32      - description: DMA controller phandle and request line for TX
33
34  dma-names:
35    items:
36      - const: tx
37
38  power-domains:
39    maxItems: 1
40
41required:
42  - compatible
43  - reg
44  - interrupts
45  - clocks
46  - clock-names
47  - dmas
48  - dma-names
49
50additionalProperties: false
51
52examples:
53  - |
54    #include <dt-bindings/interrupt-controller/arm-gic.h>
55    #include <dt-bindings/clock/imx8mp-clock.h>
56
57    aud2htx: aud2htx@30cb0000 {
58        compatible = "fsl,imx8mp-aud2htx";
59        reg = <0x30cb0000 0x10000>;
60        interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
61        clocks = <&audiomix_clk IMX8MP_CLK_AUDIOMIX_AUD2HTX_IPG>;
62        clock-names = "bus";
63        dmas = <&sdma2 26 2 0>;
64        dma-names = "tx";
65        power-domains = <&audiomix_pd>;
66    };
67