ARM: dts: am437x-gp-evm: Add sleep state for beeper pins
authorKeerthy <j-keerthy@ti.com>
Wed, 7 Nov 2018 05:55:10 +0000 (11:25 +0530)
committerTero Kristo <t-kristo@ti.com>
Wed, 7 Nov 2018 07:51:01 +0000 (09:51 +0200)
Add sleep state for beeper pins. Without this there was a power
increase during the suspend and standby states on V3_3D domain.

Signed-off-by: Keerthy <j-keerthy@ti.com>
arch/arm/boot/dts/am437x-gp-evm.dts

index 03584f1f0b3e62dc7390fb7be60851768067707b..98a0907af26be2edb32e6a1b88b92a722e4c5373 100644 (file)
        beeper: beeper {
                compatible = "gpio-beeper";
                pinctrl-names = "default";
-               pinctrl-0 = <&beeper_pins>;
+               pinctrl-0 = <&beeper_pins_default>;
+               pinctrl-1 = <&beeper_pins_sleep>;
                gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>;
        };
 };
                >;
        };
 
-       beeper_pins: beeper_pins {
+       beeper_pins_default: beeper_pins_default {
                pinctrl-single,pins = <
                        AM4372_IOPAD(0x9e0, PIN_OUTPUT_PULLUP | MUX_MODE7)      /* cam1_field.gpio4_12 */
                >;
        };
 
+       beeper_pins_sleep: beeper_pins_sleep {
+               pinctrl-single,pins = <
+                       AM4372_IOPAD(0x9e0, PIN_INPUT_PULLDOWN | MUX_MODE7)     /* cam1_field.gpio4_12 */
+               >;
+       };
+
        unused_pins: unused_pins {
                pinctrl-single,pins = <
                        AM4372_IOPAD(0x854, PIN_INPUT_PULLDOWN | MUX_MODE7)