boards: arm: olimexino_stm32: add CAN transceiver

The Olimex OLIMEXINO-STM32 development board is equipped with a
Microchip MCP2551 CAN transceiver with a maximum bitrate of 1Mbit/s.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2022-02-28 14:37:15 +01:00 committed by Maureen Helm
commit 2dd215abf5

View file

@ -40,6 +40,13 @@
};
};
transceiver0: can-phy0 {
compatible = "microchip,mcp2551", "can-transceiver-gpio";
max-bitrate = <1000000>;
standby-gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
#phy-cells = <0>;
};
aliases {
led0 = &green_led_1;
led1 = &yellow_led_2;
@ -152,5 +159,6 @@ zephyr_udc0: &usb {
pinctrl-0 = <&can_rx_pb8 &can_tx_pb9>;
pinctrl-names = "default";
bus-speed = <125000>;
phys = <&transceiver0>;
status = "okay";
};