ARM: dts: omap4-sdp: Move audio related pinmux to respective nodes
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 24 Jan 2014 08:19:00 +0000 (10:19 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 28 Feb 2014 23:02:43 +0000 (15:02 -0800)
Attach the pinctrl nodes to their respective device node:
mcbsp1, mcbsp2, dmic, mcpdm and twl6040.

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

index dbc81fb6ef033428ce6b02d7287b7efa46ebfa1e..513b017749664f33dbdfb14c011309e460005d0f 100644 (file)
 &omap4_pmx_core {
        pinctrl-names = "default";
        pinctrl-0 = <
-                       &twl6040_pins
-                       &mcpdm_pins
-                       &dmic_pins
-                       &mcbsp1_pins
-                       &mcbsp2_pins
                        &dss_hdmi_pins
                        &tpd12s015_pins
        >;
        twl6040: twl@4b {
                compatible = "ti,twl6040";
                reg = <0x4b>;
+
+               pinctrl-names = "default";
+               pinctrl-0 = <&twl6040_pins>;
+
                /* SPI = 0, IRQ# = 119, 4 = active high level-sensitive */
                interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_2N cascaded to gic */
                interrupt-parent = <&gic>;
        pinctrl-0 = <&uart4_pins>;
 };
 
+&mcbsp1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&mcbsp1_pins>;
+       status = "okay";
+};
+
+&mcbsp2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&mcbsp2_pins>;
+       status = "okay";
+};
+
 &mcbsp3 {
        status = "disabled";
 };
 
+&dmic {
+       pinctrl-names = "default";
+       pinctrl-0 = <&dmic_pins>;
+       status = "okay";
+};
+
+&mcpdm {
+       pinctrl-names = "default";
+       pinctrl-0 = <&mcpdm_pins>;
+       status = "okay";
+};
+
 &twl_usb_comparator {
        usb-supply = <&vusb>;
 };