OSDN Git Service

ARM: dts: stm32: add pins for stm32g0 typec controller on stm32mp13
authorFabrice Gasnier <fabrice.gasnier@foss.st.com>
Fri, 14 Oct 2022 14:15:07 +0000 (16:15 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Mon, 24 Oct 2022 09:54:08 +0000 (11:54 +0200)
Add gpio pin configuration to be used with stm32g0 typec controller. Define
the PI2 to enable internal pull-up on stm32mp13, used as interrupt pin on
stm32mp135f-dk board.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/stm32mp13-pinctrl.dtsi

index 50daf55..0dda449 100644 (file)
                };
        };
 
+       stm32g0_intn_pins_a: stm32g0-intn-0 {
+               pins {
+                       pinmux = <STM32_PINMUX('I', 2, GPIO)>;
+                       bias-pull-up;
+               };
+       };
+
        uart4_pins_a: uart4-0 {
                pins1 {
                        pinmux = <STM32_PINMUX('D', 6, AF8)>; /* UART4_TX */