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