xref: /freebsd/sys/contrib/device-tree/Bindings/sound/atmel-at91sam9g20ek-wm8731-audio.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Atmel at91sam9g20ek wm8731 audio complex
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot  - compatible: "atmel,at91sam9g20ek-wm8731-audio"
5*c66ec88fSEmmanuel Vadot  - atmel,model: The user-visible name of this sound complex.
6*c66ec88fSEmmanuel Vadot  - atmel,audio-routing: A list of the connections between audio components.
7*c66ec88fSEmmanuel Vadot  - atmel,ssc-controller: The phandle of the SSC controller
8*c66ec88fSEmmanuel Vadot  - atmel,audio-codec: The phandle of the WM8731 audio codec
9*c66ec88fSEmmanuel VadotOptional properties:
10*c66ec88fSEmmanuel Vadot  - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel VadotExample:
13*c66ec88fSEmmanuel Vadotsound {
14*c66ec88fSEmmanuel Vadot	compatible = "atmel,at91sam9g20ek-wm8731-audio";
15*c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
16*c66ec88fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pck0_as_mck>;
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadot	atmel,model = "wm8731 @ AT91SAMG20EK";
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadot	atmel,audio-routing =
21*c66ec88fSEmmanuel Vadot		"Ext Spk", "LHPOUT",
22*c66ec88fSEmmanuel Vadot		"Int MIC", "MICIN";
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel Vadot	atmel,ssc-controller = <&ssc0>;
25*c66ec88fSEmmanuel Vadot	atmel,audio-codec = <&wm8731>;
26*c66ec88fSEmmanuel Vadot};
27