xref: /freebsd/sys/contrib/device-tree/Bindings/sound/atmel-sam9x5-wm8731-audio.txt (revision c7a063741720ef81d4caa4613242579d12f1d605)
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