File tree Expand file tree Collapse file tree 2 files changed +73
-6
lines changed Expand file tree Collapse file tree 2 files changed +73
-6
lines changed Original file line number Diff line number Diff line change
1
+ # STM32H750B DISCOVERY board configuration
2
+
3
+ # Copyright (c) 2024 STMicroelectronics
4
+ # SPDX-License-Identifier: Apache-2.0
5
+
6
+ if BOARD_STM32H750B_DK
7
+
8
+ if DISPLAY
9
+
10
+ # MEMC needs to be enabled in order to store
11
+ # display buffer to external SDRAM connected to FMC
12
+ config MEMC
13
+ default y
14
+
15
+ endif # DISPLAY
16
+
17
+ endif # BOARD_STM32H750B_DK
Original file line number Diff line number Diff line change 19
19
zephyr,sram = &sram0;
20
20
zephyr,flash = &flash0;
21
21
zephyr,flash-controller = &mt25ql512ab1;
22
+ zephyr,display = <dc;
22
23
};
23
24
24
25
sdram2: sdram@d0000000 {
75
76
status = "okay";
76
77
};
77
78
79
+ <dc {
80
+ pinctrl-0 = <<dc_r0_pi15 <dc_r1_pj0 <dc_r2_pj1 <dc_r3_ph9
81
+ <dc_r4_pj3 <dc_r5_pj4 <dc_r6_pj5 <dc_r7_pj6
82
+ <dc_g0_pj7 <dc_g1_pj8 <dc_g2_pj9 <dc_g3_pj10
83
+ <dc_g4_pj11 <dc_g5_pi0 <dc_g6_pi1 <dc_g7_pk2
84
+ <dc_b0_pj12 <dc_b1_pj13 <dc_b2_pj14 <dc_b3_pj15
85
+ <dc_b4_pk3 <dc_b5_pk4 <dc_b6_pk5 <dc_b7_pk6
86
+ <dc_de_pk7 <dc_clk_pi14 <dc_hsync_pi12 <dc_vsync_pi9>;
87
+ pinctrl-names = "default";
88
+
89
+ disp-on-gpios = <&gpiod 7 GPIO_ACTIVE_HIGH>;
90
+
91
+ ext-sdram = <&sdram2>;
92
+ status = "okay";
93
+
94
+ clocks = <&rcc STM32_CLOCK_BUS_APB3 0x00000008>,
95
+ <&rcc STM32_SRC_PLL3_R NO_SEL>;
96
+
97
+ width = <480>;
98
+ height = <272>;
99
+ pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
100
+ display-timings {
101
+ compatible = "zephyr,panel-timing";
102
+ de-active = <1>;
103
+ pixelclk-active = <0>;
104
+ hsync-active = <0>;
105
+ vsync-active = <0>;
106
+ hsync-len = <1>;
107
+ vsync-len = <10>;
108
+ hback-porch = <43>;
109
+ vback-porch = <12>;
110
+ hfront-porch = <8>;
111
+ vfront-porch = <4>;
112
+ };
113
+ def-back-color-red = <0xFF>;
114
+ def-back-color-green = <0xFF>;
115
+ def-back-color-blue = <0xFF>;
116
+ };
117
+
78
118
&pll {
79
119
div-m = <5>;
80
120
mul-n = <192>;
85
125
status = "okay";
86
126
};
87
127
128
+ &pll3 {
129
+ div-m = <5>;
130
+ mul-n = <192>;
131
+ div-p = <2>;
132
+ div-q = <20>;
133
+ div-r = <99>;
134
+ clocks = <&clk_hse>;
135
+ status = "okay";
136
+ };
137
+
88
138
&rcc {
89
139
clocks = <&pll>;
90
140
clock-frequency = <DT_FREQ_M(480)>;
121
171
status = "okay";
122
172
123
173
partitions {
124
- compatible = "fixed-partitions";
125
- #address-cells = <1>;
126
- #size-cells = <1>;
174
+ compatible = "fixed-partitions";
175
+ #address-cells = <1>;
176
+ #size-cells = <1>;
127
177
128
- partition@0 {
129
- reg = <0x0 DT_SIZE_M(64)>;
130
- };
178
+ partition@0 {
179
+ reg = <0x0 DT_SIZE_M(64)>;
180
+ };
131
181
};
132
182
};
133
183
You can’t perform that action at this time.
0 commit comments