From: Anil Kumar Date: Mon, 4 Feb 2013 14:55:07 +0000 (+0530) Subject: ARM: dts: omap3-devkit8000: Enable audio support X-Git-Tag: next-20130422~16^2~14^2~3^2~1^2~29 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e82be16b061ce6abece858ad833cf947cec53b78;p=karo-tx-linux.git ARM: dts: omap3-devkit8000: Enable audio support Add the needed sections to enable audio support on Devkit8000 when booted with DT blob. Signed-off-by: Anil Kumar Signed-off-by: Benoit Cousson --- diff --git a/arch/arm/boot/dts/omap3-devkit8000.dts b/arch/arm/boot/dts/omap3-devkit8000.dts index d6cff341b679..b4faddcb95d8 100644 --- a/arch/arm/boot/dts/omap3-devkit8000.dts +++ b/arch/arm/boot/dts/omap3-devkit8000.dts @@ -42,6 +42,19 @@ }; }; + + sound { + compatible = "ti,omap-twl4030"; + ti,model = "devkit8000"; + + ti,mcbsp = <&mcbsp2>; + ti,codec = <&twl_audio>; + ti,audio-routing = + "Ext Spk", "PREDRIVEL", + "Ext Spk", "PREDRIVER", + "MAINMIC", "Main Mic", + "Main Mic", "Mic Bias 1"; + }; }; &i2c1 { @@ -50,6 +63,12 @@ twl: twl@48 { reg = <0x48>; interrupts = <7>; /* SYS_NIRQ cascaded to intc */ + + twl_audio: audio { + compatible = "ti,twl4030-audio"; + codec { + }; + }; }; }; @@ -85,10 +104,6 @@ status = "disabled"; }; -&mcbsp2 { - status = "disabled"; -}; - &mcbsp3 { status = "disabled"; };