xref: /freebsd/sys/contrib/device-tree/Bindings/sound/omap-mcpdm.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1* Texas Instruments OMAP4+ McPDM
2
3Required properties:
4- compatible: "ti,omap4-mcpdm"
5- reg: Register location and size as an array:
6       <MPU access base address, size>,
7       <L3 interconnect address, size>;
8- interrupts: Interrupt number for McPDM
9- ti,hwmods: Name of the hwmod associated to the McPDM
10- clocks:  phandle for the pdmclk provider, likely <&twl6040>
11- clock-names: Must be "pdmclk"
12
13Example:
14
15mcpdm: mcpdm@40132000 {
16	compatible = "ti,omap4-mcpdm";
17	reg = <0x40132000 0x7f>, /* MPU private access */
18	      <0x49032000 0x7f>; /* L3 Interconnect */
19	interrupts = <0 112 0x4>;
20	interrupt-parent = <&gic>;
21	ti,hwmods = "mcpdm";
22};
23
24In board DTS file the pdmclk needs to be added:
25
26&mcpdm {
27	clocks = <&twl6040>;
28	clock-names = "pdmclk";
29	status = "okay";
30};
31