Commit 3ef2208b authored by Grzegorz Szymaszek's avatar Grzegorz Szymaszek
Browse files

fdts: stm32mp1: add the I2C2 peripheral in the SoC DTS



Some STM32MP1‐based boards, like Seeed Studio’s SoM‐STM32MP157C, have
the SoC connected to the PMIC via I2C2 instead of I2C4 (which is used on
the official ST development boards). This commit brings TF‑A one step
closer to boot on such boards.
Signed-off-by: default avatarGrzegorz Szymaszek <gszymaszek@short.pl>
Change-Id: Iec9c80f29ce95496e8f1b079b7a23f1914b74901
parent 8078b5c5
...@@ -121,6 +121,21 @@ ...@@ -121,6 +121,21 @@
status = "disabled"; status = "disabled";
}; };
i2c2: i2c@40013000 {
compatible = "st,stm32mp15-i2c";
reg = <0x40013000 0x400>;
interrupt-names = "event", "error";
interrupts = <&exti 22 IRQ_TYPE_LEVEL_HIGH>,
<&intc GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rcc I2C2_K>;
resets = <&rcc I2C2_R>;
#address-cells = <1>;
#size-cells = <0>;
st,syscfg-fmp = <&syscfg 0x4 0x2>;
wakeup-source;
status = "disabled";
};
uart7: serial@40018000 { uart7: serial@40018000 {
compatible = "st,stm32h7-uart"; compatible = "st,stm32h7-uart";
reg = <0x40018000 0x400>; reg = <0x40018000 0x400>;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment