ARM: dts: omap3-n900: Add TLV320AIC3X support
authorSebastian Reichel <sre@debian.org>
Tue, 22 Oct 2013 22:49:41 +0000 (00:49 +0200)
committerBenoit Cousson <bcousson@baylibre.com>
Wed, 23 Oct 2013 08:14:43 +0000 (10:14 +0200)
This patch adds support for Nokia N900 TLV320AIC3X chips.

Signed-off-by: Sebastian Reichel <sre@debian.org>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
arch/arm/boot/dts/omap3-n900.dts

index 5afbd2872e2fdfcf5bd1dc3956159e1eade8c331..98797e521c5875be5dc59dc230557ceb076635e6 100644 (file)
 
        clock-frequency = <100000>;
 
+       tlv320aic3x: tlv320aic3x@18 {
+               compatible = "ti,tlv320aic3x";
+               reg = <0x18>;
+               gpio-reset = <&gpio2 28 GPIO_ACTIVE_HIGH>; /* 60 */
+               ai3x-gpio-func = <
+                       0 /* AIC3X_GPIO1_FUNC_DISABLED */
+                       5 /* AIC3X_GPIO2_FUNC_DIGITAL_MIC_INPUT */
+               >;
+
+               AVDD-supply = <&vmmc2>;
+               DRVDD-supply = <&vmmc2>;
+               IOVDD-supply = <&vio>;
+               DVDD-supply = <&vio>;
+       };
+
+       tlv320aic3x_aux: tlv320aic3x@19 {
+               compatible = "ti,tlv320aic3x";
+               reg = <0x19>;
+               gpio-reset = <&gpio2 28 GPIO_ACTIVE_HIGH>; /* 60 */
+
+               AVDD-supply = <&vmmc2>;
+               DRVDD-supply = <&vmmc2>;
+               IOVDD-supply = <&vio>;
+               DVDD-supply = <&vio>;
+       };
+
        bq27200: bq27200@55 {
                compatible = "ti,bq27200";
                reg = <0x55>;