Skip to content

Commit 6ed19b5

Browse files
author
Alain Volmat
committed
boards: st: add DSI connector and display alias in stm32f769i_disco
Add the description of the DSI connector available on the stm32f769i_disco board and zephyr_mipi_dsi/zephyr_lcd_controller alias to be used by display shields. Signed-off-by: Alain Volmat <[email protected]>
1 parent 7ff1207 commit 6ed19b5

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

boards/st/stm32f769i_disco/stm32f769i_disco.dts

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
1111
#include "arduino_r3_connector.dtsi"
1212
#include <zephyr/dt-bindings/input/input-event-codes.h>
13+
#include <zephyr/dt-bindings/mipi_dsi/mipi_dsi.h>
1314

1415
/ {
1516
model = "STMicroelectronics STM32F769I DISCOVERY board";
@@ -72,6 +73,20 @@
7273
input = <&ft6202>;
7374
};
7475

76+
dsi_lcd_qsh_030: connector_dsi_lcd {
77+
compatible = "st,dsi-lcd-qsh-030";
78+
#gpio-cells = <2>;
79+
gpio-map-mask = <0xffffffff 0xffffffc0>;
80+
gpio-map-pass-thru = <0 0x3f>;
81+
gpio-map = <4 0 &gpioi 13 0>, /* LCD_INT */
82+
<39 0 &gpiod 11 0>, /* SPDIF_I2S */
83+
<40 0 &gpiob 7 0>, /* I2C4_SDA */
84+
<44 0 &gpiod 12 0>, /* I2C4_SCL */
85+
<49 0 &gpioj 2 0>, /* DSI_TE */
86+
<53 0 &gpioi 14 0>, /* BL_CTRL */
87+
<57 0 &gpioj 15 0>; /* DSI_RESET */
88+
};
89+
7590
aliases {
7691
led0 = &red_led_1;
7792
led1 = &green_led_2;
@@ -134,7 +149,7 @@ arduino_serial: &usart6 {};
134149
clock-frequency = <I2C_BITRATE_FAST>;
135150
};
136151

137-
&i2c4 {
152+
qsh_030_i2c: &i2c4 {
138153
pinctrl-0 = <&i2c4_scl_pd12 &i2c4_sda_pb7>;
139154
pinctrl-names = "default";
140155
status = "okay";
@@ -282,3 +297,7 @@ zephyr_udc0: &usbotg_hs {
282297
phys = <&otghs_ulpi_phy>;
283298
status = "okay";
284299
};
300+
301+
/* alias used by display shields */
302+
zephyr_mipi_dsi: &mipi_dsi {};
303+
zephyr_lcd_controller: &ltdc {};

0 commit comments

Comments
 (0)