File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed
boards/arm/stm32f429i_disc1 Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 77/dts-v1/;
88#include <st/f4/stm32f429Xi.dtsi>
99#include <st/f4/stm32f429zitx-pinctrl.dtsi>
10+ #include <dt-bindings/display/stm32_ltdc.h>
1011#include <dt-bindings/display/ili9xxx.h>
1112
1213/ {
184185 };
185186 };
186187};
188+
189+ <dc {
190+ pinctrl-0 = <<dc_r2_pc10 <dc_r3_pb0 <dc_r4_pa11 <dc_r5_pa12
191+ <dc_r6_pb1 <dc_r7_pg6 <dc_g2_pa6 <dc_g3_pg10
192+ <dc_g4_pb10 <dc_g5_pb11 <dc_g6_pc7 <dc_g7_pd3
193+ <dc_b2_pd6 <dc_b3_pg11 <dc_b4_pg12 <dc_b5_pa3
194+ <dc_b6_pb8 <dc_b7_pb9 <dc_de_pf10 <dc_clk_pg7
195+ <dc_hsync_pc6 <dc_vsync_pa4>;
196+ pinctrl-names = "default";
197+ ext-sdram = <&sdram2>;
198+ status = "okay";
199+
200+ width = <240>;
201+ height = <320>;
202+ hsync-pol = <STM32_LTDC_HSPOL_ACTIVE_LOW>;
203+ vsync-pol = <STM32_LTDC_VSPOL_ACTIVE_LOW>;
204+ de-pol = <STM32_LTDC_DEPOL_ACTIVE_LOW>;
205+ pclk-pol = <STM32_LTDC_PCPOL_ACTIVE_LOW>;
206+ hsync-duration = <10>;
207+ vsync-duration = <2>;
208+ hbp-duration = <20>;
209+ vbp-duration = <2>;
210+ hfp-duration = <10>;
211+ vfp-duration = <4>;
212+ def-back-color-red = <0xFF>;
213+ def-back-color-green = <0xFF>;
214+ def-back-color-blue = <0xFF>;
215+ };
Original file line number Diff line number Diff line change @@ -12,3 +12,4 @@ supported:
1212 - counter
1313 - i2c
1414 - spi
15+ - display
You can’t perform that action at this time.
0 commit comments