]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: am43xx-epos-evm: Add sleep pinmux for ecap0
authorAndrew F. Davis <afd@ti.com>
Fri, 29 Sep 2017 16:44:22 +0000 (11:44 -0500)
committerTony Lindgren <tony@atomide.com>
Mon, 2 Oct 2017 19:56:45 +0000 (12:56 -0700)
Add sleep pinmux for ecap0.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am43x-epos-evm.dts

index 2b9ea3810fcc5ebd98bb2f88a76a5b548f313c9c..8f9c901b0ccdfbf149ad1896cd53d2cb86e3c0a5 100644 (file)
@@ -219,12 +219,18 @@ AM4372_IOPAD(0x89c, PIN_OUTPUT | MUX_MODE0)               /* gpmc_be0n_cle.gpmc_be0n_cle */
                        >;
                };
 
-               ecap0_pins: backlight_pins {
+               ecap0_pins_default: backlight_pins_default {
                        pinctrl-single,pins = <
                                AM4372_IOPAD(0x964, MUX_MODE0)         /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */
                        >;
                };
 
+               ecap0_pins_sleep: backlight_pins_sleep {
+                       pinctrl-single,pins = <
+                               AM4372_IOPAD(0x964, DS0_PIN_OUTPUT_PULLUP | MUX_MODE7)
+                       >;
+               };
+
                i2c2_pins: pinmux_i2c2_pins {
                        pinctrl-single,pins = <
                                AM4372_IOPAD(0x9c0, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE8)    /* i2c2_sda.i2c2_sda */
@@ -680,8 +686,9 @@ adc {
 
 &ecap0 {
                status = "okay";
-               pinctrl-names = "default";
-               pinctrl-0 = <&ecap0_pins>;
+               pinctrl-names = "default", "sleep";
+               pinctrl-0 = <&ecap0_pins_default>;
+               pinctrl-1 = <&ecap0_pins_sleep>;
 };
 
 &spi0 {