18c2ecf20Sopenharmony_ciMT2701 with CS42448 CODEC 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible: "mediatek,mt2701-cs42448-machine" 58c2ecf20Sopenharmony_ci- mediatek,platform: the phandle of MT2701 ASoC platform 68c2ecf20Sopenharmony_ci- audio-routing: a list of the connections between audio 78c2ecf20Sopenharmony_ci- mediatek,audio-codec: the phandles of cs42448 codec 88c2ecf20Sopenharmony_ci- mediatek,audio-codec-bt-mrg the phandles of bt-sco dummy codec 98c2ecf20Sopenharmony_ci- pinctrl-names: Should contain only one value - "default" 108c2ecf20Sopenharmony_ci- pinctrl-0: Should specify pin control groups used for this controller. 118c2ecf20Sopenharmony_ci- i2s1-in-sel-gpio1, i2s1-in-sel-gpio2: Should specify two gpio pins to 128c2ecf20Sopenharmony_ci control I2S1-in mux. 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciExample: 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci sound:sound { 178c2ecf20Sopenharmony_ci compatible = "mediatek,mt2701-cs42448-machine"; 188c2ecf20Sopenharmony_ci mediatek,platform = <&afe>; 198c2ecf20Sopenharmony_ci /* CS42448 Machine name */ 208c2ecf20Sopenharmony_ci audio-routing = 218c2ecf20Sopenharmony_ci "Line Out Jack", "AOUT1L", 228c2ecf20Sopenharmony_ci "Line Out Jack", "AOUT1R", 238c2ecf20Sopenharmony_ci "Line Out Jack", "AOUT2L", 248c2ecf20Sopenharmony_ci "Line Out Jack", "AOUT2R", 258c2ecf20Sopenharmony_ci "Line Out Jack", "AOUT3L", 268c2ecf20Sopenharmony_ci "Line Out Jack", "AOUT3R", 278c2ecf20Sopenharmony_ci "Line Out Jack", "AOUT4L", 288c2ecf20Sopenharmony_ci "Line Out Jack", "AOUT4R", 298c2ecf20Sopenharmony_ci "AIN1L", "AMIC", 308c2ecf20Sopenharmony_ci "AIN1R", "AMIC", 318c2ecf20Sopenharmony_ci "AIN2L", "Tuner In", 328c2ecf20Sopenharmony_ci "AIN2R", "Tuner In", 338c2ecf20Sopenharmony_ci "AIN3L", "Satellite Tuner In", 348c2ecf20Sopenharmony_ci "AIN3R", "Satellite Tuner In", 358c2ecf20Sopenharmony_ci "AIN3L", "AUX In", 368c2ecf20Sopenharmony_ci "AIN3R", "AUX In"; 378c2ecf20Sopenharmony_ci mediatek,audio-codec = <&cs42448>; 388c2ecf20Sopenharmony_ci mediatek,audio-codec-bt-mrg = <&bt_sco_codec>; 398c2ecf20Sopenharmony_ci pinctrl-names = "default"; 408c2ecf20Sopenharmony_ci pinctrl-0 = <&aud_pins_default>; 418c2ecf20Sopenharmony_ci i2s1-in-sel-gpio1 = <&pio 53 0>; 428c2ecf20Sopenharmony_ci i2s1-in-sel-gpio2 = <&pio 54 0>; 438c2ecf20Sopenharmony_ci }; 44