blob: 6f6c2f8e908db15ff37567413c20b19a5ed68d17 [file] [log] [blame]
Peter Ujfalusi7cb8a1b2011-11-15 11:32:14 +02001* 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- interrupt-parent: The parent interrupt controller
10- ti,hwmods: Name of the hwmod associated to the McPDM
Peter Ujfalusi65aca642016-05-18 16:46:36 +030011- clocks: phandle for the pdmclk provider, likely <&twl6040>
12- clock-names: Must be "pdmclk"
Peter Ujfalusi7cb8a1b2011-11-15 11:32:14 +020013
14Example:
15
16mcpdm: mcpdm@40132000 {
17 compatible = "ti,omap4-mcpdm";
18 reg = <0x40132000 0x7f>, /* MPU private access */
19 <0x49032000 0x7f>; /* L3 Interconnect */
20 interrupts = <0 112 0x4>;
21 interrupt-parent = <&gic>;
22 ti,hwmods = "mcpdm";
23};
Peter Ujfalusi65aca642016-05-18 16:46:36 +030024
25In board DTS file the pdmclk needs to be added:
26
27&mcpdm {
28 clocks = <&twl6040>;
29 clock-names = "pdmclk";
30 status = "okay";
31};