0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003 * Copyright 2013 Eukréa Electromatique <denis@eukrea.com>
0004 */
0005
0006 #include "imx25-eukrea-mbimxsd25-baseboard.dts"
0007
0008 / {
0009 model = "Eukrea MBIMXSD25 with the CMO-QVGA Display";
0010 compatible = "eukrea,mbimxsd25-baseboard-cmo-qvga", "eukrea,mbimxsd25-baseboard", "eukrea,cpuimx25", "fsl,imx25";
0011
0012 cmo_qvga: display {
0013 model = "CMO-QVGA";
0014 bits-per-pixel = <16>;
0015 fsl,pcr = <0xcad08b80>;
0016 bus-width = <18>;
0017 display-timings {
0018 native-mode = <&qvga_timings>;
0019 qvga_timings: 320x240 {
0020 clock-frequency = <6500000>;
0021 hactive = <320>;
0022 vactive = <240>;
0023 hback-porch = <30>;
0024 hfront-porch = <38>;
0025 vback-porch = <20>;
0026 vfront-porch = <3>;
0027 hsync-len = <15>;
0028 vsync-len = <4>;
0029 };
0030 };
0031 };
0032
0033 regulators {
0034 compatible = "simple-bus";
0035 #address-cells = <1>;
0036 #size-cells = <0>;
0037
0038 reg_lcd_3v3: regulator@0 {
0039 compatible = "regulator-fixed";
0040 reg = <0>;
0041 pinctrl-names = "default";
0042 pinctrl-0 = <&pinctrl_reg_lcd_3v3>;
0043 regulator-name = "lcd-3v3";
0044 regulator-min-microvolt = <3300000>;
0045 regulator-max-microvolt = <3300000>;
0046 gpio = <&gpio1 26 GPIO_ACTIVE_HIGH>;
0047 enable-active-high;
0048 };
0049 };
0050 };
0051
0052 &iomuxc {
0053 imx25-eukrea-mbimxsd25-baseboard-cmo-qvga {
0054 pinctrl_reg_lcd_3v3: reg_lcd_3v3 {
0055 fsl,pins = <MX25_PAD_PWM__GPIO_1_26 0x80000000>;
0056 };
0057 };
0058 };
0059
0060 &lcdc {
0061 display = <&cmo_qvga>;
0062 fsl,lpccr = <0x00a903ff>;
0063 lcd-supply = <®_lcd_3v3>;
0064 status = "okay";
0065 };