]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ARM: dts: stm32: Add missing pinctrl definitions for STM32MP157
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Wed, 12 Jun 2019 07:54:48 +0000 (13:24 +0530)
committerAlexandre Torgue <alexandre.torgue@st.com>
Fri, 21 Jun 2019 14:14:33 +0000 (16:14 +0200)
Add missing pinctrl definitions for STM32MP157 MPU.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32mp157-pinctrl.dtsi

index ed1382a077af5a291953d8ca970989d6e510feac..df64701335741c5ed62721a24cd380c8b48f4219 100644 (file)
                                };
                        };
 
+                       i2c1_pins_b: i2c1-2 {
+                               pins {
+                                       pinmux = <STM32_PINMUX('F', 14, AF5)>, /* I2C1_SCL */
+                                                <STM32_PINMUX('F', 15, AF5)>; /* I2C1_SDA */
+                                       bias-disable;
+                                       drive-open-drain;
+                                       slew-rate = <0>;
+                               };
+                       };
+
+                       i2c1_pins_sleep_b: i2c1-3 {
+                               pins {
+                                       pinmux = <STM32_PINMUX('F', 14, ANALOG)>, /* I2C1_SCL */
+                                                <STM32_PINMUX('F', 15, ANALOG)>; /* I2C1_SDA */
+                               };
+                       };
+
                        i2c2_pins_a: i2c2-0 {
                                pins {
                                        pinmux = <STM32_PINMUX('H', 4, AF4)>, /* I2C2_SCL */
                                };
                        };
 
+                       i2c2_pins_b1: i2c2-2 {
+                               pins {
+                                       pinmux = <STM32_PINMUX('H', 5, AF4)>; /* I2C2_SDA */
+                                       bias-disable;
+                                       drive-open-drain;
+                                       slew-rate = <0>;
+                               };
+                       };
+
+                       i2c2_pins_sleep_b1: i2c2-3 {
+                               pins {
+                                       pinmux = <STM32_PINMUX('H', 5, ANALOG)>; /* I2C2_SDA */
+                               };
+                       };
+
                        i2c5_pins_a: i2c5-0 {
                                pins {
                                        pinmux = <STM32_PINMUX('A', 11, AF4)>, /* I2C5_SCL */
                                        bias-disable;
                                };
                        };
+
+                       uart4_pins_b: uart4-1 {
+                               pins1 {
+                                       pinmux = <STM32_PINMUX('D', 1, AF8)>; /* UART4_TX */
+                                       bias-disable;
+                                       drive-push-pull;
+                                       slew-rate = <0>;
+                               };
+                               pins2 {
+                                       pinmux = <STM32_PINMUX('B', 2, AF8)>; /* UART4_RX */
+                                       bias-disable;
+                               };
+                       };
+
+                       uart7_pins_a: uart7-0 {
+                               pins1 {
+                                       pinmux = <STM32_PINMUX('E', 8, AF7)>; /* UART4_TX */
+                                       bias-disable;
+                                       drive-push-pull;
+                                       slew-rate = <0>;
+                               };
+                               pins2 {
+                                       pinmux = <STM32_PINMUX('E', 7, AF7)>, /* UART4_RX */
+                                                <STM32_PINMUX('E', 10, AF7)>, /* UART4_CTS */
+                                                <STM32_PINMUX('E', 9, AF7)>; /* UART4_RTS */
+                                       bias-disable;
+                               };
+                       };
                };
 
                pinctrl_z: pin-controller-z@54004000 {
                                status = "disabled";
                        };
 
+                       i2c2_pins_b2: i2c2-0 {
+                               pins {
+                                       pinmux = <STM32_PINMUX('Z', 0, AF3)>; /* I2C2_SCL */
+                                       bias-disable;
+                                       drive-open-drain;
+                                       slew-rate = <0>;
+                               };
+                       };
+
+                       i2c2_pins_sleep_b2: i2c2-1 {
+                               pins {
+                                       pinmux = <STM32_PINMUX('Z', 0, ANALOG)>; /* I2C2_SCL */
+                               };
+                       };
+
                        i2c4_pins_a: i2c4-0 {
                                pins {
                                        pinmux = <STM32_PINMUX('Z', 4, AF6)>, /* I2C4_SCL */