diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-09-11 13:51:13 +0200 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-10-08 09:25:14 +0900 |
commit | 87b73d88723601636646a69445f89c0e498fff71 (patch) | |
tree | 16f940b00a2ea2de5cbf80511bb28eaa9be55545 /arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts | |
parent | 734e2ce38c6aa3e88f0a339f001d272196f26dfa (diff) | |
download | blackbird-obmc-linux-87b73d88723601636646a69445f89c0e498fff71.tar.gz blackbird-obmc-linux-87b73d88723601636646a69445f89c0e498fff71.zip |
ARM: shmobile: armadillo-reference: Add PWM backlight node to DT
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts')
-rw-r--r-- | arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts index 9fcffc175da2..8b2aab5c1d3c 100644 --- a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts +++ b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts @@ -11,6 +11,7 @@ /dts-v1/; /include/ "r8a7740.dtsi" #include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/pwm/pwm.h> / { model = "armadillo 800 eva reference"; @@ -49,6 +50,15 @@ gpios = <&pfc 177 GPIO_ACTIVE_HIGH>; }; }; + + backlight { + compatible = "pwm-backlight"; + pwms = <&tpu 2 33333 PWM_POLARITY_INVERTED>; + brightness-levels = <0 1 2 4 8 16 32 64 128 255>; + default-brightness-level = <9>; + pinctrl-0 = <&backlight_pins>; + pinctrl-names = "default"; + }; }; &i2c0 { @@ -77,4 +87,13 @@ renesas,groups = "intc_irq10"; renesas,function = "intc"; }; + + backlight_pins: backlight { + renesas,groups = "tpu0_to2_1"; + renesas,function = "tpu0"; + }; +}; + +&tpu { + status = "okay"; }; |