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