xref: /freebsd/sys/contrib/device-tree/Bindings/sound/ti,omap4-mcpdm.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1*0e8011faSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*0e8011faSEmmanuel Vadot%YAML 1.2
3*0e8011faSEmmanuel Vadot---
4*0e8011faSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/ti,omap4-mcpdm.yaml#
5*0e8011faSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*0e8011faSEmmanuel Vadot
7*0e8011faSEmmanuel Vadottitle: OMAP McPDM
8*0e8011faSEmmanuel Vadot
9*0e8011faSEmmanuel Vadotmaintainers:
10*0e8011faSEmmanuel Vadot  - Misael Lopez Cruz <misael.lopez@ti.com>
11*0e8011faSEmmanuel Vadot
12*0e8011faSEmmanuel Vadotdescription:
13*0e8011faSEmmanuel Vadot  OMAP ALSA SoC DAI driver using McPDM port used by TWL6040
14*0e8011faSEmmanuel Vadot
15*0e8011faSEmmanuel Vadotproperties:
16*0e8011faSEmmanuel Vadot  compatible:
17*0e8011faSEmmanuel Vadot    const: ti,omap4-mcpdm
18*0e8011faSEmmanuel Vadot
19*0e8011faSEmmanuel Vadot  reg:
20*0e8011faSEmmanuel Vadot    items:
21*0e8011faSEmmanuel Vadot      - description: MPU access base address
22*0e8011faSEmmanuel Vadot      - description: L3 interconnect address
23*0e8011faSEmmanuel Vadot
24*0e8011faSEmmanuel Vadot  reg-names:
25*0e8011faSEmmanuel Vadot    items:
26*0e8011faSEmmanuel Vadot      - const: mpu
27*0e8011faSEmmanuel Vadot      - const: dma
28*0e8011faSEmmanuel Vadot
29*0e8011faSEmmanuel Vadot  interrupts:
30*0e8011faSEmmanuel Vadot    maxItems: 1
31*0e8011faSEmmanuel Vadot
32*0e8011faSEmmanuel Vadot  dmas:
33*0e8011faSEmmanuel Vadot    maxItems: 2
34*0e8011faSEmmanuel Vadot
35*0e8011faSEmmanuel Vadot  dma-names:
36*0e8011faSEmmanuel Vadot    items:
37*0e8011faSEmmanuel Vadot      - const: up_link
38*0e8011faSEmmanuel Vadot      - const: dn_link
39*0e8011faSEmmanuel Vadot
40*0e8011faSEmmanuel Vadot  clocks:
41*0e8011faSEmmanuel Vadot    maxItems: 1
42*0e8011faSEmmanuel Vadot
43*0e8011faSEmmanuel Vadot  clock-names:
44*0e8011faSEmmanuel Vadot    items:
45*0e8011faSEmmanuel Vadot      - const: pdmclk
46*0e8011faSEmmanuel Vadot
47*0e8011faSEmmanuel Vadotrequired:
48*0e8011faSEmmanuel Vadot  - compatible
49*0e8011faSEmmanuel Vadot  - reg
50*0e8011faSEmmanuel Vadot  - reg-names
51*0e8011faSEmmanuel Vadot  - interrupts
52*0e8011faSEmmanuel Vadot  - dmas
53*0e8011faSEmmanuel Vadot  - dma-names
54*0e8011faSEmmanuel Vadot  - clocks
55*0e8011faSEmmanuel Vadot  - clock-names
56*0e8011faSEmmanuel Vadot
57*0e8011faSEmmanuel VadotadditionalProperties: false
58*0e8011faSEmmanuel Vadot
59*0e8011faSEmmanuel Vadotexamples:
60*0e8011faSEmmanuel Vadot  - |
61*0e8011faSEmmanuel Vadot    #include <dt-bindings/interrupt-controller/arm-gic.h>
62*0e8011faSEmmanuel Vadot    mcpdm@0 {
63*0e8011faSEmmanuel Vadot      compatible = "ti,omap4-mcpdm";
64*0e8011faSEmmanuel Vadot      reg = <0x0 0x7f>, /* MPU private access */
65*0e8011faSEmmanuel Vadot            <0x49032000 0x7f>; /* L3 Interconnect */
66*0e8011faSEmmanuel Vadot      reg-names = "mpu", "dma";
67*0e8011faSEmmanuel Vadot      interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
68*0e8011faSEmmanuel Vadot      interrupt-parent = <&gic>;
69*0e8011faSEmmanuel Vadot      dmas = <&sdma 65>, <&sdma 66>;
70*0e8011faSEmmanuel Vadot      dma-names = "up_link", "dn_link";
71*0e8011faSEmmanuel Vadot      clocks = <&twl6040>;
72*0e8011faSEmmanuel Vadot      clock-names = "pdmclk";
73*0e8011faSEmmanuel Vadot    };
74