162306a36Sopenharmony_ciMediatek AFE PCM controller for mt6797
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciRequired properties:
462306a36Sopenharmony_ci- compatible = "mediatek,mt6797-audio";
562306a36Sopenharmony_ci- reg: register location and size
662306a36Sopenharmony_ci- interrupts: should contain AFE interrupt
762306a36Sopenharmony_ci- power-domains: should define the power domain
862306a36Sopenharmony_ci- clocks: Must contain an entry for each entry in clock-names
962306a36Sopenharmony_ci- clock-names: should have these clock names:
1062306a36Sopenharmony_ci		"infra_sys_audio_clk",
1162306a36Sopenharmony_ci		"infra_sys_audio_26m",
1262306a36Sopenharmony_ci		"mtkaif_26m_clk",
1362306a36Sopenharmony_ci		"top_mux_audio",
1462306a36Sopenharmony_ci		"top_mux_aud_intbus",
1562306a36Sopenharmony_ci		"top_sys_pll3_d4",
1662306a36Sopenharmony_ci		"top_sys_pll1_d4",
1762306a36Sopenharmony_ci		"top_clk26m_clk";
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciExample:
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci	afe: mt6797-afe-pcm@11220000  {
2262306a36Sopenharmony_ci		compatible = "mediatek,mt6797-audio";
2362306a36Sopenharmony_ci		reg = <0 0x11220000 0 0x1000>;
2462306a36Sopenharmony_ci		interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_LOW>;
2562306a36Sopenharmony_ci		power-domains = <&scpsys MT6797_POWER_DOMAIN_AUDIO>;
2662306a36Sopenharmony_ci		clocks = <&infrasys CLK_INFRA_AUDIO>,
2762306a36Sopenharmony_ci			 <&infrasys CLK_INFRA_AUDIO_26M>,
2862306a36Sopenharmony_ci			 <&infrasys CLK_INFRA_AUDIO_26M_PAD_TOP>,
2962306a36Sopenharmony_ci			 <&topckgen CLK_TOP_MUX_AUDIO>,
3062306a36Sopenharmony_ci			 <&topckgen CLK_TOP_MUX_AUD_INTBUS>,
3162306a36Sopenharmony_ci			 <&topckgen CLK_TOP_SYSPLL3_D4>,
3262306a36Sopenharmony_ci			 <&topckgen CLK_TOP_SYSPLL1_D4>,
3362306a36Sopenharmony_ci			 <&clk26m>;
3462306a36Sopenharmony_ci		clock-names = "infra_sys_audio_clk",
3562306a36Sopenharmony_ci			      "infra_sys_audio_26m",
3662306a36Sopenharmony_ci			      "mtkaif_26m_clk",
3762306a36Sopenharmony_ci			      "top_mux_audio",
3862306a36Sopenharmony_ci			      "top_mux_aud_intbus",
3962306a36Sopenharmony_ci			      "top_sys_pll3_d4",
4062306a36Sopenharmony_ci			      "top_sys_pll1_d4",
4162306a36Sopenharmony_ci			      "top_clk26m_clk";
4262306a36Sopenharmony_ci	};
43