Commit f81902e4 authored by Adam Ford's avatar Adam Ford Committed by Tony Lindgren

ARM: dts: Add audio support for LogicPD Torpedo DM3730 devkit

Use the TWL4030 Codec with mcbsp2 on Torpedo.
Signed-off-by: default avatarAdam Ford <adam.ford@logicpd.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 201c7e33
......@@ -48,6 +48,12 @@ gpio2 {
};
};
sound {
compatible = "ti,omap-twl4030";
ti,model = "omap3logic";
ti,mcbsp = <&mcbsp2>;
};
leds {
compatible = "gpio-leds";
pinctrl-names = "default";
......@@ -67,6 +73,10 @@ led2 {
};
};
&mcbsp2 {
status = "okay";
};
&charger {
ti,bb-uvolt = <3200000>;
ti,bb-uamp = <150>;
......
......@@ -96,6 +96,11 @@ twl: twl@48 {
reg = <0x48>;
interrupts = <7>; /* SYS_NIRQ cascaded to intc */
interrupt-parent = <&intc>;
twl_audio: audio {
compatible = "ti,twl4030-audio";
codec {
};
};
};
};
......@@ -136,6 +141,14 @@ OMAP3_CORE1_IOPAD(0x2184, PIN_INPUT_PULLUP | MUX_MODE4) /* mcbsp4_clkx.gpio_152
OMAP3_CORE1_IOPAD(0x218e, PIN_OUTPUT | MUX_MODE4) /* mcbsp1_fsr.gpio_157 */
>;
};
mcbsp2_pins: pinmux_mcbsp2_pins {
pinctrl-single,pins = <
OMAP3_CORE1_IOPAD(0x213c, PIN_INPUT | MUX_MODE0) /* mcbsp2_fsx */
OMAP3_CORE1_IOPAD(0x213e, PIN_INPUT | MUX_MODE0) /* mcbsp2_clkx */
OMAP3_CORE1_IOPAD(0x2140, PIN_INPUT | MUX_MODE0) /* mcbsp2_dr */
OMAP3_CORE1_IOPAD(0x2142, PIN_OUTPUT | MUX_MODE0) /* mcbsp2_dx */
>;
};
};
&omap3_pmx_core2 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment