boards: arm: stm32: add pinctrl state name for CAN peripheral

Add the pinctrl state name (default) for the CAN peripherals.
Changes performed based on the script proposed in
"boards: arm: stm32: add pinctrl state name for UART peripheral"

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2021-11-05 15:28:52 +01:00 committed by Carles Cufí
commit da3fb8faa5
16 changed files with 19 additions and 0 deletions

View file

@ -112,12 +112,14 @@ zephyr_udc0: &usbotg_fs {
&can1 {
pinctrl-0 = <&can1_rx_pd0 &can1_tx_pd1>;
pinctrl-names = "default";
bus-speed = <125000>;
status = "disabled";
};
&can2 {
pinctrl-0 = <&can2_rx_pb12 &can2_tx_pb13>;
pinctrl-names = "default";
bus-speed = <125000>;
status = "okay";
};

View file

@ -112,12 +112,14 @@ zephyr_udc0: &usbotg_fs {
&can1 {
pinctrl-0 = <&can1_rx_pd0 &can1_tx_pd1>;
pinctrl-names = "default";
bus-speed = <125000>;
status = "disabled";
};
&can2 {
pinctrl-0 = <&can2_rx_pb12 &can2_tx_pb13>;
pinctrl-names = "default";
bus-speed = <125000>;
status = "okay";
};

View file

@ -84,6 +84,7 @@
&can1 {
pinctrl-0 = <&can_rx_pb8 &can_tx_pb9>;
pinctrl-names = "default";
bus-speed = <125000>;
sjw = <1>;
prop-seg = <0>;

View file

@ -115,6 +115,7 @@
&can1 {
/* CAUTION: PB8 and PB9 may conflict with same pins of I2C1 */
pinctrl-0 = <&can1_rx_pb8 &can1_tx_pb9>;
pinctrl-names = "default";
bus-speed = <125000>;
sjw = <1>;
prop-seg = <0>;

View file

@ -170,6 +170,7 @@ zephyr_udc0: &usbotg_fs {
&can1 {
pinctrl-0 = <&can1_rx_pd0 &can1_tx_pd1>;
pinctrl-names = "default";
bus-speed = <125000>;
sjw = <1>;
prop-seg = <0>;

View file

@ -142,6 +142,7 @@ zephyr_udc0: &usbotg_fs {
&can1 {
pinctrl-0 = <&can1_rx_pd0 &can1_tx_pd1>;
pinctrl-names = "default";
bus-speed = <125000>;
sjw = <1>;
prop-seg = <0>;

View file

@ -149,6 +149,7 @@ zephyr_udc0: &usbotg_fs {
&can1 {
pinctrl-0 = <&can1_rx_pd0 &can1_tx_pd1>;
pinctrl-names = "default";
bus-speed = <125000>;
sjw = <1>;
prop-seg = <0>;

View file

@ -91,6 +91,7 @@
&can1 {
pinctrl-0 = <&can1_rx_pa11 &can1_tx_pa12>;
pinctrl-names = "default";
bus-speed = <125000>;
status = "okay";
};

View file

@ -107,6 +107,7 @@
&can1 {
pinctrl-0 = <&can1_rx_pa11 &can1_tx_pa12>;
pinctrl-names = "default";
bus-speed = <125000>;
status = "okay";
};

View file

@ -92,6 +92,7 @@
&can1 {
pinctrl-0 = <&can1_rx_pa11 &can1_tx_pa12>;
pinctrl-names = "default";
bus-speed = <125000>;
status = "okay";
};

View file

@ -78,6 +78,7 @@
&can1 {
pinctrl-0 = <&can1_rx_pb8 &can1_tx_pb9>;
pinctrl-names = "default";
bus-speed = <125000>;
status = "okay";
};

View file

@ -144,6 +144,7 @@ zephyr_udc0: &usb {
&can1 {
pinctrl-0 = <&can_rx_pb8 &can_tx_pb9>;
pinctrl-names = "default";
bus-speed = <125000>;
sjw = <1>;
prop-seg = <0>;

View file

@ -101,6 +101,7 @@
&can1 {
pinctrl-0 = <&can_rx_pb8 &can_tx_pb9>;
pinctrl-names = "default";
bus-speed = <125000>;
status = "okay";
};

View file

@ -162,6 +162,7 @@ zephyr_udc0: &usb {
&can1 {
pinctrl-0 = <&can_rx_pd0 &can_tx_pd1>;
pinctrl-names = "default";
status = "okay";
};

View file

@ -114,12 +114,14 @@ zephyr_udc0: &usbotg_fs {
&can1 {
pinctrl-0 = <&can1_rx_pb8 &can1_tx_pb9>;
pinctrl-names = "default";
bus-speed = <125000>;
status = "disabled";
};
&can2 {
pinctrl-0 = <&can2_rx_pb5 &can2_tx_pb13>;
pinctrl-names = "default";
bus-speed = <125000>;
status = "okay";
};

View file

@ -136,6 +136,7 @@
&can1 {
pinctrl-0 = <&can_rx_pb8 &can_tx_pb9>;
pinctrl-names = "default";
/*
* make sure CAN and USB are not enabled at the same time
* because they share interrupts 19, 20 (stm32f103Xb.dtsi)