linux-2.6.31: declare boc01 LED in devicetree
authorJeremy Lainé <jeremy.laine@m4x.org>
Thu, 29 Oct 2009 07:17:18 +0000 (08:17 +0100)
committerJeremy Lainé <jeremy.laine@m4x.org>
Thu, 29 Oct 2009 07:17:18 +0000 (08:17 +0100)
recipes/linux/linux-2.6.31/boc01/boc01.dts
recipes/linux/linux-2.6.31/boc01/boc01.dts.v1

index 95b5b8e..333b850 100644 (file)
                        interrupt-parent = <&ipic>;
                        gpio-controller;
                };
+
+               leds {
+                       compatible = "gpio-leds";
+                       blue {
+                               gpios = <&exio 7 1>;
+                               default-state = "keep";
+                       };
+               };
        };
 
        soc8313@e0000000 {
index eed1721..a3e452e 100644 (file)
                        interrupt-parent = <&ipic>;
                        gpio-controller;
                };
+
+               leds {
+                       compatible = "gpio-leds";
+                       blue {
+                               gpios = <&exio 7 1>;
+                               default-state = "keep";
+                       };
+               };
        };
 
        soc8313@e0000000 {