drivers: can: mcan: increase maximum supported bitrate

According to the Bosch M_CAN datasheet, the M_CAN IP supports up to
8Mbit/s.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2022-07-18 14:01:40 +02:00 committed by Fabio Baltieri
commit 657f34d073

View file

@ -229,7 +229,7 @@ struct can_mcan_reg;
.tx_delay_comp_offset = \
DT_PROP(node_id, tx_delay_comp_offset), \
.phy = DEVICE_DT_GET_OR_NULL(DT_PHANDLE(node_id, phys)), \
.max_bitrate = DT_CAN_TRANSCEIVER_MAX_BITRATE(node_id, 5000000),\
.max_bitrate = DT_CAN_TRANSCEIVER_MAX_BITRATE(node_id, 8000000),\
.custom = _custom_config, \
}
#else /* CONFIG_CAN_FD_MODE */