1 NVIDIA Tegra audio complex
4 - compatible : "nvidia,tegra-audio-wm8903"
5 - clocks : Must contain an entry for each entry in clock-names.
6 - clock-names : Must include the following entries:
7 "pll_a" (The Tegra clock of that name),
8 "pll_a_out0" (The Tegra clock of that name),
9 "mclk" (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
10 - nvidia,model : The user-visible name of this sound complex.
11 - nvidia,audio-routing : A list of the connections between audio components.
12 Each entry is a pair of strings, the first being the connection's sink,
13 the second being the connection's source. Valid names for sources and
14 sinks are the WM8903's pins, and the jacks on the board:
41 - nvidia,i2s-controller : The phandle of the Tegra I2S1 controller
42 - nvidia,audio-codec : The phandle of the WM8903 audio codec
45 - nvidia,spkr-en-gpios : The GPIO that enables the speakers
46 - nvidia,hp-mute-gpios : The GPIO that mutes the headphones
47 - nvidia,hp-det-gpios : The GPIO that detect headphones are plugged in
48 - nvidia,int-mic-en-gpios : The GPIO that enables the internal microphone
49 - nvidia,ext-mic-en-gpios : The GPIO that enables the external microphone
54 compatible = "nvidia,tegra-audio-wm8903-harmony",
55 "nvidia,tegra-audio-wm8903"
56 nvidia,model = "tegra-wm8903-harmony";
58 nvidia,audio-routing =
59 "Headphone Jack", "HPOUTR",
60 "Headphone Jack", "HPOUTL",
65 "Mic Jack", "MICBIAS",
68 nvidia,i2s-controller = <&i2s1>;
69 nvidia,audio-codec = <&wm8903>;
71 nvidia,spkr-en-gpios = <&codec 2 0>;
72 nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */
73 nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */
74 nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */
76 clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 93>;
77 clock-names = "pll_a", "pll_a_out0", "mclk";