ARM: dts: stm32: Add alternate pinmux for FDCAN1 pins
authorMarek Vasut <marex@denx.de>
Wed, 29 Apr 2020 16:37:34 +0000 (18:37 +0200)
committerAlexandre Torgue <alexandre.torgue@st.com>
Thu, 7 May 2020 12:48:06 +0000 (14:48 +0200)
Add another mux option for FDCAN1 pins, this is used on AV96 board.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32mp15-pinctrl.dtsi

index e6f7634eb34903d9e02631478c0a5ecf152ddb80..becd81091b560501f509dd3472e7f9dfea73c4c4 100644 (file)
                };
        };
 
+       m_can1_pins_b: m-can1-1 {
+               pins1 {
+                       pinmux = <STM32_PINMUX('A', 12, AF9)>; /* CAN1_TX */
+                       slew-rate = <1>;
+                       drive-push-pull;
+                       bias-disable;
+               };
+               pins2 {
+                       pinmux = <STM32_PINMUX('A', 11, AF9)>; /* CAN1_RX */
+                       bias-disable;
+               };
+       };
+
+       m_can1_sleep_pins_b: m_can1-sleep-1 {
+               pins {
+                       pinmux = <STM32_PINMUX('A', 12, ANALOG)>, /* CAN1_TX */
+                                <STM32_PINMUX('A', 11, ANALOG)>; /* CAN1_RX */
+               };
+       };
+
        pwm1_pins_a: pwm1-0 {
                pins {
                        pinmux = <STM32_PINMUX('E', 9, AF1)>, /* TIM1_CH1 */