Skip to content

Commit

Permalink
ARM: dts: omap4-kc1: LEDs support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
paulkocialkowski authored and tmlind committed Apr 12, 2016
1 parent abb68f6 commit ab8e2f8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions arch/arm/boot/dts/omap4-kc1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,22 @@
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 {
Expand Down

0 comments on commit ab8e2f8

Please sign in to comment.