summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2012-07-17 08:14:19 +0200
committerAndrew Lunn <andrew@lunn.ch>2012-07-27 16:50:18 +0200
commit157727d6490b31df45f6c1b59beb3950b82f3c21 (patch)
treef78edb8d91ef2a54abeb05c8a4ad7ff90f9728fa /arch/arm/boot/dts
parentc06c7ca77c85396f19a9f364e2d10d7aa1fafaa5 (diff)
ARM: Kirkwood: Describe IB62x0 LEDs in DT.
Signed-off-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Simon Baatz <gmbnomis@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r--arch/arm/boot/dts/kirkwood-ib62x0.dts17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-ib62x0.dts b/arch/arm/boot/dts/kirkwood-ib62x0.dts
index 3724687fc9c9..66794ed75ff1 100644
--- a/arch/arm/boot/dts/kirkwood-ib62x0.dts
+++ b/arch/arm/boot/dts/kirkwood-ib62x0.dts
@@ -62,4 +62,21 @@
gpios = <&gpio0 28 1>;
};
};
+ gpio-leds {
+ compatible = "gpio-leds";
+
+ green-os {
+ label = "ib62x0:green:os";
+ gpios = <&gpio0 25 0>;
+ linux,default-trigger = "default-on";
+ };
+ red-os {
+ label = "ib62x0:red:os";
+ gpios = <&gpio0 22 0>;
+ };
+ usb-copy {
+ label = "ib62x0:red:usb_copy";
+ gpios = <&gpio0 27 0>;
+ };
+ };
};