mirror of https://gitee.com/openkylin/linux.git
arm64: dts: allwinner: a64: teres-i: enable backlight
Enable pwm and add a pretty standard backlight node. The regulator is always on, but we include it anyway, because it is required by the binding document. Signed-off-by: Harald Geyer <harald@ccbib.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
This commit is contained in:
parent
9e98c678c2
commit
24bd5d2cb9
|
@ -21,6 +21,15 @@ aliases {
|
|||
serial0 = &uart0;
|
||||
};
|
||||
|
||||
backlight: backlight {
|
||||
compatible = "pwm-backlight";
|
||||
pwms = <&pwm 0 50000 0>;
|
||||
power-supply = <®_dcdc1>;
|
||||
brightness-levels = <0 5 7 10 14 20 28 40 56 80 112>;
|
||||
default-brightness-level = <5>;
|
||||
enable-gpios = <&pio 3 23 GPIO_ACTIVE_HIGH>; /* PD23 */
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = "serial0:115200n8";
|
||||
|
||||
|
@ -131,6 +140,10 @@ &ohci1 {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&pwm {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&r_rsb {
|
||||
status = "okay";
|
||||
|
||||
|
|
Loading…
Reference in New Issue