boards: nxp: mimxrt1060_evk: remove display definition
Remove display definition for the RT1060 EVK. This display panel is now supported as the RK043FN02H-CT shield. Add this information to the documentation for the board, along with other tested shields. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
7d441d5c81
commit
6c95c82604
3 changed files with 3 additions and 93 deletions
|
@ -11,16 +11,6 @@ config DEVICE_CONFIGURATION_DATA
|
||||||
config NXP_IMX_EXTERNAL_SDRAM
|
config NXP_IMX_EXTERNAL_SDRAM
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config INPUT
|
|
||||||
default y if LVGL
|
|
||||||
|
|
||||||
if INPUT
|
|
||||||
|
|
||||||
config INPUT_FT5336_INTERRUPT
|
|
||||||
default y
|
|
||||||
|
|
||||||
endif # INPUT
|
|
||||||
|
|
||||||
if NETWORKING
|
if NETWORKING
|
||||||
|
|
||||||
config NET_L2_ETHERNET
|
config NET_L2_ETHERNET
|
||||||
|
@ -35,39 +25,4 @@ endif # ETH_MCUX
|
||||||
|
|
||||||
endif # NETWORKING
|
endif # NETWORKING
|
||||||
|
|
||||||
if LVGL
|
|
||||||
|
|
||||||
# LVGL should allocate buffers equal to size of display
|
|
||||||
config LV_Z_VDB_SIZE
|
|
||||||
default 100
|
|
||||||
|
|
||||||
# Enable double buffering
|
|
||||||
config LV_Z_DOUBLE_VDB
|
|
||||||
default y
|
|
||||||
|
|
||||||
# Force full refresh. This prevents memory copy associated with partial
|
|
||||||
# display refreshes, which is not necessary for the eLCDIF driver
|
|
||||||
config LV_Z_FULL_REFRESH
|
|
||||||
default y
|
|
||||||
|
|
||||||
config LV_DPI_DEF
|
|
||||||
default 128
|
|
||||||
|
|
||||||
config LV_Z_BITS_PER_PIXEL
|
|
||||||
default 16
|
|
||||||
|
|
||||||
# Force display buffers to be aligned to cache line size (32 bytes)
|
|
||||||
config LV_Z_VDB_ALIGN
|
|
||||||
default 32
|
|
||||||
|
|
||||||
# Use offloaded render thread
|
|
||||||
config LV_Z_FLUSH_THREAD
|
|
||||||
default y
|
|
||||||
|
|
||||||
choice LV_COLOR_DEPTH
|
|
||||||
default LV_COLOR_DEPTH_16
|
|
||||||
endchoice
|
|
||||||
|
|
||||||
endif # LVGL
|
|
||||||
|
|
||||||
endif # BOARD_MIMXRT1060_EVK || BOARD_MIMXRT1060_EVKB
|
endif # BOARD_MIMXRT1060_EVK || BOARD_MIMXRT1060_EVKB
|
||||||
|
|
|
@ -115,7 +115,9 @@ already supported, which can also be re-used on this mimxrt1060_evk board:
|
||||||
+-----------+------------+-------------------------------------+
|
+-----------+------------+-------------------------------------+
|
||||||
| SYSTICK | on-chip | systick |
|
| SYSTICK | on-chip | systick |
|
||||||
+-----------+------------+-------------------------------------+
|
+-----------+------------+-------------------------------------+
|
||||||
| DISPLAY | on-chip | display |
|
| DISPLAY | on-chip | eLCDIF. Tested with |
|
||||||
|
| | | :ref:`rk043fn02h_ct`, and |
|
||||||
|
| | | :ref:`rk043fn66hs_ctg` shields |
|
||||||
+-----------+------------+-------------------------------------+
|
+-----------+------------+-------------------------------------+
|
||||||
| FLASH | on-chip | QSPI flash |
|
| FLASH | on-chip | QSPI flash |
|
||||||
+-----------+------------+-------------------------------------+
|
+-----------+------------+-------------------------------------+
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
#include <nxp/nxp_rt1060.dtsi>
|
#include <nxp/nxp_rt1060.dtsi>
|
||||||
#include "mimxrt1060_evk-pinctrl.dtsi"
|
#include "mimxrt1060_evk-pinctrl.dtsi"
|
||||||
#include <zephyr/dt-bindings/display/panel.h>
|
|
||||||
#include <zephyr/dt-bindings/input/input-event-codes.h>
|
#include <zephyr/dt-bindings/input/input-event-codes.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
|
@ -30,7 +29,6 @@
|
||||||
zephyr,console = &lpuart1;
|
zephyr,console = &lpuart1;
|
||||||
zephyr,shell-uart = &lpuart1;
|
zephyr,shell-uart = &lpuart1;
|
||||||
zephyr,canbus = &flexcan3;
|
zephyr,canbus = &flexcan3;
|
||||||
zephyr,display = &lcdif;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
sdram0: memory@80000000 {
|
sdram0: memory@80000000 {
|
||||||
|
@ -90,11 +88,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
lvgl_pointer {
|
|
||||||
compatible = "zephyr,lvgl-pointer-input";
|
|
||||||
input = <&ft5336>;
|
|
||||||
};
|
|
||||||
|
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
@ -123,15 +116,6 @@
|
||||||
<20 0 &gpio1 17 0>, /* D14 */
|
<20 0 &gpio1 17 0>, /* D14 */
|
||||||
<21 0 &gpio1 16 0>; /* D15 */
|
<21 0 &gpio1 16 0>; /* D15 */
|
||||||
};
|
};
|
||||||
|
|
||||||
panel {
|
|
||||||
compatible = "rocktech,rk043fn02h-ct";
|
|
||||||
port {
|
|
||||||
lcd_panel_in: endpoint {
|
|
||||||
remote-endpoint = <&lcd_panel_out>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
arduino_serial: &lpuart3 {
|
arduino_serial: &lpuart3 {
|
||||||
|
@ -142,33 +126,8 @@ arduino_serial: &lpuart3 {
|
||||||
};
|
};
|
||||||
|
|
||||||
zephyr_lcdif: &lcdif {
|
zephyr_lcdif: &lcdif {
|
||||||
status = "okay";
|
|
||||||
width = <480>;
|
|
||||||
height = <272>;
|
|
||||||
display-timings {
|
|
||||||
compatible = "zephyr,panel-timing";
|
|
||||||
hsync-len = <41>;
|
|
||||||
hfront-porch = <4>;
|
|
||||||
hback-porch = <8>;
|
|
||||||
vsync-len = <10>;
|
|
||||||
vfront-porch = <4>;
|
|
||||||
vback-porch = <2>;
|
|
||||||
de-active= <1>;
|
|
||||||
pixelclk-active = <1>;
|
|
||||||
hsync-active = <0>;
|
|
||||||
vsync-active = <0>;
|
|
||||||
clock-frequency = <9210240>;
|
|
||||||
};
|
|
||||||
pixel-format = <PANEL_PIXEL_FORMAT_BGR_565>;
|
|
||||||
data-bus-width = "16-bit";
|
|
||||||
pinctrl-0 = <&pinmux_lcdif>;
|
pinctrl-0 = <&pinmux_lcdif>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
backlight-gpios = <&gpio2 31 GPIO_ACTIVE_HIGH>;
|
|
||||||
port {
|
|
||||||
lcd_panel_out: endpoint {
|
|
||||||
remote-endpoint = <&lcd_panel_in>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nxp_touch_i2c: &lpi2c1 {};
|
nxp_touch_i2c: &lpi2c1 {};
|
||||||
|
@ -177,12 +136,6 @@ arduino_i2c: &lpi2c1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
pinctrl-0 = <&pinmux_lpi2c1>;
|
pinctrl-0 = <&pinmux_lpi2c1>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
|
||||||
ft5336: ft5336@38 {
|
|
||||||
compatible = "focaltech,ft5336";
|
|
||||||
reg = <0x38>;
|
|
||||||
int-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&lpuart1 {
|
&lpuart1 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue