mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 09:42:22 +02:00
sunxi: dts: Add nodes for LCD panel and backlight
Device tree is slightly different from Linux kernel one, because of different ABI for display timings between u-boot and Linux. Signed-off-by: Ondrej Jirman <megous@megous.com>
This commit is contained in:
@@ -65,12 +65,15 @@
|
||||
pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
|
||||
enable-gpios = <&pio 3 29 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
brightness-levels = <0 1 2 4 8 16 32 64 128 255>;
|
||||
default-brightness-level = <9>;
|
||||
brightness-levels = <0 8 9 10 11 13 15 17 19 21 23 25 28
|
||||
31 34 37 40 44 48 52 56 61 67 72 78
|
||||
84 91 98 106 115 124 133 143 154
|
||||
166 179 192 207 223 239 255>;
|
||||
default-brightness-level = <20>;
|
||||
};
|
||||
|
||||
panel {
|
||||
compatible = "tbs,a711-panel", "panel-lvds";
|
||||
compatible = "tbs,a711-panel", "panel-lvds", "simple-panel";
|
||||
backlight = <&backlight>;
|
||||
power-supply = <®_sw>;
|
||||
|
||||
@@ -78,7 +81,8 @@
|
||||
height-mm = <90>;
|
||||
data-mapping = "vesa-24";
|
||||
|
||||
panel-timing {
|
||||
display-timings {
|
||||
timing {
|
||||
/* 1024x600 @60Hz */
|
||||
clock-frequency = <52000000>;
|
||||
hactive = <1024>;
|
||||
@@ -89,6 +93,8 @@
|
||||
vfront-porch = <12>;
|
||||
vback-porch = <23>;
|
||||
vsync-len = <5>;
|
||||
bits-per-pixel = <24>;
|
||||
};
|
||||
};
|
||||
|
||||
port {
|
||||
|
Reference in New Issue
Block a user