[U-Boot] [PATCH 5/6] ARM: dts: colibri-imx6ull: extend lcdif node

Igor Opaniuk
2019-07-11T08:57:48Z

+ Oleksandr

On Wed, Jun 19, 2019 at 11:47 AM Igor Opaniuk <igor.opaniuk@gmail.com> wrote:
>
> From: Igor Opaniuk <igor.opaniuk@toradex.com>
>
> Provide proper display timings for lcdif node, used by mxsfb DM_VIDEO
> enabled framebuffer driver.
>
> Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
> ---
> arch/arm/dts/imx6ull-colibri.dts | 32 ++++++++++++++++++++++++++++++++
> 1 file changed, 32 insertions(+)
>
> diff --git a/arch/arm/dts/imx6ull-colibri.dts b/arch/arm/dts/imx6ull-colibri.dts
> index 6c847ab792..262205ac5e 100644
> --- a/arch/arm/dts/imx6ull-colibri.dts
> +++ b/arch/arm/dts/imx6ull-colibri.dts
> @@ -12,8 +12,10 @@
> compatible = "toradex,colibri-imx6ull", "fsl,imx6ull";
>
> aliases {
> + u-boot,dm-pre-reloc;
> mmc0 = &usdhc1;
> usb0 = &usbotg1; /* required for ums */
> + display0 = &lcdif;
> };
>
> chosen {
> @@ -156,6 +158,36 @@
> pinctrl-names = "default";
> pinctrl-0 = <&pinctrl_lcdif_dat
> &pinctrl_lcdif_ctrl>;
> + status = "okay";
> + display = <&display0>;
> + u-boot,dm-pre-reloc;
> +
> + display0: display0 {
> + bits-per-pixel = <18>;
> + bus-width = <24>;
> + status = "okay";
> +
> + display-timings {
> + native-mode = <&timing_vga>;
> + timing_vga: 640x480 {
> + u-boot,dm-pre-reloc;
> + clock-frequency = <25175000>;
> + hactive = <640>;
> + vactive = <480>;
> + hback-porch = <48>;
> + hfront-porch = <16>;
> + vback-porch = <33>;
> + vfront-porch = <10>;
> + hsync-len = <96>;
> + vsync-len = <2>;
> +
> + de-active = <1>;
> + hsync-active = <0>;
> + vsync-active = <0>;
> + pixelclk-active = <0>;
> + };
> + };
> + };
> };
>
> /* PWM */
> --
> 2.17.1
>

--
Best regards - Freundliche GrÃ¼sse - Meilleures salutations

Igor Opaniuk

mailto: igor.opaniuk at gmail.com
skype: igor.opanyuk
+380 (93) 836 40 67