ARM: dts: omap3-devkit8000: Enable audio support
authorAnil Kumar <anilk4.v@gmail.com>
Mon, 4 Feb 2013 14:55:07 +0000 (20:25 +0530)
committerBenoit Cousson <benoit.cousson@linaro.org>
Mon, 8 Apr 2013 22:21:12 +0000 (00:21 +0200)
Add the needed sections to enable audio support on
Devkit8000 when booted with DT blob.

Signed-off-by: Anil Kumar <anilk4.v@gmail.com>
Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
arch/arm/boot/dts/omap3-devkit8000.dts

index d6cff341b679db2c8ec51bfe8273e2c952f9810f..b4faddcb95d873a052bbf179239decc433accc23 100644 (file)
                 };
 
        };
+
+       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 {
        twl: twl@48 {
                reg = <0x48>;
                interrupts = <7>;       /* SYS_NIRQ cascaded to intc */
+
+               twl_audio: audio {
+                       compatible = "ti,twl4030-audio";
+                       codec {
+                       };
+               };
        };
 };
 
        status = "disabled";
 };
 
-&mcbsp2 {
-       status = "disabled";
-};
-
 &mcbsp3 {
        status = "disabled";
 };