1*c66ec88fSEmmanuel VadotAtmel ASoC driver with wm8904 audio codec complex 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot - compatible: "atmel,asoc-wm8904" 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 Each entry is a pair of strings, the first being the connection's sink, 8*c66ec88fSEmmanuel Vadot the second being the connection's source. Valid names for sources and 9*c66ec88fSEmmanuel Vadot sinks are the WM8904's pins, and the jacks on the board: 10*c66ec88fSEmmanuel Vadot 11*c66ec88fSEmmanuel Vadot WM8904 pins: 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel Vadot * IN1L 14*c66ec88fSEmmanuel Vadot * IN1R 15*c66ec88fSEmmanuel Vadot * IN2L 16*c66ec88fSEmmanuel Vadot * IN2R 17*c66ec88fSEmmanuel Vadot * IN3L 18*c66ec88fSEmmanuel Vadot * IN3R 19*c66ec88fSEmmanuel Vadot * HPOUTL 20*c66ec88fSEmmanuel Vadot * HPOUTR 21*c66ec88fSEmmanuel Vadot * LINEOUTL 22*c66ec88fSEmmanuel Vadot * LINEOUTR 23*c66ec88fSEmmanuel Vadot * MICBIAS 24*c66ec88fSEmmanuel Vadot 25*c66ec88fSEmmanuel Vadot Board connectors: 26*c66ec88fSEmmanuel Vadot 27*c66ec88fSEmmanuel Vadot * Headphone Jack 28*c66ec88fSEmmanuel Vadot * Line In Jack 29*c66ec88fSEmmanuel Vadot * Mic 30*c66ec88fSEmmanuel Vadot 31*c66ec88fSEmmanuel Vadot - atmel,ssc-controller: The phandle of the SSC controller 32*c66ec88fSEmmanuel Vadot - atmel,audio-codec: The phandle of the WM8904 audio codec 33*c66ec88fSEmmanuel Vadot 34*c66ec88fSEmmanuel VadotOptional properties: 35*c66ec88fSEmmanuel Vadot - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt 36*c66ec88fSEmmanuel Vadot 37*c66ec88fSEmmanuel VadotExample: 38*c66ec88fSEmmanuel Vadotsound { 39*c66ec88fSEmmanuel Vadot compatible = "atmel,asoc-wm8904"; 40*c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 41*c66ec88fSEmmanuel Vadot pinctrl-0 = <&pinctrl_pck0_as_mck>; 42*c66ec88fSEmmanuel Vadot 43*c66ec88fSEmmanuel Vadot atmel,model = "wm8904 @ AT91SAM9N12EK"; 44*c66ec88fSEmmanuel Vadot 45*c66ec88fSEmmanuel Vadot atmel,audio-routing = 46*c66ec88fSEmmanuel Vadot "Headphone Jack", "HPOUTL", 47*c66ec88fSEmmanuel Vadot "Headphone Jack", "HPOUTR", 48*c66ec88fSEmmanuel Vadot "IN2L", "Line In Jack", 49*c66ec88fSEmmanuel Vadot "IN2R", "Line In Jack", 50*c66ec88fSEmmanuel Vadot "Mic", "MICBIAS", 51*c66ec88fSEmmanuel Vadot "IN1L", "Mic"; 52*c66ec88fSEmmanuel Vadot 53*c66ec88fSEmmanuel Vadot atmel,ssc-controller = <&ssc0>; 54*c66ec88fSEmmanuel Vadot atmel,audio-codec = <&wm8904>; 55*c66ec88fSEmmanuel Vadot}; 56