mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 08:58:52 +09:00
![Igor Opaniuk](/assets/img/avatar_default.png)
1. Move u-boot specific nodes to u-boot dts include: legacy lcdif node and aliases. 2. Add iomux configuration for LCD. 3. Drop un-needed u-boot,dm-pre-reloc for alias node. 4. Fix display-timings, use the one from Toradex downstream kernel [1] [1]: https://git.toradex.com/cgit/linux-toradex.git/tree/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi?h=toradex_4.9-2.3.x-imx#n206 Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
40 lines
738 B
Plaintext
40 lines
738 B
Plaintext
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
|
/*
|
|
* Copyright 2020 Toradex
|
|
*/
|
|
|
|
&lcdif {
|
|
status = "okay";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_lcdif_dat
|
|
&pinctrl_lcdif_ctrl>;
|
|
display = <&display0>;
|
|
u-boot,dm-pre-reloc;
|
|
|
|
display0: display0 {
|
|
bits-per-pixel = <18>;
|
|
bus-width = <18>;
|
|
status = "okay";
|
|
|
|
display-timings {
|
|
native-mode = <&timing_vga>;
|
|
timing_vga: 640x480 {
|
|
clock-frequency = <25175000>;
|
|
hactive = <640>;
|
|
vactive = <480>;
|
|
hback-porch = <40>;
|
|
hfront-porch = <24>;
|
|
vback-porch = <32>;
|
|
vfront-porch = <11>;
|
|
hsync-len = <96>;
|
|
vsync-len = <2>;
|
|
|
|
de-active = <1>;
|
|
hsync-active = <0>;
|
|
vsync-active = <0>;
|
|
pixelclk-active = <0>;
|
|
};
|
|
};
|
|
};
|
|
};
|