1c448303eSShawn GuoFreescale i.MX audio complex with SGTL5000 codec 2c448303eSShawn Guo 3c448303eSShawn GuoRequired properties: 4*afa1fde6SNicolin Chen 5c448303eSShawn Guo - compatible : "fsl,imx-audio-sgtl5000" 6*afa1fde6SNicolin Chen 7c448303eSShawn Guo - model : The user-visible name of this sound complex 8*afa1fde6SNicolin Chen 9c448303eSShawn Guo - ssi-controller : The phandle of the i.MX SSI controller 10*afa1fde6SNicolin Chen 11c448303eSShawn Guo - audio-codec : The phandle of the SGTL5000 audio codec 12*afa1fde6SNicolin Chen 13172b4c5cSShawn Guo - audio-routing : A list of the connections between audio components. 14*afa1fde6SNicolin Chen Each entry is a pair of strings, the first being the 15*afa1fde6SNicolin Chen connection's sink, the second being the connection's 16*afa1fde6SNicolin Chen source. Valid names could be power supplies, SGTL5000 17*afa1fde6SNicolin Chen pins, and the jacks on the board: 18172b4c5cSShawn Guo 19172b4c5cSShawn Guo Power supplies: 20172b4c5cSShawn Guo * Mic Bias 21172b4c5cSShawn Guo 22172b4c5cSShawn Guo SGTL5000 pins: 23172b4c5cSShawn Guo * MIC_IN 24172b4c5cSShawn Guo * LINE_IN 25172b4c5cSShawn Guo * HP_OUT 26172b4c5cSShawn Guo * LINE_OUT 27172b4c5cSShawn Guo 28172b4c5cSShawn Guo Board connectors: 29172b4c5cSShawn Guo * Mic Jack 30172b4c5cSShawn Guo * Line In Jack 31172b4c5cSShawn Guo * Headphone Jack 32172b4c5cSShawn Guo * Line Out Jack 33172b4c5cSShawn Guo * Ext Spk 34172b4c5cSShawn Guo 35c448303eSShawn Guo - mux-int-port : The internal port of the i.MX audio muxer (AUDMUX) 36*afa1fde6SNicolin Chen 37c448303eSShawn Guo - mux-ext-port : The external port of the i.MX audio muxer 38c448303eSShawn Guo 39c448303eSShawn GuoNote: The AUDMUX port numbering should start at 1, which is consistent with 40c448303eSShawn Guohardware manual. 41c448303eSShawn Guo 42c448303eSShawn GuoExample: 43c448303eSShawn Guo 44c448303eSShawn Guosound { 45c448303eSShawn Guo compatible = "fsl,imx51-babbage-sgtl5000", 46c448303eSShawn Guo "fsl,imx-audio-sgtl5000"; 47c448303eSShawn Guo model = "imx51-babbage-sgtl5000"; 48c448303eSShawn Guo ssi-controller = <&ssi1>; 49c448303eSShawn Guo audio-codec = <&sgtl5000>; 50172b4c5cSShawn Guo audio-routing = 51065899c9SShawn Guo "MIC_IN", "Mic Jack", 52172b4c5cSShawn Guo "Mic Jack", "Mic Bias", 53172b4c5cSShawn Guo "Headphone Jack", "HP_OUT"; 54c448303eSShawn Guo mux-int-port = <1>; 55c448303eSShawn Guo mux-ext-port = <3>; 56c448303eSShawn Guo}; 57