summaryrefslogtreecommitdiff
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorAnil Kumar <anilk4.v@gmail.com>2013-02-04 20:25:07 +0530
committerBenoit Cousson <benoit.cousson@linaro.org>2013-04-09 00:21:12 +0200
commite82be16b061ce6abece858ad833cf947cec53b78 (patch)
tree9c7110bdbb2f9aa7b5232882505ac4e8a783356d /arch/arm/boot
parent4bfe6341d4bfcb68c083b3109b6a4997cd287262 (diff)
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 <anilk4.v@gmail.com> Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/omap3-devkit8000.dts23
1 files changed, 19 insertions, 4 deletions
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";
};