1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Copyright 2013 Eukréa Electromatique <denis@eukrea.com> 4f126890aSEmmanuel Vadot */ 5f126890aSEmmanuel Vadot 6f126890aSEmmanuel Vadot#include "imx25-eukrea-mbimxsd25-baseboard.dts" 7f126890aSEmmanuel Vadot 8f126890aSEmmanuel Vadot/ { 9f126890aSEmmanuel Vadot model = "Eukrea MBIMXSD25 with the CMO-QVGA Display"; 10f126890aSEmmanuel Vadot compatible = "eukrea,mbimxsd25-baseboard-cmo-qvga", "eukrea,mbimxsd25-baseboard", "eukrea,cpuimx25", "fsl,imx25"; 11f126890aSEmmanuel Vadot 12f126890aSEmmanuel Vadot cmo_qvga: display { 13f126890aSEmmanuel Vadot model = "CMO-QVGA"; 14f126890aSEmmanuel Vadot bits-per-pixel = <16>; 15f126890aSEmmanuel Vadot fsl,pcr = <0xcad08b80>; 16f126890aSEmmanuel Vadot bus-width = <18>; 17f126890aSEmmanuel Vadot display-timings { 18f126890aSEmmanuel Vadot native-mode = <&qvga_timings>; 19*8d13bc63SEmmanuel Vadot qvga_timings: timing0 { 20f126890aSEmmanuel Vadot clock-frequency = <6500000>; 21f126890aSEmmanuel Vadot hactive = <320>; 22f126890aSEmmanuel Vadot vactive = <240>; 23f126890aSEmmanuel Vadot hback-porch = <30>; 24f126890aSEmmanuel Vadot hfront-porch = <38>; 25f126890aSEmmanuel Vadot vback-porch = <20>; 26f126890aSEmmanuel Vadot vfront-porch = <3>; 27f126890aSEmmanuel Vadot hsync-len = <15>; 28f126890aSEmmanuel Vadot vsync-len = <4>; 29f126890aSEmmanuel Vadot }; 30f126890aSEmmanuel Vadot }; 31f126890aSEmmanuel Vadot }; 32f126890aSEmmanuel Vadot 33aa1a8ff2SEmmanuel Vadot reg_lcd_3v3: regulator-0 { 34f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 35f126890aSEmmanuel Vadot pinctrl-names = "default"; 36f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_reg_lcd_3v3>; 37f126890aSEmmanuel Vadot regulator-name = "lcd-3v3"; 38f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 39f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 40f126890aSEmmanuel Vadot gpio = <&gpio1 26 GPIO_ACTIVE_HIGH>; 41f126890aSEmmanuel Vadot enable-active-high; 42f126890aSEmmanuel Vadot }; 43f126890aSEmmanuel Vadot}; 44f126890aSEmmanuel Vadot 45f126890aSEmmanuel Vadot&iomuxc { 46f126890aSEmmanuel Vadot imx25-eukrea-mbimxsd25-baseboard-cmo-qvga { 47f126890aSEmmanuel Vadot pinctrl_reg_lcd_3v3: reg_lcd_3v3 { 48f126890aSEmmanuel Vadot fsl,pins = <MX25_PAD_PWM__GPIO_1_26 0x80000000>; 49f126890aSEmmanuel Vadot }; 50f126890aSEmmanuel Vadot }; 51f126890aSEmmanuel Vadot}; 52f126890aSEmmanuel Vadot 53f126890aSEmmanuel Vadot&lcdc { 54f126890aSEmmanuel Vadot display = <&cmo_qvga>; 55f126890aSEmmanuel Vadot fsl,lpccr = <0x00a903ff>; 56f126890aSEmmanuel Vadot lcd-supply = <®_lcd_3v3>; 57f126890aSEmmanuel Vadot status = "okay"; 58f126890aSEmmanuel Vadot}; 59