From: Simon Horman <horms+renesas@verge.net.au>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 7/9] ARM: shmobile: kzm9g: Add LED1-LED4 to the device tree
Date: Wed, 13 Feb 2013 03:29:19 +0000 [thread overview]
Message-ID: <1360726161-16072-8-git-send-email-horms+renesas@verge.net.au> (raw)
In-Reply-To: <1360726161-16072-1-git-send-email-horms+renesas@verge.net.au>
From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
LED1 to LED4 are GPIO LEDs. Add corresponding DT nodes.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/sh73a0-kzm9g.dts | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/sh73a0-kzm9g.dts b/arch/arm/boot/dts/sh73a0-kzm9g.dts
index 7b37901..203efb8 100644
--- a/arch/arm/boot/dts/sh73a0-kzm9g.dts
+++ b/arch/arm/boot/dts/sh73a0-kzm9g.dts
@@ -19,4 +19,20 @@
device_type = "memory";
reg = <0x41000000 0x1e800000>;
};
+
+ leds {
+ compatible = "gpio-leds";
+ led1 {
+ gpios = <&gpio 20 1>; /* Active low */
+ };
+ led2 {
+ gpios = <&gpio 21 1>; /* Active low */
+ };
+ led3 {
+ gpios = <&gpio 22 1>; /* Active low */
+ };
+ led4 {
+ gpios = <&gpio 23 1>; /* Active low */
+ };
+ };
};
--
1.7.10.4
next prev parent reply other threads:[~2013-02-13 3:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-13 3:29 [PATCH v2.1 0/9] SH pinctrl DT support Simon Horman
2013-02-13 3:29 ` [PATCH 1/9] sh-pfc: Add OF support Simon Horman
2013-02-15 19:37 ` Linus Walleij
2013-02-13 3:29 ` [PATCH 2/9] ARM: shmobile: r8a7740: Add pin control device in device tree Simon Horman
2013-02-13 3:29 ` [PATCH 3/9] ARM: shmobile: armadillo: Populate platform devices from " Simon Horman
2013-02-13 3:29 ` [PATCH 4/9] ARM: shmobile: sh73a0: Add pin control device in " Simon Horman
2013-02-13 3:29 ` [PATCH 5/9] ARM: shmobile: kzm9g: Populate platform devices from " Simon Horman
2013-02-13 3:29 ` [PATCH 6/9] ARM: shmobile: kzm9g: reference: " Simon Horman
2013-02-13 3:29 ` Simon Horman [this message]
2013-02-13 3:29 ` [PATCH 8/9] ARM: shmobile: armadillo: Move pinctrl mappings to " Simon Horman
2013-02-13 3:29 ` [PATCH 9/9] ARM: shmobile: kzm9g: " Simon Horman
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=1360726161-16072-8-git-send-email-horms+renesas@verge.net.au \
--to=horms+renesas@verge.net.au \
--cc=linux-arm-kernel@lists.infradead.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).