ARM: dts: omap4-kc1: LEDs support
authorPaul Kocialkowski <contact@paulk.fr>
Tue, 29 Mar 2016 19:28:26 +0000 (21:28 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 12 Apr 2016 21:32:02 +0000 (14:32 -0700)
This adds support for the Kindle Fire (first generation) power button LEDs, that
are wired to the TWL6030 PWM outputs.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap4-kc1.dts

index 0d08f9fddd3e151dcd8014b6e3a29d528f81fea2..3681414232ed60921f2b483130ef1cf6f4b8b045 100644 (file)
                device_type = "memory";
                reg = <0x80000000 0x20000000>; /* 512 MB */
        };
+
+       pwmleds {
+               compatible = "pwm-leds";
+
+               green {
+                       label = "green";
+                       pwms = <&twl_pwm 0 7812500>;
+                       max-brightness = <127>;
+               };
+
+               orange {
+                       label = "orange";
+                       pwms = <&twl_pwm 1 7812500>;
+                       max-brightness = <127>;
+               };
+       };
 };
 
 &omap4_pmx_core {