summaryrefslogtreecommitdiff
path: root/fdts/stm32mp15-pinctrl.dtsi
diff options
context:
space:
mode:
authorGrzegorz Szymaszek <gszymaszek@short.pl>2021-04-21 19:16:43 +0200
committerGrzegorz Szymaszek <gszymaszek@short.pl>2021-04-21 19:56:10 +0200
commit214b4f9a46bd015e0b800419ff60d384435ca38c (patch)
treeaa8b580b79d1652cefd266f43b72527d6311bd0e /fdts/stm32mp15-pinctrl.dtsi
parent3ef2208b6a96ca15192e1ee6ceaf77e4bcb568fa (diff)
downloadarm-trusted-firmware-214b4f9a46bd015e0b800419ff60d384435ca38c.tar.gz
fdts: stm32mp1: add I2C2 pins in the pinctrl
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. The pins used, PH4 and PH5, are described in a new pinctrl node named “i2c2-0”, AKA phandle “i2c2_pins_a”. These names are identical to their Linux kernel counterparts (commit 7af08140979a6e7e12b78c93b8625c8d25b084e2). Signed-off-by: Grzegorz Szymaszek <gszymaszek@short.pl> Change-Id: Ief6f0a632cfa992dcf3fed95d266ad6a07a96fe0
Diffstat (limited to 'fdts/stm32mp15-pinctrl.dtsi')
-rw-r--r--fdts/stm32mp15-pinctrl.dtsi10
1 files changed, 10 insertions, 0 deletions
diff --git a/fdts/stm32mp15-pinctrl.dtsi b/fdts/stm32mp15-pinctrl.dtsi
index d3d1744ec..781b5ec57 100644
--- a/fdts/stm32mp15-pinctrl.dtsi
+++ b/fdts/stm32mp15-pinctrl.dtsi
@@ -31,6 +31,16 @@
};
};
+ i2c2_pins_a: i2c2-0 {
+ pins {
+ pinmux = <STM32_PINMUX('H', 4, AF4)>, /* I2C2_SCL */
+ <STM32_PINMUX('H', 5, AF4)>; /* I2C2_SDA */
+ bias-disable;
+ drive-open-drain;
+ slew-rate = <0>;
+ };
+ };
+
qspi_clk_pins_a: qspi-clk-0 {
pins {
pinmux = <STM32_PINMUX('F', 10, AF9)>; /* QSPI_CLK */