ARM: dts: am335x-evm: Add sleep pin settings for mcasp1
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 2 Jul 2015 14:06:34 +0000 (17:06 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 14 Jul 2015 11:28:14 +0000 (04:28 -0700)
When McASP is not in use the pins can be put to sleep mode to conserve
power.

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

index 4db03859105aceddb7459c193e3657eac1a34a8f..d4783e0a96f2817735b5e1b0761395e988e175b6 100644 (file)
                >;
        };
 
+       mcasp1_pins_sleep: mcasp1_pins_sleep {
+               pinctrl-single,pins = <
+                       0x10c (PIN_INPUT_PULLDOWN | MUX_MODE7)
+                       0x110 (PIN_INPUT_PULLDOWN | MUX_MODE7)
+                       0x108 (PIN_INPUT_PULLDOWN | MUX_MODE7)
+                       0x144 (PIN_INPUT_PULLDOWN | MUX_MODE7)
+               >;
+       };
+
        dcan1_pins_default: dcan1_pins_default {
                pinctrl-single,pins = <
                        0x168 (PIN_OUTPUT | MUX_MODE2) /* uart0_ctsn.d_can1_tx */
 #include "tps65910.dtsi"
 
 &mcasp1 {
-       pinctrl-names = "default";
+       pinctrl-names = "default", "sleep";
        pinctrl-0 = <&mcasp1_pins>;
+       pinctrl-1 = <&mcasp1_pins_sleep>;
 
        status = "okay";