From: Tushar Behera <tushar.behera@linaro.org>
To: linux-samsung-soc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org
Cc: kgene.kim@samsung.com, patches@linaro.org
Subject: [PATCH V3 3/7] ARM: dts: Add gpio-button entries for Arndale board
Date: Tue, 2 Apr 2013 13:45:03 +0530 [thread overview]
Message-ID: <1364890507-19261-4-git-send-email-tushar.behera@linaro.org> (raw)
In-Reply-To: <1364890507-19261-1-git-send-email-tushar.behera@linaro.org>
Added GPIO buttons DT node to Arndale board file.
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
Changes for V3:
* Removed redundant #address-cells and #size-cells
* Pin-control related modifications.
arch/arm/boot/dts/exynos5250-arndale.dts | 46 ++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts
index d07a21f..03c9ad5 100644
--- a/arch/arm/boot/dts/exynos5250-arndale.dts
+++ b/arch/arm/boot/dts/exynos5250-arndale.dts
@@ -122,4 +122,50 @@
clock-frequency = <24000000>;
};
};
+
+ gpio_keys {
+ compatible = "gpio-keys";
+
+ menu {
+ label = "SW-TACT2";
+ gpios = <&gpx1 4 1>;
+ linux,code = <139>;
+ gpio-key,wakeup;
+ };
+
+ home {
+ label = "SW-TACT3";
+ gpios = <&gpx1 5 1>;
+ linux,code = <102>;
+ gpio-key,wakeup;
+ };
+
+ up {
+ label = "SW-TACT4";
+ gpios = <&gpx1 6 1>;
+ linux,code = <103>;
+ gpio-key,wakeup;
+ };
+
+ down {
+ label = "SW-TACT5";
+ gpios = <&gpx1 7 1>;
+ linux,code = <108>;
+ gpio-key,wakeup;
+ };
+
+ back {
+ label = "SW-TACT6";
+ gpios = <&gpx2 0 1>;
+ linux,code = <158>;
+ gpio-key,wakeup;
+ };
+
+ wakeup {
+ label = "SW-TACT7";
+ gpios = <&gpx2 1 1>;
+ linux,code = <143>;
+ gpio-key,wakeup;
+ };
+ };
};
--
1.7.9.5
next prev parent reply other threads:[~2013-04-02 8:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-02 8:15 [PATCH V3 0/7] Update Arndale board support Tushar Behera
2013-04-02 8:15 ` [PATCH V3 1/7] ARM: dts: Add pin-control related changes for Arndale board Tushar Behera
2013-04-02 8:15 ` [PATCH V3 2/7] ARM: dts: Add disable-wp for card slot on exynos5250-arndale Tushar Behera
2013-04-02 8:15 ` Tushar Behera [this message]
2013-04-02 8:15 ` [PATCH V3 4/7] ARM: dts: Add PMIC node entry for Arndale board Tushar Behera
2013-04-02 8:15 ` [PATCH V3 5/7] ARM: dts: Add vmmc regulator support " Tushar Behera
2013-04-02 8:15 ` [PATCH V3 6/7] ARM: dts: Add MFC codec " Tushar Behera
2013-04-02 8:15 ` [PATCH V3 7/7] ARM: dts: Add HDMI HPD and regulator node " Tushar Behera
2013-04-04 5:24 ` [PATCH V3 0/7] Update Arndale board support Kukjin Kim
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=1364890507-19261-4-git-send-email-tushar.behera@linaro.org \
--to=tushar.behera@linaro.org \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=kgene.kim@samsung.com \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=patches@linaro.org \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).