ARM: dts: omap3-n900: Add sound support
authorSebastian Reichel <sre@kernel.org>
Mon, 28 Apr 2014 14:07:27 +0000 (16:07 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 6 May 2014 17:19:49 +0000 (10:19 -0700)
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>
arch/arm/boot/dts/omap3-n900.dts

index 0a14a6baadddd38c35ca8feecc82c3f64a4ba588..a8292de8f22b92672774d6d8d3b7f8c85e9c4a38 100644 (file)
                        };
                };
        };
+
+       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 {
                };
        };
 };
+
+&mcbsp2 {
+       status = "ok";
+};