ARM: dts: gta04: add pinctrl settings for wkup domain
authorAndreas Kemnade <andreas@kemnade.info>
Thu, 31 Jan 2019 06:23:38 +0000 (07:23 +0100)
committerTony Lindgren <tony@atomide.com>
Thu, 7 Feb 2019 17:27:47 +0000 (09:27 -0800)
There is one button and a notifier for incoming phone
calls/text messages for which we should wakeup from
suspend.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-gta04.dtsi

index e53d326..2dfa85e 100644 (file)
        };
 };
 
+&omap3_pmx_wkup {
+       gpio1_pins: pinmux_gpio1_pins {
+               pinctrl-single,pins = <
+                       OMAP3_WKUP_IOPAD(0x2a14, PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE4) /* sys_boot5.gpio_7 */
+                       OMAP3_WKUP_IOPAD(0x2a1a, PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE4) /* sys_clkout.gpio_10 */
+               >;
+       };
+};
+
 &omap3_pmx_core {
        pinctrl-names = "default";
        pinctrl-0 = <
        status = "disabled";
 };
 
+&gpio1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&gpio1_pins>;
+};
+
 &uart1 {
        pinctrl-names = "default";
        pinctrl-0 = <&uart1_pins>;