boards: arm: stm32f429i_disc1: enable LTDC interface
Enable LTDC interface to drive the ILI9341 in RGB mode. Signed-off-by: Konstantinos Papadopoulos <kostas.papadopulos@gmail.com>
This commit is contained in:
parent
4537de861b
commit
eb478dff08
2 changed files with 30 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
/dts-v1/;
|
||||
#include <st/f4/stm32f429Xi.dtsi>
|
||||
#include <st/f4/stm32f429zitx-pinctrl.dtsi>
|
||||
#include <dt-bindings/display/stm32_ltdc.h>
|
||||
#include <dt-bindings/display/ili9xxx.h>
|
||||
|
||||
/ {
|
||||
|
@ -184,3 +185,31 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
<dc {
|
||||
pinctrl-0 = <<dc_r2_pc10 <dc_r3_pb0 <dc_r4_pa11 <dc_r5_pa12
|
||||
<dc_r6_pb1 <dc_r7_pg6 <dc_g2_pa6 <dc_g3_pg10
|
||||
<dc_g4_pb10 <dc_g5_pb11 <dc_g6_pc7 <dc_g7_pd3
|
||||
<dc_b2_pd6 <dc_b3_pg11 <dc_b4_pg12 <dc_b5_pa3
|
||||
<dc_b6_pb8 <dc_b7_pb9 <dc_de_pf10 <dc_clk_pg7
|
||||
<dc_hsync_pc6 <dc_vsync_pa4>;
|
||||
pinctrl-names = "default";
|
||||
ext-sdram = <&sdram2>;
|
||||
status = "okay";
|
||||
|
||||
width = <240>;
|
||||
height = <320>;
|
||||
hsync-pol = <STM32_LTDC_HSPOL_ACTIVE_LOW>;
|
||||
vsync-pol = <STM32_LTDC_VSPOL_ACTIVE_LOW>;
|
||||
de-pol = <STM32_LTDC_DEPOL_ACTIVE_LOW>;
|
||||
pclk-pol = <STM32_LTDC_PCPOL_ACTIVE_LOW>;
|
||||
hsync-duration = <10>;
|
||||
vsync-duration = <2>;
|
||||
hbp-duration = <20>;
|
||||
vbp-duration = <2>;
|
||||
hfp-duration = <10>;
|
||||
vfp-duration = <4>;
|
||||
def-back-color-red = <0xFF>;
|
||||
def-back-color-green = <0xFF>;
|
||||
def-back-color-blue = <0xFF>;
|
||||
};
|
||||
|
|
|
@ -12,3 +12,4 @@ supported:
|
|||
- counter
|
||||
- i2c
|
||||
- spi
|
||||
- display
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue