xref: /freebsd/sys/contrib/device-tree/Bindings/sound/mt8183-afe-pcm.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotMediatek AFE PCM controller for mt8183
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible = "mediatek,mt68183-audio";
5*c66ec88fSEmmanuel Vadot- reg: register location and size
6*c66ec88fSEmmanuel Vadot- interrupts: should contain AFE interrupt
7*c66ec88fSEmmanuel Vadot- resets: Must contain an entry for each entry in reset-names
8*c66ec88fSEmmanuel Vadot  See ../reset/reset.txt for details.
9*c66ec88fSEmmanuel Vadot- reset-names: should have these reset names:
10*c66ec88fSEmmanuel Vadot		"audiosys";
11*c66ec88fSEmmanuel Vadot- power-domains: should define the power domain
12*c66ec88fSEmmanuel Vadot- clocks: Must contain an entry for each entry in clock-names
13*c66ec88fSEmmanuel Vadot- clock-names: should have these clock names:
14*c66ec88fSEmmanuel Vadot		"infra_sys_audio_clk",
15*c66ec88fSEmmanuel Vadot		"mtkaif_26m_clk",
16*c66ec88fSEmmanuel Vadot		"top_mux_audio",
17*c66ec88fSEmmanuel Vadot		"top_mux_aud_intbus",
18*c66ec88fSEmmanuel Vadot		"top_sys_pll3_d4",
19*c66ec88fSEmmanuel Vadot		"top_clk26m_clk";
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel VadotExample:
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel Vadot	afe: mt8183-afe-pcm@11220000  {
24*c66ec88fSEmmanuel Vadot		compatible = "mediatek,mt8183-audio";
25*c66ec88fSEmmanuel Vadot		reg = <0 0x11220000 0 0x1000>;
26*c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_LOW>;
27*c66ec88fSEmmanuel Vadot		resets = <&watchdog MT8183_TOPRGU_AUDIO_SW_RST>;
28*c66ec88fSEmmanuel Vadot		reset-names = "audiosys";
29*c66ec88fSEmmanuel Vadot		power-domains = <&scpsys MT8183_POWER_DOMAIN_AUDIO>;
30*c66ec88fSEmmanuel Vadot		clocks = <&infrasys CLK_INFRA_AUDIO>,
31*c66ec88fSEmmanuel Vadot			 <&infrasys CLK_INFRA_AUDIO_26M_BCLK>,
32*c66ec88fSEmmanuel Vadot			 <&topckgen CLK_TOP_MUX_AUDIO>,
33*c66ec88fSEmmanuel Vadot			 <&topckgen CLK_TOP_MUX_AUD_INTBUS>,
34*c66ec88fSEmmanuel Vadot			 <&topckgen CLK_TOP_SYSPLL_D2_D4>,
35*c66ec88fSEmmanuel Vadot			 <&clk26m>;
36*c66ec88fSEmmanuel Vadot		clock-names = "infra_sys_audio_clk",
37*c66ec88fSEmmanuel Vadot			      "mtkaif_26m_clk",
38*c66ec88fSEmmanuel Vadot			      "top_mux_audio",
39*c66ec88fSEmmanuel Vadot			      "top_mux_aud_intbus",
40*c66ec88fSEmmanuel Vadot			      "top_sys_pll_d2_d4",
41*c66ec88fSEmmanuel Vadot			      "top_clk26m_clk";
42*c66ec88fSEmmanuel Vadot	};
43