Skip to content

Commit 54047dc

Browse files
MaureenHelmgalak
authored andcommitted
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 <[email protected]>
1 parent dedc82d commit 54047dc

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed

boards/arm/mimxrt1050_evk/mimxrt1050_evk.dts

+14
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@
5454
gpios = <&gpio5 0 GPIO_INT_ACTIVE_LOW>;
5555
};
5656
};
57+
58+
panel {
59+
compatible = "rocktech,rk043fn02h-ct";
60+
port {
61+
lcd_panel_in: endpoint {
62+
remote-endpoint = <&lcd_panel_out>;
63+
};
64+
};
65+
};
5766
};
5867

5968
arduino_serial: &uart3 {};
@@ -69,6 +78,11 @@ arduino_serial: &uart3 {};
6978

7079
&lcdif1 {
7180
status = "ok";
81+
port {
82+
lcd_panel_out: endpoint {
83+
remote-endpoint = <&lcd_panel_in>;
84+
};
85+
};
7286
};
7387

7488
&i2c1 {

boards/arm/mimxrt1060_evk/mimxrt1060_evk.dts

+14
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,15 @@
5050
gpios = <&gpio5 0 GPIO_INT_ACTIVE_LOW>;
5151
};
5252
};
53+
54+
panel {
55+
compatible = "rocktech,rk043fn02h-ct";
56+
port {
57+
lcd_panel_in: endpoint {
58+
remote-endpoint = <&lcd_panel_out>;
59+
};
60+
};
61+
};
5362
};
5463

5564
arduino_serial: &uart3 {};
@@ -65,6 +74,11 @@ arduino_serial: &uart3 {};
6574

6675
&lcdif1 {
6776
status = "ok";
77+
port {
78+
lcd_panel_out: endpoint {
79+
remote-endpoint = <&lcd_panel_in>;
80+
};
81+
};
6882
};
6983

7084
&uart1 {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#
2+
# Copyright (c) 2019, NXP
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
---
7+
title: Rocktech LCD Module
8+
version: 0.1
9+
10+
description: >
11+
This binding gives a base representation of the Rocktech LCD module with
12+
LED backlight and capacitive touch panel.
13+
14+
properties:
15+
compatible:
16+
type: string
17+
category: required
18+
description: compatible strings
19+
constraint: "rocktech,rk043fn02h-ct"
20+
...

0 commit comments

Comments
 (0)