File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed 
boards/shields/st_b_lcd40_dsi1_mb1166/boards Expand file tree Collapse file tree 2 files changed +49
-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
5+ CONFIG_HEAP_MEM_POOL_SIZE=65536
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+ 	status = "okay";
14+ 	ext-sdram = <&sdram1>;
15+ 	def-back-color-red = <0>;
16+ 	def-back-color-green = <0>;
17+ 	def-back-color-blue = <0>;
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+ 	status = "okay";
31+ 
32+ 	/* DSI HOST dedicated PLL
33+ 	 * F_VCO = CLK_IN / pll-idf * 2 * pll-ndiv
34+ 	 * PHI = F_VCO / 2 / (1 << pll-odf) = lane_byte_clk
35+ 	 *     = 25 MHz / 5 * 2 * 100 / 2 / (1<<0) / 8 = 62.5 MHz
36+ 	 */
37+ 	pll-ndiv = <100>;
38+ 	pll-idf = <5>;
39+ 	pll-odf = <0>;
40+ 
41+ 	vs-active-high;
42+ 	hs-active-high;
43+ 	de-active-high;
44+ };
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments