diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2016-03-29 21:28:26 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-04-12 14:32:02 -0700 |
commit | ab8e2f8c5d15f070a8cba2e0593ede5ef54d25b5 (patch) | |
tree | df466fd6939e20df6d8fdaf50668b367e903f537 /arch/arm/boot/dts/omap4-kc1.dts | |
parent | abb68f64ce34e7665f88e4c3f0bcd94f3d7a743c (diff) |
ARM: dts: omap4-kc1: LEDs support
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>
Diffstat (limited to 'arch/arm/boot/dts/omap4-kc1.dts')
-rw-r--r-- | arch/arm/boot/dts/omap4-kc1.dts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap4-kc1.dts b/arch/arm/boot/dts/omap4-kc1.dts index 0d08f9fddd3e..3681414232ed 100644 --- a/arch/arm/boot/dts/omap4-kc1.dts +++ b/arch/arm/boot/dts/omap4-kc1.dts @@ -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 { |