dts: boards: Add bindings and nodes for the rocktech lcd module

Adds device tree bindings and nodes for the rocktech lcd module used on
imx rt boards. The use of port, endpoint, and remote-endpoint properties
follow what is currently done in linux, but they are not yet used in
zephyr because some additional plumbing is needed in the
extract_dts_includes.py script.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
Maureen Helm 2019-01-31 15:44:31 -06:00 committed by Kumar Gala
commit 54047dc59a
3 changed files with 48 additions and 0 deletions

View file

@ -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 {

View file

@ -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 {

View file

@ -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"
...