xref: /freebsd/sys/contrib/device-tree/Bindings/sound/mediatek,mt2701-audio.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/mediatek,mt2701-audio.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: MediaTek Audio Front End (AFE) PCM controller for mt2701
8
9description:
10  The AFE PCM node must be a subnode of the MediaTek audsys device tree node.
11
12maintainers:
13  - Eugen Hristev <eugen.hristev@collabora.com>
14
15properties:
16  compatible:
17    enum:
18      - mediatek,mt2701-audio
19      - mediatek,mt7622-audio
20
21  interrupts:
22    items:
23      - description: AFE interrupt
24      - description: ASYS interrupt
25
26  interrupt-names:
27    items:
28      - const: afe
29      - const: asys
30
31  power-domains:
32    maxItems: 1
33
34  clocks:
35    items:
36      - description: audio infra sys clock
37      - description: top audio mux 1
38      - description: top audio mux 2
39      - description: top audio sys a1 clock
40      - description: top audio sys a2 clock
41      - description: i2s0 source selection
42      - description: i2s1 source selection
43      - description: i2s2 source selection
44      - description: i2s3 source selection
45      - description: i2s0 source divider
46      - description: i2s1 source divider
47      - description: i2s2 source divider
48      - description: i2s3 source divider
49      - description: i2s0 master clock
50      - description: i2s1 master clock
51      - description: i2s2 master clock
52      - description: i2s3 master clock
53      - description: i2so0 hopping clock
54      - description: i2so1 hopping clock
55      - description: i2so2 hopping clock
56      - description: i2so3 hopping clock
57      - description: i2si0 hopping clock
58      - description: i2si1 hopping clock
59      - description: i2si2 hopping clock
60      - description: i2si3 hopping clock
61      - description: asrc0 output clock
62      - description: asrc1 output clock
63      - description: asrc2 output clock
64      - description: asrc3 output clock
65      - description: audio front end pd clock
66      - description: audio front end conn pd clock
67      - description: top audio a1 sys pd
68      - description: top audio a2 sys pd
69      - description: audio merge interface pd
70
71  clock-names:
72    items:
73      - const: infra_sys_audio_clk
74      - const: top_audio_mux1_sel
75      - const: top_audio_mux2_sel
76      - const: top_audio_a1sys_hp
77      - const: top_audio_a2sys_hp
78      - const: i2s0_src_sel
79      - const: i2s1_src_sel
80      - const: i2s2_src_sel
81      - const: i2s3_src_sel
82      - const: i2s0_src_div
83      - const: i2s1_src_div
84      - const: i2s2_src_div
85      - const: i2s3_src_div
86      - const: i2s0_mclk_en
87      - const: i2s1_mclk_en
88      - const: i2s2_mclk_en
89      - const: i2s3_mclk_en
90      - const: i2so0_hop_ck
91      - const: i2so1_hop_ck
92      - const: i2so2_hop_ck
93      - const: i2so3_hop_ck
94      - const: i2si0_hop_ck
95      - const: i2si1_hop_ck
96      - const: i2si2_hop_ck
97      - const: i2si3_hop_ck
98      - const: asrc0_out_ck
99      - const: asrc1_out_ck
100      - const: asrc2_out_ck
101      - const: asrc3_out_ck
102      - const: audio_afe_pd
103      - const: audio_afe_conn_pd
104      - const: audio_a1sys_pd
105      - const: audio_a2sys_pd
106      - const: audio_mrgif_pd
107
108required:
109  - compatible
110  - interrupts
111  - interrupt-names
112  - power-domains
113  - clocks
114  - clock-names
115
116additionalProperties: false
117