summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/integrator.dtsi
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-10-22 12:05:44 +0400
committerLinus Walleij <linus.walleij@linaro.org>2014-11-13 12:32:04 +0300
commitbcc397de5af74ed31f35c0ca4cbd9faadb775c2e (patch)
tree4113f86508342a66fd18ee684c38365e9624072b /arch/arm/boot/dts/integrator.dtsi
parent7e61006436a2d01be6ef06f877867205acbdb177 (diff)
downloadlinux-bcc397de5af74ed31f35c0ca4cbd9faadb775c2e.tar.xz
ARM: integrator: move core module LED to device tree
This gets rid of the custom LED driver in the Integrator directory altogether and switches us over to using the syscon LEDs for this. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/integrator.dtsi')
-rw-r--r--arch/arm/boot/dts/integrator.dtsi10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/integrator.dtsi b/arch/arm/boot/dts/integrator.dtsi
index 5d27087d5248..28e38f8c6b0f 100644
--- a/arch/arm/boot/dts/integrator.dtsi
+++ b/arch/arm/boot/dts/integrator.dtsi
@@ -8,6 +8,16 @@
core-module@10000000 {
compatible = "arm,core-module-integrator", "syscon";
reg = <0x10000000 0x200>;
+
+ /* Use core module LED to indicate CPU load */
+ led@0c.0 {
+ compatible = "register-bit-led";
+ offset = <0x0c>;
+ mask = <0x01>;
+ label = "integrator:core_module";
+ linux,default-trigger = "cpu0";
+ default-state = "on";
+ };
};
ebi@12000000 {