From: "H. Nikolaus Schaller" <hns@goldelico.com> To: "Benoît Cousson" <bcousson@baylibre.com>, "Tony Lindgren" <tony@atomide.com>, "Rob Herring" <robh+dt@kernel.org>, "Mark Rutland" <mark.rutland@arm.com>, "Russell King" <linux@armlinux.org.uk> Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org, "H. Nikolaus Schaller" <hns@goldelico.com> Subject: [PATCH 3/3] DT: EVM: add USR1 button Date: Tue, 27 Sep 2016 07:26:10 +0200 [thread overview] Message-ID: <6e5f0bf10b39e9a9ae640d958e4ceb04e1cb86f0.1474953969.git.hns@goldelico.com> (raw) In-Reply-To: <cover.1474953969.git.hns@goldelico.com> In-Reply-To: <cover.1474953969.git.hns@goldelico.com> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com> --- arch/arm/boot/dts/omap5-uevm.dts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts index 19f5f0a..1b919f5 100644 --- a/arch/arm/boot/dts/omap5-uevm.dts +++ b/arch/arm/boot/dts/omap5-uevm.dts @@ -18,6 +18,25 @@ reg = <0x80000000 0x7F000000>; /* 2032 MB */ }; + evm_keys { + compatible = "gpio-keys"; + + pinctrl-names = "default"; + pinctrl-0 = <&evm_keys_pins>; + + #address-cells = <7>; + #size-cells = <0>; + + btn1 { + label = "BTN1"; + linux,code = <169>; + gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; /* gpio3_83 */ + gpio-key,wakeup; + autorepeat; + debounce_interval = <50>; + }; + }; + evm_leds { compatible = "gpio-leds"; @@ -105,6 +124,12 @@ }; &omap5_pmx_core { + evm_keys_pins: pinmux_evm_keys_gpio_pins { + pinctrl-single,pins = < + OMAP5_IOPAD(0x0b6, PIN_INPUT | MUX_MODE6) /* gpio3_83 */ + >; + }; + i2c5_pins: pinmux_i2c5_pins { pinctrl-single,pins = < OMAP5_IOPAD(0x1c6, PIN_INPUT | MUX_MODE0) /* i2c5_scl */ -- 2.7.3
WARNING: multiple messages have this Message-ID (diff)
From: "H. Nikolaus Schaller" <hns-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org> To: "Benoît Cousson" <bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>, "Tony Lindgren" <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>, "Rob Herring" <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>, "Mark Rutland" <mark.rutland-5wv7dgnIgG8@public.gmane.org>, "Russell King" <linux-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org> Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, letux-kernel-S0jZdbWzriLCfDggNXIi3w@public.gmane.org, "H. Nikolaus Schaller" <hns-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org> Subject: [PATCH 3/3] DT: EVM: add USR1 button Date: Tue, 27 Sep 2016 07:26:10 +0200 [thread overview] Message-ID: <6e5f0bf10b39e9a9ae640d958e4ceb04e1cb86f0.1474953969.git.hns@goldelico.com> (raw) In-Reply-To: <cover.1474953969.git.hns-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org> In-Reply-To: <cover.1474953969.git.hns-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org> Signed-off-by: H. Nikolaus Schaller <hns-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org> --- arch/arm/boot/dts/omap5-uevm.dts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts index 19f5f0a..1b919f5 100644 --- a/arch/arm/boot/dts/omap5-uevm.dts +++ b/arch/arm/boot/dts/omap5-uevm.dts @@ -18,6 +18,25 @@ reg = <0x80000000 0x7F000000>; /* 2032 MB */ }; + evm_keys { + compatible = "gpio-keys"; + + pinctrl-names = "default"; + pinctrl-0 = <&evm_keys_pins>; + + #address-cells = <7>; + #size-cells = <0>; + + btn1 { + label = "BTN1"; + linux,code = <169>; + gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; /* gpio3_83 */ + gpio-key,wakeup; + autorepeat; + debounce_interval = <50>; + }; + }; + evm_leds { compatible = "gpio-leds"; @@ -105,6 +124,12 @@ }; &omap5_pmx_core { + evm_keys_pins: pinmux_evm_keys_gpio_pins { + pinctrl-single,pins = < + OMAP5_IOPAD(0x0b6, PIN_INPUT | MUX_MODE6) /* gpio3_83 */ + >; + }; + i2c5_pins: pinmux_i2c5_pins { pinctrl-single,pins = < OMAP5_IOPAD(0x1c6, PIN_INPUT | MUX_MODE0) /* i2c5_scl */ -- 2.7.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-09-27 5:26 UTC|newest] Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-09-27 5:26 [PATCH 0/3] ARM: dts: omap5 uevm: add LEDs, USR1 button and EEPROM H. Nikolaus Schaller 2016-09-27 5:26 ` H. Nikolaus Schaller 2016-09-27 5:26 ` [PATCH 1/3] DT: EVM: add EEPROM H. Nikolaus Schaller 2016-09-27 5:26 ` [PATCH 2/3] DT: EVM: add LEDs H. Nikolaus Schaller 2016-09-27 5:26 ` H. Nikolaus Schaller 2016-09-27 19:49 ` Tony Lindgren 2016-09-27 19:49 ` Tony Lindgren 2016-09-27 20:10 ` H. Nikolaus Schaller 2016-09-27 20:10 ` H. Nikolaus Schaller 2016-09-28 3:37 ` Tony Lindgren 2016-09-28 6:49 ` H. Nikolaus Schaller 2016-09-28 15:12 ` Tony Lindgren 2016-09-28 15:12 ` Tony Lindgren 2016-09-28 15:28 ` H. Nikolaus Schaller 2016-09-28 16:12 ` Tony Lindgren 2016-09-28 16:12 ` Tony Lindgren 2016-09-29 5:14 ` Rob Herring 2016-09-29 5:14 ` Rob Herring 2016-09-29 5:18 ` H. Nikolaus Schaller 2016-09-29 5:20 ` H. Nikolaus Schaller 2016-09-29 5:20 ` H. Nikolaus Schaller 2016-09-27 5:26 ` H. Nikolaus Schaller [this message] 2016-09-27 5:26 ` [PATCH 3/3] DT: EVM: add USR1 button H. Nikolaus Schaller
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=6e5f0bf10b39e9a9ae640d958e4ceb04e1cb86f0.1474953969.git.hns@goldelico.com \ --to=hns@goldelico.com \ --cc=bcousson@baylibre.com \ --cc=devicetree@vger.kernel.org \ --cc=letux-kernel@openphoenux.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-omap@vger.kernel.org \ --cc=linux@armlinux.org.uk \ --cc=mark.rutland@arm.com \ --cc=robh+dt@kernel.org \ --cc=tony@atomide.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.