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:
parent
93956b2073
commit
da3fb8faa5
16 changed files with 19 additions and 0 deletions
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -84,6 +84,7 @@
|
|||
|
||||
&can1 {
|
||||
pinctrl-0 = <&can_rx_pb8 &can_tx_pb9>;
|
||||
pinctrl-names = "default";
|
||||
bus-speed = <125000>;
|
||||
sjw = <1>;
|
||||
prop-seg = <0>;
|
||||
|
|
|
@ -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>;
|
||||
|
|
|
@ -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>;
|
||||
|
|
|
@ -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>;
|
||||
|
|
|
@ -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>;
|
||||
|
|
|
@ -91,6 +91,7 @@
|
|||
|
||||
&can1 {
|
||||
pinctrl-0 = <&can1_rx_pa11 &can1_tx_pa12>;
|
||||
pinctrl-names = "default";
|
||||
bus-speed = <125000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -107,6 +107,7 @@
|
|||
|
||||
&can1 {
|
||||
pinctrl-0 = <&can1_rx_pa11 &can1_tx_pa12>;
|
||||
pinctrl-names = "default";
|
||||
bus-speed = <125000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -92,6 +92,7 @@
|
|||
|
||||
&can1 {
|
||||
pinctrl-0 = <&can1_rx_pa11 &can1_tx_pa12>;
|
||||
pinctrl-names = "default";
|
||||
bus-speed = <125000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -78,6 +78,7 @@
|
|||
|
||||
&can1 {
|
||||
pinctrl-0 = <&can1_rx_pb8 &can1_tx_pb9>;
|
||||
pinctrl-names = "default";
|
||||
bus-speed = <125000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -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>;
|
||||
|
|
|
@ -101,6 +101,7 @@
|
|||
|
||||
&can1 {
|
||||
pinctrl-0 = <&can_rx_pb8 &can_tx_pb9>;
|
||||
pinctrl-names = "default";
|
||||
bus-speed = <125000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -162,6 +162,7 @@ zephyr_udc0: &usb {
|
|||
|
||||
&can1 {
|
||||
pinctrl-0 = <&can_rx_pd0 &can_tx_pd1>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue