summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/integrator.dtsi
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-10-22 10:05:44 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-11-13 10:32:04 +0100
commitbcc397de5af74ed31f35c0ca4cbd9faadb775c2e (patch)
tree4113f86508342a66fd18ee684c38365e9624072b /arch/arm/boot/dts/integrator.dtsi
parentARM: integrator: move debug LEDs to syscon LED driver (diff)
downloadlinux-bcc397de5af74ed31f35c0ca4cbd9faadb775c2e.tar.xz
linux-bcc397de5af74ed31f35c0ca4cbd9faadb775c2e.zip
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 {