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