]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: stm32mp157: Add missing pinctrl definitions
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Thu, 2 May 2019 07:56:43 +0000 (13:26 +0530)
committerPatrice Chotard <patrice.chotard@st.com>
Thu, 6 Jun 2019 15:40:11 +0000 (17:40 +0200)
Add missing pinctrl definitions for STM32MP157.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/dts/stm32mp157-pinctrl.dtsi

index 0aae69b0a04818a8e94075dfdf7ba3d8d88bc9d6..200d2c00c5f62137bca9af781dda37f223c78bc2 100644 (file)
                                };
                        };
 
+                       i2c1_pins_b: i2c1-1 {
+                               pins {
+                                       pinmux = <STM32_PINMUX('F', 14, AF5)>, /* I2C1_SCL */
+                                                <STM32_PINMUX('F', 15, AF5)>; /* I2C1_SDA */
+                                       bias-disable;
+                                       drive-open-drain;
+                                       slew-rate = <0>;
+                               };
+                       };
+
                        i2c2_pins_a: i2c2-0 {
                                pins {
                                        pinmux = <STM32_PINMUX('H', 4, AF4)>, /* I2C2_SCL */
                                };
                        };
 
+                       i2c2_pins_b: i2c2-1 {
+                               pins {
+                                       pinmux = <STM32_PINMUX('Z', 0, AF3)>, /* I2C2_SCL */
+                                                <STM32_PINMUX('H', 5, AF4)>; /* I2C2_SDA */
+                                       bias-disable;
+                                       drive-open-drain;
+                                       slew-rate = <0>;
+                               };
+                       };
+
                        i2c5_pins_a: i2c5-0 {
                                pins {
                                        pinmux = <STM32_PINMUX('A', 11, AF4)>, /* I2C5_SCL */
                                };
                        };
 
+                       spi2_pins_a: spi2-0 {
+                               pins1 {
+                                       pinmux = <STM32_PINMUX('B', 10, AF5)>, /* SPI2_SCK */
+                                                <STM32_PINMUX('I', 0, AF5)>, /* SPI2_NSS */
+                                                <STM32_PINMUX('I', 3, AF5)>; /* SPI2_MOSI */
+                                       bias-disable;
+                                       drive-push-pull;
+                                       slew-rate = <3>;
+                               };
+                               pins2 {
+                                       pinmux = <STM32_PINMUX('I', 2, AF5)>; /* SPI2_MISO */
+                                       bias-disable;
+                               };
+                       };
+
                        stusb1600_pins_a: stusb1600-0 {
                                pins {
                                        pinmux = <STM32_PINMUX('I', 11, ANALOG)>;
                                };
                        };
 
+                       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;
+                               };
+                       };
+
                        usbotg_hs_pins_a: usbotg_hs-0 {
                                pins {
                                        pinmux = <STM32_PINMUX('A', 10, ANALOG)>; /* OTG_ID */