summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-11-16 16:58:54 +0300
committerKumar Gala <galak@kernel.crashing.org>2009-12-09 15:15:54 -0600
commitb387dfe902c352d5be4690a135412ece4868b531 (patch)
treec702716b04a302670206e088d5e4430f117ebcb5
parent1d88fd11a2484b1bc0a36010781dc410446bef29 (diff)
downloadkernel-crypto-b387dfe902c352d5be4690a135412ece4868b531.tar.gz
kernel-crypto-b387dfe902c352d5be4690a135412ece4868b531.tar.xz
kernel-crypto-b387dfe902c352d5be4690a135412ece4868b531.zip
powerpc/83xx: mpc8349emitx - add leds-gpio binding
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r--arch/powerpc/boot/dts/mpc8349emitx.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/mpc8349emitx.dts b/arch/powerpc/boot/dts/mpc8349emitx.dts
index 346d1ba85ed..b53d1df11e2 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 {