Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | * Texas Instruments OMAP4+ McPDM |
| 2 | |
| 3 | Required 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 | |
| 13 | Example: |
| 14 | |
| 15 | mcpdm: 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 | |
| 24 | In board DTS file the pdmclk needs to be added: |
| 25 | |
| 26 | &mcpdm { |
| 27 | clocks = <&twl6040>; |
| 28 | clock-names = "pdmclk"; |
| 29 | status = "okay"; |
| 30 | }; |