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