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:
parent
c2c95abfa4
commit
2dd215abf5
1 changed files with 8 additions and 0 deletions
|
@ -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 {
|
aliases {
|
||||||
led0 = &green_led_1;
|
led0 = &green_led_1;
|
||||||
led1 = &yellow_led_2;
|
led1 = &yellow_led_2;
|
||||||
|
@ -152,5 +159,6 @@ zephyr_udc0: &usb {
|
||||||
pinctrl-0 = <&can_rx_pb8 &can_tx_pb9>;
|
pinctrl-0 = <&can_rx_pb8 &can_tx_pb9>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
bus-speed = <125000>;
|
bus-speed = <125000>;
|
||||||
|
phys = <&transceiver0>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue