From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org
Subject: [PATCH 4/4] mpc8349emitx: add leds-gpio binding
Date: Mon, 16 Nov 2009 16:58:54 +0300 [thread overview]
Message-ID: <1258379934-32352-5-git-send-email-dbaryshkov@gmail.com> (raw)
In-Reply-To: <1258379934-32352-1-git-send-email-dbaryshkov@gmail.com>
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
arch/powerpc/boot/dts/mpc8349emitx.dts | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/boot/dts/mpc8349emitx.dts b/arch/powerpc/boot/dts/mpc8349emitx.dts
index 097950c..fb58a7c 100644
--- a/arch/powerpc/boot/dts/mpc8349emitx.dts
+++ b/arch/powerpc/boot/dts/mpc8349emitx.dts
@@ -318,6 +318,24 @@
reg = <0x700 0x100>;
device_type = "ipic";
};
+
+ gpio-leds {
+ compatible = "gpio-leds";
+
+ green {
+ label = "Green";
+ gpios = <&pcf1 0 1>;
+ linux,default-trigger = "heartbeat";
+ };
+
+ yellow {
+ label = "Yellow";
+ gpios = <&pcf1 1 1>;
+ /* linux,default-trigger = "heartbeat"; */
+ default-state = "on";
+ };
+ };
+
};
pci0: pci@e0008500 {
--
1.6.5
next prev parent reply other threads:[~2009-11-16 13:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-16 13:58 [PATCH 0/4] mpc8349emitx: add bindings for GPIO, I2C and leds Dmitry Eremin-Solenikov
2009-11-16 13:58 ` [PATCH 1/4] mpc8349emitx: add gpio controller declarations Dmitry Eremin-Solenikov
2009-12-09 21:17 ` Kumar Gala
2009-11-16 13:58 ` [PATCH 2/4] mpc8349emitx: populate I2C busses Dmitry Eremin-Solenikov
2009-12-09 21:17 ` Kumar Gala
2009-11-16 13:58 ` [PATCH 3/4] mpc8349emitx: add OF descriptions of LocalBus devices Dmitry Eremin-Solenikov
2009-11-16 19:36 ` Scott Wood
2009-11-16 20:51 ` Dmitry Eremin-Solenikov
2009-12-09 21:17 ` Kumar Gala
2009-11-16 13:58 ` Dmitry Eremin-Solenikov [this message]
2009-12-09 21:17 ` [PATCH 4/4] mpc8349emitx: add leds-gpio binding Kumar Gala
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=1258379934-32352-5-git-send-email-dbaryshkov@gmail.com \
--to=dbaryshkov@gmail.com \
--cc=galak@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.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).