xref: /freebsd/sys/contrib/device-tree/Bindings/sound/mt2701-wm8960.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotMT2701 with WM8960 CODEC
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: "mediatek,mt2701-wm8960-machine"
5*c66ec88fSEmmanuel Vadot- mediatek,platform: the phandle of MT2701 ASoC platform
6*c66ec88fSEmmanuel Vadot- audio-routing: a list of the connections between audio
7*c66ec88fSEmmanuel Vadot- mediatek,audio-codec: the phandles of wm8960 codec
8*c66ec88fSEmmanuel Vadot- pinctrl-names: Should contain only one value - "default"
9*c66ec88fSEmmanuel Vadot- pinctrl-0: Should specify pin control groups used for this controller.
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotExample:
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadot	sound:sound {
14*c66ec88fSEmmanuel Vadot		compatible = "mediatek,mt2701-wm8960-machine";
15*c66ec88fSEmmanuel Vadot		mediatek,platform = <&afe>;
16*c66ec88fSEmmanuel Vadot		audio-routing =
17*c66ec88fSEmmanuel Vadot			"Headphone", "HP_L",
18*c66ec88fSEmmanuel Vadot			"Headphone", "HP_R",
19*c66ec88fSEmmanuel Vadot			"LINPUT1", "AMIC",
20*c66ec88fSEmmanuel Vadot			"RINPUT1", "AMIC";
21*c66ec88fSEmmanuel Vadot		mediatek,audio-codec = <&wm8960>;
22*c66ec88fSEmmanuel Vadot		pinctrl-names = "default";
23*c66ec88fSEmmanuel Vadot		pinctrl-0 = <&aud_pins_default>;
24*c66ec88fSEmmanuel Vadot	};
25