1*c66ec88fSEmmanuel VadotMediatek AFE PCM controller for mt6797 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot- compatible = "mediatek,mt6797-audio"; 5*c66ec88fSEmmanuel Vadot- reg: register location and size 6*c66ec88fSEmmanuel Vadot- interrupts: should contain AFE interrupt 7*c66ec88fSEmmanuel Vadot- power-domains: should define the power domain 8*c66ec88fSEmmanuel Vadot- clocks: Must contain an entry for each entry in clock-names 9*c66ec88fSEmmanuel Vadot- clock-names: should have these clock names: 10*c66ec88fSEmmanuel Vadot "infra_sys_audio_clk", 11*c66ec88fSEmmanuel Vadot "infra_sys_audio_26m", 12*c66ec88fSEmmanuel Vadot "mtkaif_26m_clk", 13*c66ec88fSEmmanuel Vadot "top_mux_audio", 14*c66ec88fSEmmanuel Vadot "top_mux_aud_intbus", 15*c66ec88fSEmmanuel Vadot "top_sys_pll3_d4", 16*c66ec88fSEmmanuel Vadot "top_sys_pll1_d4", 17*c66ec88fSEmmanuel Vadot "top_clk26m_clk"; 18*c66ec88fSEmmanuel Vadot 19*c66ec88fSEmmanuel VadotExample: 20*c66ec88fSEmmanuel Vadot 21*c66ec88fSEmmanuel Vadot afe: mt6797-afe-pcm@11220000 { 22*c66ec88fSEmmanuel Vadot compatible = "mediatek,mt6797-audio"; 23*c66ec88fSEmmanuel Vadot reg = <0 0x11220000 0 0x1000>; 24*c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_LOW>; 25*c66ec88fSEmmanuel Vadot power-domains = <&scpsys MT6797_POWER_DOMAIN_AUDIO>; 26*c66ec88fSEmmanuel Vadot clocks = <&infrasys CLK_INFRA_AUDIO>, 27*c66ec88fSEmmanuel Vadot <&infrasys CLK_INFRA_AUDIO_26M>, 28*c66ec88fSEmmanuel Vadot <&infrasys CLK_INFRA_AUDIO_26M_PAD_TOP>, 29*c66ec88fSEmmanuel Vadot <&topckgen CLK_TOP_MUX_AUDIO>, 30*c66ec88fSEmmanuel Vadot <&topckgen CLK_TOP_MUX_AUD_INTBUS>, 31*c66ec88fSEmmanuel Vadot <&topckgen CLK_TOP_SYSPLL3_D4>, 32*c66ec88fSEmmanuel Vadot <&topckgen CLK_TOP_SYSPLL1_D4>, 33*c66ec88fSEmmanuel Vadot <&clk26m>; 34*c66ec88fSEmmanuel Vadot clock-names = "infra_sys_audio_clk", 35*c66ec88fSEmmanuel Vadot "infra_sys_audio_26m", 36*c66ec88fSEmmanuel Vadot "mtkaif_26m_clk", 37*c66ec88fSEmmanuel Vadot "top_mux_audio", 38*c66ec88fSEmmanuel Vadot "top_mux_aud_intbus", 39*c66ec88fSEmmanuel Vadot "top_sys_pll3_d4", 40*c66ec88fSEmmanuel Vadot "top_sys_pll1_d4", 41*c66ec88fSEmmanuel Vadot "top_clk26m_clk"; 42*c66ec88fSEmmanuel Vadot }; 43