xref: /freebsd/sys/contrib/device-tree/Bindings/arm/mediatek/mediatek,audsys.txt (revision 354d7675fe12ace9cde344cb79c7ded792802f88)
1c66ec88fSEmmanuel VadotMediaTek AUDSYS controller
2c66ec88fSEmmanuel Vadot============================
3c66ec88fSEmmanuel Vadot
4c66ec88fSEmmanuel VadotThe MediaTek AUDSYS controller provides various clocks to the system.
5c66ec88fSEmmanuel Vadot
6c66ec88fSEmmanuel VadotRequired Properties:
7c66ec88fSEmmanuel Vadot
8c66ec88fSEmmanuel Vadot- compatible: Should be one of:
9c66ec88fSEmmanuel Vadot	- "mediatek,mt2701-audsys", "syscon"
10c66ec88fSEmmanuel Vadot	- "mediatek,mt6765-audsys", "syscon"
11c66ec88fSEmmanuel Vadot	- "mediatek,mt6779-audio", "syscon"
12c66ec88fSEmmanuel Vadot	- "mediatek,mt7622-audsys", "syscon"
13c66ec88fSEmmanuel Vadot	- "mediatek,mt7623-audsys", "mediatek,mt2701-audsys", "syscon"
146be33864SEmmanuel Vadot	- "mediatek,mt8167-audiosys", "syscon"
15c66ec88fSEmmanuel Vadot	- "mediatek,mt8183-audiosys", "syscon"
16*354d7675SEmmanuel Vadot	- "mediatek,mt8192-audsys", "syscon"
17c66ec88fSEmmanuel Vadot	- "mediatek,mt8516-audsys", "syscon"
18c66ec88fSEmmanuel Vadot- #clock-cells: Must be 1
19c66ec88fSEmmanuel Vadot
20c66ec88fSEmmanuel VadotThe AUDSYS controller uses the common clk binding from
21c66ec88fSEmmanuel VadotDocumentation/devicetree/bindings/clock/clock-bindings.txt
22c66ec88fSEmmanuel VadotThe available clocks are defined in dt-bindings/clock/mt*-clk.h.
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel VadotRequired sub-nodes:
25c66ec88fSEmmanuel Vadot-------
26c66ec88fSEmmanuel VadotFor common binding part and usage, refer to
27c66ec88fSEmmanuel Vadot../sonud/mt2701-afe-pcm.txt.
28c66ec88fSEmmanuel Vadot
29c66ec88fSEmmanuel VadotExample:
30c66ec88fSEmmanuel Vadot
31c66ec88fSEmmanuel Vadot	audsys: clock-controller@11220000 {
32c66ec88fSEmmanuel Vadot		compatible = "mediatek,mt7622-audsys", "syscon";
33c66ec88fSEmmanuel Vadot		reg = <0 0x11220000 0 0x2000>;
34c66ec88fSEmmanuel Vadot		#clock-cells = <1>;
35c66ec88fSEmmanuel Vadot
36c66ec88fSEmmanuel Vadot		afe: audio-controller {
37c66ec88fSEmmanuel Vadot			...
38c66ec88fSEmmanuel Vadot		};
39c66ec88fSEmmanuel Vadot	};
40