diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2012-06-08 10:02:04 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-07-09 08:36:16 -0400 |
commit | 6cd3bc398401f533b299e06da80c0e939f9988db (patch) | |
tree | 4dcfaa6b57c627bf487d822bb046886e542527e2 /arch/arm/boot/dts/omap4-panda.dts | |
parent | b15bb2c066dc96291e993dde62ec71f74fd44313 (diff) |
arm/dts: omap4-panda: Audio support for PandaBoard 4430
PandaBoard uses twl6040 connected via McPDM for audio.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap4-panda.dts')
-rw-r--r-- | arch/arm/boot/dts/omap4-panda.dts | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap4-panda.dts b/arch/arm/boot/dts/omap4-panda.dts index 1efe0c587985..f57f5e8d0035 100644 --- a/arch/arm/boot/dts/omap4-panda.dts +++ b/arch/arm/boot/dts/omap4-panda.dts | |||
@@ -32,6 +32,30 @@ | |||
32 | linux,default-trigger = "mmc0"; | 32 | linux,default-trigger = "mmc0"; |
33 | }; | 33 | }; |
34 | }; | 34 | }; |
35 | |||
36 | sound: sound { | ||
37 | compatible = "ti,abe-twl6040"; | ||
38 | ti,model = "PandaBoard"; | ||
39 | |||
40 | ti,mclk-freq = <38400000>; | ||
41 | |||
42 | ti,mcpdm = <&mcpdm>; | ||
43 | |||
44 | ti,twl6040 = <&twl6040>; | ||
45 | |||
46 | /* Audio routing */ | ||
47 | ti,audio-routing = | ||
48 | "Headset Stereophone", "HSOL", | ||
49 | "Headset Stereophone", "HSOR", | ||
50 | "Ext Spk", "HFL", | ||
51 | "Ext Spk", "HFR", | ||
52 | "Line Out", "AUXL", | ||
53 | "Line Out", "AUXR", | ||
54 | "HSMIC", "Headset Mic", | ||
55 | "Headset Mic", "Headset Mic Bias", | ||
56 | "AFML", "Line In", | ||
57 | "AFMR", "Line In"; | ||
58 | }; | ||
35 | }; | 59 | }; |
36 | 60 | ||
37 | &i2c1 { | 61 | &i2c1 { |
@@ -43,6 +67,19 @@ | |||
43 | interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */ | 67 | interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */ |
44 | interrupt-parent = <&gic>; | 68 | interrupt-parent = <&gic>; |
45 | }; | 69 | }; |
70 | |||
71 | twl6040: twl@4b { | ||
72 | compatible = "ti,twl6040"; | ||
73 | reg = <0x4b>; | ||
74 | /* SPI = 0, IRQ# = 119, 4 = active high level-sensitive */ | ||
75 | interrupts = <0 119 4>; /* IRQ_SYS_2N cascaded to gic */ | ||
76 | interrupt-parent = <&gic>; | ||
77 | ti,audpwron-gpio = <&gpio4 31 0>; /* gpio line 127 */ | ||
78 | |||
79 | vio-supply = <&v1v8>; | ||
80 | v2v1-supply = <&v2v1>; | ||
81 | enable-active-high; | ||
82 | }; | ||
46 | }; | 83 | }; |
47 | 84 | ||
48 | /include/ "twl6030.dtsi" | 85 | /include/ "twl6030.dtsi" |