18c2ecf20Sopenharmony_ciMediatek AFE PCM controller for mt6797
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible = "mediatek,mt6797-audio";
58c2ecf20Sopenharmony_ci- reg: register location and size
68c2ecf20Sopenharmony_ci- interrupts: should contain AFE interrupt
78c2ecf20Sopenharmony_ci- power-domains: should define the power domain
88c2ecf20Sopenharmony_ci- clocks: Must contain an entry for each entry in clock-names
98c2ecf20Sopenharmony_ci- clock-names: should have these clock names:
108c2ecf20Sopenharmony_ci		"infra_sys_audio_clk",
118c2ecf20Sopenharmony_ci		"infra_sys_audio_26m",
128c2ecf20Sopenharmony_ci		"mtkaif_26m_clk",
138c2ecf20Sopenharmony_ci		"top_mux_audio",
148c2ecf20Sopenharmony_ci		"top_mux_aud_intbus",
158c2ecf20Sopenharmony_ci		"top_sys_pll3_d4",
168c2ecf20Sopenharmony_ci		"top_sys_pll1_d4",
178c2ecf20Sopenharmony_ci		"top_clk26m_clk";
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciExample:
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci	afe: mt6797-afe-pcm@11220000  {
228c2ecf20Sopenharmony_ci		compatible = "mediatek,mt6797-audio";
238c2ecf20Sopenharmony_ci		reg = <0 0x11220000 0 0x1000>;
248c2ecf20Sopenharmony_ci		interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_LOW>;
258c2ecf20Sopenharmony_ci		power-domains = <&scpsys MT6797_POWER_DOMAIN_AUDIO>;
268c2ecf20Sopenharmony_ci		clocks = <&infrasys CLK_INFRA_AUDIO>,
278c2ecf20Sopenharmony_ci			 <&infrasys CLK_INFRA_AUDIO_26M>,
288c2ecf20Sopenharmony_ci			 <&infrasys CLK_INFRA_AUDIO_26M_PAD_TOP>,
298c2ecf20Sopenharmony_ci			 <&topckgen CLK_TOP_MUX_AUDIO>,
308c2ecf20Sopenharmony_ci			 <&topckgen CLK_TOP_MUX_AUD_INTBUS>,
318c2ecf20Sopenharmony_ci			 <&topckgen CLK_TOP_SYSPLL3_D4>,
328c2ecf20Sopenharmony_ci			 <&topckgen CLK_TOP_SYSPLL1_D4>,
338c2ecf20Sopenharmony_ci			 <&clk26m>;
348c2ecf20Sopenharmony_ci		clock-names = "infra_sys_audio_clk",
358c2ecf20Sopenharmony_ci			      "infra_sys_audio_26m",
368c2ecf20Sopenharmony_ci			      "mtkaif_26m_clk",
378c2ecf20Sopenharmony_ci			      "top_mux_audio",
388c2ecf20Sopenharmony_ci			      "top_mux_aud_intbus",
398c2ecf20Sopenharmony_ci			      "top_sys_pll3_d4",
408c2ecf20Sopenharmony_ci			      "top_sys_pll1_d4",
418c2ecf20Sopenharmony_ci			      "top_clk26m_clk";
428c2ecf20Sopenharmony_ci	};
43