File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed
boards/shields/st_b_lcd40_dsi1_mb1166/boards Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2025 STMicroelectronics
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ CONFIG_MEMC=y
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2025 STMicroelectronics.
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ &sdram1 {
8
+ /* Frame buffer memory when cached causes screen flickering. */
9
+ zephyr,memory-attr = <DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE)>;
10
+ };
11
+
12
+ &zephyr_lcd_controller {
13
+ ext-sdram = <&sdram1>;
14
+ def-back-color-red = <0>;
15
+ def-back-color-green = <0>;
16
+ def-back-color-blue = <0>;
17
+ status = "okay";
18
+ };
19
+
20
+ &pllsai {
21
+ div-m = <25>;
22
+ mul-n = <384>;
23
+ div-r = <5>;
24
+ div-divr = <8>;
25
+ clocks = <&clk_hse>;
26
+ status = "okay";
27
+ };
28
+
29
+ &zephyr_mipi_dsi {
30
+ /* DSI HOST dedicated PLL
31
+ * F_VCO = CLK_IN / pll-idf * 2 * pll-ndiv
32
+ * PHI = F_VCO / 2 / (1 << pll-odf) = lane_byte_clk
33
+ * = 25 MHz / 5 * 2 * 100 / 2 / (1<<0) / 8 = 62.5 MHz
34
+ */
35
+ pll-ndiv = <100>;
36
+ pll-idf = <5>;
37
+ pll-odf = <0>;
38
+
39
+ vs-active-high;
40
+ hs-active-high;
41
+ de-active-high;
42
+
43
+ status = "okay";
44
+ };
You can’t perform that action at this time.
0 commit comments