mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-22 15:11:33 +00:00
ARM: dts: colibri_imx7: Fix lcdif node definition
Fix lcdif DT node and make it conform to the structure defined in the Linux devicetree bindings [1]. Currently there is support only for old style lcdif node definitions. [1] https://www.kernel.org/doc/Documentation/devicetree/bindings/display/mxsfb.txt Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
This commit is contained in:
parent
e19441ecbc
commit
34b773d507
1 changed files with 24 additions and 19 deletions
|
@ -113,29 +113,34 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
&lcdif {
|
&lcdif {
|
||||||
u-boot,dm-pre-reloc;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
display = <&display0>;
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
|
|
||||||
display-timings {
|
display0: display0 {
|
||||||
native-mode = <&timing_vga>;
|
bits-per-pixel = <18>;
|
||||||
|
bus-width = <24>;
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
/* Standard VGA timing */
|
display-timings {
|
||||||
timing_vga: 640x480 {
|
native-mode = <&timing_vga>;
|
||||||
u-boot,dm-pre-reloc;
|
timing_vga: 640x480 {
|
||||||
clock-frequency = <25175000>;
|
u-boot,dm-pre-reloc;
|
||||||
hactive = <640>;
|
clock-frequency = <25175000>;
|
||||||
vactive = <480>;
|
hactive = <640>;
|
||||||
hback-porch = <48>;
|
vactive = <480>;
|
||||||
hfront-porch = <16>;
|
hback-porch = <48>;
|
||||||
vback-porch = <33>;
|
hfront-porch = <16>;
|
||||||
vfront-porch = <10>;
|
vback-porch = <33>;
|
||||||
hsync-len = <96>;
|
vfront-porch = <10>;
|
||||||
vsync-len = <2>;
|
hsync-len = <96>;
|
||||||
|
vsync-len = <2>;
|
||||||
|
|
||||||
de-active = <1>;
|
de-active = <1>;
|
||||||
hsync-active = <0>;
|
hsync-active = <0>;
|
||||||
vsync-active = <0>;
|
vsync-active = <0>;
|
||||||
pixelclk-active = <0>;
|
pixelclk-active = <0>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue