]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: DTS: omap5-uevm: Add node for twl6040 audio codec
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 10 Jul 2014 11:24:02 +0000 (14:24 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 15 Jul 2014 07:21:25 +0000 (00:21 -0700)
The board uses twl6040 as audio codec. Move the corresponding  pinctrl as
well under the node.
twl6040 needs 32k clock from palams.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap5-uevm.dts

index 9166d479ac1b9caa443292955b98b96494ca0496..c9286166fad5a9a05a5ca286fc4aade37ca4c1f6 100644 (file)
 &omap5_pmx_core {
        pinctrl-names = "default";
        pinctrl-0 = <
-                       &twl6040_pins
                        &mcpdm_pins
                        &mcbsp1_pins
                        &mcbsp2_pins
                        };
                };
        };
+
+       twl6040: twl@4b {
+               compatible = "ti,twl6040";
+               reg = <0x4b>;
+
+               pinctrl-names = "default";
+               pinctrl-0 = <&twl6040_pins>;
+
+               interrupts = <GIC_SPI 119 IRQ_TYPE_NONE>; /* IRQ_SYS_2N cascaded to gic */
+               interrupt-parent = <&gic>;
+               ti,audpwron-gpio = <&gpio5 13 0>;  /* gpio line 141 */
+
+               vio-supply = <&smps7_reg>;
+               v2v1-supply = <&smps9_reg>;
+               enable-active-high;
+
+               clocks = <&clk32kgaudio>;
+               clock-names = "clk32k";
+       };
 };
 
 &i2c5 {