Peter Ujfalusi | 7cb8a1b | 2011-11-15 11:32:14 +0200 | [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 | - interrupt-parent: The parent interrupt controller |
| 10 | - ti,hwmods: Name of the hwmod associated to the McPDM |
Peter Ujfalusi | 65aca64 | 2016-05-18 16:46:36 +0300 | [diff] [blame] | 11 | - clocks: phandle for the pdmclk provider, likely <&twl6040> |
| 12 | - clock-names: Must be "pdmclk" |
Peter Ujfalusi | 7cb8a1b | 2011-11-15 11:32:14 +0200 | [diff] [blame] | 13 | |
| 14 | Example: |
| 15 | |
| 16 | mcpdm: 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 Ujfalusi | 65aca64 | 2016-05-18 16:46:36 +0300 | [diff] [blame] | 24 | |
| 25 | In board DTS file the pdmclk needs to be added: |
| 26 | |
| 27 | &mcpdm { |
| 28 | clocks = <&twl6040>; |
| 29 | clock-names = "pdmclk"; |
| 30 | status = "okay"; |
| 31 | }; |