diff options
author | Sebastian Reichel <sre@kernel.org> | 2014-04-28 16:07:27 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-05-06 10:19:49 -0700 |
commit | f7d0f2a08567222205a8b5449b5eac90b94f8b27 (patch) | |
tree | 67cd1a49d918add57670ac80e00d4939fedb1145 /arch/arm/boot/dts | |
parent | b36c8ac9a9016dcf047a48c3072e12247a75e36a (diff) | |
download | op-kernel-dev-f7d0f2a08567222205a8b5449b5eac90b94f8b27.zip op-kernel-dev-f7d0f2a08567222205a8b5449b5eac90b94f8b27.tar.gz |
ARM: dts: omap3-n900: Add sound support
This patch adds support for the Nokia N900's sound
system.
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Reviewed-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/omap3-n900.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 0a14a6b..a8292de 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -90,6 +90,19 @@ }; }; }; + + sound: n900-audio { + compatible = "nokia,n900-audio"; + + nokia,cpu-dai = <&mcbsp2>; + nokia,audio-codec = <&tlv320aic3x>, <&tlv320aic3x_aux>; + nokia,headphone-amplifier = <&tpa6130a2>; + + tvout-selection-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>; /* 40 */ + jack-detection-gpios = <&gpio6 17 GPIO_ACTIVE_HIGH>; /* 177 */ + eci-switch-gpios = <&gpio6 22 GPIO_ACTIVE_HIGH>; /* 182 */ + speaker-amplifier-gpios = <&twl_gpio 7 GPIO_ACTIVE_HIGH>; + }; }; &omap3_pmx_core { @@ -702,3 +715,7 @@ }; }; }; + +&mcbsp2 { + status = "ok"; +}; |