ARM: dts: stm32: Add STM32MP1 I2C6 SDA/SCL pinmux
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 23 Dec 2020 11:07:57 +0000 (16:37 +0530)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Fri, 29 Jan 2021 08:20:01 +0000 (09:20 +0100)
Add SDA/SCL pinmux lines for I2C6 on STM32MP1.

This support adds both in default and sleep states.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/stm32mp15-pinctrl.dtsi

index 53326ed652f8fca87e9cc8192005d0ac933e94b6..7b4249ed198330ad01a6dd128020874b8866fedd 100644 (file)
                };
        };
 
+       i2c6_pins_a: i2c6-0 {
+               pins {
+                       pinmux = <STM32_PINMUX('Z', 6, AF2)>, /* I2C6_SCL */
+                                <STM32_PINMUX('Z', 7, AF2)>; /* I2C6_SDA */
+                       bias-disable;
+                       drive-open-drain;
+                       slew-rate = <0>;
+               };
+       };
+
+       i2c6_sleep_pins_a: i2c6-sleep-0 {
+               pins {
+                       pinmux = <STM32_PINMUX('Z', 6, ANALOG)>, /* I2C6_SCL */
+                                <STM32_PINMUX('Z', 7, ANALOG)>; /* I2C6_SDA */
+               };
+       };
+
        spi1_pins_a: spi1-0 {
                pins1 {
                        pinmux = <STM32_PINMUX('Z', 0, AF5)>, /* SPI1_SCK */