|
10 | 10 | #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
|
11 | 11 | #include "arduino_r3_connector.dtsi"
|
12 | 12 | #include <zephyr/dt-bindings/input/input-event-codes.h>
|
| 13 | +#include <zephyr/dt-bindings/mipi_dsi/mipi_dsi.h> |
13 | 14 |
|
14 | 15 | / {
|
15 | 16 | model = "STMicroelectronics STM32F769I DISCOVERY board";
|
|
72 | 73 | input = <&ft6202>;
|
73 | 74 | };
|
74 | 75 |
|
| 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 | + |
75 | 90 | aliases {
|
76 | 91 | led0 = &red_led_1;
|
77 | 92 | led1 = &green_led_2;
|
@@ -134,7 +149,7 @@ arduino_serial: &usart6 {};
|
134 | 149 | clock-frequency = <I2C_BITRATE_FAST>;
|
135 | 150 | };
|
136 | 151 |
|
137 |
| -&i2c4 { |
| 152 | +qsh_030_i2c: &i2c4 { |
138 | 153 | pinctrl-0 = <&i2c4_scl_pd12 &i2c4_sda_pb7>;
|
139 | 154 | pinctrl-names = "default";
|
140 | 155 | status = "okay";
|
@@ -282,3 +297,7 @@ zephyr_udc0: &usbotg_hs {
|
282 | 297 | phys = <&otghs_ulpi_phy>;
|
283 | 298 | status = "okay";
|
284 | 299 | };
|
| 300 | + |
| 301 | +/* alias used by display shields */ |
| 302 | +zephyr_mipi_dsi: &mipi_dsi {}; |
| 303 | +zephyr_lcd_controller: <dc {}; |
0 commit comments