arm: dts: gta04: add pinctrl settings for wkup domain
diff mbox series

Message ID 20190131062338.27547-1-andreas@kemnade.info
State New
Headers show
Series
  • arm: dts: gta04: add pinctrl settings for wkup domain
Related show

Commit Message

Andreas Kemnade Jan. 31, 2019, 6:23 a.m. UTC
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>
---
 arch/arm/boot/dts/omap3-gta04.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Comments

Tony Lindgren Feb. 7, 2019, 5:29 p.m. UTC | #1
* Andreas Kemnade <andreas@kemnade.info> [190130 22:24]:
> There is one button and a notifier for incoming phone
> calls/text messages for which we should wakeup from
> suspend.

Applying into omap-for-v5.1/dt thanks.

Tony

Patch
diff mbox series

diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index d58c117e429f..6f11bf3ee4ed 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -224,6 +224,15 @@ 
 	};
 };
 
+&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 = <
@@ -642,6 +651,11 @@ 
 	status = "disabled";
 };
 
+&gpio1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&gpio1_pins>;
+};
+
 &uart1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart1_pins>;