1 Mediatek AFE PCM controller for mt2701
4 - compatible = "mediatek,mt2701-audio";
5 - interrupts: should contain AFE and ASYS interrupts
6 - interrupt-names: should be "afe" and "asys"
7 - power-domains: should define the power domain
8 - clocks: Must contain an entry for each entry in clock-names
9 See ../clocks/clock-bindings.txt for details
10 - clock-names: should have these clock names:
11 "infra_sys_audio_clk",
45 - assigned-clocks: list of input clocks and dividers for the audio system.
46 See ../clocks/clock-bindings.txt for details.
47 - assigned-clocks-parents: parent of input clocks of assigned clocks.
48 - assigned-clock-rates: list of clock frequencies of assigned clocks.
50 Must be a subnode of MediaTek audsys device tree node.
51 See ../arm/mediatek/mediatek,audsys.txt for details about the parent node.
55 audsys: audio-subsystem@11220000 {
56 compatible = "mediatek,mt2701-audsys", "syscon", "simple-mfd";
59 afe: audio-controller {
60 compatible = "mediatek,mt2701-audio";
61 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_LOW>,
62 <GIC_SPI 132 IRQ_TYPE_LEVEL_LOW>;
63 interrupt-names = "afe", "asys";
64 power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>;
66 clocks = <&infracfg CLK_INFRA_AUDIO>,
67 <&topckgen CLK_TOP_AUD_MUX1_SEL>,
68 <&topckgen CLK_TOP_AUD_MUX2_SEL>,
69 <&topckgen CLK_TOP_AUD_48K_TIMING>,
70 <&topckgen CLK_TOP_AUD_44K_TIMING>,
71 <&topckgen CLK_TOP_AUD_K1_SRC_SEL>,
72 <&topckgen CLK_TOP_AUD_K2_SRC_SEL>,
73 <&topckgen CLK_TOP_AUD_K3_SRC_SEL>,
74 <&topckgen CLK_TOP_AUD_K4_SRC_SEL>,
75 <&topckgen CLK_TOP_AUD_K1_SRC_DIV>,
76 <&topckgen CLK_TOP_AUD_K2_SRC_DIV>,
77 <&topckgen CLK_TOP_AUD_K3_SRC_DIV>,
78 <&topckgen CLK_TOP_AUD_K4_SRC_DIV>,
79 <&topckgen CLK_TOP_AUD_I2S1_MCLK>,
80 <&topckgen CLK_TOP_AUD_I2S2_MCLK>,
81 <&topckgen CLK_TOP_AUD_I2S3_MCLK>,
82 <&topckgen CLK_TOP_AUD_I2S4_MCLK>,
83 <&audsys CLK_AUD_I2SO1>,
84 <&audsys CLK_AUD_I2SO2>,
85 <&audsys CLK_AUD_I2SO3>,
86 <&audsys CLK_AUD_I2SO4>,
87 <&audsys CLK_AUD_I2SIN1>,
88 <&audsys CLK_AUD_I2SIN2>,
89 <&audsys CLK_AUD_I2SIN3>,
90 <&audsys CLK_AUD_I2SIN4>,
91 <&audsys CLK_AUD_ASRCO1>,
92 <&audsys CLK_AUD_ASRCO2>,
93 <&audsys CLK_AUD_ASRCO3>,
94 <&audsys CLK_AUD_ASRCO4>,
95 <&audsys CLK_AUD_AFE>,
96 <&audsys CLK_AUD_AFE_CONN>,
97 <&audsys CLK_AUD_A1SYS>,
98 <&audsys CLK_AUD_A2SYS>,
99 <&audsys CLK_AUD_AFE_MRGIF>;
101 clock-names = "infra_sys_audio_clk",
102 "top_audio_mux1_sel",
103 "top_audio_mux2_sel",
104 "top_audio_a1sys_hp",
105 "top_audio_a2sys_hp",
136 assigned-clocks = <&topckgen CLK_TOP_AUD_MUX1_SEL>,
137 <&topckgen CLK_TOP_AUD_MUX2_SEL>,
138 <&topckgen CLK_TOP_AUD_MUX1_DIV>,
139 <&topckgen CLK_TOP_AUD_MUX2_DIV>;
140 assigned-clock-parents = <&topckgen CLK_TOP_AUD1PLL_98M>,
141 <&topckgen CLK_TOP_AUD2PLL_90M>;
142 assigned-clock-rates = <0>, <0>, <49152000>, <45158400>;