xref: /freebsd/sys/contrib/device-tree/Bindings/sound/atmel-sam9x5-wm8731-audio.txt (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1* Atmel at91sam9x5ek wm8731 audio complex
2
3Required properties:
4  - compatible: "atmel,sam9x5-wm8731-audio"
5  - atmel,model: The user-visible name of this sound complex.
6  - atmel,ssc-controller: The phandle of the SSC controller
7  - atmel,audio-codec: The phandle of the WM8731 audio codec
8  - atmel,audio-routing: A list of the connections between audio components.
9    Each entry is a pair of strings, the first being the connection's sink,
10    the second being the connection's source.
11
12Available audio endpoints for the audio-routing table:
13
14Board connectors:
15 * Headphone Jack
16 * Line In Jack
17
18wm8731 pins:
19cf Documentation/devicetree/bindings/sound/wlf,wm8731.yaml
20
21Example:
22sound {
23	compatible = "atmel,sam9x5-wm8731-audio";
24
25	atmel,model = "wm8731 @ AT91SAM9X5EK";
26
27	atmel,audio-routing =
28		"Headphone Jack", "RHPOUT",
29		"Headphone Jack", "LHPOUT",
30		"LLINEIN", "Line In Jack",
31		"RLINEIN", "Line In Jack";
32
33	atmel,ssc-controller = <&ssc0>;
34	atmel,audio-codec = <&wm8731>;
35};
36