]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: stm32: Add alternate pinmux for I2C2 pins
authorMarek Vasut <marex@denx.de>
Tue, 26 May 2020 02:30:21 +0000 (04:30 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Thu, 28 May 2020 06:52:04 +0000 (08:52 +0200)
Add another mux option for I2C2 pins, this is used on AV96 board.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
arch/arm/dts/stm32mp15-pinctrl.dtsi

index 8d00391978ae8d1726a1ac8c27856f802cd238a1..c385896ebcf192424960e8bc3033f1c8ecb77a5a 100644 (file)
                };
        };
 
+       i2c2_pins_c: i2c2-4 {
+               pins {
+                       pinmux = <STM32_PINMUX('F', 1, AF4)>, /* I2C2_SCL */
+                                <STM32_PINMUX('H', 5, AF4)>; /* I2C2_SDA */
+                       bias-disable;
+                       drive-open-drain;
+                       slew-rate = <0>;
+               };
+       };
+
+       i2c2_pins_sleep_c: i2c2-5 {
+               pins {
+                       pinmux = <STM32_PINMUX('F', 1, ANALOG)>, /* I2C2_SCL */
+                                <STM32_PINMUX('H', 5, ANALOG)>; /* I2C2_SDA */
+               };
+       };
+
        i2c5_pins_a: i2c5-0 {
                pins {
                        pinmux = <STM32_PINMUX('A', 11, AF4)>, /* I2C5_SCL */