diff options
author | Anil Kumar <anilk4.v@gmail.com> | 2013-02-04 09:55:07 -0500 |
---|---|---|
committer | Benoit Cousson <benoit.cousson@linaro.org> | 2013-04-08 18:21:12 -0400 |
commit | e82be16b061ce6abece858ad833cf947cec53b78 (patch) | |
tree | 9c7110bdbb2f9aa7b5232882505ac4e8a783356d | |
parent | 4bfe6341d4bfcb68c083b3109b6a4997cd287262 (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>
-rw-r--r-- | arch/arm/boot/dts/omap3-devkit8000.dts | 23 |
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 @@ | |||
42 | }; | 42 | }; |
43 | 43 | ||
44 | }; | 44 | }; |
45 | |||
46 | sound { | ||
47 | compatible = "ti,omap-twl4030"; | ||
48 | ti,model = "devkit8000"; | ||
49 | |||
50 | ti,mcbsp = <&mcbsp2>; | ||
51 | ti,codec = <&twl_audio>; | ||
52 | ti,audio-routing = | ||
53 | "Ext Spk", "PREDRIVEL", | ||
54 | "Ext Spk", "PREDRIVER", | ||
55 | "MAINMIC", "Main Mic", | ||
56 | "Main Mic", "Mic Bias 1"; | ||
57 | }; | ||
45 | }; | 58 | }; |
46 | 59 | ||
47 | &i2c1 { | 60 | &i2c1 { |
@@ -50,6 +63,12 @@ | |||
50 | twl: twl@48 { | 63 | twl: twl@48 { |
51 | reg = <0x48>; | 64 | reg = <0x48>; |
52 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ | 65 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ |
66 | |||
67 | twl_audio: audio { | ||
68 | compatible = "ti,twl4030-audio"; | ||
69 | codec { | ||
70 | }; | ||
71 | }; | ||
53 | }; | 72 | }; |
54 | }; | 73 | }; |
55 | 74 | ||
@@ -85,10 +104,6 @@ | |||
85 | status = "disabled"; | 104 | status = "disabled"; |
86 | }; | 105 | }; |
87 | 106 | ||
88 | &mcbsp2 { | ||
89 | status = "disabled"; | ||
90 | }; | ||
91 | |||
92 | &mcbsp3 { | 107 | &mcbsp3 { |
93 | status = "disabled"; | 108 | status = "disabled"; |
94 | }; | 109 | }; |