2020-05-07 07:48:49

by Dillon Min

[permalink] [raw]
Subject:


This patchset enable the stmpe811 touch screen on stm32f429-disco
board, tested with ts_print. as sdram memory shortage on this disco
board, so i didn't test ts_calibrate (kernel crashed at mmap in
open framebuffer)


2020-05-07 07:49:26

by Dillon Min

[permalink] [raw]
Subject: [PATCH 1/4] ARM: dts: stm32: add I2C3 support on STM32F429 SoC

From: dillon min <[email protected]>

This patch adds I2C3 instances of the STM32F429 SoC

Signed-off-by: dillon min <[email protected]>
---
arch/arm/boot/dts/stm32f429.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi
index d777069..257b843 100644
--- a/arch/arm/boot/dts/stm32f429.dtsi
+++ b/arch/arm/boot/dts/stm32f429.dtsi
@@ -402,6 +402,18 @@
status = "disabled";
};

+ i2c3: i2c@40005c00 {
+ compatible = "st,stm32f4-i2c";
+ reg = <0x40005c00 0x400>;
+ interrupts = <72>,
+ <73>;
+ resets = <&rcc STM32F4_APB1_RESET(I2C3)>;
+ clocks = <&rcc 0 STM32F4_APB1_CLOCK(I2C3)>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
dac: dac@40007400 {
compatible = "st,stm32f4-dac-core";
reg = <0x40007400 0x400>;
--
2.7.4