ARM: dts: stm32: Add alternate pinmux for i2s pins
authorSean Nyekjaer <sean@geanix.com>
Wed, 16 Aug 2023 12:24:21 +0000 (14:24 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Mon, 11 Sep 2023 06:52:36 +0000 (08:52 +0200)
Add another mux option for i2s pins, this is used on Octavo OSD32MP1-RED board.

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Reviewed-by: Olivier Moysan <olivier.moysan@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi

index 098153ee99a3a142e5b7c690dde0db7d31ade028..92726ad7285fbf1772f204e75146cfdb2750d64c 100644 (file)
                };
        };
 
+       i2s2_pins_b: i2s2-1 {
+               pins {
+                       pinmux = <STM32_PINMUX('C',  3, AF5)>, /* I2S2_SDO */
+                                <STM32_PINMUX('B', 12, AF5)>, /* I2S2_WS */
+                                <STM32_PINMUX('B', 13, AF5)>; /* I2S2_CK */
+                       bias-disable;
+                       drive-push-pull;
+                       slew-rate = <1>;
+               };
+       };
+
+       i2s2_sleep_pins_b: i2s2-sleep-1 {
+               pins {
+                       pinmux = <STM32_PINMUX('C', 3, ANALOG)>, /* I2S2_SDO */
+                                <STM32_PINMUX('B', 12, ANALOG)>, /* I2S2_WS */
+                                <STM32_PINMUX('B', 13, ANALOG)>; /* I2S2_CK */
+               };
+       };
+
        ltdc_pins_a: ltdc-0 {
                pins {
                        pinmux = <STM32_PINMUX('G',  7, AF14)>, /* LCD_CLK */