ARM: dts: omap3-devkit8000: Enable audio support
[firefly-linux-kernel-4.4.55.git] / 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";
 };