Commit 6fb2ffd7 authored by Hans de Goede's avatar Hans de Goede Committed by Maxime Ripard

ARM: dts: sun5i: Add backlight node to sun5i-q8-common.dtsi

All A13 based q8 formfactor tablets use the same backlight setup, add
a backlight devicetree node for controlling the backlight on these devices.
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 6bf28cb9
...@@ -41,11 +41,21 @@ ...@@ -41,11 +41,21 @@
*/ */
#include "sunxi-q8-common.dtsi" #include "sunxi-q8-common.dtsi"
#include <dt-bindings/pwm/pwm.h>
/ { / {
aliases { aliases {
serial0 = &uart1; serial0 = &uart1;
}; };
backlight: backlight {
compatible = "pwm-backlight";
pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
default-brightness-level = <8>;
/* TODO: backlight uses axp gpio1 as enable pin */
};
chosen { chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment