ARM: dts: omap4-sdp: Add support for pwm-leds (keypad and charging LED)
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 12 Nov 2012 14:06:56 +0000 (15:06 +0100)
committerBenoit Cousson <benoit.cousson@linaro.org>
Mon, 8 Apr 2013 22:16:51 +0000 (00:16 +0200)
Sections to describe the pwm-leds in the system.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
arch/arm/boot/dts/omap4-sdp.dts

index 43e5258a9372b673d8c7a7866e30bbd5181148fa..8101a945e7c3233f33f3f49a11ed57e6abb0d130 100644 (file)
                };
        };
 
+       pwmleds {
+               compatible = "pwm-leds";
+               kpad {
+                       label = "omap4::keypad";
+                       pwms = <&twl_pwm 0 7812500>;
+                       max-brightness = <127>;
+               };
+
+               charging {
+                       label = "omap4:green:chrg";
+                       pwms = <&twl_pwmled 0 7812500>;
+                       max-brightness = <255>;
+               };
+       };
+
        sound {
                compatible = "ti,abe-twl6040";
                ti,model = "SDP4430";