diff --git a/boards/arm/mimxrt1050_evk/mimxrt1050_evk.dts b/boards/arm/mimxrt1050_evk/mimxrt1050_evk.dts index db7a706eb26..f907dfdb4fb 100644 --- a/boards/arm/mimxrt1050_evk/mimxrt1050_evk.dts +++ b/boards/arm/mimxrt1050_evk/mimxrt1050_evk.dts @@ -54,6 +54,15 @@ gpios = <&gpio5 0 GPIO_INT_ACTIVE_LOW>; }; }; + + panel { + compatible = "rocktech,rk043fn02h-ct"; + port { + lcd_panel_in: endpoint { + remote-endpoint = <&lcd_panel_out>; + }; + }; + }; }; arduino_serial: &uart3 {}; @@ -69,6 +78,11 @@ arduino_serial: &uart3 {}; &lcdif1 { status = "ok"; + port { + lcd_panel_out: endpoint { + remote-endpoint = <&lcd_panel_in>; + }; + }; }; &i2c1 { diff --git a/boards/arm/mimxrt1060_evk/mimxrt1060_evk.dts b/boards/arm/mimxrt1060_evk/mimxrt1060_evk.dts index d44febfd0a3..3483d413b13 100644 --- a/boards/arm/mimxrt1060_evk/mimxrt1060_evk.dts +++ b/boards/arm/mimxrt1060_evk/mimxrt1060_evk.dts @@ -50,6 +50,15 @@ gpios = <&gpio5 0 GPIO_INT_ACTIVE_LOW>; }; }; + + panel { + compatible = "rocktech,rk043fn02h-ct"; + port { + lcd_panel_in: endpoint { + remote-endpoint = <&lcd_panel_out>; + }; + }; + }; }; arduino_serial: &uart3 {}; @@ -65,6 +74,11 @@ arduino_serial: &uart3 {}; &lcdif1 { status = "ok"; + port { + lcd_panel_out: endpoint { + remote-endpoint = <&lcd_panel_in>; + }; + }; }; &uart1 { diff --git a/dts/bindings/display/rocktech,rk043fn02h-ct.yaml b/dts/bindings/display/rocktech,rk043fn02h-ct.yaml new file mode 100644 index 00000000000..c53abdef53f --- /dev/null +++ b/dts/bindings/display/rocktech,rk043fn02h-ct.yaml @@ -0,0 +1,20 @@ +# +# Copyright (c) 2019, NXP +# +# SPDX-License-Identifier: Apache-2.0 +# +--- +title: Rocktech LCD Module +version: 0.1 + +description: > + This binding gives a base representation of the Rocktech LCD module with + LED backlight and capacitive touch panel. + +properties: + compatible: + type: string + category: required + description: compatible strings + constraint: "rocktech,rk043fn02h-ct" +...