Ruben Charles
Created August 31, 2021 © GPL3+

A Linux Workaround for MX8-DSI-OLED1A Panel

Making the MX8-DSI-OLED1A panel to work with the 8M Nano EVK

IntermediateFull instructions provided1 hour38

Things used in this project

Hardware components

NXP MX8-DSI-OLED1A
×1
NXP I.MX 8M NANO EVK
×1

Story

Read more

Code

imx8mn-ddr4-evk-rm67199.dts

C/C++
A device tree source (dts) for making the MX8-DSI-OLED1A to work with i.MX 8MNano EVK under LInux 5.4.70.2.3.0 BSP
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright 2021 NXP
 */

#include "imx8mn-ddr4-evk.dts"


&adv_bridge {
        status = "disabled";
};

&mipi_dsi {
        panel@0 {
                compatible = "raydium,rm67199";
                reg = <0>;
                pinctrl-0 = <&pinctrl_mipi_dsi_en>;
                reset-gpio = <&gpio1 8 GPIO_ACTIVE_LOW>;
                dsi-lanes = <4>;
                video-mode = <2>;       /* 0: burst mode
                                         * 1: non-burst mode with sync event
                                         * 2: non-burst mode with sync pulse
                                         */
                panel-width-mm = <68>;
                panel-height-mm = <121>;
                status = "okay";
        };
};

&i2c2 {
        touchscreen@14 {
                compatible = "goodix,gt1151";
                reg = <0x14>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_i2c2_synaptics_dsx_io>;interrupt-parent = <&gpio1>;
                interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
                irq-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
                edge-failling-trigger;
                touchscreen-size-x = <720>;
                touchscreen-size-y = <1440>;
        };
};

imx8mn-ddr4-evk-rm67199.dtb

C/C++
Device tree binary file that can be loaded onto the BSP of the i.MX 8M Nano EVK with Linux 5.4.70.2.3.0
No preview (download only).

Credits

Ruben Charles
2 projects • 4 followers
NXP MPU Applications Engineer

Comments