summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2022-06-26 02:21:00 +0200
committerAlexandre Torgue <alexandre.torgue@foss.st.com>2022-07-05 11:42:11 +0200
commitbdb1f18fa959aa305c97708345fa9d9f90a59ef3 (patch)
tree468b1e92cf385f698fe14ecabaf3055c006a2fdd /arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
parentdt-bindings: arm: stm32: Add compatible string for DH electronics DHCOR DRC C... (diff)
downloadlinux-bdb1f18fa959aa305c97708345fa9d9f90a59ef3.tar.xz
linux-bdb1f18fa959aa305c97708345fa9d9f90a59ef3.zip
ARM: dts: stm32: Add alternate pinmux for CAN1 pins
Add another mux option for CAN1 pins, this is used on DRC Compact board. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Alexandre Torgue <alexandre.torgue@foss.st.com> Cc: linux-stm32@st-md-mailman.stormreply.com To: linux-arm-kernel@lists.infradead.org Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32mp15-pinctrl.dtsi')
-rw-r--r--arch/arm/boot/dts/stm32mp15-pinctrl.dtsi20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
index 658162e2f420..667d8b74a8a4 100644
--- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
@@ -978,6 +978,26 @@
};
};
+ m_can1_pins_c: m-can1-2 {
+ pins1 {
+ pinmux = <STM32_PINMUX('H', 13, AF9)>; /* CAN1_TX */
+ slew-rate = <1>;
+ drive-push-pull;
+ bias-disable;
+ };
+ pins2 {
+ pinmux = <STM32_PINMUX('H', 14, AF9)>; /* CAN1_RX */
+ bias-disable;
+ };
+ };
+
+ m_can1_sleep_pins_c: m_can1-sleep-2 {
+ pins {
+ pinmux = <STM32_PINMUX('H', 13, ANALOG)>, /* CAN1_TX */
+ <STM32_PINMUX('H', 14, ANALOG)>; /* CAN1_RX */
+ };
+ };
+
m_can2_pins_a: m-can2-0 {
pins1 {
pinmux = <STM32_PINMUX('B', 13, AF9)>; /* CAN2_TX */