]> Pileus Git - ~andy/linux/commitdiff
powerpc/83xx: mpc8349emitx - add leds-gpio binding
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Mon, 16 Nov 2009 13:58:54 +0000 (16:58 +0300)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 9 Dec 2009 21:15:54 +0000 (15:15 -0600)
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/dts/mpc8349emitx.dts

index 346d1ba85ede58506ca535df780e140f35e62f37..b53d1df11e2d85ed791710695819aaec11eae61c 100644 (file)
                        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 {