xref: /freebsd/sys/contrib/device-tree/Bindings/sound/arm,pl041.yaml (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
1*d5b0e70fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*d5b0e70fSEmmanuel Vadot%YAML 1.2
3*d5b0e70fSEmmanuel Vadot---
4*d5b0e70fSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/arm,pl041.yaml#
5*d5b0e70fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*d5b0e70fSEmmanuel Vadot
7*d5b0e70fSEmmanuel Vadottitle: Arm Ltd. PrimeCell PL041 AACI sound interface
8*d5b0e70fSEmmanuel Vadot
9*d5b0e70fSEmmanuel Vadotmaintainers:
10*d5b0e70fSEmmanuel Vadot  - Andre Przywara <andre.przywara@arm.com>
11*d5b0e70fSEmmanuel Vadot
12*d5b0e70fSEmmanuel Vadotdescription:
13*d5b0e70fSEmmanuel Vadot  The Arm PrimeCell Advanced Audio CODEC Interface (AACI) is an AMBA compliant
14*d5b0e70fSEmmanuel Vadot  peripheral that provides communication with an audio CODEC using the AC-link
15*d5b0e70fSEmmanuel Vadot  protocol.
16*d5b0e70fSEmmanuel Vadot
17*d5b0e70fSEmmanuel Vadot# We need a select here so we don't match all nodes with 'arm,primecell'
18*d5b0e70fSEmmanuel Vadotselect:
19*d5b0e70fSEmmanuel Vadot  properties:
20*d5b0e70fSEmmanuel Vadot    compatible:
21*d5b0e70fSEmmanuel Vadot      contains:
22*d5b0e70fSEmmanuel Vadot        const: arm,pl041
23*d5b0e70fSEmmanuel Vadot  required:
24*d5b0e70fSEmmanuel Vadot    - compatible
25*d5b0e70fSEmmanuel Vadot
26*d5b0e70fSEmmanuel Vadotproperties:
27*d5b0e70fSEmmanuel Vadot  compatible:
28*d5b0e70fSEmmanuel Vadot    items:
29*d5b0e70fSEmmanuel Vadot      - const: arm,pl041
30*d5b0e70fSEmmanuel Vadot      - const: arm,primecell
31*d5b0e70fSEmmanuel Vadot
32*d5b0e70fSEmmanuel Vadot  reg:
33*d5b0e70fSEmmanuel Vadot    maxItems: 1
34*d5b0e70fSEmmanuel Vadot
35*d5b0e70fSEmmanuel Vadot  interrupts:
36*d5b0e70fSEmmanuel Vadot    maxItems: 1
37*d5b0e70fSEmmanuel Vadot
38*d5b0e70fSEmmanuel Vadot  clocks:
39*d5b0e70fSEmmanuel Vadot    description: APB register access clock
40*d5b0e70fSEmmanuel Vadot
41*d5b0e70fSEmmanuel Vadot  clock-names:
42*d5b0e70fSEmmanuel Vadot    const: apb_pclk
43*d5b0e70fSEmmanuel Vadot
44*d5b0e70fSEmmanuel Vadotrequired:
45*d5b0e70fSEmmanuel Vadot  - compatible
46*d5b0e70fSEmmanuel Vadot  - reg
47*d5b0e70fSEmmanuel Vadot  - interrupts
48*d5b0e70fSEmmanuel Vadot  - clocks
49*d5b0e70fSEmmanuel Vadot
50*d5b0e70fSEmmanuel VadotadditionalProperties: false
51*d5b0e70fSEmmanuel Vadot
52*d5b0e70fSEmmanuel Vadotexamples:
53*d5b0e70fSEmmanuel Vadot  - |
54*d5b0e70fSEmmanuel Vadot    audio-controller@40000 {
55*d5b0e70fSEmmanuel Vadot        compatible = "arm,pl041", "arm,primecell";
56*d5b0e70fSEmmanuel Vadot        reg = <0x040000 0x1000>;
57*d5b0e70fSEmmanuel Vadot        interrupts = <11>;
58*d5b0e70fSEmmanuel Vadot        clocks = <&v2m_clk24mhz>;
59*d5b0e70fSEmmanuel Vadot        clock-names = "apb_pclk";
60*d5b0e70fSEmmanuel Vadot    };
61*d5b0e70fSEmmanuel Vadot
62*d5b0e70fSEmmanuel Vadot...
63