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:
parent
f0623f88be
commit
657f34d073
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ struct can_mcan_reg;
|
||||||
.tx_delay_comp_offset = \
|
.tx_delay_comp_offset = \
|
||||||
DT_PROP(node_id, tx_delay_comp_offset), \
|
DT_PROP(node_id, tx_delay_comp_offset), \
|
||||||
.phy = DEVICE_DT_GET_OR_NULL(DT_PHANDLE(node_id, phys)), \
|
.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, \
|
.custom = _custom_config, \
|
||||||
}
|
}
|
||||||
#else /* CONFIG_CAN_FD_MODE */
|
#else /* CONFIG_CAN_FD_MODE */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue